One custom template for taxonomy term not working on translation
-
I have a custom post type (team_members) with the registered taxonomies “team_member_department”. I added terms (Guests / translated in polylang: G?ste) to this taxonomy.
I want to use a custom archive page for all “team_member_department” and a different custom archive for the term “Guests” and its translation “G?ste”.
So I have two files:
- taxonomy-team_member_department.php
- taxonomy-team_member_department-guests.php
If I am on the archive page for “Guests” it uses the correct template file. If I switch to the German version “G?ste” it falls back to “taxonomy-team_member_department.php”.
Is this the expected behaviour? Do I have to duplicate my template file and rename it to “taxonomy-team_member_department-gaeste.php”?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘One custom template for taxonomy term not working on translation’ is closed to new replies.