Clean My Archives is a plugin developed to simplify the process of adding a list of archives to your site. So many archives plugins make things overly complex or add a lot of junk to the page like unneeded JavaScript. This plugin was created to clean your archives page.
The plugin make the process of adding an archives page extremely simply by providing an easy-to-use shortcode called [clean-my-archives]
that you just drop in a shortcode-ready area.
clean-my-archives.zip
file.clean-my-archives
to the /wp-content/plugins/
directory.Using the plugin is extremely simple. You only need to have a shortcode-ready area such as the page editor. Most people will simply need to follow these steps to get an archives page:
[clean-my-archives]
shortcode to this page.The shortcode has a few extra options if you wish to use them:
year
: Only show posts of a specific year.month
: Only show posts of a specific month.limit
: Limit the number of posts shown. By default, this is -1
, which shows all posts.Example showing posts from 2010:
[clean-my-archives year="2010"]
Example showing posts from July 2010:
[clean-my-archvies year="2010" month="7"]
Example showing only the latest 100 posts:
[clean-my-archives limit="100"]
If you have tons of posts, such as 1,500+, you might want to consider paginating your archives. Loading too many posts at once might not work, depending on your server setup. Fortunately, WordPress has built-in pagination for pages, so using this along with this plugin will work just fine.
Let's suppose you want to paginate your archives by year. You can easily do this in the page editor:
[clean-my-archives year="2010"]
<!--nextpage-->
[clean-my-archives year="2009"]
<!--nextpage-->
[clean-my-archives year="2008"]
<!--nextpage-->
[clean-my-archives year="2007"]
Support for the Clean My Archives plugin is not offered on the WordPress support forums. We have a community called DevPress where we offer support of all our themes and plugins. We encourage you to sign up to the site to use its support forums and become a part of our community.
Clean My Archives is licensed under the GNU General Public License, version 2 (GPL).
This plugin is copyrighted to DevPress LLC.
2010 © DevPress LLC