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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -