Created
July 1, 2014 02:03
-
-
Save hellofromtonya/86127551e4751ea7c4ac to your computer and use it in GitHub Desktop.
Remove Page Titles from all pages in Genesis
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('genesis_post_title_output', 'lunarwp_remove_page_title', 10, 1); | |
/** | |
* Remove the Page Title section from all pages | |
* | |
* @since 1.0.0 | |
* | |
* @return string Page Title or empty sting (for pages) | |
*/ | |
function lunarwp_remove_page_title($output) | |
{ | |
if (is_single()) return $output; | |
return ''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment