跳到内容

Random Posts Within Date Range Widget

v1.2

lupka · 2010年6月24日 上架

Widget that displays the title(w/ link), date(optional), and excerpt(optional) of random posts within a selected date range.

正在使用
20+
评分
暂无
累计下载
1.1 万
最近更新
2010年9月12日
需要 WordPress 2.8.6+已测试到 3.0.5

贡献者

截图

This is the widget settings box you'll see in your widget admin screen.
This is the widget settings box you'll see in your widget admin screen.
An example of the plugin in action. Formatting/style can be changed via CSS. Check the installation guide for details.
An example of the plugin in action. Formatting/style can be changed via CSS. Check the installation guide for details.

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/

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums