Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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:-

taxonmycity

2) Added cities in Taxonomy city

city

3) Taxonomy terms details

terms

share|improve this question
    
Did you try with taxonomy-city.php? –  Nilambar Jul 15 at 10:18
    
i have tried it its not working for me –  Sanjay Nakate Jul 15 at 10:19
    
Are you sure city is the taxonomy name for your custom taxonomy? Can you please confirm? –  Nilambar Jul 15 at 10:25
    
yes i have attached snipe in question you can check aloso –  Sanjay Nakate Jul 15 at 10:26
    
Have you tried a template file city.php ? Basing this of 'category' being a taxonomy and there's category.php. –  Nukeface Jul 15 at 10:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.