How to allow visitors to filter posts by multiple taxonomies

Alright well this might not be ideal, but it works and was much simpler than I thought!

I ended up just adding a $_GET parameter to the 2nd taxonomy terms’ linked url, so I could get the 2nd term from the other taxonomy on the next page through $_GET.

On the next template I built a new WP_Query that uses the tax_query parameters to return posts from both taxonomy’ terms, if the 2nd taxonomies term is set.

Any thoughts on a better approach are still very much welcome.


Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)