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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -