This members-only tutorial provides the steps to set taxonomy and terms query params in Oxygen's Advanced Query to be dynamic/automatic.
Scenario:
There are multiple taxonomies each attached to multiple post types.
Ex.:
CPTs of interest: investigation besides the built-in post
Taxonomies: format, country, company
A sample term of the format taxonomy: podcast
Requirement:
When viewing a term archive page of any of the above taxonomies, for example:
https://example.com/format/podcast/
a) show the items of a specific post type, say post that have the current term of the current taxonomy in a custom loop.
i.e.,
show posts that have been marked as podcast format.
b) show the items of a different post type, investigation that have the current term and current taxonomy in another custom loop.
i.e,
show investigations that have been marked as podcast format.
c) have a single Template for all the taxonomies.
Solution: