WordPress.org

Forums

Editorial Calendar
[resolved] How to set status default to scheduled (6 posts)

  1. walkera65
    Member
    Posted 1 year ago #

    I'd like to change the default status to 'Scheduled' rather than the current 'Draft' when entering a new post. Is that possible?

    http://wordpress.org/extend/plugins/editorial-calendar/

  2. Zack Grossbart
    Member
    Plugin Author

    Posted 1 year ago #

    There's no way to make the default post status be scheduled without changing the code, but it should be a relatively small code change. I can point you in the right direction if you're interested.

  3. walkera65
    Member
    Posted 1 year ago #

    Yes please. I've attempted to add 'selected' to the 'future' option but that made no difference.

  4. Zack Grossbart
    Member
    Plugin Author

    Posted 1 year ago #

    Take a look at edcal.js line 1346. The line looks like this:

    jQuery('#edcal-status').val('draft');

    Change it to look like this:

    jQuery('#edcal-status').val('future');

    You'll also want to change edcal.php to load the uncompressed version of edcal.js. Line 366 looks like this:

    $this->edcal_echoFile(dirname( __FILE__ ) . "/edcal.min.js");

    Change it to this:

    $this->edcal_echoFile(dirname( __FILE__ ) . "/edcal.js");

    Good luck,
    Zack

  5. walkera65
    Member
    Posted 1 year ago #

    Worked a treat. Thanks.

  6. walkera65
    Member
    Posted 1 year ago #

    Forgot to say, I really appreciate your work with this plugin.It really does help with planning and entering posts on our daily news blog.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Editorial Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic