Title: Latest Posts by Author
Author: Alex Mansfield
Published: <strong>2009 年 8 月 11 日</strong>
Last modified: 2013 年 7 月 19 日

---

搜索插件

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

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

# Latest Posts by Author

 作者：[Alex Mansfield](https://profiles.wordpress.org/alexmansfield/)

[下载](https://downloads.wordpress.org/plugin/latest-posts-by-author.0.9.zip)

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

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

## 描述

This plugin allows you to display an unordered list of links to a specific author’s
latest posts (or a list of multiple authors). It can be called either with a shortcode
or from within a theme file.

To call it with a shortcode, use `[latestbyauthor author="username" show="3"]` where“
username” is the login name of the author (or a comma separated list of multiple
authors) and “3” is the number of posts to display. If you don’t specify an author
or a display number, it will show the latest 5 posts from the author of the current
page. If you want it to display the post excerpt as well, you can use the following
code: `[latestbyauthor author="username" show="3" excerpt="true"]` This will only
show exerpts that you have entered manually.

To call it from within a theme template, you have to wrap it in this PHP function:`
<?php echo do_shortcode('[latestbyauthor author="username" show="3"]'); ?>`

## 安装

 1. Upload the `latests-posts-by-author` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php echo do_shortcode('[latestbyauthor]'); ?>` in your templates or `[
    latestbyauthor]` in your posts

## 常见问题

  No questions yet

That’s right, none so far.

  0.9

Added custom post type support.

Added filter hooks:
 latestbyauthor_list_before latestbyauthor_link_before latestbyauthor_title_before
latestbyauthor_title latestbyauthor_title_after latestbyauthor_link_after latestbyauthor_excerpt
latestbyauthor_list_after

Removed post thumbnail support that was only available by uncommenting the relevant
code. Thumbnails can be added by the theme or another plugin using the new filters.

  0.8.2

Corrected an issue with post thumbnail support. Thanks to gkemp on the WordPress.
org forum for reporting it.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Latest Posts by Author」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Alex Mansfield ](https://profiles.wordpress.org/alexmansfield/)

[帮助将「Latest Posts by Author」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/latest-posts-by-author)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.8.1

Updated the documentation.

#### 0.8

Added a missing `</ul>` tag. Thanks to [Ken Howard](http://www.simplicatedweb.com/)
for pointing that out.

Added support for multiple authors. You can now use a comma separated list of authors.
Thanks to [Zgunder](https://wordpress.org/support/profile/zgunder) for the suggestion.

Updated the query to exclude the current post. This prevents a link to the current
pate from being displayed. Thanks again to [Ken Howard](http://www.simplicatedweb.com/)
for the help on this one.

Added better inline documentation.

#### 0.7

Switched from using the $wpdb object to the WP_Query class to gather posts from 
the database, greatly simplifying the plugin code. Thanks to [Jack Rugile](http://jackrugile.com/)
for pointing out some issues with the last version that led to this update.

#### 0.6

Fixed reference to guid. Replaced with get_permalink()

#### 0.5

 * Tested with WordPress 3.0

#### 0.4

 * Fixed documentation.

#### 0.3

 * Added the option to show post excerpts.

#### 0.2

 * Now only shows published posts (not drafts). Thanks for catching that [Welzie](http://blog.codehangover.com/).

#### 0.1

 * First version, no changes yet.

## 额外信息

 *  版本 **0.9**
 *  最后更新：**13 年前**
 *  活跃安装数量 **90+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/latest-posts-by-author/)
 * 标签
 * [authors](https://cn.wordpress.org/plugins/tags/authors/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/latest-posts-by-author/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Alex Mansfield ](https://profiles.wordpress.org/alexmansfield/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://alexmansfield.com/)