Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin Bar on a new theme from scratch

  • Avatar of Eruecco87
    eruecco87
    Participant

    @eruecco87

    Hello,

    I’m not sure this is the right place to ask and I did a search but could not find anithing that can help me.

    I’m triying to build a home theme for buddypress out of a theme I made for a regular wordpress site (not even MU) and i was wondering how can I add the gray admin bar to my theme???

    thanks in advanced guys!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have a loot at the default home theme template that comes with BP. I am not sure where BP hooks this into, but check in header.php in <head> for a func call that you might have missed.

    Make sure you have copied/merged the functions.php file too.

    Avatar of Eruecco87
    eruecco87
    Participant

    @eruecco87

    Thanks for the answer, I tried doing that but I cant find anywhere in the template files the hook for the admin bar.

    anyone knows where can i find it??

    any help you guys can give me will be greatly appreciated, I’m kinda on a deadline with this design and I would hate to have it released without that bar

    Avatar of Eruecco87
    eruecco87
    Participant

    @eruecco87

    Found it!!!!

    here’s the tag <?php bp_core_admin_bar(); ?>

    All i did was add this tag right after the <body> tag

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.