Title: Advanced Post Excerpt
Author: Steve Grunwell
Published: <strong>2016 年 2 月 26 日</strong>
Last modified: 2023 年 12 月 18 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/advanced-post-excerpt.svg)

# Advanced Post Excerpt

 作者：[Steve Grunwell](https://profiles.wordpress.org/stevegrunwell/)

[下载](https://downloads.wordpress.org/plugin/advanced-post-excerpt.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/advanced-post-excerpt/#description)
 * [评价](https://cn.wordpress.org/plugins/advanced-post-excerpt/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/advanced-post-excerpt/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/advanced-post-excerpt/#developers)

 [支持](https://wordpress.org/support/plugin/advanced-post-excerpt/)

## 描述

[WordPress post excerpts](https://codex.wordpress.org/Excerpt) can be a great way
to hand-craft the summary of your content. Unfortunately, writing post excerpts 
isn’t as nice of an experience as what you find elsewhere in WordPress. Want to 
include links in your excerpts, or bold some text? Hopefully you know some HTML!

Advanced Post Excerpts is designed to change that, by giving your editors an easy,
intuitive interface for writing great post excerpts.

For complete details and/or to contribute to ongoing development, please [visit this project on GitHub](https://github.com/stevegrunwell/advanced-post-excerpt).

## 屏幕截图

[⌊The Advanced Post Excerpt meta box, replacing the standard WordPress post excerpt.⌉⌊
The Advanced Post Excerpt meta box, replacing the standard WordPress post excerpt
.⌉[

The Advanced Post Excerpt meta box, replacing the standard WordPress post excerpt.

## 安装

 1. Upload the plugin files into `wp-content/plugins/advanced-post-excerpt`.
 2. Activate the plugin through the WordPress “Plugins” screen.

## 常见问题

### Can I limit the post types that get the advanced editor?

Absolutely! Before the native “Excerpt” meta box is overridden, Advanced Post Excerpt
passes an array of post types to the `ape_post_types` filter.

If, for instance, you only want the native “post” post type to use Advanced Post
Excerpt, you can add the following to your theme’s functions.php file:

    ```
    /**
     * Restrict Advanced Post Excerpt to the "post" post type.
     *
     * @param array $post_types Post types affected by Advanced Post Excerpt.
     * @return array A restricted version of $post_types containing only "post".
     */
    function mytheme_restrict_ape_post_types( $post_types ) {
        return array( 'post' );
    }
    add_filter( 'ape_post_types', 'mytheme_restrict_ape_post_types' );
    ```

### Will this work with the WordPress block editor (a.k.a. “Gutenberg”)?

Yes! As of version 1.0.0, Advanced Post Excerpt will continue to display the TinyMCE
editor in a meta box at the bottom of the block editor. To avoid conflicts, the 
default “Post Excerpt” panel in the block editor’s sidebar will automatically be
removed.

## 评价

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

### 󠀁[Perfect!!!](https://wordpress.org/support/topic/perfect-10283/)󠁿

 [bonnie333](https://profiles.wordpress.org/bonnie333/) 2024 年 3 月 9 日

Perfect!!!

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

### 󠀁[Advanced Post Excerpt, Where have you been all my life?](https://wordpress.org/support/topic/advanced-post-excerpt-where-have-you-been-all-my-life/)󠁿

 [Becky Melton](https://profiles.wordpress.org/beckymelton1949/) 2020 年 10 月 17
日

This plugin resolves the most frustrating part of blog excerpts. (no HTML formatting)
This makes post archive pages so much more versatile. Thanks for this plugin!

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-7484/)󠁿

 [Eddie B](https://profiles.wordpress.org/eddiebernard/) 2020 年 7 月 18 日

A simple plugin that does exactly what it says in the description. I now have the
ability to have rich text editing in my post excerpt… exactly what I wanted. Many
thanks to the author!

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

### 󠀁[Just what I was looking for – and it works perfectly.](https://wordpress.org/support/topic/just-what-i-was-looking-for-and-it-works-perfectly/)󠁿

 [Gabor Lippert](https://profiles.wordpress.org/lunule/) 2016 年 9 月 3 日

Oh, and special thanks for lifting the excerpt field up from the page bottom – that
position was really annoying.

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/)

## 贡献者及开发者

「Advanced Post Excerpt」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

「Advanced Post Excerpt」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/advanced-post-excerpt/contributors)
为本插件所做的贡献。

[帮助将「Advanced Post Excerpt」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-post-excerpt)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/advanced-post-excerpt/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/advanced-post-excerpt/)，或通过[RSS](https://plugins.trac.wordpress.org/log/advanced-post-excerpt/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/advanced-post-excerpt/)。

## 更新日志

For a full list of changes, please [see the full changelog on GitHub](https://github.com/stevegrunwell/advanced-post-excerpt/blob/develop/CHANGELOG.md).

#### 1.0.0

 * Added compatibility with the WordPress block editor (a.k.a. “Gutenberg”).
 * Bumped minimum PHP version to 7.0.

#### 0.2.1

 * Ensured that the plugin was localization-ready.

#### 0.2.0

 * Removed left, center, and right alignment buttons from the default post excerpt
   editor. If desired, [these can be restored with a single line of code](https://github.com/stevegrunwell/advanced-post-excerpt/releases/tag/v0.2.0).

#### 0.1.0

 * Initial public release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**2 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **6.4.8**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/advanced-post-excerpt/) 和 [German](https://de.wordpress.org/plugins/advanced-post-excerpt/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/advanced-post-excerpt)
 * 标签
 * [excerpts](https://cn.wordpress.org/plugins/tags/excerpts/)[tinyMCE](https://cn.wordpress.org/plugins/tags/tinymce/)
   [wysiwyg](https://cn.wordpress.org/plugins/tags/wysiwyg/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-post-excerpt/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/advanced-post-excerpt/reviews/)

## 贡献者

 *   [ Steve Grunwell ](https://profiles.wordpress.org/stevegrunwell/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-post-excerpt/)