Problem: I would like to use my checkboxes group field as filters in a custom search, but the field does not appear in the popup where I select a field for creating custom search filters.
Solution: In the custom field settings for this checkboxes group, be sure "Save 0 to the database" is not checked. This option does not work with custom search Views. If you had this option checked previously and wish to change it, you must resave any posts where no checkboxes were checked. Otherwise, you may receive false positives in search results.
Relevant Documentation:
https://toolset.com/errata/checkboxes-that-save-0-are-interpreted-as-checked-by-views/
https://toolset.com/documentation/customizing-sites-using-php/functions/#checkboxes
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 5 replies, has 3 voices.
Last updated by 4 years, 8 months ago.
Assisted by: Christian Cox.