Title: Date-based Taxonomy Archives
Author: Erick Hitter
Published: <strong>2012 年 6 月 4 日</strong>
Last modified: 2015 年 8 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/date-based-taxonomy-archives.svg)

# Date-based Taxonomy Archives

 作者：[Erick Hitter](https://profiles.wordpress.org/ethitter/)

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

 * [详情](https://cn.wordpress.org/plugins/date-based-taxonomy-archives/#description)
 * [评价](https://cn.wordpress.org/plugins/date-based-taxonomy-archives/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/date-based-taxonomy-archives/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/date-based-taxonomy-archives/#developers)

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

## 描述

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/.**

## 安装

 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.

## 常见问题

  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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Date-based Taxonomy Archives」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Date-based Taxonomy Archives」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/date-based-taxonomy-archives)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/date-based-taxonomy-archives/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/date-based-taxonomy-archives/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/date-based-taxonomy-archives/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/date-based-taxonomy-archives/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **0.3.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **4.3.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/date-based-taxonomy-archives/)
 * 标签
 * [archive](https://cn.wordpress.org/plugins/tags/archive/)[date](https://cn.wordpress.org/plugins/tags/date/)
   [taxonomies](https://cn.wordpress.org/plugins/tags/taxonomies/)[taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)
 *  [高级视图](https://cn.wordpress.org/plugins/date-based-taxonomy-archives/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/date-based-taxonomy-archives/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/date-based-taxonomy-archives/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://ethitter.com/donate/)