I have created city
taxonomy in back end and i have added mumbai,pune,nashik city in city
taxonomy like bellow snipe.
My problem is that when i click the city for example mumbai
i want display the all product in the mumbai
city which i have set from the product tab means that product is in mumbai
city category.
I have tried with bellow code but not getting any thing.
Custom Taxonomies display
Template file used to render the Archive Index page for a Custom Taxonomy
taxonomy-{taxonomy}-{term}.php
As regrading above code i have changed my file name to taxonomy-city-city.php
but its not working.tell me if have any body idea about this issue.
Site Link:- Click Here and Click on select your city button
1) Taxonomy city:-
2) Added cities in Taxonomy city
3) Taxonomy terms details
taxonomy-city.php
?city
is the taxonomy name for your custom taxonomy? Can you please confirm?city.php
? Basing this of 'category' being a taxonomy and there'scategory.php
.