Saltar navegación

[Resuelto] Sorting/Filter CPT

This support ticket is created hace 11 meses, 4 semanas. 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
- 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 11 meses, 4 semanas.

Asistido por: Minesh.

Autor
Mensajes
#2699116

Tell us what you are trying to do? I'm trying to filter the films custom post type here enlace oculto and have setup a custom taxonomy=film category with which I had hoped to filter the films by on the front end. When I found this wasn't an option to select from in the sorting block, I consulted the documentation which advises that sorting by custom taxonomy can't be done, is that correct?
So I then created a select type custom field 'film type' with a few options, written/directed etc and I could access this in the sorting block and means I can filter by film type, but I want to filter by the terms themselves i.e written. Currently if I add the film type dropdown it just reorders the films, rather than giving a user the option of which type of film they want to filter by

Is there any documentation that you are following? I'd welcome some

Is there a similar example that we can see? Not that I can find immediately but its a very simple setup, no?

What is the link to your site? enlace oculto

Thanks

#2699150

Minesh
Colaborador

Idiomas: Inglés (English )

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

Hello. Thank you for contacting the Toolset support.

It seems that you want to filter the results with your taxonomy "film category".

You can add the frontend custom search filter using your desired custom field or taxonomy to your view and filter the view results.

Please check the following Doc:
- https://toolset.com/course-lesson/creating-a-custom-search/#steps-for-creating-custom-searches

You can also have another resource, you can use http://www.discover-wp.com and use any of our reference site that is build on top using Toolset features.

This will allow you to create a test site or our free test platform: http://www.discover-wp.com
- https://discover-wp.com/site-templates/

if you want to install the any of our reference site on your local machine, you can use the framework installer plugin:
- https://toolset.com/course-lesson/using-framework-installer-to-install-reference-sites/

You can also check out the courses we offer:
- https://toolset.com/course/