WordPress.org

Support

Support » Plugins and Hacks » Add new Publish Status

Add new Publish Status

  • How do i add a new option to the publish status drop down boxes..

    There’s currently
    Published
    Pending review
    Draft

    i want to add another one… how do i do that??

Viewing 6 replies - 1 through 6 (of 6 total)
  • It doesn’t look like WordPress supports the adding of new status types to the quick edit. The code that displays that quick edit post status change is in: /wp-admin/includes/template.php Line 1095 through 1112 for WordPress 3.0. I’ll create a ticket (#14124), so this isn’t a problem in future releases.

    The other way of editing the post status is with the Publish meta box. It doesn’t mean like you can add an additional status type to that either. It can be found in /wp-admin/includes/meta-boxes.php

    The option you have left is to replace the current Publish meta box with your own function in a plugin you or someone develops. I couldn’t quickly do this for you. I’d search for custom post type, maybe, if you wanted to do this yourself.

    its cool i can create a plugin that’ll do something like that but i just wanted to see if there’s a quick simple way i can do it by just adding

    <option value=’new’>New Option</option> such a simple addon is impossible lol..

    I would like this ability, too, Dan. This way, different users can open posts in different stages & pass them along to the “next” stage.

    draft->pending->editing->scheduled->published

    Ceelos, Did you accomplish this with a plugin? Any chance I could use your plugin? There’s editflow, but it’s too complex. I just need different Post Statuses.

    Thanks,
    -Per

    The option you have left is to replace the current Publish meta box with your own function in a plugin you or someone develops.

    Dan,

    How would I structure a plugin to replace the current publish meta box? I can handle the php/programming of it, but I’m new to programming WP, so I don’t know how WP would “replace” the existing function?

    If I simply copy the code from meta-boxes.php (into a plugin) & edit a few things here & there, how would I tell WP to use the new meta-boxes code?

    Thanks,
    -Per

    Anyone knows how to remove the options: visibity, status and schedule?

    I want only the “publish” button.

    @gfjvsfh did you find out how to remove the rest of the publish option, and only leave the “publish” button? I’m looking for the same thing too.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add new Publish Status’ is closed to new replies.
Skip to toolbar