Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created July 1, 2014 02:03
Show Gist options
  • Save hellofromtonya/86127551e4751ea7c4ac to your computer and use it in GitHub Desktop.
Save hellofromtonya/86127551e4751ea7c4ac to your computer and use it in GitHub Desktop.
Remove Page Titles from all pages in Genesis
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