WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

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: 11,666

Ratings

4 stars
4.6 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say 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
100,1,1