Title: Date Range Filter
Author: Jonathan Bardo
Published: <strong>2014 年 10 月 23 日</strong>
Last modified: 2017 年 1 月 24 日

---

搜索插件

![](https://ps.w.org/date-range-filter/assets/banner-772x250.png?rev=1013014)

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

![](https://ps.w.org/date-range-filter/assets/icon.svg?rev=1013014)

# Date Range Filter

 作者：[Jonathan Bardo](https://profiles.wordpress.org/jonathanbardo/)

[下载](https://downloads.wordpress.org/plugin/date-range-filter.zip)

 * [详情](https://cn.wordpress.org/plugins/date-range-filter/#description)
 * [评价](https://cn.wordpress.org/plugins/date-range-filter/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/date-range-filter/#developers)

 [支持](https://wordpress.org/support/plugin/date-range-filter/)

## 描述

**Note: This plugin requires PHP 5.3 or higher to be activated. 5.4 Strongly recommended.**

A big shout-out to the [Stream](https://profiles.wordpress.org/stream/) team for
developing much of the functionnality of this plugin and letting me reuse it for
another purposes. You guys rock!

This plugin was develop to supercharge the current date filter of WordPress admin.
It will let you filter posts by a custom date range or by an already defined range.

By default the plugin only filters post creation date. If you would like to filter
the post modified date, please use this filter:

    ```
    function my_date_range_filter_query_column( $column ){
        return 'post_modified';
    }
    add_filter( 'date_range_filter_query_column', 'my_date_range_filter_query_column', 10, 1 );
    ```

**Languages Supported:**

 * 英文

**Improvement? Bugs?**

Please fill out an issue [here](https://github.com/jonathanbardo/WP-Date-Range-Filter/issues).

## 屏幕截图

[⌊Filter posts list.⌉⌊Filter posts list.⌉[

Filter posts list.

[⌊Get a glance of post type count by date in the dashboard.⌉⌊Get a glance of post
type count by date in the dashboard.⌉[

Get a glance of post type count by date in the dashboard.

[⌊Customize the date range of the dashboard widget.⌉⌊Customize the date range of
the dashboard widget.⌉[

Customize the date range of the dashboard widget.

## 评价

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

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-4016/)󠁿

 [husk3r](https://profiles.wordpress.org/husk3r/) 2016 年 12 月 17 日

it does what it states and it helped me a lot to know what are the most viewed post
in the last 7 days

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

### 󠀁[working great!](https://wordpress.org/support/topic/working-great-101/)󠁿

 [andiszek](https://profiles.wordpress.org/andiszek/) 2016 年 10 月 3 日

Works very well and is easy to use. Thank you for developing it!

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/date-range-filter/reviews/)

## 贡献者及开发者

「Date Range Filter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jonathan Bardo ](https://profiles.wordpress.org/jonathanbardo/)
 *   [ Ricardo Losso ](https://profiles.wordpress.org/lossonet/)
 *   [ Stream ](https://profiles.wordpress.org/stream/)

「Date Range Filter」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/date-range-filter/contributors)
为本插件所做的贡献。

[帮助将「Date Range Filter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/date-range-filter)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.0.11

 * Let user enter date manually for custom date range
 * Add min js & css

#### 0.0.10

Fix compatibility with WooCommerce

#### 0.0.10

Fix compatibility with WooCommerce

#### 0.0.9

Fix some php 5.3 incompatibilities

#### 0.0.8

Add localization

#### 0.0.7

Fix a bug where calling public function would throw a fatal error

#### 0.0.6

Fix bug in dashboard widgets

#### 0.0.5

Add new dashboard widgets

#### 0.0.4

Allow select2 if present

#### 0.0.3

Add date range filter on media

#### 0.0.2

Add sanitization and plugin hooks

#### 0.0.1

Initial release. Props [Stream](https://profiles.wordpress.org/stream/)

## 额外信息

 *  版本 **0.0.11**
 *  最后更新：**9 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.7 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/date-range-filter/) 、 [English (US)](https://wordpress.org/plugins/date-range-filter/)、
   [French (France)](https://fr.wordpress.org/plugins/date-range-filter/) 和 [Russian](https://ru.wordpress.org/plugins/date-range-filter/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/date-range-filter)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[dashboard](https://cn.wordpress.org/plugins/tags/dashboard/)
   [date](https://cn.wordpress.org/plugins/tags/date/)[filter](https://cn.wordpress.org/plugins/tags/filter/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/date-range-filter/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/date-range-filter/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/date-range-filter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/date-range-filter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/date-range-filter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/date-range-filter/reviews/?filter=1)

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

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

## 贡献者

 *   [ Jonathan Bardo ](https://profiles.wordpress.org/jonathanbardo/)
 *   [ Ricardo Losso ](https://profiles.wordpress.org/lossonet/)
 *   [ Stream ](https://profiles.wordpress.org/stream/)

## 支持

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

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