Title: Date-based Taxonomy Archives
Author: Erick Hitter
Published: <strong>June 4, 2012</strong>
Last modified: August 17, 2015

---

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/date-based-taxonomy-archives.svg)

# Date-based Taxonomy Archives

 By [Erick Hitter](https://profiles.wordpress.org/ethitter/)

[Download](https://downloads.wordpress.org/plugin/date-based-taxonomy-archives.0.3.1.zip)

 * [Details](https://test.wordpress.org/plugins/date-based-taxonomy-archives/#description)
 * [Reviews](https://test.wordpress.org/plugins/date-based-taxonomy-archives/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/date-based-taxonomy-archives/#installation)
 * [Development](https://test.wordpress.org/plugins/date-based-taxonomy-archives/#developers)

 [Support](https://wordpress.org/support/plugin/date-based-taxonomy-archives/)

## Description

Add support for date-based taxonomy archives.

Includes a function for rendering an unordered list of years with months, linked
to corresponding date-based taxonomy archive, nested therein.

**This plugin is intended for use by plugin and theme developers. It simply adds
support for date-based taxonomy archives, but has no native user interface.**

**Development is over on GitHub: https://github.com/ethitter/Date-based-Taxonomy-
Archives/.**

## Installation

 1. Upload date-based-taxonomy-archives to /wp-content/plugins/.
 2. Activate plugin through the WordPress Plugins menu.
 3. Go to Settings > Permalinks and click _Save Changes_ to refresh permalinks.

## FAQ

  How do I use this plugin?

Add the function `date_based_taxonomy_archives()` to any template element that appears
on a taxonomy archive. The function accepts an array containing the following arguments:

 * `taxonomies` – array of taxonomy slugs.
 * `show_post_count` – boolean value specifying whether or not to display show counts
   in parenthesis after archive links.
 * `limit` – integer specifying the number of archive links to show. Omit to show
   all archive links for the specified taxonomy.
 * `before` – output to display before archive link.
 * `after` – output to display after archive link.
 * `echo` – boolean value specifying whether to echo or return archive links.

  What filters does this plugin include?

 * `date_based_taxonomy_archives_args` – applied to arguments passed to `date_based_taxonomy_archives()`
   at runtime.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Date-based Taxonomy Archives” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Erick Hitter ](https://profiles.wordpress.org/ethitter/)

[Translate “Date-based Taxonomy Archives” into your language.](https://translate.wordpress.org/projects/wp-plugins/date-based-taxonomy-archives)

### Interested in development?

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

## Changelog

#### 0.3.1

 * Security update: correct misuse of `add_query_arg()` as identified by Sucuri:
   https://blog.sucuri.net/2015/04/security-advisory-xss-vulnerability-affecting-
   multiple-wordpress-plugins.html.

#### 0.3

 * Remove unnecessary uses of `$wpdb->prepare()` that were incorrectly implemented,
   resulting in PHP warnings when `WP_DEBUG` was enabled.
 * Convert plugin to a singelton pattern instead of relying on a global variable.
 * Protect class variables and expose them only through a magic getter. Allows for
   more flexibility in adding class variables in the future.
 * Localize large post counts for display, when requested.
 * Correct phpdoc implementation.

#### 0.2

 * Initial public release

## Meta

 *  Version **0.3.1**
 *  Last updated **11 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/date-based-taxonomy-archives/)
 * Tags
 * [archive](https://test.wordpress.org/plugins/tags/archive/)[date](https://test.wordpress.org/plugins/tags/date/)
   [taxonomies](https://test.wordpress.org/plugins/tags/taxonomies/)[taxonomy](https://test.wordpress.org/plugins/tags/taxonomy/)
 *  [Advanced View](https://test.wordpress.org/plugins/date-based-taxonomy-archives/advanced/)

## Ratings

No reviews have been submitted yet.

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

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

## Contributors

 *   [ Erick Hitter ](https://profiles.wordpress.org/ethitter/)

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

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