Support » Themes and Templates » [Resolved] Taxonomy Archive Not Displaying

[Resolved] Taxonomy Archive Not Displaying

  • the.green.timtam


    I’m currently developing a theme for a WordPress Multisite installation. I’m developing it on a localhost.

    I’ve created a custom post type called “films” and a custom taxonomy for that post type called “roles”.

    I’ve created a “taxonomy-roles.php” file, and a film with the role of “Director”, but when I go to “http://localhost/multisite/roles/director/”, it loads the “index.php” template instead of the “taxonomy-roles.php” template.

    Is there something I am missing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • curtismchale


    Have you flushed the rewrite rules? I’d also wonder if those names have a conflict with the built in WordPress Roles. If the registered taxonomy name is ‘role’ that might be it. I’d change it to ‘something_role’ and see if the issue remains.



    Thank you so much. I changed the taxonomy name and slug to “crew-roles” and everything now works perfectly.



    Oh, don’t use a - in the name. That’s just going to cause problems. Use an underscore _ or all one word.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Taxonomy Archive Not Displaying’ is closed to new replies.
Skip to toolbar