[WordPress] 外掛分享: WP Query Console

首頁外掛目錄 › WP Query Console
WordPress 外掛 WP Query Console 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
90+
安裝啟用
★★★★★
5/5 分(2 則評價)
2925 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2017-03-19

內容簡介

聲明:插件開發正在進行中,我們會不斷改進程式碼。如果您認為程式碼可以改進或者有任何建議,請隨時發送 PR 或 提交問題.

這是一個方便開發人員快速測試各種 WordPress 查詢(WP_Query、WP_User_Query、WP_Comment_Query、WP_Term_Query、WP_Network_Query、WP_Site_Query)的工具。只需提供您的參數陣列,並選擇要測試的查詢類型。您將得到一個可折疊樹形式的結果。

用法

啟用插件後,會新增一個名為「Query Console」的菜單選項
在提供的編輯器中輸入您的查詢參數陣列,從下拉菜單中選擇查詢類型,然後點擊執行
檢查顯示的結果

路線圖

更多與查詢相關的調試信息
程式碼重構和改進
參數的使用者介面
保存查詢
本地化

如果您有任何建議/功能請求,希望在未來的版本中看到,歡迎在問題區告訴我們

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

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

原文外掛簡介

Disclaimer: Plugin development is in progress & we are constantly improving the code. If you think code can be improved or have any suggestion feel free to send a PR or open an issue.

Handy tool for developers to quickly test various WordPress queries (WP_Query, WP_User_Query, WP_Comment_Query, WP_Term_Query, WP_Network_Query, WP_Site_Query). Simply provide your arguments array and select the query type you would like to test. You will get the result as a collapsible tree.
Usage

Simply activate and new menu option “Query Console” will be added
Enter you query arguments array in editor provided, select query type from dropdown & hit execute
Check the result displayed

Roadmap

More info about query for debugging
Code refactoring and improvement
UI for arguments
Saving queries
Localization

If you have any suggestions/Feature request that you would like to see in the upcoming releases , feel free to let us know in the issues section

延伸相關外掛

文章
Filter
Apply Filters
Mastodon