Home Plugins l7 display posts
L7 Display Posts logo

L7 Display Posts

by Jeff on WordPress.org

Efficiently show posts by tag or category using a simple shortcode. Utilizes caching for greater speed and fewer database calls.

(1)

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

  • Tag name. Add mulitiple tags separated by commas.

pages

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

posts

  • 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)

  • date
  • time created
  • none
  • ID
  • author
  • title
  • parent
  • rand

Requires PHP version 5.3.0 or greater.

Active installations10+
Weekly downloads
18+125.00%
Version0.1.1
Last updated3/30/2016
WordPress version4.1.1
Tested up to4.4.33
Tags
columnsdisplaypostsshowtag