Plugin Directory

Compact Monthly Archive

  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:
    • 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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(3 ratings)