WordPress Recent Posts Extended

How to specify the categories that are displayed in your recent posts widget

Download it!

Recent post extended

wpdc_recentposts_extended.zip

So here it is! My first WordPress plugin. It’s a really simply plugin that adds an extended version of the recent posts widget. The extended version adds the ability to specify either categories to include or exclude from a list of recent posts. I developed this plugin for ambercouch.co.uk so I could display only recent post from the news category in the news section of the site.

Download: wordpress recent posts extended widget

Installation instructions:

  1. Download and extract the plugin
  2. Upload wpdc_recentposts_extended.php to your plugins directory eg. /wp-content/plugins
  3. Activate the plugin in the plugins section of you admin page
  4. In your widget section you will now have a widget called Recent Posts Extended which you can add to any of your sidebars
  5. Add the widget to a sidebar and click edit
  6. There are 3 options which you can change Title, Number of post and Category number
  7. In the ‘Category number..’ field enter a comma delimited list of the categories you want to include eg. 1,5,6,23 or if you want to exclude categories use negative numbers eg. -1,-5,-6,-23
Share this:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Design Float
  • Reddit
  • StumbleUpon
  • Twitter
  • Design Bump
This entry was posted in Plugins. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • ecommerce done right Advertise with us Advertise with us Advertise with us