[Resuelto] Showing Posts from Less than 24 Hours Ago
This support ticket is created hace 3 años. 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)
Este tema contiene 6 respuestas, tiene 2 mensajes.
I'm having a hard time understanding your date/time filters. I would like to show posts that are at least 24 hours old. Attached is a screenshot of the settings I put in but it's not working. I have tried other combinations and nothing seems to work. I have read through your documentation on this and still can't figure it out. Sorry for the dumb question.
No, I want to only show posts that are older than 24 hours ("at least 24 hours old"). If they have been created within the past 24 hours, they should NOT be displayed. Did I enter this correctly into my view and, if so, why isn't it working? Thanks.
I know that we are having various challenges when it comes to the date filters. Most times it's a hit and miss.
However it can be remedied with the use of our Hooks. In your case you can simply use the Day parameter instead of the Hour. Change it to Before or Equal to 1 day.
Setting the view to 1 day in the past does not work either, so unfortunately I'm going to have to use the custom code. Would it be possible to let me know if this bug gets fixed in the future so I can remove the custom code later? Thanks.