Title: Advanced Queries
Author: Shabti Kaplan
Published: <strong>2019 年 12 月 6 日</strong>
Last modified: 2025 年 1 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/advanced-post-queries/assets/icon-128x128.png?rev=2319579)

# Advanced Queries

 作者：[Shabti Kaplan](https://profiles.wordpress.org/shabti/)

[下载](https://downloads.wordpress.org/plugin/advanced-post-queries.1.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/advanced-post-queries/#description)
 * [评价](https://cn.wordpress.org/plugins/advanced-post-queries/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/advanced-post-queries/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/advanced-post-queries/#developers)

 [支持](https://wordpress.org/support/plugin/advanced-post-queries/)

## 描述

Only works with Elementor PRO (for now….)

An Elementor PRO extension that allows you to easily dynamically query your posts
and portfolio widget results without custom query IDs.

This plugin is built on Elementor’s posts, portfolio, and loop grid widgets so Elementor
Pro must be installed and activated. You can use this plugin to query your posts
based on a dynamic author field or date field. If you have any special requests,
just message us on our website or FB page and we will try to add it to the plugin
right away.

This is compatible with ACF and Jetengine too. This works for the Elementor Pro 
posts, portfolio, loop grid, and loop carousel widgets as well as Elementor Extras
post extras widget. (If you want this to be compatible with another widget, we can
check if it’s possible).

So far you can query your posts in the following ways:

#### Users

 1. Author is Current User. The logged in user will only see posts that he/she is the
    author of.
 2. Author is Current Author. Show other posts by the current author.
 3. Custom Field is Current User. The logged in user will only see posts where the 
    custom field equals his/her ID, email, or username, based on whichever key you 
    choose.

#### Dates

 1. Pre Expired Posts. Choose a custom date field ( in “Ymd” format ) that returns 
    an expiration date. Only non-expired posts will show.
 2. Expired Posts. Choose a custom date field ( in “Ymd” format ) that returns an expiration
    date. Only expired posts will show.
 3. Start and end dates. Choose 2 custom date fields ( in “Ymd” format ) that return
    a start and end date. Only posts within between these 2 dates will show.
 4. Query by the time.

#### Related Posts

 1. Dynamic Related Posts. Show posts that are dynamically hand picked by a relationship
    or post object field.
 2. Dynamic Related Terms. Show posts that are dynamically hand picked by a taxonomy
    field.
 3. Custom Field is Current Post ID. Show posts that contain a custom field that is
    equal to the current post.

#### Similar Field Values

 1. Custom Field is Value. Show posts that contain a custom field with a similar value.
 2. Custom Field Contains Value. Show posts that contain a custom field with one of
    many values.

#### Order By

 1. Dynamic OrderBy. Dynamically order the posts by a custom field.
 2. OrderBy Last Modified. Order posts by last modified date.

### Useful Links

Appreciate what we’re doing? Want to stay updated with new features? Give us a like
and follow us on our facebook page:
 [DynamiApps Facebook page](https://www.facebook.com/dynamiapps/)

Check out our website:
 [DynamiApps website](https://www.dynamiapps.com/)

Check out Elementor Pro. We highly recommend pro for anyone who is looking to get
more out of WordPress and Elementor:
 [Elementor Pro](https://elementor.com/pricing/)

## 安装

 1. Make sure both Elementor and Elementor Pro are installed and activated. This plugin
    will not do anything without both of them.
 2. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 3. Activate the plugin through the ‘Plugins’ screen in WordPress
 4. Jump into the Elementor editor and start quering your posts dynamically

## 评价

![](https://secure.gravatar.com/avatar/0eb3678490fe7875752a78202d455dc9c103aebfea4a3ba3ae1d81e676161bd9?
s=60&d=retro&r=g)

### 󠀁[Excellent add-on for Elementor and ACF](https://wordpress.org/support/topic/excellent-add-on-for-elementor-and-acf/)󠁿

 [paramonaff](https://profiles.wordpress.org/paramonaff/) 2026 年 1 月 27 日 1 回复

Thanks!

![](https://secure.gravatar.com/avatar/e4690b0eb37b5ecef45d8885aae5f94eac83173d984e2d70ea7229875285376d?
s=60&d=retro&r=g)

### 󠀁[Display post based on current logged in user](https://wordpress.org/support/topic/display-post-based-on-current-logged-in-user/)󠁿

 [pixelplane](https://profiles.wordpress.org/pixelplane/) 2025 年 5 月 19 日

Display post based on current logged in user. This plugin did exactly this and saved
my life!

![](https://secure.gravatar.com/avatar/07086cce83252407ac759e7f69153a86f915f5a8b56f95513cf4dcbe58b4e3d3?
s=60&d=retro&r=g)

### 󠀁[Essential for Elementor/ACF Post Queries! What a life saver!](https://wordpress.org/support/topic/essential-for-elementor-acf-post-queries-what-a-life-saver/)󠁿

 [svenkils](https://profiles.wordpress.org/svenkils/) 2025 年 2 月 25 日 1 回复

Thank you, Shabti Kaplan, for creating this masterpiece! The Advanced Queries plugin
has been an absolute lifesaver, seamlessly integrating dynamic content and custom
queries into my Elementor Pro projects. It’s significantly enhanced my workflow,
and I’m deeply grateful for this invaluable tool. I eagerly anticipate future updates.*****

![](https://secure.gravatar.com/avatar/8a200486092f5df75f9a0d5228251efa27ea5104ecc97273c50cab93a07a2a2c?
s=60&d=retro&r=g)

### 󠀁[Perfect, thanks!](https://wordpress.org/support/topic/perfect-thanks-38/)󠁿

 [JohnnieGR](https://profiles.wordpress.org/johnniegr/) 2025 年 2 月 14 日

Perfect, thanks!

![](https://secure.gravatar.com/avatar/6fbd3d53ef230156e97b06646a6c6cf86f047a302644612fe4dfaa6983082a49?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9360/)󠁿

 [xamhanegraaf](https://profiles.wordpress.org/xamhanegraaf/) 2024 年 8 月 29 日

Works great!

![](https://secure.gravatar.com/avatar/90e2e8f55ab42ccdb5b64eb5ee977a466476e6be4ad523beb8d1a1d36dc95a8d?
s=60&d=retro&r=g)

### 󠀁[great pugin!](https://wordpress.org/support/topic/great-pugin-22/)󠁿

 [gillyd](https://profiles.wordpress.org/gillyd/) 2023 年 12 月 28 日

A real life saver!!

 [ 阅读所有40条评价 ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/)

## 贡献者及开发者

「Advanced Queries」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Shabti Kaplan ](https://profiles.wordpress.org/shabti/)

「Advanced Queries」插件已被翻译至 3 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/advanced-post-queries/contributors)
为本插件所做的贡献。

[帮助将「Advanced Queries」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-post-queries)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/advanced-post-queries/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/advanced-post-queries/)，或通过[RSS](https://plugins.trac.wordpress.org/log/advanced-post-queries/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/advanced-post-queries/)。

## 更新日志

#### 1.1.4

 * Release Date – January 05, 2025
 * Bumped Tested WordPress Version
 * Post Custom Field Contains now supports ACF relationship field

#### 1.1.3

 * Release Date – March 21, 2024
 * Bumped Tested WordPress version
 * Changed module folder name to “queries”

#### 1.1.1

 * Release Date – April 17, 2023*
 * Added support for the new loop carousel widget from Elementor

#### 1.1.0

 * Release Date – November 21, 2022*
 * Added support for the new loop grid widget from Elementor

#### 1.0.16

 * Release Date – September 15, 2022*
 * Fixed Post is in Current Post Custom Field option not working properly

#### 1.0.15

 * Release Date – June 24, 2020*
 * Fixed error for in last update

#### 1.0.14

 * Release Date – June 22, 2020*
 * Added option to query by posts that share the same terms

#### 1.0.12

_Release Date – May 26, 2020_

 * Fixed the Custom Field Value options

#### 1.0.10

_Release Date – May 03, 2020_

 * Fixed “Post author is Archive author” query

#### 1.0.9

_Release Date – March 13, 2020_

 * Fixed – Fixed Start and End Date options. IMPORTANT! For simplicity’s sake, we
   seperated the start and end dates option into two. So if you had a dynamic date
   range using this option, select “start date” and “end date” after updating.
 * New – Added order by comment count option
 * Tweak – Added better support for integration with custom query ids
 * Coming soon: User list widget

#### 1.0.8

_Release Date – March 12, 2020_

 * New – Added an option to include or exclude current date/time from dynamic date
   range
 * New – Added extra support for multi valued field. Unfortunately, chackboxes are
   still not supported
 * Tweak – Fixed the labels a bit so that the query options are more clear

#### 1.0.7

_Release Date – February 16, 2020_

 * Fix – Fixed the related posts option to show no posts when this option is selcted
   and no field name or posts have been selected yet.

#### 1.0.6

_Release Date – February 12, 2020_

 * New – Added an option to query by the time.
 * New – Added an option to query posts if a custom field equals current user’s 
   email or username.
 * New – Added support for Elementor Extras posts extra widget.

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**1 年前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.0.0 或更高版本 **
 *  语言
 * [Dutch](https://nl.wordpress.org/plugins/advanced-post-queries/) 、 [English (US)](https://wordpress.org/plugins/advanced-post-queries/)、
   [French (France)](https://fr.wordpress.org/plugins/advanced-post-queries/) 和
   [Italian](https://it.wordpress.org/plugins/advanced-post-queries/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/advanced-post-queries)
 * 标签
 * [advanced queries](https://cn.wordpress.org/plugins/tags/advanced-queries/)[elementor](https://cn.wordpress.org/plugins/tags/elementor/)
   [listings](https://cn.wordpress.org/plugins/tags/listings/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [queries](https://cn.wordpress.org/plugins/tags/queries/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-post-queries/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  38 条 5 星评价     ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/advanced-post-queries/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/advanced-post-queries/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/advanced-post-queries/reviews/)

## 贡献者

 *   [ Shabti Kaplan ](https://profiles.wordpress.org/shabti/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-post-queries/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/KaplanWebDev)