Skip to:
Content
Pages
Categories
Search
Top
Bottom

editing adminbar

  • @gwu123

    Participant

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @djpaul

    Keymaster

    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 :)

    @gwu123

    Participant

    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.

    @gwu123

    Participant

    also add more menu items of my own.

    @gwu123

    Participant

    anyone?

    @gwu123

    Participant

    bounce

    @r-a-y

    Keymaster

    The WordPress Admin Bar (not BuddyBar) is a different bar entirely.

    Try finding something on the WordPress forums:
    https://wordpress.org/support

    Can also try this plugin:
    https://wordpress.org/extend/plugins/wp-custom-admin-bar/ (haven’t tested it myself)

    @gwu123

    Participant

    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

    @gwu123

    Participant

    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

    @gwu123

    Participant

    anyone?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘editing adminbar’ is closed to new replies.
Skip to toolbar