Created
February 5, 2014 01:33
-
-
Save DavidWells/8815940 to your computer and use it in GitHub Desktop.
Genesis fix take two
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
<?php | |
add_action( 'template_redirect', 'child_conditional_actions' ); | |
function child_conditional_actions() { | |
if( 'landing-page' == get_post_type() ) { | |
remove_filter( 'wp_title', 'genesis_doctitle_wrap', 20 ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment