Plugin Directory

Test out the new Plugin Directory and let us know what you think.

TPG Get Posts

Display posts on a page with ability to filter category or tag.


  • for premium version, correction for pagination


  • for premium version, add option thumbnail_title to set alt text for thumbnails


  • correct a textdomain pathing problem
  • add cat_link option
  • add tag_link option


  • add ability to set a custom style more link
  • add support for localization
  • add admin notice to update extensions if applicable


  • add ability to set a custom style for the entire post, not just the components
  • add fp_pagination option to correct pagination when used on static front page
  • bug fix - corrected call to static function which throws warning


  • update documenation
  • on pagination, ability to set labels (see page_next_text option)
  • add pagination feature to show only prev/next instead of index (see page_next option)


  • correct the assignment of class to post title
  • correct error with select by category name
  • add function to process shortcode in admin area, premium extension feature


  • remove id from div - the repeating of a div caused validation routines to throw errors with duplicate div id. This change may break formatting. see option to stop updates
  • set default thumbnail size to thumbnail instead of none.
  • removed the !important from .tpg-title-class, if this breaks your layout add it in your css file. This change is to allow more format control.
  • add pagination to the premium version
  • add sticky post to premium version
  • add featured-image option (fi_layout)
  • update doc for new features


  • add option to stop update to plugin - in preparation for new release


  • allow slugs to be used in the cat option
  • correct typo in tpg-get-post-style css
  • update doc for new feature and correct small typos


  • add cat option to replace category & category_name
  • update doc to show how to select custom post type
  • remove spaces in listed items while converting to array
  • fix conflict with core updater
  • added tag__and, tag__in,tag__not_in,tag_slug__and, tag_slug__in, tax_query & meta_query to premium version
  • correct path in show-ids in prem version


  • correct thumbnail_only when used to show in list. The thumbnail only did not wrap the post in a
  • tag. This change replaces the div with an li to make it behave like a regular post.
  • NOTE: This change may alter the way styling is done for thumbnail only implementations. Test before installing on your live site.


  • correct show_byline & show_meta test - strip spaces from list items


  • added ability to alter order of post items - title,byline,content,meta
  • added ability to activate plugin in widgets
  • resolved problem with related posts bug (I think)
  • modified premium upgrade to not require a reinstall of plugin


  • remove empty


p> after byline


  • Correct display of thumbnails only image size
  • Wrap the thumbnail and title in division
  • Modify update notice in premium version
  • Add a layout to show heading and content next to thumbnail
  • Doc update


  • Add the premium version functionality which allow selection: category_and, category_in and category_not_in.
  • Add ability to format the byline & metadata line.
  • Add settings options.
  • Code restructuring and changes some html output.


  • Correct html which was failing the validator. Removed empty id='' and invalid slash.
  • Removed span around entire post which conflicted with heading formatting.
  • Changed div id tpg_get_posts-post, tpg-post-content, tpg-get-posts-excerpt and tpg-get-posts-thumbnail to classes


  • Correct when application of filters are applied to content, the 3.6 release removed this function from excerpts & post_entire
  • Thank you Hennie de Klerk for your assist in correcting this


  • Apply title filters before displaying the post title
  • Thank you Collin Donahue-Oponski for supplying this patch.
  • Change order of applying filter to content to match base wp
  • Added option title_link="false" to suppress making the title a link


  • This is a code restructure to correct some old (and poor) coding techniques
  • correct conflict with WP 3.4 in style loading which caused errors in admin section
  • correct conflict with tpg-phplist plugin
  • corrected doc


  • correction for shorten_content which was broken several releases back...guess it isn't used much
  • corrected doc to use show_entire instead of post_entire. post_entire is grandfathered, but not documented.


  • allow more tag text to be changed in either the more tag or using new parm more_link_text


  • add support for excerpts
  • add thumbnail support
  • add thumbnail only -- expiremental feature, subject to change

= * correct readme tag appearing on enteries without a more tag


  • add div wrapper around each post to allow some formatting to entire post
  • add custom style sheet support
  • changed process for assigning class names to sections of post


  • This change is a documentation and code structure change. No additional features have been added.
  • Documetation change to show documentation in the settings page of the plugin instead of the readme.
  • Restructure code as a class to reduce risk of name clash


  • Modified the display of content to correctly parse the caption for images. Note that the metadata will move up beside the image if a custom css is not set to clear. I opted to leave formating to the designer and not change the behavior.


  • Corrected error introduced in version 1.2.2 when no parameters were passed - the argument parameter defaulted as a space and not an array which threw an invalid type error.


  • Corrected option behavior to allow additional get_posts options to be accepted. The earlier releases of this plugin only allowed the options defined in the default table to be passed to WP get_posts. This fix appends any undefined option to the table and passes it to WP get_posts. thanks cdaley1981 for pointing this out.


  • Added option to suppress byline with show_byline tag.


  • Corrected typos in documentation
  • Add function to restrict length of title and content. New options are available to specify the max length of title and max length of content in characters. The option also includes a code ('c' or 'w') to specify if the filtered text should only contain whole words.


  • Add code to honor the page comment settings. (Thanks to unidentified person for providing the code fix.) Problem: comments were not being allowed on page where the short-code was used. Solution: save the page settings before fetching the posts and then restore settings before returning the page.


  • Update to allow multiple categories to be entered


  • Initial release.

Requires: 2.8 or higher
Compatible up to: 4.4.6
Last Updated: 11 months ago
Active Installs: 4,000+


4.7 out of 5 stars


Got something to say? Need help?


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