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.

Show Post Shortcode

Shortcode to display posts as a bulleted list. You can also use parameters order and orderby to sort the list.

Example

You can see two examples of the code working at the following links:

Usage

The shortcode is [showposts]

You can use the following parameters to customize what is displayed (all are optional):

[showposts category="2" num="4" order="DESC" orderby="date"]

order can be one of the following:
  • 'author' - Sort by the numeric author IDs.
  • 'category' - Sort by the numeric category IDs.
  • 'content' - Sort by content.
  • 'date' - Sort by creation date.
  • 'ID' - Sort by numeric post ID.
  • 'menu_order' - Sort by the menu order. Only useful with pages.
  • 'mime_type' - Sort by MIME type. Only useful with attachments.
  • 'modified' - Sort by last modified date.
  • 'name' - Sort by stub.
  • 'parent' - Sort by parent ID.
  • 'password' - Sort by password.
  • 'rand' - Randomly sort results.
  • 'status' - Sort by status.
  • 'title' - Sort by title.
  • 'type' - Sort by type.

    orderby can be one the following:

  • DESC

  • ASC

Requires: 2.7 or higher
Compatible up to: 2.7
Last Updated: 2009-5-7
Downloads: 5,462

Ratings

4 stars
4.5 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
67,3,2
75,4,3
100,1,1
100,1,1