Advanced 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:


  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.


  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? Please give us a like on our facebook page:
Kaplan Web Development Facebook page

Check out our other plugin, which lets you give your clients the ability to update their posts from the frontend:
ACF Frontend for Elementor
ACF Frontend Pro for Elementor

Check out Elementor Pro. We highly recommend pro for anyone who is looking to get more out of WordPress and Elementor:
Elementor Pro


  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


6, Marzu de 2023 1 reply
I had a loop set up in Elementor to show events at a local cafe, using ACF to specify whether they were every Wednesday, weekends only, etc. Unfortunately in Elementor, even with a custom query, I couldn't split and order these the way I wanted to. One more ACF select field and Advanced Queries and it's working perfectly. I love that you can specify more than one keyword in the "Custom Field Value Is" setting.
15, Avientu de 2022 1 reply
After adding ACF to posts and setting up a loop grid in Elementor, I was disappointed to hear from the Elementor support that I could not order my listings based on the values in a custom field. This plugin came to the rescue - exactly what I needed right out of the box. I needed a bit of help from the developer - which I got in minutes - literally, minutes - and it is working perfectly. Cannot recommend highly enough!
24, Payares de 2022 1 reply
If you're trying to do things like taking the posts from an ACF relationship field and use those to populate a posts grid (which Elementor still can't handle at this point), this plugin is absolutely essential. After struggling with some custom functions.php code for an hour, this plugin allowed me to solve my problem in 30 seconds. This plugin will certainly find a home in my toolkit!
2, Abril de 2022 1 reply
I was using some custom code to order posts by a custom date field and it failed after a month. I still can't figure out why. This plugin just do it all within Elementor. It is literally a life saver! Thank you!
Read all 32 reviews

Contributors & Developers

“Advanced Queries” is open source software. The following people have contributed to this plugin.


“Advanced Queries” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Advanced Queries” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



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


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


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


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


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


Release Date – May 26, 2020

  • Fixed the Custom Field Value options


Release Date – May 03, 2020

  • Fixed “Post author is Archive author” query


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


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


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.


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.