WordPress users may set a post’s workflow state using post status. WordPress utilizes eight different default statuses. They are inheritable, published, future, draught, pending, trashed, and auto-draft.
Creating Custom Post Status in WordPress
If a post was made and has never had a status, it may have a “new” status. WordPress plugins and themes may establish custom post statuses for complicated websites. Users can arrange their posts in the admin dashboard. Websites with several authors or a complex editorial procedure are beneficial.
Users can edit articles privately and save them as draughts, among other things that the post status permits. They can return and complete it later in this manner. Users may also schedule postings, giving them a “future” status, or they can make a post private. The post status for attachments is “inherit.” The “pending” status on blogs with several authors might be helpful since contributors can submit posts for approval before publication.
WordPress uses post status to indicate a post’s current status. WordPress has several default post statuses that serve as a representation of the post states.
In the WordPress market, some plugins offer the ability to generate unique post statuses. For instance, the WordPress Status Planer plugin and the Edit Flow plugin both permit the creation of custom post statuses.
However, these plugins offer a variety of functions that go above and beyond our basic needs. Whenever a custom post status is created, if that is the only requirement you have, it would be wasteful to install a plugin that offers a variety of services for that one reason.
Default Post Statuses for WordPress
The list of post statuses that WordPress currently supports is displayed in this section. These laws outline the condition of the WordPress post.
Publish – Publicly available for viewing.
Future – Due for publication in the future.
Draft- A draft is an unfinished post that those with the necessary access may read.
Pending – Ready and awaiting publication by a user with authority.
Private– Only users with the Admin level can see the content.
Trash– Deleted postings in the trash.
Automatic Draft– Automatic modifications made by WordPress during the editing process are known as “Auto Draft.”
Inherit – As with attachments, inherit is used with dependent posts.
These post categories are sufficient to control the WordPress post’s editing process and move it between states. The next part will walk you through how to build your own post statuses with relevant titles using custom code.
WordPress’s custom post status is only a straightforward editorial notification, not to be confused with custom post kinds. Some of the standard ones are already included with WordPress. More editorial controls are anticipated to be introduced to the post-status functionality in WordPress’ subsequent releases. Plugins like Edit Flow are now available for users to expand this capability.
Head to Seahawk Media to gain more information on various topics like Post Status