Title: Clean My Archives
Author: Justin Tadlock
Published: <strong>September 21, 2010</strong>
Last modified: September 30, 2017

---

Search plugins

![](https://ps.w.org/clean-my-archives/assets/banner-772x250.png?rev=1738913)

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://ps.w.org/clean-my-archives/assets/icon-256x256.png?rev=1738913)

# Clean My Archives

 By [Justin Tadlock](https://profiles.wordpress.org/greenshady/)

[Download](https://downloads.wordpress.org/plugin/clean-my-archives.1.2.0.zip)

 * [Details](https://co.wordpress.org/plugins/clean-my-archives/#description)
 * [Reviews](https://co.wordpress.org/plugins/clean-my-archives/#reviews)
 * [Development](https://co.wordpress.org/plugins/clean-my-archives/#developers)

 [Support](https://wordpress.org/support/plugin/clean-my-archives/)

## Description

The Clean My Archives plugin was developed because so many archives plugins were
overly complicated. I wanted something extremely simple to use that simply got the
job done on my own [site’s archives](http://justintadlock.com/archives).

Therefore, I created a simple `[clean-my-archives]` shortcode that you can place
on any page (or any shortcode-ready area) and list your post archives by month and
year.

This plugin also integrates with WordPress caching plugins. So, long lists of archives
can be cached for later use and loaded quickly. If you have many years of blog posts,
I highly recommend some sort of persistent caching or paginating your archives (
see FAQ).

### Professional Support

If you need professional plugin support from me, the plugin author, you can access
the support forums at [Theme Hybrid](https://themehybrid.com/support), which is 
a professional WordPress help/support site where I handle support for all my plugins
and themes for a community of 75,000+ users (and growing).

### Plugin Development

If you’re a theme author, plugin author, or just a code hobbyist, you can follow
the development of this plugin on it’s [GitHub repository](https://github.com/justintadlock/clean-my-archives).

### Donations

Yes, I do accept donations. If you want to donate, you can do so from my [donations page](https://themehybrid.com/donate)
or grab me something from my [Amazon Wish List](http://a.co/flUb0ns).

I appreciate all donations, no matter the size. Further development of this plugin
is not contingent on donations, but they are always a nice incentive.

## Screenshots

 * [[
 * Screenshot of the plugin in action my archives page.

## FAQ

  Why was this plugin created?

First and foremost, I wanted a simple archives solution for, what’s now, over 12
years of blog posts. You can check out [my archives](http://justintadlock.com/archives)
to see how the plugin performs.

The second reason was to share my solution with other users who want the same simplicity.

  How do I use it?

Add the `[clean-my-archives]` shortcode to a shortcode-ready area, such as the page
editor. That’s it. You have nothing more to do.

Of course, there are some other configuration options. Examples follow.

  Limit the number of posts with the `limit` parameter:

[clean-my-archives limit=”100″]

  Reverse the order with the `order` parameter (default is `DESC`):

[clean-my-archives order=”ASC”]

    ```
    [clean-my-archives order="DESC"]
    ```

  Use the `year` parameter to limit to a year:

[clean-my-archives year=”2013″]

  Use the `month` parameter to limit by month:

[clean-my-archives month=”12″]

  Load specific post types with the `post_type` parameter:

[clean-my-archives post_type=”post”]

    ```
    [clean-my-archives post_type="post, page"]
    ```

  Disable the comment count from showing:

[clean-my-archives show_comment_count=”0″]

  Change the month and day date/time format

[clean-my-archives format_month_year=”F Y” format_post_date=”d:”]

For a full list of formats, see the [PHP Date Formats](http://php.net/manual/en/datetime.formats.date.php)
guide.

  Does it support pagination?

Sort of. Technically, it doesn’t. However, WordPress pages support pagination. So,
you could enter the following in your page editor to paginate by year.

    ```
    [clean-my-archives year="2013"]

    <!-- nextpage -->

    [clean-my-archives year="2012"]

    <!-- nextpage -->

    [clean-my-archives year="2011"]
    ```

## Reviews

![](https://secure.gravatar.com/avatar/0771f018c5c481aecb62b5789070e663f32e747831b01c657b7246e43dc9ed21?
s=60&d=retro&r=g)

### 󠀁[Élégante solution](https://wordpress.org/support/topic/elegante-solution/)󠁿

 [dmsr](https://profiles.wordpress.org/dmsr/) July 22, 2022

Élégante solution pour naviguer dans les archives du site, parfait pour afficher
sur une page de sitemap, et pour pour le SEO

![](https://secure.gravatar.com/avatar/8653b45be6ed603e69d9cca933aeed124c15ff0efdeeff85f47336f4f93de008?
s=60&d=retro&r=g)

### 󠀁[Minimal and useful](https://wordpress.org/support/topic/minimal-and-useful-2/)󠁿

 [Monk Mantra](https://profiles.wordpress.org/peaceful-monk/) November 21, 2018

This is very good plugin, very minimal and useful for displaying archive.

![](https://secure.gravatar.com/avatar/f68809aef13a34d15de069945efffaab59811b471bbef0dfc0c59550cad3473d?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-4556/)󠁿

 [icangeek](https://profiles.wordpress.org/icangeek/) November 17, 2017

the best plugin for displaying archive! very easy to use and customize the display.

![](https://secure.gravatar.com/avatar/c8ce6d15ccb9ae5d78178f7de418f9ebe17db1d35dc62bd3fc56d3fcbc5944a3?
s=60&d=retro&r=g)

### 󠀁[Great plugin. Just what I was after](https://wordpress.org/support/topic/great-plugin-just-what-i-was-after/)󠁿

 [Chris Lovie-Tyler](https://profiles.wordpress.org/chrislt/) March 14, 2017

Thanks!

![](https://secure.gravatar.com/avatar/ae0d29e1a30ddd9f97434ddd2d305821c67935c83dfcaf03ce826ca9774951f8?
s=60&d=retro&r=g)

### 󠀁[Clean and lean archive pages – nice!](https://wordpress.org/support/topic/clean-and-lean-archive-pages-nice/)󠁿

 [Steven](https://profiles.wordpress.org/stgoos/) September 3, 2016

Best archive plugin I’ve every come across – thanks Justin!

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/clean-my-archives/reviews/)

## Contributors & Developers

“Clean My Archives” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

[Translate “Clean My Archives” into your language.](https://translate.wordpress.org/projects/wp-plugins/clean-my-archives)

### Interested in development?

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

## Changelog

To view the change log, look into the `changelog.md` file included with the plugin
or visit the [online change log](https://github.com/justintadlock/clean-my-archives/blob/master/changelog.md).

## Meta

 *  Version **1.2.0**
 *  Last updated **9 years ago**
 *  Active installations **900+**
 *  WordPress version ** 3.1 or higher **
 *  Tested up to **4.8.28**
 *  PHP version ** 5.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/clean-my-archives/)
 * Tags
 * [archives](https://co.wordpress.org/plugins/tags/archives/)[shortcode](https://co.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://co.wordpress.org/plugins/clean-my-archives/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/clean-my-archives/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/clean-my-archives/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/clean-my-archives/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/clean-my-archives/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/clean-my-archives/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/clean-my-archives/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/clean-my-archives/reviews/)

## Contributors

 *   [ Justin Tadlock ](https://profiles.wordpress.org/greenshady/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/clean-my-archives/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://themehybrid.com/donate)