Skip to content

Instantly share code, notes, and snippets.

@grtaylor2
Last active December 14, 2015 10:49
Show Gist options
  • Save grtaylor2/5074558 to your computer and use it in GitHub Desktop.
Save grtaylor2/5074558 to your computer and use it in GitHub Desktop.
Change WordPress Post Meta For Genesis Framework
/** Customize the post meta function */
add_filter( 'genesis_post_meta', 'post_meta_filter' );
function post_meta_filter($post_meta) {
if ( !is_page() ) {
$post_meta = '[post_categories before="CUSTOM CATEGORY NAME"] [post_tags before="CUSTOM TAG NAME"]';
return $post_meta;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment