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).