Created
August 24, 2015 19:02
-
-
Save oropesa/64ed7b0a3afc09290929 to your computer and use it in GitHub Desktop.
Hide adminbar in WordPress frontpage
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
| <?php | |
| /** | |
| * Hide adminbar in frontpage | |
| */ | |
| add_filter( 'show_admin_bar', function() { return false; } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment