Skip Navigation

[Resuelto] Custom search – hide empty result search box

This support ticket is created hace 2 años, 9 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang hace 2 años, 9 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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 enlace oculto

What is the link to your site?

enlace oculto

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/