Skip Navigation

[Resolved] Custom search – hide empty result search box

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 11 months, 3 weeks ago.

Assigned support staff: Luo Yang.

Author
Posts
#2286873

Tell us what you are trying to do?

I'm trying to to hide / show only relevant search boxes, since the atributes/parameters to search by are a lot.

Is there any documentation that you are following?

General toolset support tickets + some custom search.

Is there a similar example that we can see?

Our current production site hidden link

What is the link to your site?

hidden link

What I've used / tried so far:

Custom Views with Custom JS to try and unhide, but I'm not sure a Custom View would work in the archive product page search and the JS is either not working or not the way to go, I'm not sure.

#2287433

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

In WordPress Archive page, please use Toolset WordPress Archive to design the result:
https://toolset.com/course-lesson/creating-a-custom-archive-page/

And you can follow our document to add custom JS codes into WordPress Archive:
https://toolset.com/course-lesson/adding-custom-javascript-to-views-templates-and-archives/