Title: Get Latest Post
Author: Paul Schreiber
Published: <strong>2011 年 2 月 5 日</strong>
Last modified: 2016 年 4 月 7 日

---

搜索插件

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

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

# Get Latest Post

 作者：[Paul Schreiber](https://profiles.wordpress.org/paulschreiber/)

[下载](https://downloads.wordpress.org/plugin/get-latest-post.0.3.zip)

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

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

## 描述

This plugin adds the ability to put a shortcode tag in any static page or post and
have it display an excerpt from your latest blog post.

There are no settings or options.

It generates markup like this, which you can style as desired:

    ```
    <div class='latest-post'>
    <p class='title'><a href='http://www.mysite.ca/blog/post'>Look ma, no hands!</a></p>
    <p class='excerpt'>Today I rode a bicycle &hellip;<a href="http://www.mysite.ca/blog/post">Continue reading <span class="meta-nav">&rarr;</span></a></p>
    </div>
    ```

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory and unzip it.
 2. 通过 WordPress 的“插件”菜单以激活本插件。
 3. Place `[get_latest_post]` in your pages.

## 评价

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

### 󠀁[It does ONE thing and ONE thing only](https://wordpress.org/support/topic/it-does-one-thing-and-one-thing-only/)󠁿

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

It displays your latestest post. Great. Now if only there was a way to display just
the latest POST TITLE and nothing else (linked to the Post of course) I would be
happy. Can’t seem to find such a plugin.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/get-latest-post/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)

[帮助将「Get Latest Post」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/get-latest-post)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.3

 * More WordPress VIP coding standards
 * refactored in to class
 * updated “tested up to” to 4.3.1

#### 0.2.2

 * WordPress VIP coding standards; updated “tested up to” to 4.1

#### 0.2.1

 * Updated “tested up to” to 3.9.1

#### 0.2

 * Call wp_reset_query() at the end.

#### 0.1

 * Initial release.

## 额外信息

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

## 评级

 4 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)

## 支持

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

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