Random One Cat Widget

Description

There are times when you’d like to have a certain type of post appear in a widget for use in your sidebar or (in some themes) your header or footer.

I use this to display a random senryu on each page, but it will work equally well for any group of reasonably small posts.

There is the option to include the title of the post, the title of the widget, both titles, or neither.

If you want you can add a bunch of widgets, each showing up to five random posts from a different category.

Installation

Installing is pretty easy takes only a minute or two.

  1. Upload ‘random-one-cat-widget’ directory to your ‘/wp-content/plugins/’ directory.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

  3. On the ‘Widgets’ sub-menu of ‘Appearance’ you will find a new widget type called ‘Random One Cat’.

  4. Add one or more of these to your themes widget display areas.

  5. For each widget you add, select a title and category, then decide how you’d like to see the title or custom fields.

  6. Save your settings.

FAQ

Installation Instructions

Installing is pretty easy takes only a minute or two.

  1. Upload ‘random-one-cat-widget’ directory to your ‘/wp-content/plugins/’ directory.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

  3. On the ‘Widgets’ sub-menu of ‘Appearance’ you will find a new widget type called ‘Random One Cat’.

  4. Add one or more of these to your themes widget display areas.

  5. For each widget you add, select a title and category, then decide how you’d like to see the title or custom fields.

  6. Save your settings.

Contributors & Developers

“Random One Cat Widget” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.4

  • Increased maximum posts that can be shown to eight

2.3

  • Added the option to shorten posts to the More… marker

2.2

  • Added an unordered list for title only displays

2.1

  • Fixed custom field bug
  • Fixed empty value issue
  • Added option to display only title links
  • Tidied widget parameter selection
  • Multi-lingual ready (translations required)

2.0

  • Added Changelog
  • Added option to display up to five posts
  • Fixed empty post-meta ul display bug
  • Moved to WP_Widget class

1.3

  • Added selection for widget title
  • Added option to choose which titles display

1.2

  • Updated for 2.9
  • Added short-code display

1.1.2

  • Minor updates to code layout for 2.8

1.1.1

  • Minor updates to code layout for 2.7

1.1

  • Updated for 2.6
  • Fixed random selection bug in WordPress 2.6

1.0

  • First Production Release

0.4

  • Added option for custom field display

0.3

  • Updated for 2.5.1 compatibility

0.2

Complete overhaul for 2.5 compatibility

0.1

Initial Release