Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm wanting to create a list of categories for a custom post type in Wordpress.

The custom post type is 'Books' and this has been set-up using the standard taxonomies' => array( 'category', 'post_tag' ),

I'm not sure if there is a way to make <?php wp_list_categories(); ?> just show catgories from the post-type books.

I don't want to have to create a custom taxonomy as well.

Thoughts?

share|improve this question
add comment

1 Answer

If you could change the name for your taxonomy you could use <?php wp_list_categories( 'taxonomy' => 'custom_category_or_whateva', ); ?>

If not read here: http://wordpress.org/support/topic/list-categories-for-custom-post-type

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.