The Fuzzy Widgets plugin for WordPress introduces multi-use widgets that allow you to list recent posts, pages, updates, comments, links, as well as a list of posts from the past.
To use the plugin, browse Appearance / Widgets, insert a Fuzzy Widget where you want it to be, and configure it as appropriate.
- When displaying recent posts, pages or links, you can optionally filter the results by category or section.
- Recent updates will display recently updated pages.
- Recent comments will only display comments from public posts and pages — fully ignoring password protected and private content.
- Recent posts from the past will display posts that were published around a year ago.
What the fuzziness is about
The plugin originally earned its name from fuzzy logic. Fuzzy logic is a field that is generally associated with artificial intelligence, in which things are not either true or false, but rather somewhat true and false at the same time.
Anyway, in an earliest versions, the plugin sought to guess the amount of posts to display based on the speed at which you’re updating your site. It assume you wanted to output a user-specified number of items, but then took the liberty to display more or less based on what’s happening on the site.
Specifically, this site had (and still has) an irregular stream of posts. I wanted a plugin that knew better than to always display 10 posts: it ought to stick to 3 when I’m posting once per month, and a few more when there are spikes of activity — e.g. the three from yesterday, and two more from the last two months.
Part of the original idea survived, but with a more straightforward algorithm. Since 3.0, you can decide to have the widgets display either a fixed number of days worth of posts, or a fixed number of items.
A fixed number of items makes that widget behave like the Recent Posts and Comments widgets that are built into WordPress, except that it isn’t loop breaking — i.e. it won’t turn your site into a train wreck if placed in the loop.
A fixed number of days worth of posts is fuzzier, and means exactly that: if the last three days you posted were yesterday, a week ago, and a month ago, it’ll display posts from those last three days. You’d then get a few posts from several dates, but not so many posts that year-old posts show up as recent on a low volume blog.
This post/page in widgets
This plugin shares options with a couple of other plugins from Semiologic. They’re available when editing your posts and pages, in meta boxes called “This post in widgets” and “This page in widgets.”
These options allow you to configure a title and a description that are then used by Fuzzy Widgets, Random Widgets, Related Widgets, Nav Menu Widgets, Silo Widgets, and so on. They additionally allow you to exclude a post or page from all of them in one go.
This package is part of Semiologic Pro, and is access-restricted.
Bleeding Edge Zip
Frequently Asked Questions
The Semiologic forum is the best place to report issues.
Version 3.6 =
- Updated to use PHP5 constructors as WP deprecated PHP4 constructor type in 4.3.
- WP 4.3 compat
- Tested against PHP 5.6
Version 3.5 =
- WP 4.0 Compat
Version 3.4.2 =
- Use more full proof WP version check to alter plugin behavior instead of relying on $wp_version constant.
Version 3.4.1 =
- Clear internal cache on WP upgrade
Version 3.4 =
- Code refactoring
- WP 3.9 compat
Version 3.3.1 =
- Further tweaks around the widget context caching
Version 3.3 =
- Improved context caching to work better with page revisions and auto-saves.
- WP 3.8 compat
Version 3.2 =
- WP 3.6 compat
- PHP 5.4 compat
Version 3.1.1 =
- Fix caching issue with "This Page in Widgets" not refreshing on title or description updates
Version 3.1 =
- WP 3.5 compat
- Recoded for removed _get_post_ancestors function
Version 3.0.5 =
- WP 3.0 compat
Version 3.0.4 =
- Further cache improvements (fix priority)
Version 3.0.3 =
- Cache improvements
Version 3.0.2 =
- WP 2.9 compat
Version 3.0.1 =
- Fix the fuzzy comments query
Version 3.0 =
- Complete rewrite
- WP_Widget class
- Code enhancements and optimizations