// Publisher
$publisher = get_the_terms(get_the_ID(), 'publisher');
if ($publisher && !is_wp_error($publisher)) {
echo '
Publisher: ' . implode(', ', wp_list_pluck($publisher, 'name')) . '
'; } // Year of Publication $year_of_publication = get_the_terms(get_the_ID(), 'year_of_publication'); if ($year_of_publication && !is_wp_error($year_of_publication)) { echo 'Year of Publication: ' . implode(', ', wp_list_pluck($year_of_publication, 'name')) . '
'; } // Author $author = get_the_terms(get_the_ID(), 'author'); if ($author && !is_wp_error($author)) { echo 'Author: ' . implode(', ', wp_list_pluck($author, 'name')) . '
'; } // Level $level = get_the_terms(get_the_ID(), 'level'); if ($level && !is_wp_error($level)) { echo 'Level: ' . implode(', ', wp_list_pluck($level, 'name')) . '
'; }