php - Display Wordpress Custom Post Type Taxonomies -
i using advanced custom fields in wordpress , have created 2 taxonomies custom post type - attorney. taxonomies practice areas , admitted practice. have template created display information each attorney called single-attorneys.php
i using code:
< ? php the_taxonomies('practice_areas'); ? >
but want display each taxonomy in seperate line not see here in admitted practice area
what missing?
i think need this:
<?php get_the_term_list( $post->id, 'practice_areas', 'practice areas:', ', ', '') ?>
and
<?php get_the_term_list( $post->id, 'admitted_to_practice', 'admitted practice:', ', ', '') ?>
Comments
Post a Comment