Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To remove top bar of (32px) when loged in admin panel.
- add_action('get_header', 'my_filter_head');
- function my_filter_head() {
- remove_action('wp_head', '_admin_bar_bump_cb');
- }
- By default, if you are seeing the admin bar as a logged in WordPress user, CSS like this will be output in your head (output in the wp_head() function):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement