This simple plugin is a widget that displays a collapsible archives list in your widgetized sidebar by using JavaScripts. In version 2.0.0 script.aculo.us effects has been added as an option, utilizing the script.aculo.us files supplied with WordPress.
安装:
Make a directory collapsible-archive-widget under /wp-content/plugins/
Upload collapsible-archive.php to the /wp-content/plugins/collapsible-archive-widget/ directory
Activate the plugin through the 'Plugins' menu in WordPress
Use your 'Presentation'/'Sidebar Widgets' settings to drag and configure
If you want to change your plus and minus images, replace the PNG files. Best size is 22x22
更新日志:
03-Aug-2007: Initial version
04-Sep-2007: Added ability to select whether to use abbreviations for the month names, and script.aculo.us effects!
27-Sep-2007: Fixed javascript include - effects.js added and scriptaculous.js removed (For some reason it worked in 2.2).
10-Nov-2007: Added ability to display posts (with caution), to expand by default, and also added plus and minus signs as expand/collapse buttons
24-Aug-2008: Multiple updates: (1) Enqueue javascripts using WordPress API wp_enqueue_script (2) Validation as XHTML 1.0 Transitional (3) Add option to expand current year and/or month by default (4) REMOVED list type option (5) Added ability to upload own plus and minus images (6) Added ability to display plugin link. If you'd like to support this plugin, having the "powered by" on your blog is the best way; it's our only promotion or advertising.
25-Aug-2008: Bugfix to not load javascripts when effects is not used
25-Aug-2008: Code factoring and added ability to use HTML arrows
16-Mar-2009: Separated year and month posts counts, added option to hide year after month names, ability to show current month in bold, enabled localized title
17-Mar-2009: Fixed valid XHTML, and highlight (bold) bugfix