Skip to content

Instantly share code, notes, and snippets.

@JiveDig
Last active December 17, 2015 05:19
Show Gist options
  • Save JiveDig/5556720 to your computer and use it in GitHub Desktop.
Save JiveDig/5556720 to your computer and use it in GitHub Desktop.
Remove and add new post meta
// Remove/Add new post meta
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
add_action( 'genesis_after_post_content', 'thestiz_portfolio_post_meta' );
function thestiz_portfolio_post_meta() {
echo '<div class="post-meta">';
echo '<p>' . get_the_term_list( $post->ID, 'portfolio_cat', 'Filed in: ', ' ', '' ) . '</p>';
echo '<p>' . get_the_term_list( $post->ID, 'portfolio_tag', 'Tagged: ', ' ', '' ) . '</p>';
echo '</div>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment