🔥 Black Friday: Up to 50% Off All Plans
Days
Hrs
Min
Sec

Need Help?

Here are some good places you cant start.

Whats New?

Get updated about all the good stuff!

wordpress-black-friday-deals-2025
Unlimited Elements for Elementor – Version 2.0
Unlimited Elements for Elementor – Version 2.0

Advanced Post Query

Every Unlimited Elements widget that shows a list of posts, such as the Post Grid and the Loop Builder widgets, has a posts query section. In the Loop widgets it is called Items Posts Query. In this section, you choose which posts the widget shows and in which order.

The screenshots in this article are from the Loop Grid widget. Some settings show only after you choose a related option, for example a Posts Source or an Include By rule.

Posts Source

ue post query source

Post Types

Choose the post types to show, for example posts, pages, products or a custom post type. You can choose more than one post type. This setting is shown for Custom Posts.

Include By

ue post query include author meta

Include By adds rules that choose which posts to show. You can add more than one rule. Each rule shows its own settings:

ue post query include date

Include By Terms

ue post query terms

Exclude By

ue post query

Exclude By adds rules that remove posts from the list. Each rule shows its own settings:

Post Status, Max Posts and Order By

ue post query status order queryid

Query ID

Give your query a unique ID. Then you can change the query arguments in PHP with the WordPress add_filter() function, where the filter name is the Query ID. In this example, the Query ID is my_query_additions:

				
					//modify the arguments here. 
//widget data is an array with all widget settings
function modifyMyQuery($args, $widgetData){

	
	return($args);
}

add_filter("my_query_additions", "modifyMyQuery",10,2);

				
			

Query ID is a Pro feature. To learn more, see Work With Query ID in Posts Selection.

Show Query Debug

Shows the query on the page, so you can check it. In Debug Options, choose Basic or Full. Don’t forget to turn it off before you publish the page.

Manual Selection

ue post query manual

Current Query Posts

ue post query current
ue post query related

To learn more, see Related Posts.

Hurray!

You got FREE access to the worlds leading widgets for Elementor page builder!

Download is just a click away

Get instant access to tons of Elementor goodies, completely FREE!