Get Latest Post
v0.3Paul Schreiber · 2011年2月5日 上架
Adds a shortcode tag [get_latest_post] to display an excerpt from your latest blog post.
- 正在使用
- 70+
- 评分
- 4.0 / 5
- 累计下载
- 7,947
- 最近更新
- 2016年4月7日
2 条评价需要 WordPress 3.0.4+已测试到 4.5.33
贡献者
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 …<a href="http://www.mysite.ca/blog/post">Continue reading <span class="meta-nav">→</span></a></p>
</div>