Skip to:
Content
Pages
Categories
Search
Top
Bottom

How Can I get BuddyBar inside the Header?


  • bpisimone
    Participant

    @bpisimone

    Is there a way I can place the BuddyBar inside the div header? So take it out from the current level (where it is placed with the footer, container and header). The thing is I want to give it an absolute positioning inside the header and not inside the whole body.

    Also how can I disable the buddybar just for the WordPress admin directory?

    Thanks and have a great weekend everyone!

Viewing 3 replies - 1 through 3 (of 3 total)
  • THe admin bar is hooked into wp_footer() you will need to unhook it and reattach it to another hook in the template.


    mikhailjon
    Participant

    @mikhailjon

    So how do I unhook it? Which files should I look at? Thanks


    bpisimone
    Participant

    @bpisimone

    Oh i get it, thanks Andy!

    @ mikhailjon you’ll find everything you need in here and this is the action you’re looking for:

    remove_action('wp_footer', 'bp_core_admin_bar', 8 );.

    @ everyone else, how can I disable the buddybar just for the admin area? I believe this has been changed (regarding the buddybar also being in the backend) and I’m not sure how to do it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How Can I get BuddyBar inside the Header?’ is closed to new replies.
Skip to toolbar