[WordPress] 外掛分享: WP Query Engine

首頁外掛目錄 › WP Query Engine
WordPress 外掛 WP Query Engine 的封面圖片
10+
安裝啟用
尚無評分
2295 天前
最後更新
問題解決
WordPress 4.0.1+ v1.1.0 上架:2018-08-05

內容簡介

WP Query Engine 允許您使用 WP_Query 類別進行自訂查詢,並使用簡單的短碼或 Beaver Builder 模組(需要 Beaver Builder)。

支援:
– 大多數文章數據
– 分類數據
– 元數據

此外,插件還提供了幾個公開的過濾器和操作鉤子,供主題開發人員改變默認功能,包括添加在短碼中未指定的其他參數。

還包括3個默認模板,包括:

默認:標準內容包含在文章標籤中
列表:在 UL 中帶有鏈接的文章標題
Genesis Loop:如果使用 Genesis 主題,將使用 Genesis Loop 輸出

此外,主題開發人員可以使用簡單的操作和過濾器輕鬆更改或覆蓋默認模板,以及輕鬆包含自定義模板。

使用插件

將 [wp_query] 短碼放置在內容的任何位置
在主題中的任何位置使用 do_action( ‘wp_query’, $args ); 操作鉤子
使用 Beaver Builder 模組

您可以在 https://docs.wpcodelabs.com/wp-query-engine 查看完整的文檔和可用的參數。

注意事項

此插件是免費提供的,雖然我會盡力提供支援,但我只有有限的時間來支持免費的插件。如果您想直接貢獻此項目,請前往 GitHub 進行主要開發。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP Query Engine allows you to perform custom queries using the WP_Query class, using a simple shortcode or Beaver Builder module (requires Beaver Builder).
Supports:
– Most post data
– Taxonomy data
– Meta data
In addition, the plugin offers several exposed filter and action hooks for theme developers to alter the default functionality, including adding additional parameters not specified in the shortcode.
Also includes 3 default templates, including:

Default : Standard content wrapped in an article tag
List : Post titles with links in an UL
Genesis Loop : If using a Genesis theme, will output using the Genesis Loop

Further, theme developers can easily alter or override the default templates using simple actions and filters, as well as include custom templates easily.
Using the Plugin

Place the [wp_query] shortcode anywhere withen your content
Use the do_action( ‘wp_query’, $args ); action hook anywhere in your theme
Using the Beaver Builder Module

You can see the full documentation and available arguments at https://docs.wpcodelabs.com/wp-query-engine
Notes
This plugin is provided free, and while I will try to provide support to the best of my ability, I only have so much time to dedicate to supporting a free plugin. If you would like to contribute the this project directly, the main development is done at GitHub.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon