Support » Plugin: Advance WP Query Search Filter » Multiple Checkboxes for Custom Meta Query

  • Resolved maniacaldesign



    I’m trying to figure out how I could run a query using Advanced WP Query Search Filter, against a custom meta field that includes 12 separate checkboxes, one for each month of the year. I have implemented the checkboxes in the back end using Advanced Custom Fields Checkbox option as a single unit of 12 checkboxes, and call call them in the template as a single unit.

    That said, whenever I set them as a set of criteria in Advanced WP Query Search Filter (using the “OR” for the bolean relationship), the search returns nothing unless I leave all of the checkboxes unchecked. All of my other parameters of the search seem to work fine, just not these on the custom meta field using checkboxes. I assume I may have to modify the back-end query in some way as perhaps checkboxes are only intended within the Advanced WP Query Search filter to be used on an individual basis and not 12 of them in the same custom meta field.

    Any help would be greatly appreciated – thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple Checkboxes for Custom Meta Query’ is closed to new replies.