Title: PW_Archives
Author: philipwalton
Published: <strong>පෙබරවාරි 9, 2011</strong>
Last modified: දෙසැම්බර් 15, 2011

---

Search plugins

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://s.w.org/plugins/geopattern-icon/pw-archives.svg)

# PW_Archives

 By [philipwalton](https://profiles.wordpress.org/philipwalton/)

[Download](https://downloads.wordpress.org/plugin/pw-archives.2.0.4.zip)

 * [Details](https://si.wordpress.org/plugins/pw-archives/#description)
 * [Reviews](https://si.wordpress.org/plugins/pw-archives/#reviews)
 *  [Installation](https://si.wordpress.org/plugins/pw-archives/#installation)
 * [Development](https://si.wordpress.org/plugins/pw-archives/#developers)

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

## Description

The primary goal of PW_Archives is to be light-weight and efficient. I’ve tried 
almost all of the popular archiving plugins out there, and so many of them make 
hundreds or even thousands of queries depending on the number of posts you have 
on your site. PW_Archives makes only one query to get your posts. That’s it. Not
only that but it doesn’t do endless amounts of looping and counting to determine
post and comment counts. That’s all included in the one query it does, and it’s 
very efficient.

The second main goal of PW_Archives is customization. Almost everything is customizable.
Select what post types to include, choose whether you want the javascript to fade
in or slide down (or no javascript at all). You can even select the date format 
and add custom markup. If you don’t know HTML, don’t worry; the defaults will work
for most people.

For complete documentation, visit [philipwalton.com](http://philipwalton.com/2011/02/08/pw_archives/)

## Installation

PW_Archives settings works just like WordPress menus. There can be multiple PW_Archives
instances with their own unique settings. Each instance is identified by a name 
that can be referenced in widgets or shortcodes.

For example: let’s say you want to list archives in your sidebar only showing the
most recent year, and you also want archives listed on a dedicated archives page
showing all years, all months, and all posts. Here’s how you’d do it:

1) Just create two instances, name one “Sidebar” and the other something like “Full”
and set the options for each.
 2) Next, add the PW_Archives widget to your sidebar
and select the “Sidebar” instance in the widget form. 3) Finally, create a new page,
call it “Archives” and add the shortcode [PW_Archives name=”Full”] in the content.

For complete documentation, visit [philipwalton.com](http://philipwalton.com/2011/02/08/pw_archives/)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“PW_Archives” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ philipwalton ](https://profiles.wordpress.org/philipwalton/)

[Translate “PW_Archives” into your language.](https://translate.wordpress.org/projects/wp-plugins/pw-archives)

### Interested in development?

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

## Changelog

#### 2.0.4

 * Updated to support WordPress 3.3
 * Fixed a minor bug where a JS files was being properly dequeued

#### 2.0.3

 * Fixed a bug where some javascript files weren’t being loaded on public pages

#### 2.0.2

 * Fixed a bug where PW_MultiModelController wasn’t properly deleting a model instance

#### 2.0.1

 * Fixed errors from the svn upload process

#### 2.0

 * PW_Archives options are now controlled using a system based off of WordPress’s
   menus. This allows users to create multiple instances of specific settings and
   easily reference them in widgets and shortcodes.
 * Added custom post type support
 * Added Javascript enhancement

#### 1.0.4.2

 * Updated the installation instruction to fix some confusion that existed.
 * Changed the PW_Form class to pwaForm to avoid a naming conflict

#### 1.0.4.1

 * Decided changing the defaults wasn’t a good idea because it might break existing
   sites that are hand coding their options and relying on defaults. The default
   is once again to show posts.

#### 1.0.4

 * Switch from date() to date_i18n() to help add support for other localizations.
 * Change the default options to not show posts
 * Updated the uninstall.php file to removed options from all blogs (if in multisite),
   not just the primary blog.

#### 1.0.3

 * Added an uninstall.php file to remove options from the database when a user uninstalls
   the plugin. Previously these options were removed when a user deactivated the
   plugin, which caused problems when users would update WordPress because (as part
   of the upgrade process) it would deactivate and then reactivate all plugins and
   thus erase the options stored in the database.

## Meta

 *  Version **2.0.4**
 *  Last updated **වසර 14ක් ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pw-archives/)
 * Tags
 * [archive](https://si.wordpress.org/plugins/tags/archive/)[archives](https://si.wordpress.org/plugins/tags/archives/)
   [map](https://si.wordpress.org/plugins/tags/map/)[Site](https://si.wordpress.org/plugins/tags/site/)
   [sitemap](https://si.wordpress.org/plugins/tags/sitemap/)
 *  [Advanced View](https://si.wordpress.org/plugins/pw-archives/advanced/)

## Ratings

No reviews have been submitted yet.

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

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

## Contributors

 *   [ philipwalton ](https://profiles.wordpress.org/philipwalton/)

## Support

Got something to say? Need help?

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