Title: Recent Posts with Excerpts
Author: Stephanie Leary
Published: <strong>2009 年 7 月 25 日</strong>
Last modified: 2016 年 6 月 30 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/recent-posts-with-excerpts.svg)

# Recent Posts with Excerpts

 作者：[Stephanie Leary](https://profiles.wordpress.org/sillybean/)

[下载](https://downloads.wordpress.org/plugin/recent-posts-with-excerpts.zip)

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

 [支持](https://wordpress.org/support/plugin/recent-posts-with-excerpts/)

## 描述

A widget that lists your most recent posts with excerpts, optionally limited to 
a category. The number of posts and excerpts is configurable; for example, you could
show the titles of five posts but include the excerpt for only the two most recent.
Supports [the_excerpt Reloaded](http://robsnotebook.com/the-excerpt-reloaded/) and
[Advanced Excerpt](http://sparepencil.com/code/advanced-excerpt/) for excerpts with
HTML formatting.

New! Supports displaying post thumbnails along with excerpts. Widget options let
you place the thumbnails above the title, in between the title and the excerpt, 
or below the excerpt.

Now on [GitHub](https://github.com/sillybean/Recent-Posts-with-Excerpts).

#### Translations

 * Serbo-Croatian (sr-RS) by [Borisa Djuraskovic](http://www.webhostinghub.com)

If you would like to send me a translation, please write to me through [my contact page](http://stephanieleary.com/about/contact/).
Let me know which plugin you’ve translated and how you would like to be credited.
I will write you back so you can attach the files in your reply.

## 屏幕截图

[⌊The widget manager.⌉⌊The widget manager.⌉[

The widget manager.

[⌊What is shown, given the settings shown in screenshot #1, using the default theme.⌉⌊
What is shown, given the settings shown in screenshot #1, using the default theme
.⌉[

What is shown, given the settings shown in screenshot #1, using the default theme.

## 安装

 1. Upload the plugin directory to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

Go to Appearance → Widgets to add widgets to your sidebar in widget-ready themes.

## 常见问题

To style your excerpts, add a declaration for `.recent_with_excerpt li blockquote`
to your theme’s stylesheet.

To add a link to the bottom of the widget’s output, below the list, use the `recent_posts_with_excerpts_end`
action. Example:

    ```
    add_action( 'recent_posts_with_excerpts_end', 'my_recent_posts_more' );
    function my_recent_posts_more() {
        echo '<a class="readmore" href="/news/archive">More</a>';
    }
    ```

To add something above the list, use the `recent_posts_with_excerpts_begin` action
instead.

  Installation Instructions

 1. Upload the plugin directory to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

Go to Appearance → Widgets to add widgets to your sidebar in widget-ready themes.

## 评价

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

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-1411/)󠁿

 [Manas Mitra](https://profiles.wordpress.org/manas666/) 2016 年 9 月 3 日

Good Plugin. Five star.

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

### 󠀁[Gives you more control…](https://wordpress.org/support/topic/gives-you-more-control/)󠁿

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

Over everything related to displaying recent posts in a widget. Fantastic!

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/recent-posts-with-excerpts/reviews/)

## 贡献者及开发者

「Recent Posts with Excerpts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Stephanie Leary ](https://profiles.wordpress.org/sillybean/)

[帮助将「Recent Posts with Excerpts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/recent-posts-with-excerpts)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.6.1

 * The ‘recent_posts_with_excerpts_query’ filter now accepts a second parameter,
   $instance, to give developers access to the widget’s settings.

#### 2.6

 * Constructor update.

#### 2.5.5

 * New offset option, props Carlos Santana.
 * New option to ignore sticky posts, props Francesco Mele.

#### 2.5.3

 * Added POT file.

#### 2.5.2

 * Added ‘recent_posts_with_excerpts_query’ filter to allow modifications to the
   widget’s query.

#### 2.5.1

 * Changed the_time() to get_the_time(), which prevents the date from appearing 
   outside its intended heading tag.

#### 2.5

 * Cleaned up empty classes.
 * Added actions to the top (`recent_posts_with_excerpts_begin`) and bottom (`recent_posts_with_excerpts_end`)
   of the widget output, for developers to customize. See the FAQ tab for an example.
 * Improved the thumbnail size dropdown.

#### 2.4

 * Added support for displaying post thumbnails with the excerpts.
 * Localized strings for translators.

#### 2.3.2

 * Fixed a bug in which limiting the posts to a category and/or tag would override
   the setting for the number of posts to display.

#### 2.3.1

 * Fixing bugs and restoring “more” option broken in 2.3.

#### 2.3

 * Added option to display the date.

#### 2.2

 * Fixed HTML validation error. (Thanks, Cris!)

#### 2.1

 * Added tag limit option
 * All widget input fields are now localized (September 11, 2009)

#### 2.0

 * Added widget title option
 * had to jump version numbers (did the earlier ones wrong, apparently) (August 
   3, 2009)

#### 1.12

 * bugfix — needed to reset the Loop after the widget runs (August 2, 2009)

#### 1.11

 * bugfix — ‘more’ text did not change according to settings (July 26, 2009)

#### 1.1

 * Added category option (July 26, 2009)

#### 1.0

 * First release (July 24, 2009)

## 额外信息

 *  版本 **2.6.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **700+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/recent-posts-with-excerpts/)
 * 标签
 * [excerpts](https://cn.wordpress.org/plugins/tags/excerpts/)[widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/recent-posts-with-excerpts/advanced/)

## 评级

 5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/recent-posts-with-excerpts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/recent-posts-with-excerpts/reviews/)

## 贡献者

 *   [ Stephanie Leary ](https://profiles.wordpress.org/sillybean/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/recent-posts-with-excerpts/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://stephanieleary.com/code/wordpress/recent-posts-with-excerpts/)