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

Publishing Checklist

描述

Publishing Checklist is a developer tool for adding pre-flight editorial checklists to WordPress posts. Each time a user saves a post, Publishing Checklist validates that post type’s list of tasks to make sure the content is ready for release. Tasks are validated with callbacks you supply when registering tasks.

螢幕截圖

  • Checklist summaries will be displayed within a column on the Manage post screen.

  • Checklists will also be displayed within the Publish metabox on the Edit screen.

安裝

It’s a plugin! Install it like any other.

Once you’ve done so, you’ll need to register the checklist items and callbacks for your site. Here’s a simple example that checks for a featured image.

`php

add_action( ‘publishing_checklist_init’, function() {
$args = array(
‘label’ => esc_html__( ‘Featured Image’, ‘demo_publishing_checklist’ ),
‘callback’ => function ( $post_id ) {
return has_post_thumbnail( $post_id );
},
‘explanation’ => esc_html__( ‘A featured image is required.’, ‘demo_publishing_checklist’ ),
‘post_type’ => array( ‘post’ ),
);
Publishing_Checklist()->register_task( ‘demo-featured-image’, $args );
});
`

常見問題

Where will the checklist appear?

On Manage and Edit post screens.

Does the plugin come with any default checklists?

Not yet.

評價

2016年9月3日
The idea is great and probably the best implementation in the editor I have seen. However, it does not do the job. Creators, please keep supporting this plugin 🙂
閱讀全部2個評價

貢獻者及開發者

“Publishing Checklist” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Publishing Checklist 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.0 (June 26, 2015)