/ Published in: PHP

Call Taxonomy anywhere on a template (without link)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $terms_as_text = get_the_term_list( $post->ID,'people', 'People: ', ', '); if (!empty($terms_as_text)) echo '<p>', strip_tags($terms_as_text) ,'</p>'; ?>
Comments
