• Resolved avsa

    (@avsa)


    Currently I use the wp-calendar, but I really want to switch to edit flow, but I can’t understand why it doesn’t work for me, and have been frutratingly trying it for months

    The way I work in wp-calendar usually is: an author writes a post in draft. After it’s done he communicates to me that the post is ready and I drag it from the draft drawer to a future date in wp-calendar, so the post becomes from draft to scheduled. When the day arrives, the post then becomes published and I’m happy.

    I created multiple post status in edit flow: “draft”, “ready for review”, “ready for publishing” etc. But how exactly do I change the behavior (can it be scheduled? is it public?) of the post status?

    When I drag a “ready for publishing” post to a future date in the calendar, it doesn’t become “scheduled”. In fact it keeps being “ready for publishing” until I manually change it to “published”. So dragging posts in the calendar doesn’t schedule them, just moves their “draft date”. How am I supposed to schedule posts in edit flow then?

    Thanks!

    http://wordpress.org/extend/plugins/edit-flow/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    You can change the behavior by adding this to your theme’s functions.php file:

    apply_filters( 'ef_calendar_allow_ajax_to_set_timestamp', '__return_true' );

    Thread Starter avsa

    (@avsa)

    I’m sorry, maybe I wasn’t clear on my question but this doesn’t really answer me at all…

    I added that line to my functions.php but honestly it didn’t change anything. I created a new draft, then changed it to “pronto para publicar” (“ready for publishing”), moved it around on the calendar but at no point it became “scheduled”. It just keeps being a draft in wordpress’ view, and when the date comes it ignores it and never publishes.

    And how could wordpress even know the difference? How is wordpress supposed to know that “pronto para publicar” means it’s ready to be scheduled and posted, since I never told it anywhere and I assume it doesn’t understand either portuguese (or cares on what I name things)?

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Oh, I see what you’re talking about. The code snippet I gave you will change the post timestamp. You’d then need to go into the post and mark it as “Published” or “Scheduled”.

    We’ll consider the ability to change the actual post status from the calendar in a future release.

    Thread Starter avsa

    (@avsa)

    Oh I see. The calendar is meant to be just informative then, I got the wrong impression then.

    Out of curiosity, then what’s the default behavior without that code snippet? If it doesn’t change the timestamp by default, what’s supposed to happen when I drag posts around?

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Out of curiosity, then what’s the default behavior without that code snippet? If it doesn’t change the timestamp by default, what’s supposed to happen when I drag posts around?

    It’s to allow you to drag the posts around the calendar without setting the timestamps.

    For instance, if you dragged a post to Monday, and then didn’t get around to publishing it until Friday, the publication timestamp would be Friday instead of Monday. This is to keep you from accidentally publishing posts in the past (or scheduling in the future) unless you opt into it.

    Thread Starter avsa

    (@avsa)

    Ok thanks!

    This was very helpful, I should probably use editorial calendar for what I was looking for then.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Calendar not publishing posts’ is closed to new replies.