Advanced Post Queries

Mô tả

An Elementor 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 and portfolio widgets so Elementor 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 and portfolio 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

Cài đặt

  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

Đánh giá

22 Tháng Tư, 2021
If you're using elementor and you have a good understanding of how DBs and taxonomies work, you'll be thinking of ways to do more than elementor can currently do, in the way of querying posts. That's where you need php skills to write custom queries, and if you don't have that you have two options: 1. Live with it. 2. Install ithis extension. I chose 2, and am very glad I did. Let's be clear, it's not as powerful as being able to write your own queries, but it offers way more options than vanilla elementor.
21 Tháng Ba, 2021
My website has several custom post types. Registered users can create posts for these post types. I was looking for a way to show all the posts created per user on a single page regardless of the post type. I found no way to do this. In the author archive, using the Post widget in elementor only shows all posts of a post type, not posts of a post type by the current author. Then I watched a WPTuts tutorial on how to use Shabti's Advanced Post Queries and within a few minutes, my problem was solved. Shabti, you are a life saver! Please do not stop developing or maintaining this plugin because many of us depend on it for critical applications. I am grateful to you and wish you all the very best in life. Shalom!
12 Tháng Ba, 2021
WOW! This was the exact plugin I've been looking for for quite a while now! Essential if you want to create an archive of posts in the past and upcoming events in the future!!
Đọc tất cả 20 đánh giá

Người đóng góp & Lập trình viên

“Advanced Post Queries” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Advanced Post Queries” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Advanced Post Queries” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi


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.