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

L7 Display Posts

描述

Use a shortcode to display your posts. Display them by tag, number of posts, order (asc, desc), orderby (date, time created, none, ID, author, title, parent, rand), pagination (pages), and display the results in one column or two.

Intended to be used with object caching (memcache) for maximum efficiency.

[Display Posts tag=’a tag’ pages=’true’ posts=’7′ order=’desc’ orderby=’date’]

cat

  • Category name. Add multiple categories separated by commas. (Note: Using cat and tag will increase query load dramatically)

标签

  • Tag name. Add mulitiple tags separated by commas.

页面

  • True or false. Display the posts with pagination or all on one page.

文章

  • Number of posts to display. If pages is true it is the number of posts per page.

order

  • Display the posts in descending or ascending order.

orderby (There are many options including)

  • 日期
  • time created
  • 没有
  • 编号
  • 作者
  • 标题
  • 父母
  • rand

Requires PHP version 5.3.0 or greater.

安装

Admin Panel

  1. Search for l7 Display Posts.
  2. Install plugin.
  3. Activate plugin.

Manual Installation

  1. Upload the entire /l7-display-posts directory to the /wp-content/plugins/ directory.
  2. Activate Primary Tag Plugin through the ‘Plugins’ menu in WordPress.

常见问题

How do I utilize the object caching feature for maximum speed and efficiency?

To maximize this plugins object caching features it is recommended that a caching plugin be installed. There are many free caching plugins available. It order to utilize memcache you may have to contact your hosting provider.

评价

2016 年 9 月 3 日
This plugin is very efficient. Updates object cache when post is saved or updated so user never hits an empty cache. Great for sites with huge numbers of posts and high traffic.
阅读所有1条评价

贡献者及开发者

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

贡献者

帮助将「L7 Display Posts」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

0.1.0

  • First release