My theme has a custom taxonomy template ("taxonomy-authors.php") but WordPress only serves this template file when a term associated with this taxonomy is called. e.g. example.com/cpt/authors/john-doe

When loading example.com/cpt/authors/ it will return a 404. What I want it to do is to list all terms associated with the taxonomy "authors" when example.com/cpt/authors/ is requested.

Here's part of my taxonomy-authors.php file:

    if (have_posts()) :
        <h2>List of Authors</h2>

        $terms = get_terms('authors');

        foreach ($terms as $term) {
            echo $term->name;


Any pointers on how to fix this?


There's no such thing as a taxonomy archive. There is a taxonomy term archive, but no taxonomy archive.

E.g. this URL makes no sense in the current system:


But this does:

  • Ah. I see. There's no way example.com/category can be utilised at all? – superbarney Jul 20 '13 at 4:08
  • Yes, you can put a page with a page template there, but there's no such thing as a 'term archive' out of the box unless you code one yourself. – Tom J Nowell Jul 21 '13 at 22:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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