How to pass multiple checkbox values to wordpress query?
-
I am working on a website that has multiple check boxes and I want to show results based on what user has selected.
There are about 16 check boxes for music, 8 check boxes for venues and 6 radio buttons for area. The user can check a maximum of 3 check boxes from Music category, a maximum of 3 from Venues and 1 from Area. How do I accomplish this wordpress query that would show posts only from categories that are selected.
For example, If a user has selected House, Techno and Dubstep in Music, Miami as Area, and they want to search for events, music festivals, and live venues, How can I get that using wordpress query?
Thanks in advance for your help.
- The topic ‘How to pass multiple checkbox values to wordpress query?’ is closed to new replies.