Plugin Directory

TPG Get Posts

Adds a shortcode tag to display posts within a static page or another post.

This plugin adds the ability to put a shortcode tag in a page or post and have it display a list of posts formatted similarly to the standard blog. The posts can be selected by one or more tag values, suchs as tags, category, category_name or any other option supported by the WP get_posts function, to show only items relevant for the page.

By default it will show the 5 most recent posts ordered in reverse date order, but it will accept any of the options provided by the get_posts template tag.

To use it, just put the following into the HTML of any page or post, use as many times as you like on the same page:

[tpg_get_posts]

This default usage will return the last 5 posts in reverse chronological order. It will display the post similarly to a standard post, honoring the tag to produce a teaser. Meta data showing post date, author, modified date, comments, categories and tags is also displayed.

See the usage section in 'Other Notes' for a list of parms and more examples of use.

Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 2012-5-7
Downloads: 6,974

Average Rating

5 stars
(6 ratings)

Support

3 of 4 support threads in the last three weeks have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,2,2
0,1,0