Skip Navigation

[Resolved] Custom search – hide empty result search box

This support ticket is created 2 years, 1 month 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
- 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 2 years, 1 month ago.

Assisted by: 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

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/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.