BACK TO DIRECTORY

L7 Display Posts

by Jeff

5.0
(1 ratings)

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.

Plugin Details

Active Installs
20
Total Downloads
1,932
Version
0.1.1
Requires WP
4.1.1
Requires PHP
Tested Up To
4.4.34
Added
2015-12-07
Last Updated
2016-03-30 12:54am GMT

Ratings

5
1
4
0
3
0
2
0
1
0