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

Technical Architect and SysAdmin @work ; OpenBSD and FOSS @home ; Karate, Kobudō, Jōdō, Bodyweight workout, Photography @hobby

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

  1. Pingback: Move WordPress admin bar to the bottom - TuM'Fatig | Future Technology | Scoop.it

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.