外掛說明
Engipress EasyQuery provides a clean, fluent interface for working with WP_Query. It makes writing custom loops in your themes faster, more readable, and less repetitive.
Basic Usage
Engieq::for(‘book’)
->limit(12)
->order_by(‘date’, ‘DESC’)
->get_posts();
Available Methods (Free Version)
- Engieq::for( $post_type ) – Start a new query for any post type
- ->limit( $number ) – Set number of posts to return
- ->paged() – Enable pagination support
- ->order_by( $orderby, $order ) – Set ordering (date, title, menu_order, etc.)
- ->get() – Return full WP_Query object
- ->get_posts() – Return array of post objects
This plugin is designed for developers who build custom themes from scratch and want cleaner query code without heavy dependencies.
Pro Version
For advanced features including taxonomy & meta filtering, caching, code export, and more, see Engipress EasyQuery Pro (https://engipress.com/plugins/engipress-easyquery-pro/).
安裝方式
- Upload the
engipress-easyqueryfolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Note: Engipress EasyQuery Pro is a separate paid plugin and does not require this free version.
常見問題集
-
Is Engipress EasyQuery compatible with block themes like Twenty Twenty-Five?
-
Yes, it works with both classic PHP themes and modern block themes.
-
Why is the free version so minimal?
-
We intentionally kept the free version lightweight and focused. The Pro version contains the more advanced features most developers need for complex custom work.
-
Where can I purchase Engipress EasyQuery Pro?
-
Engipress EasyQuery Pro is available as a separate paid plugin.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial public release of the free version
- Basic fluent query interface (for(), limit(), paged(), order_by(), get(), get_posts())
- Clean OOP structure with singleton pattern
- Conflict detection with Engipress EasyQuery Pro