WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question

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

Your Answer


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.