Last active
December 17, 2015 05:19
-
-
Save JiveDig/5556720 to your computer and use it in GitHub Desktop.
Remove and add new post meta
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
// 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