Plugin Directory

Category Shortcode

Plugin adds shortcode capability for adding posts by category to a page.

This plugin creates the [Category]] Shortcode. The code takes 5 arguments:

number: the number of posts to display. 0 equals the default number. -1 equals the total available.

Order: Ascending or Descending

Display Method: Full, Excerpt, Title

Order By: Author, Date, Title, Modified, Parent, ID, Rand, None, or Comment Count.

Category: this is the category id the category or categories that should be searched. Multiple categories can be specified in a comma separated list.

Example shortcode:

[Category number='5' method='title' order='asc' id='11,45' orderby='comment_count']

This will show 5 posts in ascending order of category 11 and 45 as arranged by comment_count and will display just the post titles.

Requires: 2.9.0 or higher
Compatible up to: 3.0.5
Last Updated: 2010-8-29
Downloads: 7,545

Average Rating

4 stars
(10 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

67,3,2 50,2,1
0,1,0
100,1,1
67,3,2
50,4,2
50,2,1
100,1,1