vimeotheque_the_entry_taxonomies()
Prints HTML with category and tags for current post.
Source
File: includes/libs/templates/post-template.php
function vimeotheque_the_entry_taxonomies() {
$post = get_post();
$categories_list = get_the_term_list( $post->ID,
Plugin::instance()->get_cpt()->get_post_tax(), '', ', ' );
if ( $categories_list ) {
printf( '<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
_x( 'Categories', 'Used before category names.', 'codeflavors-vimeo-video-post-lite' ),
$categories_list
);
}
$tags_list = get_the_term_list( $post->ID,
Plugin::instance()->get_cpt()->get_tag_tax(), '', ', ' );
if ( $tags_list ) {
printf( '<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>',
_x( 'Tags', 'Used before tag names.', 'codeflavors-vimeo-video-post-lite' ),
$tags_list
);
}
}
