[WordPress] 外掛分享: JPD2

首頁外掛目錄 › JPD2
全新外掛
安裝啟用
尚無評分
1484 天前
最後更新
問題解決
WordPress 3.8+ v0.8.7 上架:2014-03-07

內容簡介

這個 WordPress 外掛可輕鬆透過快取 API 儲存 WP_Query、WP_User_Query 和 WP_Meta_Query 的結果,提升查詢效能。

當任何文章被更新,所有儲存的查詢都會自動重置。

基本用法:

指定查詢的引數($args)
指定查詢的名稱($name)
$query = jpd2_better_query( $args, $name );
可以像其他 WP_Query 物件一樣使用 $query。
其他用法請參考 FAQ

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「JPD2」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the transients API easy. Realize increased performance, by caching the results of your queries, with one simple function.
All saved queries are automatically reset when any post is updated.
Basic usage:

Specify arguments for the query ($args)
Give the query a name ($name)
$query = jpd2_better_query( $args, $name );
Use $query like you would any other WP_Query object.
See FAQ for other usages

延伸相關外掛

文章
Filter
Apply Filters
Mastodon