WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

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.

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.

Requires: 2.6 or higher
Compatible up to: 3.0.5
Last Updated: 2010-8-11
Downloads: 800

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1