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

Is it possible to list the posts from a custom taxonomy by slug along?

This link kind of does it but i want to target the slugs rather than just the whole taxonomy itself


So i have Custom Taxonomy 'Books' within that i have Book 1 and Book 2.

I want to list all the posts attached to Book 1 and then separately all the posts attached to Book 2 ideally.


Thanks for any help.

share|improve this question
up vote 0 down vote accepted

As long as you have registered your custom taxonomy to with 'rewrite' => true, then WordPress should automatically build taxonomy archives for you at yousite.com/{taxonomy base}/{term slug}.

There are a lot of caveats and problems that can arise, but for simple setups, this works like a charm. To find the right URL, go to (I'm guessing a little here) Posts > Books and then click "View" beneath the "Book 1" taxonomy.

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.