plugin-icon

Random Posts Within Date Range Widget

By lupka·
Widget that displays the title(w/ link), date(optional), and excerpt(optional) of random posts within a selected date range.
Version
1.2
Active installations
40
Last updated
Sep 12, 2010

This plugin allows you to create a widget that will display the title/date/excerpt from random posts in a specified(or open-ended) date range. It can also be used outside of a widget to create custom loops of random posts within a date range. The following can be specified:

  • Number of posts to display
  • Whether or not to show dates
  • Whether or not to show excerpts
  • Excerpt length (number of words)
  • Start date and End date of posts to randomize
  • Whether or not to always use current date as end. (Allows you to include new posts without editing settings every day)
  • Option to use relative time instead (To chose from random posts from last week, year, etc.)
  • Category to choose posts from. (Example: Random posts from sports category in the past week. This is the original reason I needed a plugin like this. Comes in handy for the newspaper site I run.)

Please contact me if you run into any issues, either via email (lupka31@gmail.com) or Twitter (http://twitter.com/lupka) For latest FAQs/info visit: http://alexchalupka.com/projects/wordpress/random-posts-widget/

Freeon Business plan
Tested up to
WordPress 3.0.5
This plugin is available for download for your site.