Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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{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.