Skip to content

Instantly share code, notes, and snippets.

@iamkingsleyf
Created May 8, 2014 23:29
Show Gist options
  • Save iamkingsleyf/07b2c5f3ae59c54d4f2a to your computer and use it in GitHub Desktop.
Save iamkingsleyf/07b2c5f3ae59c54d4f2a to your computer and use it in GitHub Desktop.
Show genesis category meta on homepage
//* Customize the post meta function
add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
function sp_post_meta_filter($post_meta) {
if ( !is_page() ) {
$post_meta = '[post_categories before="Filed Under: "]';
return $post_meta;
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment