I have another brain-buster to discuss. I've gotten fairly close to a possible solution, and need a bit of a nudge.
Feel free to suggest alternatives to my thinking.
So, I have a loop of posts. This loop is sorted by date in ascending order, and is only showing the most recent 5, counting up from "today".
So, to make is a bit easier to understand... today is 11/13/2014. The title of each post is 11/13/2014, 11/14/2014, 11/15/2014, 11/16/2014, and 11/17/2014...
I also have pre-written more posts that are not showing yet.
On 11/14/2014, I want to automatically shift my loop, so that 11/13/2014 drops off, and the loop now goes from 11/14/2014 - 11/18/2014.
I don't want to have to manually go into Wordpress and delete or turn the post to draft ... I want this shift to happen automatically, everyday at midnight.
I have discovered the 'offset' attribute, which successfully shifts the loop by the number you are offsetting. I was originally going to try and figure out how to increase the offset number everyday at midnight ...
Do you think this is a good way of achieving this goal? If so, can you point me in the right direction on how to automatically increment an integer everyday at midnight?
If you have an alternative, please let me know. I am up for suggestions at this point.
If you need more information to make an informed comment, please also let me know.