Move WordPress admin bar to the bottom

I’m building a WordPress theme that has a fixed top menu bar. Hence, the admin bar supersedes it ; and that’s not nice. So I just wanted to move it to the bottom of the page, where nothing lies.

You will just need to add the following code to your functions.php file:

function fb_move_admin_bar() {
        echo '      
        ';
}       
add_action( 'wp_head', 'fb_move_admin_bar' );

And that’s all! No the administration bar stays at the bottom of the page.

Author: Joel Carnat

#work Technical Architect and SysAdmin #geek OpenBSD and Open Source + Free Software #fun Karate, Kobudo, Jodo, Bodyweight workout, Photography

One thought on “Move WordPress admin bar to the bottom”

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.