Une version française est aussi disponible

iTx Technologies is proud to present its open source jQuery Archives Wordpres plugin to the community!

Description

The jQuery Archives plugin allows you to display your Wordpress posts in chronological order (newest to oldest) on a per-month and per-year basis, in a cool accordion-like fashion. You don't get it ? A picture is worth a thousand words !

Download

You can download the plugin here : jquery-archives.zip

How to install

  1. Download the jQuery Archives plugin
  2. Install the plugin or unzip the content into your wp-content/plugins/ directory

How to setup

  1. Create a new page template called "jQuery Archives", for example.
  2. Inside your loop where the content of your page is displayed, insert , like in the follwing example :
    <?php
    /*
    Template Name: jQuery Archives
    */
    ?>
    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h1><?php the_title(); ?></h1>
    <div class="entry">
    <?php the_content();
                                    // This is the function that outputs your archives
    jquery_archives(); ?>
    </div>
    </div>

    <?php endwhile; ?>

    <?php else : /* NO posts */
    if ( '' != get_404_template() )
    include( get_404_template() );
    else
    echo( "<h3><?php _e( 'Upss, not found...', 'default' ); ?></h3>" );
    endif; ?>
    </div>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

  3. Create a new page in your Wordpress admin, and choose the jQuery Archives template.

Changelog

1.0.0: Initial release

Licence

The jQuery Archives Wordpress plugin is published under the GNU/GPL 2.0 Licence.

Support

If you have a question or comment, don't hesitate to post your question in the form below. And don't forget to rate the plugin !