Hello!
I’m using wordpress for the first time and I have only basic programing knowledge, please excuse any dumb question 🙂
I’m trying to create filters, as explained in this guide:
https://www.advancedcustomfields.com/resources/creating-wp-archive-custom-field-filter/
Side note) I notice PHP 7.x requires to define the array ($meta_query = [];) on line, I did so.
My problems are:
1) when I run a query, it only displays TWO results, but there are many more matching cases. Example: https://tournamentscanner.org/archives/tournament?region=madrid should show 10 matches.
2) When I send two parameters, I would like to display only posts matching both conditions. Example: https://tournamentscanner.org/archives/tournament?region=madrid&format=standard should only display what is region=madrid AND format=standard
Any help or guidance to help me with this? Thank you.