Skip Navigation

[Resolved] Custom Serach, Remove some category list items from drop dwon list

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

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 5 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1181391

Custom search, using [wpv-control-post-taxonomy taxonomy="category" type="select" default_label="life" url_param="wpv-category"], I want to remove some category term from category drop down list.

#1181427

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - to remove the specific option from taxonomy filter is not possible natively as it's not supported but you can try to use the workaround I shared with the following related ticket:
=> https://toolset.com/forums/topic/parametric-search-with-only-parent-taxonomy-on-pulldown-menu/#post-465858

There is a chance that you may need to adjust the JS code I shared, you please adjust it or if you have any issues please feel free to contact me here. 🙂

#1181789

My issue is resolved now. Thank you!

#1181939

Hi,

Is it possible on checkbox?

regards

#1182045

Minesh
Supporter

Languages: English (English )

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

Well - it needs to add custom JS to remove specific options for any filter with any filter type (select, checkboxes,etc..etc..)

If you want to add it as checkboxes - you need to adjust the code which I shared according to checkboxes, the current code which I shared belongs to select box.