Skip to:
Content
Pages
Categories
Search
Top
Bottom

Move top navigation bar (wp-admin-bar)

  • Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    I’m working on a new theme. I want to move the dark gray top navigation bar – wp-admin-bar? – somewhere else, but it’s not part of the header in the default theme.

    Apparently somehow it’s part of the footer, but it’s also not in footer.php in the theme. I see it’s generated by a function bp_core_admin_bar() in bp_core_admin_bar.php with an admin_bar.css.

    That bar is way too dominant/distracting. It has too much functionality that is not vitally important for my site or is already available elsewhere on the page. How can I move that somewhere else?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    What are the consequences of removing <?php wp_footer(); ?> from footer.php?

    It works as a way to remove the top navigation bar, but I don’t know if there’s other code in wp_footer() that’s required for other things.

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Don’t remove wp_footer();

    There are a few ways that have been discussed to remove the admin/buddy bar completely. Check the Developers->Plugins area of this very site to see a few plugins to do this for you very simply and without modifying any core files.

    Avatar of Peterverkooijen
    peterverkooijen
    Participant

    @peterverkooijen

    Thanks!

    Avatar of J2ee
    J2ee
    Participant

    @j2ee

    does anyone know what i have to do to just move the admin bar to the main nav?

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

You must be logged in to reply to this topic.