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 used 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.
Installing is pretty easy takes only a minute or two.
Upload ‘random-one-cat-widget’ directory to your ‘/wp-content/plugins/’ directory.
Activate the plugin through the ‘Plugins’ screen in WordPress.
On the ‘Widgets’ sub-menu of ‘Appearance’ you will find a new widget type called ‘Random One Cat’.
Add one or more of these to your themes widget display areas.
For each widget you add, select a title and category, then decide how you’d like to see the title or custom fields.
Save your settings.
There are no reviews for this plugin.
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Random One Cat Widget” is open source software. The following people have contributed to this plugin.བྱས་རྗེས་འཇོག་མཁན།
“Random One Cat Widget” has been translated into 1 locale. Thank you to the translators for their contributions.
ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Random One Cat Widget” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Fixed issue with a php7.2 depreciation during plugin activation (bug fix)
- Increased maximum posts that can be shown to eight
- Added the option to shorten posts to the More… marker
- Added an unordered list for title only displays
- Fixed custom field bug
- Fixed empty value issue
- Added option to display only title links
- Tidied widget parameter selection
- Multi-lingual ready (translations required)
- Added Changelog
- Added option to display up to five posts
- Fixed empty post-meta ul display bug
- Moved to WP_Widget class
- Added selection for widget title
- Added option to choose which titles display
- Updated for 2.9
- Added short-code display
- Minor updates to code layout for 2.8
- Minor updates to code layout for 2.7
- Updated for 2.6
- Fixed random selection bug in WordPress 2.6
- First Production Release
- Added option for custom field display
- Updated for 2.5.1 compatibility
Complete overhaul for 2.5 compatibility