I want to make a new class of post in addition to the exisiting ‘Unpublished’, ‘Published’, and ‘Pending Review’. Let’s call it ‘Bullpen’ – The purpose of which is there isn’t already a post made by XX:XX time every day, the top of the pending bullpen post list posts as if it were scheduled for that time.
I want real scheduled posts to take precendent over the bullpen so I don’t get doubled up.
I imagine the basic algorithm would be something like:
if (time is $time && NoPostToday() )
choose the first unpublished bullpen post and post it
Extensions to this idea is instead of every day, it could be every weekday, or only on MWF. It could even be a companion plugin with checkboxes for each day and a time to input for the check.
Which files should I look at for a good starting point?
Or, if there’s a plugin I’ve already overlooked, what is it?
- The topic ‘Automatic posts for days where no post already exists’ is closed to new replies.