Saltar navegación

[Resuelto] Inside a View – Search not showing on page

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 7 respuestas, tiene 3 mensajes.

Última actualización por SteBlood hace 4 años, 2 meses.

Asistido por: Shane.

Autor
Mensajes
#2001927
Screenshot 2021-03-26 130257.png

I've never had a problem like this before, however I am trying to create a search within a view using the view tools.
I've created the search filters, but they refuse to show on the front end.
It's really frustrating.

Any chance you could help?
If you could make the next reply private I can share my login details to the site.

The link in question is; enlace oculto

#2002099

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01:00)

From the source markup at that link you shared, I see you are inserting the View using an Elementor widget, is that right?

We have a known issue relating to inserting a View with Elementor, described here: https://toolset.com/errata/not-possible-to-split-view-search-form-and-results-in-elementor/

Only, according to that, it's not possible to insert the search form and results separately, and both will always be shown, which is not what you are describing.

Nevertheless, can you try the suggested workaround?

Also, double check when editing your View that the Output Editor at the bottom contains both of these shortcodes:

[wpv-filter-meta-html]
[wpv-layout-meta-html]

I'll set a private reply in case you need to share log-in credentials.

#2002315

Duplicated reply

#2002325

Duplicated reply

#2002359

So, I've been playing around.

Basically, I've duplicated this view;
enlace oculto
to this view
enlace oculto

I've managed to get it to do what I want it to do.

My problem is, what did I do differently in enlace oculto

to make the search show, that I didn't do in enlace oculto

Does that make sense?

#2002361

Your website is doing some really weird stuff right now, I am replying but they're not showing.... or taking longer than expected 'to' show.

#2004313

Shane
Colaborador

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Query Filters missing.PNG

Hello,

We had an issue with our forums last week, however it should be resolved now.

I can see a difference in your views, actually this view below is missing the query filters that would allow the search to work.
enlace oculto

See my screenshot for the missing query filters.

You do have the option to manually re-add the query filters by clicking on the Add a Filter button, searching for that taxonomy and adding the filter, setting it to filter by the URL parameter and copying the URL parameter names from the view below to your copy view.
enlace oculto

For this view below, you had the option "Disable the wrapping DIV around the View" which will disable the search because it removes all the generated HTML wrapping for the view.
enlace oculto

This should now be showing the search bar.

Thanks,
Shane

#2004487

Thanks Shane!