Dead link ’Dashboard’ in Admin Bar Removal
-
Hello,
this is my website : http://chrysmotion.com/social/
I’m using the BP 1.5.7 and have updated the adminbar to the 1.6 version ..
Well the trouble is that when a Subscriber logs-in .. And clicks on the Dashboard link in the Admin-Bar it gets him to a ‘Server Error’
So I would like to remove the ‘Dashboard’ menu and just get rid of it ….
I’m already using this code to remove the wordpress logo :
‘function kh_remove_wp_logo() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu(‘wp-logo’);
}
add_action( ‘wp_before_admin_bar_render’, ‘kh_remove_wp_logo’ );
‘Can you please help me ?
- The topic ‘Dead link ’Dashboard’ in Admin Bar Removal’ is closed to new replies.