Title: Compact Monthly Archive
Author: Oddthinking
Published: <strong>January 7, 2008</strong>
Last modified: January 7, 2008

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/compact-monthly-archive-widget.svg)

# Compact Monthly Archive

 By [Oddthinking](https://profiles.wordpress.org/oddthinking/)

[Download](https://downloads.wordpress.org/plugin/compact-monthly-archive-widget.1.0.zip)

 * [Details](https://test.wordpress.org/plugins/compact-monthly-archive-widget/#description)
 * [Reviews](https://test.wordpress.org/plugins/compact-monthly-archive-widget/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/compact-monthly-archive-widget/#installation)
 * [Development](https://test.wordpress.org/plugins/compact-monthly-archive-widget/#developers)

 [Support](https://wordpress.org/support/plugin/compact-monthly-archive-widget/)

## Description

If your blog is over a year or two old, you may have noticed the list of archive
pages is getting unwieldy.

This plugin is a widget that compresses the size of the arcgives list to two lines
per _year_ (three if the lines are narrow) rather than one line per per _month_.

### More information

This widget is licensed under [GPLv3](http://www.gnu.org/licenses/gpl-3.0.html).

Grateful thanks to [Alan Morgan](http://tech.windsofstorm.net) whose widget_archives2
I used as a template.

Potential developers should check out the [development history](http://www.somethinkodd.com/oddthinking/2007/03/29/more-theme-changes-2/).

Finally, an obligatory plug for my blog, [OddThinking](http://somethinkodd.com/oddthinking).

## Screenshots

 * [[
 * This is an example of a compact monthly archive. In this theme, white is a link
   that hasn’t been visited. Light blue is a link that has been visited, and the
   greyish blue is a month with no articles, and hence has no link. You may choose
   your own colour-scheme.

## Installation

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Find the Widgets page (under Presentation in WordPress 2.0-2.3, but there are rumours
    that it is moving in WordPress 2.4.)
 4. Drag the Compact Monthly Archives into your preferred location.
 5. Click on the icon on the right on the Compact Monthly Archives and set the title.(
    Default is “Archives”.)
 6. Modify the CSS of the theme to taste, using any of the following styles:
 7.  * `STO_cma_archive_list` – this is applied to the `ul` tag that covers the entire
       calendar, apart from the title.
     * `STO_cma_line` – this applies to the `li` tag that represents each year.
     * `STO_cma_month` – this applies to each letter that represents a month.
     * `STO_cma_link` – this applies to each month that includes an article (and is,
       hence, a link.)
     * `STO_cma_empty` – this applies to each month that is empty (and is, hence, not
       a link)
     * `STO_cma_zwsp` – this applies to the whitespace gap between June and July. You
       may like to make it narrow.

Here is an example:

    ```
    .STO_cma_month a {
        line-height: 1.2em;
        padding: 0.2em;
    }

    .STO_cma_empty{
        color: #4984E3;
        line-height: 1.2em;
        padding: 0.2em;

    }
    ```

You almost certainly will want to change the example style to fit your theme.

## FAQ

  When would I use this?

The default WordPress archive listing takes one line for every month. Once your 
blog gets over about a one or two years old, this becomes unwieldy. That’s the point
where you should consider this plug-in instead. This plug-in only takes two or three
lines per year.

When your blog gets to be about 4-6 years old, it will start to get unwieldy again.
Hopefully, by then, we will have a solution for that too.

  How do I localise it for my language?

The widget automatically uses the first character from each month based on your 
locale. So all you need to is override the default title to a word meaning ‘archives’
in your language.

I haven’t tested it on any right-to-left languages. If this doesn’t work, let me
know, and I will come up with a workaround.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Compact Monthly Archive” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Oddthinking ](https://profiles.wordpress.org/oddthinking/)

[Translate “Compact Monthly Archive” into your language.](https://translate.wordpress.org/projects/wp-plugins/compact-monthly-archive-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/compact-monthly-archive-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/compact-monthly-archive-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/compact-monthly-archive-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/compact-monthly-archive-widget/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0**
 *  Last updated **18 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.0.0 or higher **
 *  Tested up to **2.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/compact-monthly-archive-widget/)
 * Tags
 * [archives](https://test.wordpress.org/plugins/tags/archives/)[calendar](https://test.wordpress.org/plugins/tags/calendar/)
   [widget](https://test.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://test.wordpress.org/plugins/compact-monthly-archive-widget/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/compact-monthly-archive-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/compact-monthly-archive-widget/reviews/)

## Contributors

 *   [ Oddthinking ](https://profiles.wordpress.org/oddthinking/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/compact-monthly-archive-widget/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://somethinkodd.com/oddthinking/)