Saltar navegación

[Resuelto] Search Filter with additional Query Filter no longer possible

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

Add multiple taxonomy filters on same taxonomy into post view.

Solution:

In this case, it needs custom JS/CSS codes, for example:

https://toolset.com/forums/topic/search-filter-with-additional-query-filter-no-longer-possible/#post-2165473

Relevant Documentation:

This support ticket is created hace 3 años, 10 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 – 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 19 respuestas, tiene 3 mensajes.

Última actualización por simonM-5 hace 3 años, 8 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#2168591

Q1) I tested in English and it seems to work there, however when we switch to German, we don't even see the 4 categories

For German version, I have added below JS codes into your website:
enlace oculto
section "Search and Pagination", box "JS editor", line 19~23:

    // German version
	jQuery('input[value="nn-faq-de-hilfe-seite"]').parent('div.form-check').show();
	jQuery('input[value="nn-faq-de-native-nanny-werden"]').parent('div.form-check').show();
	jQuery('input[value="nn-faq-de-familie"]').parent('div.form-check').show();
	jQuery('input[value="nn-faq-de-techsupport"]').parent('div.form-check').show();

As you can see, they are German version of term slugs.

Q2) Also, when we click an FAQ to open it, they all open at once, instead of just the one opening and closing.
Since you are using Booststrap according to setup the those JS effect, you can follow their document to setup it:
enlace oculto
The problem is: You need to setup the unique ID for each accordion
I have setup a demo in your website,
enlace oculto
section "Loop Editor", change line 7 to:

<div id="accordion-[wpv-post-id]" class="accordion">

line 14:

<div id="collapse-[wpv-post-id]" class="card-body collapse" data-parent="#accordion-[wpv-post-id]" >

You can use [wpv-post-id] shortcode to setup the unique ID

Q3) Since you are asking for non-built-in feature, so the only workaround is using custom CSS/JS codes for this case.

#2170607

Hi Luo

That looks better now, I'll just have my colleague test it too in case I missed something, but I think it looks good.

I'll let you know on Friday if all is well.

Thanks and regards
Simon

#2174587

Hi,

Thanks for the update and we'll wait for the confirmation.

Luo is on vacation and will be back tomorrow, to follow up on this ticket, as needed.

regards,
Waqar

#2175607

I have marked this thread as "Waiting for feedback" status, please update here when you need more assistance for it.

#2176007

My issue is resolved now. Thank you!