I have a post_type called "products" and inside it have two taxonomies "destinations" and "types".

Inside destinations i have a list of countries as terms and inside types i have (hotels, cruises).

I want to get hotels of a particular country like this :


Normaly wordpress should list me hotels in Alabama, not?

But for the reason i don't know it gets me 404 error page (always return back go home page).

Somebody knows why?

I have template strucutre like this :

index.php taxonomy.php taxonomy-destinations.php taxonomy-types-cruise.php taxonomy-types-hotels.php

Thanks a lot.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.