Created
December 3, 2015 18:57
-
-
Save generatepress/310a05f3243fe0e98ae6 to your computer and use it in GitHub Desktop.
Remove titles from all pages
This file contains 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
add_filter( 'generate_show_title','generate_remove_page_titles' ); | |
function generate_remove_page_titles() | |
{ | |
if ( is_page() ) { | |
return false; | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment