Skip to:
Content
Pages
Categories
Search
Top
Bottom

Move top navigation bar (wp-admin-bar)

  • @peterverkooijen

    Participant

    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)
  • @peterverkooijen

    Participant

    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.

    @johnjamesjacoby

    Keymaster

    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.

    @peterverkooijen

    Participant

    Thanks!

    @j2ee

    Participant

    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)
  • The topic ‘Move top navigation bar (wp-admin-bar)’ is closed to new replies.
Skip to toolbar