Recent Posts


Unfortunately, due to ill-health, this plugin has not been developed or supported properly for some years. It works with the latest versions of WordPress (including on this website) but could possibly conflict with any WordPress features added after 2008 — e.g. custom post types — if you use them.


This plugin displays a list of the most recent posts to your blog in a highly customisable way.

This is version download latest version. It is compatible with WordPress 1.5–2.6.2.

The plugin has an options page which lets you change how the output is generated and displayed.

Installation Instructions

  1. If upgrading from a previous version, first deactivate the plugin via the Plugins page and delete the plugin folder from your server.
  2. Upload the plugin folder to your /wp-content/plugins/ directory. You will also need to install the Post-Plugin Library.
  3. Go to your admin Plugins page and activate Recent Posts.
  4. Put<!--?php recent_posts(); ?--> at the place in your theme files where you want the list of similar posts to appear. Lorelle on WordPress has a good guide to modifying themes for plugins. If you are using a widget-ready theme the plugin can be placed from the widget admin page.
  5. Use the admin Settings|Recent Posts page to set all the available options. Alternatively, the options can be overridden by passing a parameter to the recent_posts template tag.

Usage and Options

The configuration page will help you to set up the plugin to your satisfaction.

If you also install the latest version of Plugin Output Cache the output of this plugin will be automatically cached for efficiency.

Note: If you find that your list of recent posts comes out backwards it is probably because you have MySQL version 4.1.21. That version of MySQL has a bug when a SELECT statement has both DISTINCT and ORDER BY clauses. The latest versions of the plugin (2.5+) avoid this MySQL bug.


  • 1. Asaverle  |  June 12th, 2009 at 9:37 am

    Nevermind, found the solution, had to edit style css in widget.img . yeah!!! works great! thx again for this fantastic plugin!!!

  • 2. Arthur Agin  |  June 22nd, 2009 at 11:23 pm

    I am redesigning my website so some pages are WordPress and the galleries are hosted on SmugMug. Is there a way to use this plugin on the Smugmug site and display the recent entries from the WordPress blog?


  • 3. hb  |  July 9th, 2009 at 3:46 am

    I used your plugin but post title won’t link to the actual post. they are like link but don’t go anywere and stay on the same page . When I looked at the source the herf is empty: href=””

    Also {url} comes up blank.
    Would you help me out to fix it. I have same problem on 3 different wordpress

  • 4. Jornes  |  September 10th, 2011 at 10:05 pm

    Hi Sir,
    I’m using your plugin( recent post
    I would like to know how to make my recent post only appear 5 post for maximum on my page?

  • 5. morrisjfwong  |  July 20th, 2013 at 3:13 pm

    Great plugin … tried this long time ago and works well. Thank you so much for these efforts.

  • 6. Rocktivity  |  September 6th, 2013 at 4:12 am

    How do I turn this into a widget? What do I put in the placement section of the setting page?