Create your custom statuses for the core and the custom post type (CPT)
With this plugin you can create, edit and delete, your custom statuses for the WordPress post types.
Manage separately groups of status, for each CPT (Custom post type) you can add unlimited numbers of statuses.
It help admins to have more customized CPT areas for all the projects that need one ore more custom post type.
You can’t create CPT, register them manually ore use another plugin like Toolset Types.
You can’t modify the standard core statuses (Draft, Publish, Private, Future), but you can hide them just with a click!
If you like this plugin and want to support my work, you can make a donation at this address: https://www.paypal.com/donate?hosted_button_id=DEFQGNU2RNQ4Y – Thank you very much!
It’s easy:
Imagine you have a CPT called “Invoices”, you can create the status “Paid”, “Not Paid” and “Canceled”.
You can hide the standard core’s statuses like “Draft”, “Publish”, “Private”, to have only the custom statuses and a cleaner dropdown.
The plugin use the native “register_post_status” WP function to register your custom statuses.
It implement a way to show the statuses on the dropdown while editing the post, using jQuery, a feature that WP doesn’t support yet natively with the “register_post_status” function.
Most part of plugin use Ajax calls, be sure jQuery is active on admin dashboard and that not any other plugin is breaking it.
From the CPT list, click “No” on the column “Hide core status”, to switch the option to “Yes”.
Go to your CPT and now you should see only custom statuses on the dropdown.
Don’t worry, this is a normal behaviour of the plugin:
Classic “Publish” button disappear for that specific post type, if you decide to hide its core statuses.
Full explanation with example:
When you push the “publish” button, WordPress set the new post status to “Published”, regardless of the current status is: that’s ok if you ‘re using the core statuses, and you really want to set the “Publish” status to the post, but since you decided to hide the core statuses it means that you don’t really need the “Publish” status, right?
In this case, to avoid mistakes and habit actions, such as “Publish” button is intended as “save the post”, the “Publish” button come hidden and another button is shown, by the way, it does the same things as “Save draft” button (that update the post without changing the status to another one).
Whether you delete a custom status, simply it will no longer registered as a WP recognisable status.
So all the posts previously sets with the deleted status, they still on the database, but you’ll not be able to show them in the list of posts.
You can re-create the status as prevoius was, using exactly the same singular label, and magically all the posts will show again.
That’s because once you create the status, the singular label is used by WP to generate the status-slug.
The status-slug is used to store the status of a post when you save or edit it.
So if you should edit the singular label of the status “paid” to “sold”, you’ll no longer able to show every post with the “paid” status.
So to avoid this action, you can’t edit the singular label, just the plural.
Maybe in a future version of the plugin, will made a functional code which change all the post’s statuses according to the edit done to the singular label.
Yeah of course you can do it.
Use the button “I understand, reset all options and data” to delete all datas safety, and disable the plugin.
Then delete it manually from your WP Plugin’s list.