Saltar navegación

[Resuelto] Taxonomy filtering for Media attachments – checkboxes not showing

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Minesh 7 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2834546

Hi Toolset Support,

I’m evaluating two taxonomy scenarios on a demo site and I’d appreciate your guidance.

Taxonomies
• Project Themes – attached to CPT Projects
• Media Themes – attached to Media (attachments)

Views
• Project Search – lists Projects, has a taxonomy filter
• Media Search – lists Media, has a taxonomy filter

Pages
• Homepage (Media Search): enlace oculto
• Projects page (Project Search): enlace oculto

What works
• On the Projects page, the taxonomy filter checkboxes render and AJAX filtering works as expected.

Issue
• On the Homepage (Media Search), no taxonomy filter checkboxes are rendered, even though several media items have a “Media Themes” term assigned.

Both Views are configured in the same way, just targeting different post types.
Question: Is taxonomy filtering for Media (attachments) supported in Views? If yes, could you point me to what I might be missing or misconfigured?

You’re welcome to log in and check the setup directly:
Login: enlace oculto
User: toolset
Password: $cuAYB5a483sQA6CeVNsmCa7

Thanks a lot for your help!

#2834550

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check now: enlace oculto?

with the view's "Custom search settings":
=> enlace oculto

I have set the option to "Always show all values for inputs" as you can see with the following screenshot:
=> enlace oculto

This is the only workaround possible.

However, by default, normally with custom search view, the custom search option "Show only available options for each input" is the default option that means it will offer you only the search filter options with your search filter for which the result is available.

But the custom search option "Show only available options for each input" is not working somehow as with media post type its less popular to add taxonomy and it returns no options with this option but somehow setting the optin "Always show all values for inputs" works.