WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Automatic posts for days where no post already exists (5 posts)

  1. Steneub
    Member
    Posted 6 years ago #

    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?

  2. Steneub
    Member
    Posted 6 years ago #

    bump

  3. Steneub
    Member
    Posted 6 years ago #

    bump? Is there no interest in this feature?

  4. Dagon Design
    Member
    Posted 6 years ago #

    Scheduled Draft Publish Plugin for WordPress
    http://www.dagondesign.com/articles/scheduled-draft-publish-plugin-for-wordpress/

    It is a starting point as far as the code goes at least :)

  5. Steneub
    Member
    Posted 6 years ago #

    Hey wow, this is 99% of what I wanted! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic