6 years, 2 months ago
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?
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.
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.
4 years, 12 months ago
does anyone know what i have to do to just move the admin bar to the main nav?
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service