RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts</strong | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.69% (5.89%*) • Home Loan Fixed: 5.39% (5.84%*) • Fixed: 5.39% (5.84%*) • Variable: 5.69% (5.89%*) • Investment IO: 5.69% (6.19%*) • Investment PI: 5.55% (6.02%*)

Custom WP Administration Panel Link

The following code will render a custom link in your WordPress administration dashboard. On BeliefMedia, we link to a style and shortcode guide for contributors and staff.

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

1
<?php 
2
/*
3
 Custom WP Administration Panel Link
4
 http://www.beliefmedia.com/code/wp-snippets/wp-dashboard-link
5
*/
6
 
7
8
  global $wp_admin_bar;
9
 
10
  $wp_admin_bar->add_menu(array(
11
    'id' => 'wp-admin-bar-new-item',
12
    'title' => __('Some Title'),
13
    'href' => 'http://www.beliefmedia.com/my-custom-link/'
14
  ));
15
}
16
add_action('wp_before_admin_bar_render', 'beliefmedia_wp_admin_bar_new_item');

The Result

A screenshot from one of our sites.

Custom WP Administration Panel Link

A link on one of our aviation websites.

■ ■ ■

 
Download our complimentary 650-page guide on marketing for mortgage brokers. We'll show you exactly how we generate billions in volume for our clients.
Finance Guide, Cropped Top and Bottom
  Timezone: 1 · [ CHANGE ]

Like this article?

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

Leave a comment