Last active
December 29, 2015 13:39
-
-
Save cabans/7679199 to your computer and use it in GitHub Desktop.
Disable Wordpress top bar for all users, use in add_action('after_setup_theme')
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Disable Wordpress top bar for all users | |
if ( !is_admin() ) { | |
show_admin_bar(false); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment