Skip Navigation

[Resuelto] Parametric Views Search Filter by date

This support ticket is created hace 4 años, 8 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 – 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)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Shane hace 4 años, 8 meses.

Asistido por: Shane.

Autor
Mensajes
#1561715
filters.png

I have a bunch of category filters on my view and I also need to include a post year on there. Is there a built in way or do you have a doc explaining how to get the Post date as a views Filter?

#1561897

Shane
Supporter

Idiomas: Inglés (English )

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

Hi Nicholas,

Thank you for getting in touch.

In order to have the year as a filterable field, you must have a corresponding year custom field on the backend. So on the posts themselves you should also have a field where the user can select the year.

The reason is because if you have a datepicker then you're not able to filter by the year only but rather you must filter by the entire date itself.

Please let me know if this clarifies the situation for you.
Thanks,
Shane