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

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.

评价

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条评价

贡献者及开发者

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

贡献者

将“Get Latest Post”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.