The French Archives

Displays archives in a month grid with post counts for each month, with yearly and grand totals, and shows titles and comment counts for all posts.

Author:Scott Carpenter (profile at wordpress.org)
WordPress version required:2.6
WordPress version tested:3.0.5
Plugin version:1.1
Added to WordPress repository:11-08-2010
Last updated:11-08-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.movingtofreedom.org/10/07/17/wordp...
Total downloads:1 134
Active installs:10+
plugin download
Click to start download

See also: http://www.movingtofreedom.org/2010/07/17/wordpress-plugin-month-grid-and-all-posts-archive/

Gives you two different kinds of archives:

Month Grid Archive

Shows monthly post counts, year totals, and a grand total in a grid/table format, with links to month and year archives. Like this (see also the screenshot!):

      Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2010    2   4   2  21   4   2   3                       38
2009    2   7   5   5   3   1   9   3   5   5   7   5   57
                                                        95

If posts all fall within one calendar year, the grand total won't be shown. (The trailing table row will remain.)

Call from a template file with:

<?php month_grid_archive() ?>

Two optional parameters:

  • $style = 'abbr'
  • $first_header = 'Monthly'

By default for $style, will show month abbreviations (abbr) in the header row, e.g. "Jan" and "Feb". Can also show first 'initial', e.g. "J" and "F", and 'numeric'. (abbr and initial use `wp-config.php locale.)

You can change the first header row from the default of "Monthly", or remove it altogether by passing in an empty string.

For example, to show numeric month headers and suppress the first header:

<?php month_grid_archive('numeric', '') ?>

All Posts Archive

Show all post titles in descending order along with comment counts (optionally).

Call from template file with:

<?php all_posts_archive() ?>

Two optional parameters:

  • $use_table = true
  • $show_comment_counts = true`

By default, posts will be displayed in a table (as shown in screenshot), or as a <ul><li> list.

Comment counts are included by default but may be suppressed.

For example, to show all posts in a table without comment counts/links:

<?php all_posts_archive(true, false) ?>

CSS

For example, screenshots were produced from these stylesheet classes/IDs:

.fa-table { border: 2px solid #cebb90; border-collapse: collapse;
            margin-left: auto; margin-right: auto;}
.fa-table td,th { border: 1px solid #cebb90;
                  padding: 5px; vertical-align: top; }
.fa-table th { border: 2px solid #cebb90; background: #f3e8cc; }
#fa-month-grid { width: 100%; }
.fa-hdr1, .fa-hdr3 { text-align: left; padding: 6px; }
.fa-hdr2 { font-size: .8em; }
.fa-count { font-size: .9em; }
.fa-count, .fa-total, .fa-day, .fa-cmt { text-align: right; }
#fa-all-posts { margin-top: 1.5em; margin-left: auto;
                                   margin-right: auto; }
.fa-day { font-weight: bold; }

Look at the code or the generated HTML to see where classes are referenced.