How To: Display the Post Titles from Random Posts in a Specified Date Range

by Surender on June 25, 2010

in Blog Design,Blogging Tools,Plugins,Wordpress

Random Posts Within Date Range Widget is a WordPress Plugin which allows you to display your wordpress blog posts with titles in widget from random posts in a specified date rang.Widget displays the title(w/ link), date(optional), and excerpt(optional) of random posts within a selected date range.

Here is the screenshot of the displayed posts:

screenshot2 thumb How To: Display the Post Titles from Random Posts in a Specified Date Range

Random Posts Within Date Range WP 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.

Features of the Plugin:

  • 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.)

You can customize the display widget in your own style by editing CSS.

Here is the example of default CSS:

.random-post-list {font-family:Arial, sans-serif;}
.random-post-element { margin:5px;}
.random-post-title {font-size:14px;}
.random-post-title a {color:#000;}
.random-post-title a:hover {text-decoration:none;}
.random-post-date {font-size:12px; color:#333;}
.random-post-excerpt p{font-size:12px;}

That’s  it.If you want to install this plugin,you can download here.

Read More Related Stuff

{ 2 comments… read them below or add one }

KS Chen June 26, 2010 at 4:43 am

Hi Surender! I’m using this plugin too. Thanks for your nice guide on how to configuring it. It can be a powerful tool if we use it properly.
KS Chen´s last [type] ..4 Advantages of SEO (Search Engine Optimization)

Reply

Surender June 26, 2010 at 10:52 am

@Chen Thank you for your feedback about the plugin.

Reply

Leave a Comment

CommentLuv badge



Previous post:

Next post: