-
-
Save braddalton/5105838 to your computer and use it in GitHub Desktop.
Removes Titles On All Pages Excluding Blog Page Archives
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
add_action( 'get_header', 'bourncreative_remove_page_titles' ); | |
function bourncreative_remove_page_titles() { | |
if ( is_page() && ! is_page_template( 'page_blog.php' ) ) | |
remove_action( 'genesis_post_title', 'genesis_do_post_title' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment