Created
March 1, 2013 02:20
-
-
Save braddalton/5062014 to your computer and use it in GitHub Desktop.
This code removes the post meta from displaying on the home page
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 ( 'genesis_post_content' , 'remove_post_meta_home' ); | |
function remove_post_meta_home() { | |
global $post; | |
if ( is_home () ) | |
remove_action( 'genesis_after_post_content', 'genesis_post_meta' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment