Skip to content

Instantly share code, notes, and snippets.

@michaelcarwile
Last active December 22, 2015 19:59
Show Gist options
  • Save michaelcarwile/6523093 to your computer and use it in GitHub Desktop.
Save michaelcarwile/6523093 to your computer and use it in GitHub Desktop.
<?php
//* don't copy above php tag
//* xhtml
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
//* html5
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
//* Remove home page title (XHTML Version)
add_action('get_header', 'remove_home_title');
function remove_home_title() {
if (is_front_page()) {
remove_action( 'genesis_post_title', 'genesis_do_post_title' );
}
}
//* Remove home page title (HTML5 Version)
add_action('get_header', 'remove_home_title');
function remove_home_title() {
if (is_front_page()) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment