editing adminbar
-
hi,
i am using admin bar instead of buddybar. earlier i had made some changes to buddybar in bp-custom.php.how can I make such changes for adminbar? Also, how can I can the CSS for admin bar?
setup – bp 1.5 and latest wp (not a multi site)thanks.
-
You’ve not explained what changes you want to make to the admin bar, so you need to share more details before we can try to help
i want to remove the multi level drop down and just keep it to single level. also remove the wordpress search and put in the buddypress search.
for CSS – I want to change the weight and background of the admin bar.
also add more menu items of my own.
anyone?
bounce
The WordPress Admin Bar (not BuddyBar) is a different bar entirely.
Try finding something on the WordPress forums:
https://wordpress.org/supportCan also try this plugin:
https://wordpress.org/extend/plugins/wp-custom-admin-bar/ (haven’t tested it myself)i want to edit the bp-menu within the admin bar.
When I used buddybar, i did it like this
function my_alter_bp_adminbar(){
remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_account_menu’, 4);
add_action(‘bp_adminbar_menus’, ‘my_adminbar_account_menu’, 50);
}
add_action(‘wp_footer’,’my_alter_bp_adminbar’,1);How can I do the same with wp-admin bar.
thanks
i want to edit the bp-menu within the admin bar.
When I used buddybar, i did it like this
function my_alter_bp_adminbar(){
remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_account_menu’, 4);
add_action(‘bp_adminbar_menus’, ‘my_adminbar_account_menu’, 50);
}
add_action(‘wp_footer’,’my_alter_bp_adminbar’,1);How can I do the same with wp-admin bar.
thanks
anyone?
- The topic ‘editing adminbar’ is closed to new replies.