Skip to content

jonathanbardo/WP-Date-Range-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Date Range Filter

Banner Easily filter the admin list of post and custom post type with a date range.

Contributors: jonathanbardo, lossonet, stream
Tags: date, filter, admin, dashboard, widget, stats
Requires at least: 3.7
Tested up to: 4.7.1
Stable tag: trunk (master)
License: GPLv2 or later

Description

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

A big shout-out to the 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:

  • English

Improvement? Bugs?

Please fill out an issue here.

Screenshots

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.

Customize the date range of the dashboard widget.

Customize the date range of the dashboard widget.

Changelog

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

About

Easily filter the admin list of post and custom post type with a date range.

Resources

License

Stars

Watchers

Forks

Packages

No packages published