sandywp / plugins / collapsing-archives

Collapsing Archives

4.1 out of 5 stars. 4.1 21 reviews

This plugin uses Javascript to dynamically expand or collapse the set of months for each year and posts for each month in the archive listing of your …

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v3.0.8 3,000+ installs WP 2.8+

your-sandbox.sandywp.com/wp-admin
Collapsing Archives running inside a SandyWP sandbox

What you get inside

2 screens
  • Collapsing archives with default theme

  • widget options

About this plugin

Create collapsible archives by year or month. Features include: link to archive pages, display of individual posts and support for custom post-types.

Demo

I use this plugin in my blog at http://blog.robfelty.com

Questions

How do I change the style of the collapsing archives lists?

The collapsing archives plugin uses several ids and classes which can be
styled with CSS. These can be changed from the settings page. You may have to
rename some of the id statements. For example, if your sidebar is called
“myawesomesidebar”, you would rewrite the line

sidebar li.collapsArch {list-style-type:none}

to

myawesomesidebar li.collapsArch {list-style-type:none}

If you are using the plugin manually (i.e. inserting code into your theme),
you may want to replace #sidebar with #collapsArchList

There seems to be a newline between the collapsing/expanding symbol and the

category name. How do I fix this? =

If your theme has some css that says something like

sidebar li a {display:block}

that is the problem.
You probably want to add a float:left to the .sym class

4.1

21 reviews

  • 5 ★ 11
  • 4 ★ 4
  • 3 ★ 4
  • 2 ★ 1
  • 1 ★ 1

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.