How to move Wp Admin Bar
Description:
This is a cool snipped, using this code you’ll be able to move at the bottom the newest wordpress admin bar (i hate), just apply code in your function.php
The Code:
function wpc_move_admin_bar() { ?>
<style type="text/css">
body {
margin-top: -28px;
padding-bottom: 28px;
}
body.admin-bar <a href="http://search.twitter.com/search?q=%23wphead" class="tweet-hashtag">#wphead</a> {
padding-top: 0;
}
body.admin-bar <a href="http://search.twitter.com/search?q=%23footer" class="tweet-hashtag">#footer</a> {
padding-bottom: 28px;
}
<a href="http://search.twitter.com/search?q=%23wpadminbar" class="tweet-hashtag">#wpadminbar</a> {
top: auto !important;
bottom: 0;
}
<a href="http://search.twitter.com/search?q=%23wpadminbar" class="tweet-hashtag">#wpadminbar</a> .quicklinks .menupop ul {
bottom: 28px;
}
</style>
<?php }
// on backend area
add_action( 'admin_head', 'wpc_move_admin_bar' );
// on frontend area
add_action( 'wp_head', 'wpc_move_admin_bar' );


