I have a taxonomy called “location” where I have the term “Asia” and the sub-term “Thailand”.
Now I created the taxonomy archive template file according to the WordPress Codex, which is working in the following format:
- taxonomy-$taxonomy-$term.php -> taxonomy-location-Asia.php
Is there a possibility to create a template file also for the subterm, as following:
- taxonomy-$taxonomy-$term-$subterm.php -> taxonomy-location-Asia-Thailand.php
Read more here: How to customize taxonomy archive template files for subterms?