Return a list of terms from a custom post type's taxonomy
I’m fairly new to wordpress development so I’m just trying to get my head around things. The first thing I’ve come up against is listing all of the terms from a custom post types’ taxonomy.
I have a page called ‘Procedures’, a custom post type called ‘Procedures’ and a taxonomy called ‘Procedure Area’ within the custom post type. When click on the ‘Procedures’ page I want to display a list of the terms (Finance, Marketing etc) from the Procedures taxonomy.
The only way I can get this to work is by using
wp_tag_cloud( array( 'taxonomy'=>'procedure_area' , 'format'=>'list' ) );
Can anyone help me?
- The topic ‘Return a list of terms from a custom post type's taxonomy’ is closed to new replies.