Skip to content

WordPress widget to display archive links using purely CSS-based collapsing

Notifications You must be signed in to change notification settings

mpetroff/collapsed-archives-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

=== Collapsed Archives ===
Contributors: petroffm
Tags: archives, collapsed, collapsing, CSS
Requires at least: 2.8
Tested up to: 5.7.0
Stable tag: 1.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a widget to display archive links using purely CSS-based collapsing.


== Description ==

This plugin adds a widget to display archive links using purely CSS-based collapsing; no JavaScript is used.

= Options =
* Post counts can optionally be displayed next to the archive links
* Choice of either +/- or arrows to indicate expansion
* Option to never automatically expand list for current post / year
* Choice between displaying archive links in reverse chronological order or chronological order
* Decades can be collapsed

= 1.6 (2021-04-03) =
* Added support for collapsing decades (thanks to @PHil-PlainTech)

= 1.5 (2019-05-05) =
* Fix for warning message in logs

= 1.4 (2019-04-12) =
* Fixed bug for sites without posts

= 1.3 (2019-01-16) =
* Fixed deprecation warning in PHP 7.2

= 1.2 (2018-07-09) =
* Added option for never automatically expanding list for current post / year
* Fixed issue with wrong year being expanded

= 1.1 (2015-02-09) =
* Improved theme support

= 1.0 (2014-12-30) =
* Initial release

[Plugin website](https://github.com/mpetroff/collapsed-archives-wp)


== Installation ==

For a new installation of the plugin:

1. Download the zipped plugin file to your local machine
2. Unzip the file
3. Upload the "collapsed-archives" folder to your "/wp-content/plugins/" directory
4. Activate the plugin through the "Plugins" menu in WordPress
5. Add and configure the widget


If you have already installed this plugin:

1. Deactivate the plugin
2. Download the latest files
3. Follow the new installation steps


== Screenshots ==

1. Example archives list


== Changelog ==

= 1.6 (2021-04-03) =
* Added support for collapsing decades (thanks to @PHil-PlainTech)

= 1.5 (2019-05-05) =
* Fix for warning message in logs

= 1.4 (2019-04-12) =
* Fixed bug for sites without posts

= 1.3 (2019-01-16) =
* Fixed deprecation warning in PHP 7.2

= 1.2 (2018-07-09) =
* Added option for never automatically expanding list for current post / year
* Fixed issue with wrong year being expanded

= 1.1 (2015-02-09) =
* Improved theme support

= 1.0 (2014-12-30) =
* Initial release

About

WordPress widget to display archive links using purely CSS-based collapsing

Resources

Stars

Watchers

Forks

Packages