This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Flexo Archives

Description

This widget is designed to be a more compact alternative to the default archives widget supplied with WordPress. If you’ve been blogging regularly for several years, the archive list produced by the default widget grows to be quite long. If you use Flexo Archives instead, the list will be displayed as a much smaller list of years. When you click a year, it expands to show the months of that year when you posted. By default the expansion is animated.

A standalone version that simply prints the HTML for the archive lists and attaches the JavaScript to normal pages is now provided for users who cannot use the widget.

I am currently seeking translations of the plugin. If you would like to help by translating the plugin into your language, please post to the support forum.

Thanks to Dylan van der Heij for providing a Dutch translation.

Screenshots

  • An example archive list with one year expanded.

FAQ

Why do the widget’s colors or bullet shapes look funny?

This is something I hear a lot about in connection with the plugin, but it isn’t the widget’s fault. While the widget creates and hides the lists used, the colors and bullet shapes of the lists are set by your theme’s stylesheet. Your theme probably doesn’t have rules in its stylesheet to match the nested lists generated.

To test whether the problem is your theme, temporarily configure your blog to use another WordPress theme, such as the Twenty Ten or Twenty Eleven themes provided with WordPress. Expand and contract a few year links in the sidebar. If things don’t look odd, the problem is probably with your theme.

Why would I use the standalone Flexo Archives function?

If your WordPress theme supports widgets, you don’t need to worry about the standalone function. You can stop reading now. Congratulations!

Unfortunately, some WordPress themes don’t support widgets. If you are familiar with HTML though, the standalone Flexo Archives function exists to allow you to easily modify your theme to get the expanding archives list provided by the widget.

How do I use the standalone Flexo Archives function?

To use the standalone Flexo Archives function, install the plugin code as described in the first step of the installation instructions.

Next, enable the standalone function:

  1. Go to the WordPress dashboard and click the ‘Settings’ menu. In recent versions of WordPress, this menu is near the bottom of the left column.
  2. Click the ‘Flexo Archives’ option in the expanded menu.
  3. Enable the standalone function using the checkbox and submit the form.

Finally, modify your theme to use the standalone function. Edit the PHP of your theme to add the following code where you want the archives list to appear:

<?php if (function_exists('flexo_standalone_archives')){flexo_standalone_archives();} ?>

The code will output the nested archive lists into the HTML at that point in the theme and automatically attach JavaScript to make the lists expand and contract.

Changelog

2.1.5

  • By user request, adds an option to include yearly post totals in the year links.

2.1.3

  • By user request, adds an option to choose sort order for months in lists.
  • Simplifies the way default settings are saved.

2.1.2

  • Adds support for having multiple widgets.
  • By user request, adds the option to add rel=”nofollow” to links.
  • Dutch translation.

2.1.1

  • Restores compatibility with PHP4. Sorry about that. 🙁

2.1.0

  • Reimplemented as a class.
  • Fixed issue where users of the standalone function couldn’t enable post counts.
  • Play nice with the getarchives_where and getarchives_join filters.
  • Initial internationalization support.

2.0.3

  • Added a standalone function for users who can’t use the widget.

2.0.2

  • Fixed a typo in the uninstall function, changed comments. Not released.

2.0.1

  • Add nonce field and check to enhance widget form security.

2.0.0

  • Rewrite using jQuery for expand / contract code.
  • Add animation.
  • Drop support for ancient versions of WordPress.
  • Test for WordPress 3.1.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code