Last active
August 29, 2015 13:57
-
-
Save davechu/9569770 to your computer and use it in GitHub Desktop.
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', 'dc_post_meta_filter', 20 ); | |
function dc_post_meta_filter($post_meta) { | |
$post_meta = do_shortcode('[post_categories before="Category: "] [post_tags before="Tags: "]'); | |
return $post_meta; | |
} | |
// OR just pull out all Post Meta material. I'm sure you can think of cases for Post (or Custom Posts) that need none of this. | |
remove_action('genesis_entry_footer', 'genesis_post_meta'); | |
// OR remove "Filed Under: " and separators, leaving just the category names and links. I have extra spaces for readability (optional). | |
add_filter( 'genesis_post_meta', 'dc_post_meta_filter2', 20 ); | |
function dc_post_meta_filter2($post_meta) { | |
$post_meta = do_shortcode('[post_categories sep=" " before=" "]'); | |
return $post_meta; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment