Skip to content

Instantly share code, notes, and snippets.



Last active Mar 22, 2016
What would you like to do?
How to add taxonomy slugs to entry terms span in Genesis.
add_filter( 'genesis_post_info', 'custom_post_info' );
function custom_post_info ( $post_info ) {
if ( is_singular( 'sermons' ) || is_post_type_archive( 'sermons' ) ) {
$post_info = '[post_date] [post_terms taxonomy="speaker" before=""] [post_terms taxonomy="series" before=""] [post_terms taxonomy="passage" before=""]';
return $post_info;
p.entry-meta .entry-time:after,
p.entry-meta .entry-terms:after {
content: '|';
padding-left: 7px;
padding-right: 5px;
p.entry-meta .entry-terms:last-child:after {
content: '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment