
內容簡介
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 進行主要開發。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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.
