Navigation überspringen

[Gelöst] Custom search – hide empty result search box

This support ticket is created vor 2 Jahren, 11 Monaten. 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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 2 Jahren, 11 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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 versteckter Link

What is the link to your site?

versteckter 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/