We have several individuals who have the desire of learning how to add custom post status in WordPress blog posts. In this article, I will be educating you on how to achieve this objective. WordPress custom post status plugin is one of the editorial tools that allows users to organize their articles on the basis of their respective stages in the editorial workflow. You will discover that this is a very simple process after going through this content. You will be able to create your WordPress custom post status without any struggle.
Understanding WordPress Custom Post Status and Why You Should Use It
The term custom post status refers to an editorial tool that informs WordPress the stage of any blog post during the editing period. For instance, it labels any post that are incomplete as ‘Draft’ while saving them. the status will change to ‘published’ once the article has been published. We also have the ‘scheduled’ status for articles that have been programmed to be published on a future date. The status will also change to ‘published’ once the publication date and time arrives and the content gets published.
Post status assists WordPress to choose how to display and handle the blog posts that are on your site. For instance, WordPress will exclude any blog posts that are labelled as ‘draft’ from your homepage or any other areas that are publicly viewable on your website automatically.
Here are some of the default status that WordPress comes with automatically and you can choose from them;
- Draft: – This is an incomplete item that has been saved and is not yet published
- Auto draft: – WordPress also comes with an autosave feature that will automatically save drafts as revisions
- Pending review: – There are complete items that have been submitted for review but have not been published.
- Future: – These are posts that have been scheduled for publishing on a later date or time
- Private: – Refers to any item that has been marked as private
- Inherit: – These are child pages that will automatically inherit the status of their parent page.
In addition to the above default post statutes, it is also possible to create your personal custom post status to enhance your editorial workflow. For instance, you can decide to add the label ‘Not Suitable’ for any complete posts that are not suitable for publication. All this said and done, lets go through the process of easily creating customized post statuses in your WordPress Website.
1st Method: Use a Plugin to Create WordPress Custom Post Status
This is an easy method that most WordPress users recommend. The method allows users to create WordPress custom post status and also manage their editorial workflow on the multi-author WordPress blog in an efficient manner.
The initial step is installing and activating the edit flow plugin. You can read more on how to install WordPress custom post status plugin to gain more insights on how to make this installation.
Once you install, this plugin will automatically add a new menu item that is labelled as ‘Edit Flow’ to the WordPress admin menu. Just click on it and it will direct you to the settings page.
Edit flow has so many useful features and you can choose to turn them on or off from the screen. Just click on the button that is named as ‘Edit Statuses’ that is under the ‘Custom Statuses’ box to be able to continue.
Edit flow automatically can be able to create the following WordPress custom post statuses
- Pitch: – Used in pitching new article idea and the status is also the default post status for each new post.
- Assigned: – You can choose an author and then mark the article as assigned to allow the author to work on it.
- In Progress: – The Writer is still working on the blog but the post is not yet available in a readable draft.
You can provide a description and name in the left corner in order to create WordPress custom post status for custom post type. After doing this, click on ‘Add new status’ button to save the changes.
You will now have the WordPress display custom post status in the right-hand column and you will be able to edit or delete it at any time.
The next step is to head to posts and then Add new page to be able to create a new post. On the post editing screen, click the ‘Edit’ link that is next to the ‘publish’ meta box option.
It will bring up a drop-down menu that shows all post statuses that are available for your selection including the just created WordPress custom post statuses. You will also be able to view all the articles that have been files by going to posts and then the All Posts page that is under it.
2nd Method: Use Code to Create Custom Post Status
This feature enables users to create WordPress custom post status but you can’t utilize it in the admin panel. The implication is that you can use the coding method to do the job but it may not be that clean and you will be expected to modify it after official fixing. However, you are still allowed to do it manually.
In this method, you will be expected to add custom post type code in the WordPress site. If you have never done this before, you can search for a guide that talks about the process of copying and pasting codes in WordPress.
The first step is to add the following code in the functions.php file of the themes or a site-specific plugin. Remember to replace all the instances of word rejected with your personal custom post status.
register_post_status( ‘<strong>pitch</strong>’, array(
‘label’ => _x( <strong>’Pitch'</strong>, ‘post’ ),
‘public’ => false,
‘exclude_from_search’ => true,
‘show_in_admin_all_list’ => true,
‘show_in_admin_status_list’ => true,
‘label_count’ => _n_noop( <strong>Pitch</strong> <span class=”count”>(%s)</span>’, <strong>Pitches</strong> <span class=”count”>(%s)</span>’ ),
add_action( ‘init’, ‘my_custom_post_status’ );
This code will always register a custom post status and thereafter use jQuery to include it on the admin panel. Now, you can edit your WordPress posts and you will be in a position to view the status drop-down menu.
Thanks for taking your time to go through this content. I strongly believe that it will help you to create WordPress custom post status.