Skip Navigation

[Closed] Unable to add checkboxes to page custom search filter

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 4 years, 2 months ago.

Author
Posts
#2200823
2021-10-20 08_21_08-Edit Page ‹ Allteck Group — WordPress.png
2021-10-20 08_21_32-Edit Group ‹ Allteck Group — WordPress.png
2021-10-20 08_25_53-Edit Group ‹ Allteck Group — WordPress.png

I am trying to: Add a checkboxes field created with Toolset to a page's custom search filter.

Link to a page where the issue can be seen: n/a, password protected site - see screenshots

I expected to see: the ability to add checkboxes fields as a custom search filter

I found a related post here: https://toolset.com/forums/topic/checboxes-of-custom-fields-dont-appear-in-cistom-search-filters/ and confirmed this is not my issue. I have "When unchecked, don't save anything to the database" enabled.

I also tried 2 different checkboxes fields, one where I left the value to the fields as "1" (default) and another where i named the field values. Both do not show up.

#2200927

While waiting for a response, I also tested with an Advanced Custom Fields (ACF) "Checkbox" field as it has the same functionality I'd need. Unfortunately it does not show up in the custom search filter drop down either.

Please advise.

Thanks

#2201003

I created a new view as a test and can now see the checkboxes custom field. My existing view still cannot see them.

I'm guessing this is a cache problem but I do not see a way to clear a view's cache. I do see a "Frontend output cache" on the views admin page but it says "not cached".

I feel im close to solving this but since my view is so heavily customized, id rather not start from scratch.

Thanks

#2201569

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Sorry it has taken a while to get back to you, there is a busy spell in the queue.

So, in the original View you cannot insert a filter for the checkboxes field, but you can if you create a new View, is that right?

Unfortunately there is no other cache that you can clear, only the front-end cache for the View output, which wouldn't be a factor in what you're describing.

I'm not sure what to suggest might be the cause of the issue on the first View given that it works in another context.

I'm sorry but there's not much I can suggest other than deleting whatever filters you have added to the search block and then recreating them.

The topic ‘[Closed] Unable to add checkboxes to page custom search filter’ is closed to new replies.