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

Posts in Posts

描述

Posts in Posts will allow you to grab recent posts based on category, tag or just recent posts. Then it will display thoses posts in a list in the post or page you have called the Posts in Posts on. It’s as easy as all you need to do is write a HTML-esq bit of code.

[posts type=”category” name=”Lipsum” limit=”4″ date=”d-m-Y”]

This will then output 4 posts from the category ‘Lipsum’.

安装

Installation is as simple as adding the ‘posts-in-posts’ folder to your wp-contents/plugins folder or downloading through WordPress itself. From there you’ll need to add the short code to where you want the post to be displayed; here are a list of the options.

  • ‘type’ : ‘category’, ‘tag’, ‘recent’ or blank will use ‘recent’

  • ‘name’ : the name of a given category or tag in your wordpress taxonmy or if left blank then it will resort to outputting nothing unless the type is ‘recent’ or blank

  • ‘limit’ : the number of posts you want to display in a given call or if left blank then it resolves to the default of ‘5’

  • ‘date’ : use the standard date format for php or if left blank then it won’t display a date

常见问题

None yet, feel free to ask either on WordPress, GitHub or contacting me

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Posts in Posts”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

0.6

  • Updaed readme.txt to use correct shortcode
  • Added shortcode [showposts] for compatability

0.5

  • First available public release.