Engipress EasyQuery
v1.0.0engipress · 2026年5月9日 上架
Clean and fluent WP_Query helpers for developers building custom WordPress themes from scratch.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 434
- 最近更新
- 2026年5月10日
需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+
贡献者
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/).