URL with two taxonomies

Asked

Viewed 80 times

1

I have the following problem.. I have two different taxonomies "Category" standards that are for example: culture, sport, politics. And a custom taxonomy that is "cat_specials" e.g. "infographics, profile, big story." , and I have a taxonomy-cat_especiais.php file that accesses the posts that have marked some of these special categories.. So far no problem there.

Now the question: If I want to access the posts that have either "Category" or a "cat_special" marked there is any file that supports the standard Wordpress loop? I do, without needing to create a page with a query passing arguments. Just making the

if(have_posts()): while(have_posts()): the_post(); 

1 answer

2


There is something for mixed archive with two different taxonomies as you want and natively in Wordpress. If you want something like this needs to be customized, creating a file using WP_Query.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.