Created
March 1, 2013 02:14
-
-
Save braddalton/5061989 to your computer and use it in GitHub Desktop.
This code removes the post meta on all pages including all 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_filter( 'genesis_post_meta', 'remove_post_meta_pages' ); | |
function remove_post_meta_pages( $post_meta ) { | |
if ( !is_page() ) { | |
$post_meta = '[post_categories before="' . __( 'Filed Under: ', 'minimum' ) . '"] // [post_tags before="' . __( 'Tagged: ', 'minimum' ) . '"]'; | |
return $post_meta; | |
}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment