這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Post Status Menu Items

外掛說明

This plugin is useful for people who regularly use all or most of the post statuses with Posts, Pages, or Custom Post Types. Post Status Menu Items does the following:

  1. Show each post status and number of posts with that status (e.g. “Drafts (7)”) in each post type’s admin menu.
  2. Show the number of Posts with each post status in the “Right Now” / “At a Glance” admin Dashboard Widget.
  3. Show post status icons with each status at the top of admin post list pages.

Options give control over which post statuses are displayed and in which menus those statuses are displayed. Post statuses in the “Right Now” / “At a Glance” admin Dashboard widget can also be turned off.

Screenshots of all features and settings are available on the Screenshots page.

Notes

  • Plugin settings available on Settings > Writing.
  • Statuses with 0 posts are never displayed.
  • Posts are the only post type for which the post status menu items are enabled by default.

This plugin works with custom statuses created by Edit Flow, Archived Post Status, Advanced Custom Field PRO “Sync Available” status, Simple Page Ordering, and register_post_status().

Other Plugins by MRWweb

螢幕擷圖

  • The "Posts" flyout menu showing some post statuses.
  • The "Posts" expanded menu showing some post statuses.
  • Post Status icons also appear with each status in the "All Posts" admin screen.
  • Show post statuses in the "At a Glance" widget in WordPress 3.8 or later.
  • Plugin options on Settings > Writing (specific post types and post statuses vary by site).

安裝方式

  1. Upload the “post-status-menu-items” folder to the /wp-content/plugins/ directory of your WordPress site.
  2. Activate the plugin, “Post Status Menu Items” through the “Plugins” menu in WordPress

OR

  1. From the Dashboard, go to Plugins > Add New.
  2. Search for “Post Status Menu Items.”
  3. Click “Install.”
  4. Click “Activate.”

常見問題集

Is this plugin compatible with WordPress 5.0 / “Gutenberg”?

Yes. This plugin has no direct integrations with the content editor, therefore all features and settings work without modification.

If you rely on a plugin that creates or lets you manage custom post statuses, make sure to check if that plugin works with WordPress 5.0.

Where are the Settings?
  • Settings > Writing.
  • Look for the “Settings for ‘Post Status Menu Items'” section.
How Do I Turn the Menus On or Off for a Post Type?
  • Go to the plugin’s settings (see above).
  • Check or uncheck the post types you do or don’t want to display post statuses for.
  • Click “Save Changes”
Can I suggest a feature?

使用者評論

2018 年 2 月 9 日 1 則留言
Finally somebody do it - it saving "one" click "manytimes" in day. 🙂 It would be great have that for "Pages" too. 🙂
2017 年 11 月 30 日
Plugin is really simple and very helpful! Support was fast and professional. Thank you for your support and nice plugin!
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Post Status Menu Items〉的開發相關工作。

參與者

〈Post Status Menu Items〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Post Status Menu Items〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.0 (April 25, 2017)

  • [New!] Add icon for Yoast SEO’s new “Cornerstone Articles” “status”
  • [Tweak] Make post status icons on “All Posts” pages slightly smaller.

1.4.0 (December 14, 2015)

1.3.3 (February 26, 2015)

  • [Fix] “Undefined Index” error (Thanks, @leac!)
  • [Change] code formatting to always use braces for if statements.

1.3.2 (January 21, 2015)

  • [New] Settings link on Plugins screen
  • [New] Define icon for post statuses named “archive” and “archived.”
  • [Change] Readme tweaks to Installation and front page.
  • [i18n] Update POT file for settings link.

1.3.1 (February 13, 2014)

  • [Fix] Broken Trashicon Dashicon.
  • [Fix] Add additional capability check to avoid Pages showing for Contributors. Thanks @csigncsign for reporting this.
  • [Fix] Hide Posts screen status icons in < WP3.8.
  • [New] Set better icons for “All” and “Mine” statuses.
  • [Change] Remove conditional loading of stylesheet. Load on all admin pages.
  • [readme] New and reordered screenshots for 3.8.

1.3.0 (December 12, 2013)

  • [New] In WordPress 3.8+, display Posts statuses in “At a Glance” Dashboard widget with awesome Dashicons. (Uses old “Right Now” widget setting. Statuses remain in the “Right Now” widget in older verions of WordPress.)
  • [New] Status Icons added to top of “post list” admin page. (Icons courtesty of the awesome new dashicons.)
  • [i18n] Support for new WordPress 3.7+ Language Packs.
  • [i18n] Updated .pot in /langauges/
  • [Settings] Revised settings labels for [hopefully!] better clarity.
  • [Misc] Add Screenshots showing new “At a Glance” widget and Post Status icons on posts list admin pages.
  • [Misc] Clarify description of plugin in readme.
  • [Regression] Crappy “At a Glance” HTML markup courtesy of #26495. Bug filed: #26571.

1.2.1 (September 27, 2013)

  • Added capability check so Subscribers don’t see statuses. (Thanks, @benlobaugh!)
  • Cleaned up “Right Now” dashboard widget styles with MP6.

1.2.0

Added Post statuses to “Right Now” dashboard widget.

1.1.2

  • Second headers already sent fix. This one was an encoding issue.

1.1.1

  • Fixed “headers already sent” error with some plugins.
  • Added screenshot of plugin options

1.1.0

  • Added support for custom post statuses made with Edit Flow or register_post_status().
  • Added option to control which post stati are displayed (see Settings > Writing).
  • Moved/added all options to single option in the database. (Previously saved options should be automatically migrated.)
  • First pass at inline documentation.
  • Now translatable (i.e. i18n).
  • Updated version compatibility #.

1.0.1

  • Updated “Requires at least” version to 3.0 after some research.
  • Tweaked function that adds menu items to be slightly more efficient (avoiding array_push).

1.0

  • Almost a complete rewrite. Again 🙂
  • Added “Private” and “Trash” Statuses.
  • Added support for Pages and Custom Post Types.
  • Added options to toggle display of menu items for all post types (Settings > Writing).
  • Added status counts to each menu item.
  • Statuses with 0 posts are now hidden.

0.2

  • Rewrite to hopefully avoid conflicts with other plugins.

0.1

  • First release.