Plugin Directory

TPG Get Posts

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

Please review the Changelog for release change notices and save any custom styling before applying any upgrade.

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

By default it will show the 5 most recent posts ordered in reverse date order, but it will accept most of the options provided by the get_posts template tag. If the value of the paramter is an array, it must be parsed by the plugin and not all parms have been implemented.

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. Full doc on the plugin setting page.

The premium version supports:

  • extended cat__and, cat__not_in and cat__in and other taxonmy
  • the short code to be added to a text widget
  • extensive formating of the by line and meta-data line
  • a magazine layout option which displays the post header and text next to the post thumbnail

NOTE The 2.0 release may not format like the 1.x version. Be sure to test befor upgrading.

Requires: 2.8 or higher
Compatible up to: 3.5.1
Last Updated: 2013-5-18
Downloads: 15,850

Ratings

5 stars
5 out of 5 stars

Support

3 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say 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,2,0
100,1,1
100,1,1 100,1,1