What’s wrong with my query? (Checkbox query doesn’t work)
-
Please, help me, somebody.
I have two custom fields. First one is the text type, second one is checkbox
I need to filter my posts by these fields, using URL
Something like this “https://example.com/?fieldname=Value”I followed the instructions on this guide and used the example “functions.php” code
https://www.advancedcustomfields.com/resources/creating-wp-archive-custom-field-filter/For the text type field everything works fine, as it should
But for the checkbox type, no posts can be foundWhat shall i fix in the example code to make it work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What’s wrong with my query? (Checkbox query doesn’t work)’ is closed to new replies.