Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active December 14, 2015 08:59
Show Gist options
  • Select an option

  • Save braddalton/5062043 to your computer and use it in GitHub Desktop.

Select an option

Save braddalton/5062043 to your computer and use it in GitHub Desktop.
This code removes the post meta on all single posts
add_action ( 'genesis_post_content' , 'remove_post_meta_single_posts' );
function remove_post_meta_single_posts) {
global $post;
if ( is_single () )
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