Skip Navigation

[Resolved] Views filter on a limited range of options

This support ticket is created 5 years, 10 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Pat 5 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1207383

Pat

Hello,

I have created a Views that display the list of products.
Products have a radio custom field that helps to classify (option 1, option 2, option 3).

In my Views, I have created a filter in order the users to be able to sort by the custom field. This filter is a select type. The issue is that I want to use only products having option 1 and option 2 in this list (not option 3 even if there are products matching this value).

Is there a way to make the filter like this?
Regards
Pat

#1207492

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is two way:
- Either you should display the filter using the manually entered values. Please check this screenshot: hidden link
- Or you should try to use custom JS that should help you to remove unwanted options.

#1207837

Pat

Hi Minesh.

Perfect.
Thanks
Pat