Support » Plugin: Editorial Calendar » How to set status default to scheduled

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Zack Grossbart

    (@zgrossbart)

    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.

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

    Plugin Author Zack Grossbart

    (@zgrossbart)

    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

    Worked a treat. Thanks.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to set status default to scheduled’ is closed to new replies.