Title: 最新访问文章
Author: Nick Momrik
Published: <strong>2005 年 1 月 13 日</strong>
Last modified: 2015 年 12 月 8 日

---

搜索插件

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

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

# 最新访问文章

 作者：[Nick Momrik](https://profiles.wordpress.org/nickmomrik/)

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

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

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

## 描述

Retrieves a list of the most recent posts.

### 配置

You may pass parameters when calling the function to configure some of the options.

Example: `mdv_recent_posts(10, '', '<br />', true, 5, false, false)`

The parameters:
 $no_posts – sets the number of recent posts to display $before –
text to be displayed before the link to the recent post $after – text to be displayed
after the link to the recent post $hide_pass_post – whether or not to display password
protected posts $skip_posts – allows skipping of a number of posts before showing
the number of posts specified with the $no_posts parameter $show_excerpts – allows
the post excerpt to be output after the post title $include_pages – allows recent
pages to be show with recent posts

### Version History

1.1.2 – Added a space before rel=”bookmark”
 1.1.3 – Fix the space for real. Props
Sandro Bonazzola 1.2 – Use the esc_* functions and cleanup coding standards

## 安装

 1. Upload `recent-posts.php` to the `/wp-content/plugins/` directory
 2. 通过WordPress的“插件”菜单激活插件
 3. Place `<?php mdv_recent_posts(); ?>` in your templates.

## 评价

此插件暂无评价。

## 贡献者及开发者

「最新访问文章」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nick Momrik ](https://profiles.wordpress.org/nickmomrik/)

[帮助将「最新访问文章」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/recent-posts)

### 对开发感兴趣吗?

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

## 额外信息

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

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Nick Momrik ](https://profiles.wordpress.org/nickmomrik/)

## 支持

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

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