Title: Mandatory Excerpts for WordPress
Author: theMikeD
Published: <strong>2020 年 1 月 15 日</strong>
Last modified: 2025 年 12 月 15 日

---

搜尋外掛

![](https://ps.w.org/mandatory-excerpt/assets/icon-128x128.jpg?rev=2227849)

# Mandatory Excerpts for WordPress

 由 [theMikeD](https://profiles.wordpress.org/themiked/) 開發

[下載](https://downloads.wordpress.org/plugin/mandatory-excerpt.1.1.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/mandatory-excerpt/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/mandatory-excerpt/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/mandatory-excerpt/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/mandatory-excerpt/#developers)

 [技術支援](https://wordpress.org/support/plugin/mandatory-excerpt/)

## 外掛說明

An excerpt is a (usually) brief, text-only post summary. It is used in various places
of a theme when a summary of a post is needed, such as on your blog page and archive
pages for terms.

Excerpts are either manually crafted or (usually poorly) automatically extracted
from the main post content. Hand crafted ones are better because

 * they avoid things like sentences being cut off in the mid…
 * they allow you create an actual summary and not just the first x words from the
   post content
 * they allow you to do better SEO targeting
 * they look better

This plugin will enforce the use of hand-crafted excerpts by your users by preventing
a post without an excerpt from being published.

Classic editor support is based on the work done by Scott Walkinshaw and other contributors,
found [here](https://gist.github.com/swalkinshaw/2695510).

### Upgrading from a previous version

Use the upgrade link in the Dashboard (Dashboard > Updates) to upgrade this plugin.

### License and Disclaimer

This program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License 2 as published by
 the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

The license for this software can be found here: [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)

## 螢幕擷圖

 * [[
 * Classic Editor: If you try to save a post without an excerpt, this message will
   appear and the post status will be reset to “draft.”
 * [[
 * Classic Editor: If you don’t see the Excerpt section, it may be because it’s 
   not enabled. Click Screen Options at the top right of the edit screen, and enable
   it.
 * [[
 * Gutenberg/Block Editor: the Publish/Update button is disabled until the excerpt
   has content. You also get a message about the missing excerpt.

## 安裝方式

Either use the WordPress Plugin Installer (Dashboard > Plugins > Add New, then search
for “mandatory excerpt”), or manually as follows:

 1. Upload the entire `mandatory-excerpt` folder to the `/wp-content/plugins/` directory
 2. DO NOT change the name of the `mandatory-excerpt` folder
 3. Activate the plugin through the ‘Plugins’ menu in the WordPress Dashboard

Note for WordPress Multisite users:

 * Install the plugin in your `/plugins/` directory (do not install in the `/mu-
   plugins/` directory).
 * In order for this plugin to be visible to Site Admins, the plugin has to be activated
   for each blog by the Network Admin.

## 常見問題集

### I don’t see a spot for the excerpt in my Classic Editor post edit screen

There are two possible reasons for this.

 1. The post type does not support the excerpt field. Generally, posts and pages support
    it but it can be turned off in code.
 2. The Excerpt field is not being displayed. To see it, click on Screen Options button
    on the top right corner of the classic editor post edit screen and then enable 
    it.

### Does this work with Gutenberg / the block editor?

Sure does, but a little differently. See [the manual](https://www.codenamemiked.com/plugins/mandatory-excerpt/)
for more.

### Where can I get Support?

Guidance on using the plugin can be found in the plugin’s User Guide (TBD).

If you’re still stuck or you think you fod a bug, you can post a message on the 
plugin’s Support Forum.

Support is provided in my free time but every effort will be made to respond to 
support queries as quickly as possible.

Source code can be found in [github](https://github.com/theMikeD/mandatory-excerpt).

### Where is the Settings page?

There isn’t one.

### Does this plugin support custom post types?

Yes, if the custom post type supports the excerpt field. But you’ll have to specifically
include it using the `mandatory_excerpt_post_types` filter. See [here](https://www.codenamemiked.com/plugins/mandatory-excerpt/filters/).

## 使用者評論

![](https://secure.gravatar.com/avatar/18994951f817d5adc761b7946511ac4a5568c9352e89838f001f006e57e1f6d0?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it says](https://wordpress.org/support/topic/does-exactly-what-it-says-206/)󠁿

 [ajvo](https://profiles.wordpress.org/ajvo/) 2020 年 9 月 26 日

Neat little plugin. IMO, excerpts are very important in some cases and the excerpt
field should definitely be mandatory. On the top of that, I placed the field right
after the title, so it can be found better by the users, and everything looks and
works really great, thanks!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Mandatory Excerpts for WordPress〉的開發相關工作。

參與者

 *   [ theMikeD ](https://profiles.wordpress.org/themiked/)

〈Mandatory Excerpts for WordPress〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/mandatory-excerpt/contributors)
為這個外掛做出的貢獻。

[將〈Mandatory Excerpts for WordPress〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/mandatory-excerpt)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mandatory-excerpt/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/mandatory-excerpt/)，或透過 
[RSS](https://plugins.trac.wordpress.org/log/mandatory-excerpt/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mandatory-excerpt/)。

## 變更記錄

#### 1.1.2

 * WP 6.9 tested ✅

#### 1.1.1

 * small fix for GB

#### 1.1.0

 * refactoring
 * adds gutenberg/block editor support
 * adds localization framework + fr_CA translation

#### 1.0.0

 * 11 January 2020
 * Initial release

## 中繼資料

 *  版本 **1.1.2**
 *  最後更新 **5 個月前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 4.4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/mandatory-excerpt/) 及 [English (US)](https://wordpress.org/plugins/mandatory-excerpt/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/mandatory-excerpt)
 * 標籤:
 * [excerpt](https://tw.wordpress.org/plugins/tags/excerpt/)
 *  [進階檢視](https://tw.wordpress.org/plugins/mandatory-excerpt/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/mandatory-excerpt/reviews/)

## 參與者

 *   [ theMikeD ](https://profiles.wordpress.org/themiked/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/mandatory-excerpt/)