• I am using a private login only blog. I want all custom status types to default to published rather than draft. I realise this is an odd request because if it is pending it shouldn’t really show at the front end.
    I was hoping there may be a quick code fix though?
    any tips or guidance much appreciated.. Great plugin BTW!

    http://ww.wp.xz.cn/extend/plugins/edit-flow/

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

    (@danielbachhuber)

    Just to clarify: you’d like your posts automatically published as soon as they’re created? What’s the purpose of having custom statuses then?

    Thread Starter l r

    (@lainyrache)

    HI Daniel thank you for the reply.
    We have front end display with a progress bar in some post types, all users see All Posts.(No matter what the custom status is) For quick view on the front end
    Status is useful to see our progress bar front end.
    So I need to be able to control whether the status is published or not.
    Site is login only access, all users need to say all posts no matter what the status is.
    At very least all published, though control would be better.
    thanks again

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    It sounds like you’d actually be better modifying the query that pulls in posts on the front.

    By default, it will pull in all posts where the post_status is ‘publish’. You’ll want to change it so that it pulls in posts with all of your post statuses. Here’s some information on how that works:

    http://codex.ww.wp.xz.cn/Class_Reference/WP_Query#Type_.26_Status_Parameters

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Edit Flow] change default status from draft to published’ is closed to new replies.