Extended Post Status

Описание

This plugin provides the option to add new statuses to the backend and define the system relevant status settings. You can add/edit statuses just as categories or tags. All statuses are available for all your post types.

You will find a new menu item located in the settings admin menu.

Скриншоты

  • The status overview page
  • Quick edit with custom statuses
  • The status options in the classic post editor
  • The status options in gutenberg editor

Установка

  1. Upload to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the new menu item Statuses in posts menu

Часто задаваемые вопросы

How does this plugin work?

As there is no core hook to add new items to the status dropdown in posts and in the quick edit view, js is required to achieve this. It is definently the most dirty way, but WP Core does not provide other ways to do it.

There is an open trac ticket fo this circumstance:
https://core.trac.wordpress.org/ticket/12706

What happens when I delete a status or deactivate the plugin?

Be careful, posts without a valid status will be hidden! Just change the status of your post with a custom status to a system status (e.g. publish or draft) before you delete a custom status or deactivate the plugin.
Your posts will never be deleted, but you need to know your old status slugs once you have deleted a status or deactivated the plugin to get your posts back.

Why is a hidden status still visible in dropdowns?

The «Hide in admin drop downs» option only hides the status if the current post doesn’t have the status. As long as your post has the hidden status, the drop down will still show it.

Отзывы

10.03.2020
Simple, straightforward with clear explanations. My coding attempts at creating custom post statuses went nowhere until I found this plugin. Go under Settings to find Extended Post Status and experience the magic.
18.07.2019
I didn't want to change core wp-includes/posts.php file every time I updated WordPress. This did the trick and is easy to use. Thank you!
Посмотреть все 3 отзыва

Участники и разработчики

«Extended Post Status» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Extended Post Status» переведён на 2 языка. Благодарим переводчиков за их работу.

Перевести «Extended Post Status» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.11

  • [Fixed] Enable bulk editing of custom statuses.

1.0.10

  • [Added] Hide status in admin drop downs
  • [Fixed] Selected custom statuses will auto select other custom statuses in admin drop downs.

1.0.9

  • [Fixed] PHP error on accessing a non-object on admin menu page

1.0.8

  • [Added] Settings submenu item «Extended Post Status»
  • [Fixed] Quickedit custom status doesn’t show up
  • [Fixed] Non public posts won’t show up in admin «All» list
  • [Removed] Posts submenu item ‘Status’

1.0.7

  • [Fixed] Label of settings doesn’t work
  • [Fixed] PHP errors, wrong class declaration

1.0.6

  • [Fixed] PHP errors, wrong class declaration

1.0.5

  • [Fixed] New posts were saved as drafts instead of published
  • [Fixed] Translation errors

1.0.4

  • [Added] Settings section in «Settings > Wrtiting»

1.0.3

  • [Added] Support for all post types

1.0.2

  • [Added] Page and post count in status overview
  • [Fixed] Bug that removes all status settings when quickediting a status
  • [Fixed] Set slug length to max 20 chars because of posts status db field length

1.0.1

  • [Added] Page status support
  • [Fixed] Bug in displaying posts/pages in ‘all’ list

1.0.0

  • [Added] Initial version