0
Anonymous
I have 2 taxonomies:
- cats (contains three types: cat1, cat2 and cat3)
- dogs (contains two types: cat1 and cat2)
- I would like to get the two parameters from the URL (for example, $cat="cat1" and $dog="dog2"), and then display a grid with all posts that have the taxonomy cat="cat1" and the taxonomy dog="dog2". Is this possible?
- Can more complex logics be built? Example: $cat=(("cat1" OR $cat="cat2") and $dog="dog2")
2 Subscribers

Submit Answer
1 Answers
Best Answer
0

Welcome to our forum.
I hope you can do it, there is a filter hook for query arguments, so you can pass your own query argument for post grid, you can grab these variables via $_GET and use on the filter hook
https://pickplugins.com/documentation/post-grid/filter-hooks/post_grid_query_args/
Let me know for more help.
Regards