Created
August 30, 2016 19:28
-
-
Save Temmyhlee/8841a34b77892c814544b9d3d483ee1c to your computer and use it in GitHub Desktop.
Change post meta Filed under to Category
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
// Customize the post meta function | |
add_filter( 'genesis_post_meta', 'post_meta_filter' ); | |
function post_meta_filter( $post_meta ) { | |
if ( is_single() ) { | |
// change the category and tags to anything you like | |
$post_meta = '[post_tags sep=", " before="' . __( 'Tags:', 'temmyhlee' ) . ' "] [post_categories sep=", " before="' . __( 'Category:', 'temmyhlee' ) . ' "]'; | |
return $post_meta; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment