This support ticket is created Il y a 8 années et 2 mois. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hi!
I am trying to display the sticky posts of the last 12 hours.
I created my view and set the filter by "post stickness", but I have some problems to set the filter by time.
I set the filter by "Post Date" like this: "Post date is after or equal hour: PAST_ONE(12)" but it does not seems to work. I get only some old posts from August and July, which is totally wrong.
How I must set this filter to make it work correctly?
Thanks.
This is my actual situation:
- I set the filter just like you said, except for the number of the hours (just 1 hour for testing purposes)
- Here it's 5 pm, and I have a post published at 4:30 pm which should be displayed in the view
BUT the view doesn't display any posts.
Strange thing is that if I change the condition from "after" to "after or equal to", the view displays posts even older than 1 hour (published at 2:30 pm and even earlier).