Causes the excerpt to be required before a post can be published. Supports both editor types (classic and block aka gutenberg).
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
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.
Use the upgrade link in the Dashboard (Dashboard > Updates) to upgrade this plugin.
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
Either use the WordPress Plugin Installer (Dashboard > Plugins > Add New, then search for “mandatory excerpt”), or manually as follows:
mandatory-excerpt
folder to the /wp-content/plugins/
directorymandatory-excerpt
folderNote for WordPress Multisite users:
/plugins/
directory (do not install in the /mu-plugins/
directory).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.
There are two possible reasons for this.
Sure does, but a little differently. See the manual for more.
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.
There isn’t one.
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.