How do I center WordPress blog to order posts ascending from the present?
I am building an events blog that has events in future and in the past. As a result, I want for my theme to start at the coming post (future post) nearest to the present. Then, I want readers to be able to move forward in the future and backward in the past, beginning at the blog post closest to NOW.
It’s like a number line, where the reader starts at . Like so:
-9-8-7-6-5-4-3-2-1  +1+2+3+4+5+6+7+8+9
The problem, of course is that  is always shifting, as are the posts’ relationships to .
I’ve already set up my theme to allow me to publish posts with future dates.
The problem I am running into is that when I use a parameter like “from” or “after”, there is a hard cutoff that removes the past content.
The resulting number line looks like:  +1+2+3+4+5+6+7+8+9. — which is no good.
I was using this doc for help.
Maybe two separate scripts defining post order ASC and DESC are called for here???
I don’t know if that’s possible to arrange without the post orders contradicting one another.
As always, thanks to anyone who can help!
- The topic ‘How do I center WordPress blog to order posts ascending from the present?’ is closed to new replies.