[WordPress] 外掛分享: Date Range Filter

首頁外掛目錄 › Date Range Filter
WordPress 外掛 Date Range Filter 的封面圖片
300+
安裝啟用
★★★★★
5/5 分(5 則評價)
3338 天前
最後更新
問題解決
WordPress 3.7+ v0.0.11 上架:2014-10-22

內容簡介

注意:此外掛需要啟用 PHP 版本 5.3 或更高版本,建議使用 5.4 版本。

非常感謝Stream團隊為這個外掛程式開發部分功能,讓我可以重複使用它來達到其他目的。你們真的很棒!

這個外掛程式是為了加強 WordPress 後台當前日期篩選功能而開發的。它讓你能夠按照自訂日期範圍或先定義的範圍篩選文章。

預設情況下,此外掛只篩選文章的建立日期。如果你想篩選文章修改日期,請使用以下篩選器:

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 );

支援的語言:

英文

有提升或錯誤?

請在此處填寫問題報告。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.11) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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 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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon