{"id":59147,"date":"2025-06-29T11:30:22","date_gmt":"2025-06-29T08:30:22","guid":{"rendered":"https:\/\/elementor.com\/help\/?p=59147"},"modified":"2026-02-01T14:59:14","modified_gmt":"2026-02-01T12:59:14","slug":"create-queries","status":"publish","type":"post","link":"https:\/\/elementor.com\/help\/create-queries\/","title":{"rendered":"Create queries"},"content":{"rendered":"\n<p>Queries are requests for information from the website\u2019s database. Queries are often generated by specific visitor requests, such as \u201cShow me all the posts related to European travel\u201d. There are several elements that allow you to use queries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common use cases<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A loop grid that displays certain categories of products<\/li>\n\n\n\n<li>An archive page that displays posts by date<\/li>\n\n\n\n<li>An archive page that displays posts according to category<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Add a query<\/h2>\n\n\n\n<p><strong>To create a query<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <strong>Content<\/strong> tab of a widget that contains queries.<br><img fetchpriority=\"high\" decoding=\"async\" width=\"280\" height=\"397\" class=\"wp-image-59149\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png 608w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21-212x300.png 212w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><br>This opens the options in the panel.<\/li>\n\n\n\n<li>Under Layout, choose a <strong>template type<\/strong>.<br>[callout type=&#8221;note&#8221;]Template type options will differ depending on whether or not you have WooCommerce installed.[\/callout]<\/li>\n<\/ol>\n\n\n\n<p>If your site includes a WooCommerce widget, the template types available are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Posts<\/strong>: Display data based on your site\u2019s posts.<\/li>\n\n\n\n<li><strong>Products: <\/strong>Display data based on your site\u2019s products.<\/li>\n\n\n\n<li><strong>Post taxonomy<\/strong>: Display data based on your site\u2019s categories, tags and types.<\/li>\n\n\n\n<li><strong>Product taxonomy<\/strong>:<strong> <\/strong>Display data based on your site\u2019s product categories, tags and brands.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Post queries<br><img decoding=\"async\" width=\"280\" height=\"397\" class=\"wp-image-59150\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-22.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-22.png 608w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-22-212x300.png 212w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the <strong>Query<\/strong> field.<br><img decoding=\"async\" width=\"280\" height=\"410\" class=\"wp-image-59151\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-23.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-23.png 592w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-23-205x300.png 205w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Use the dropdown menu to determine the source of your query.<br>The source is what determines what kind of data the query will display. For example, if you want your query to display all your products in the category of pants, you\u2019ll select Products as your source. Sources available are:\n<ul class=\"wp-block-list\">\n<li><strong>Posts<\/strong>: A posts query will display blog posts and other information created as a post, not including products. For details, see <a href=\"https:\/\/elementor.com\/help\/difference-between-post-page-in-wordpress\/\">What are pages and posts<\/a>.<\/li>\n\n\n\n<li><strong>Pages<\/strong>: A pages query will display pages from your site.<\/li>\n\n\n\n<li><strong>Products<\/strong>: A products query will display your site\u2019s products. This option will only appear if you have WooCommerce installed on your site.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: A manual selection query allows you to display pages, posts and products that you select.<\/li>\n\n\n\n<li><strong>Current Query<\/strong>: A current query allows you to filter the results of an existing query and is used for archive pages. For instance, if a query displays all the pants sold by the store, a current query can display all the red pants.&nbsp;<\/li>\n\n\n\n<li><strong>Related<\/strong>: Shows items in the same taxonomy (such as the same category or the same tag). For example, if you have a single post template with a loop grid showing related posts, a post in the news category would display other news posts. When using a <strong>Related<\/strong> query, you often want to add an exclude option to exclude the current post.&nbsp;&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Select whether your Query will <strong>Include<\/strong> data or <strong>Exclude<\/strong> data. For instance, you could include only products that are on sale.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"131\" class=\"wp-image-59154\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude-.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude-.png 610w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude--300x141.png 300w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Make your selection by clicking the relevant tab.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Using pages, Posts, Products, or Related as a source<\/strong><\/h4>\n\n\n\n<p>When you query for posts you can include or exclude posts by:<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"231\" class=\"wp-image-59155\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-24.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-24.png 610w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-24-300x248.png 300w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Terms<\/strong>: Include posts by:\n<ul class=\"wp-block-list\">\n<li><strong>Categories<\/strong><\/li>\n\n\n\n<li><strong>Tags<\/strong><\/li>\n\n\n\n<li><strong>Formats<\/strong><\/li>\n\n\n\n<li><strong>Custom taxonomies<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Author<\/strong>: Include items by author name.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>[callout type=&#8221;note&#8221;]You can include multiple variables in a query. For example, all posts in the category of <strong>Fashion<\/strong>, that are tagged <strong>Modern<\/strong>.&nbsp;[\/callout]&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"496\" class=\"wp-image-59156\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-25.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-25.png 604w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-25-169x300.png 169w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-25-578x1024.png 578w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/p>\n\n\n\n<p>After adding these variables you need to define the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Filter displayed posts by when they were created. Options include:\n<ul class=\"wp-block-list\">\n<li><strong>Past day<\/strong><\/li>\n\n\n\n<li><strong>Past week<\/strong><\/li>\n\n\n\n<li><strong>Past month<\/strong><\/li>\n\n\n\n<li><strong>Past quarter<\/strong><\/li>\n\n\n\n<li><strong>Past Year<\/strong><\/li>\n\n\n\n<li><strong>Custom<\/strong>: Allow you to input a date range.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order by<\/strong>: While posts are commonly arranged by date, with the oldest or newest showing up first, there are several ordering options:\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Newest to oldest or vice versa<\/li>\n\n\n\n<li><strong>Title<\/strong>: Display alphabetically by the blog title.<\/li>\n\n\n\n<li><strong>Menu order<\/strong>: Posts are shown in the same sequence as they appear in the site&#8217;s navigation menu<strong>.<\/strong><\/li>\n\n\n\n<li><strong>Last modified<\/strong>: The most recently changed post to the earliest changed post or vice versa.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Comment count<\/strong>: The post with the most&nbsp; to the post with the fewest comments or vice versa.&nbsp;<\/li>\n\n\n\n<li><strong>Random<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order posts by date in ascending order, the oldest post will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order posts by Title, the post that comes last alphabetically will be shown first.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ignore Sticky Posts<\/strong>: When creating posts you have the option of making some posts \u201csticky\u201d so they are always displayed. This setting gives you the option to display or hide these posts.&nbsp;<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to modify the main query and add more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Exclude by options<\/h4>\n\n\n\n<p>If you are excluding posts, you have several more options:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can choose to exclude the <strong>Current post<\/strong> or use <strong>Manual Selection<\/strong> to choose posts to exclude.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Avoid duplicates<\/strong>: If a post fits several criteria it can show up more than once in your query. Toggle to <strong>Yes<\/strong> to avoid this.<\/li>\n\n\n\n<li><strong>Offset<\/strong>: Allows you to designate a number of posts to skip over.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Using Manual Selection as a source<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"377\" class=\"wp-image-59157\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-26.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-26.png 278w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-26-223x300.png 223w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Search &amp; Select<\/strong>: Enter the name of individual pages, posts and\/or products that the query will display.<\/li>\n\n\n\n<li><strong>Order by<\/strong>: While posts are commonly arranged by date, with the oldest or newest showing up first, there are several ordering options:\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Newest to oldest or vice versa<\/li>\n\n\n\n<li><strong>Title<\/strong>: Display alphabetically by the blog title.<\/li>\n\n\n\n<li><strong>Menu order<\/strong>: Posts are shown in the same sequence as they appear in the site&#8217;s navigation menu<strong>.<\/strong><\/li>\n\n\n\n<li><strong>Last modified<\/strong>: The most recently changed post to the earliest changed post or vice versa.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Comment count<\/strong>: The post with the most&nbsp; to the post with the fewest comments or vice versa.&nbsp;<\/li>\n\n\n\n<li><strong>Random<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order posts by date in ascending order, the oldest post will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order posts by Title, the post that comes last alphabetically will be shown first.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to assign a unique number to the query so you can use it for more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Example of creating a posts query<\/h4>\n\n\n\n<p>In the example below, we\u2019ll create a loop grid that contains all posts in the category of <strong>Fashion<\/strong>, except for those with the tag of <strong>Green info<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First we\u2019ll create a loop grid. For details, see <a href=\"https:\/\/elementor.com\/help\/how-do-i-build-a-loop-grid\/\">Build a loop grid<\/a>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"423\" class=\"wp-image-59158\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-27.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-27.png 1435w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-27-300x187.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-27-1024x637.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-27-768x478.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In <strong>Layout<\/strong>, make sure the template type is set to <strong>Posts<\/strong>.<\/li>\n\n\n\n<li>Open the <strong>Query<\/strong> section.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"422\" class=\"wp-image-59159\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-28.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-28.png 1435w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-28-300x186.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-28-1024x636.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-28-768x477.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><br>The Source should be <strong>Posts<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"422\" class=\"wp-image-59160\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image.gif\" alt=\"\"><\/li>\n\n\n\n<li>Select Include by <strong>Fashion<\/strong> (blogs in the Fashion category).<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"425\" class=\"wp-image-59161\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-29.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-29.png 1432w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-29-300x187.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-29-1024x639.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-29-768x479.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Click the <strong>Exclude<\/strong> by tab.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"425\" class=\"wp-image-59162\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-30.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-30.png 1432w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-30-300x187.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-30-1024x639.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-30-768x479.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Select Exclude by <strong>Green info<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"424\" class=\"wp-image-59163\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-1.gif\" alt=\"\"><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Product queries<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Layout<\/strong> section, in the <strong>Source<\/strong> field, select <strong>Products<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"390\" class=\"wp-image-59165\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-31.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-31.png 261w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-31-215x300.png 215w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><br>[callout type=&#8221;note&#8221;]You must have WooCommerce installed to use product queries.[\/callout]<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"437\" class=\"wp-image-59166\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-32.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-32.png 276w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-32-192x300.png 192w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Use the dropdown menu to determine the source of your query.<br>The source is what determines what kind of data the query will display. For example, if you want your query to display all your products in the category of pants, you\u2019ll select Products as your source. Sources available for products are:\n<ul class=\"wp-block-list\">\n<li><strong>Current Query<\/strong>: A current query allows you to filter the results of an existing query and is used for archive pages. For instance, if a query displays all the pants sold by the store, a current query can display all the red pants.&nbsp;<\/li>\n\n\n\n<li><strong>Latest Products<\/strong>: Displays the products most recently added to WooCommerce.<\/li>\n\n\n\n<li><strong>Sale<\/strong>: Displays products marked with a sale price in WooCommerce.<\/li>\n\n\n\n<li><strong>Featured<\/strong>: Displays products marked as featured in WooCommerce.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: A manual selection query allows you to display pages, posts and products that you select.<\/li>\n\n\n\n<li><strong>Related Products<\/strong>: Shows products in the same taxonomy (such as the same category or the same tag). For example, if you have a single product template with a loop grid showing related products, a product in the pants category would display other pants posts. When using a <strong>Related Products<\/strong> query, you often want to add an exclude option to exclude the current product.<\/li>\n\n\n\n<li><strong>Upsells<\/strong>: Shows products that are linked as upsells in WooCommerce. An upsell is a product you recommend to visitors as a higher-end alternative to the product they&#8217;re currently viewing or considering purchasing. You mark upsells in the <strong>Linked Products<\/strong> tab of the product page.&nbsp;<\/li>\n\n\n\n<li><strong>Cross-Sells<\/strong>: Shows products that are linked as cross-sells in WooCommerce. A crossell is a product that complements the product a visitor is viewing or considering purchasing. For example, batteries can be a cross-sell with an electric toy. You mark cross-sells in the <strong>Linked Products<\/strong> tab of the product page.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Select whether your Query will <strong>Include<\/strong> data or <strong>Exclude<\/strong> data. For instance, you could include only products that are on sale.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"131\" class=\"wp-image-59154\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude-.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude-.png 610w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/Choose-include-Exclude--300x141.png 300w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Make your selection by clicking the relevant tab.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Using Latest Products, Sale, Featured, as a source<\/strong><\/h4>\n\n\n\n<p>When you query for products you can include or exclude products by:<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"250\" class=\"wp-image-59169\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-33.png\" alt=\"\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Terms<\/strong>: Include products by:\n<ul class=\"wp-block-list\">\n<li><strong>Categories<\/strong><\/li>\n\n\n\n<li><strong>Tags<\/strong><\/li>\n\n\n\n<li><strong>Formats<\/strong><\/li>\n\n\n\n<li><strong>Custom taxonomies<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Author<\/strong>: Include items by author name.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>[callout type-&#8220;note&#8221;]You can include multiple variables in a query. For example, all posts in the category of <strong>Fancy<\/strong>, that are tagged <strong>Home<\/strong>.[\/callout]<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"445\" class=\"wp-image-59170\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-34.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-34.png 275w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-34-189x300.png 189w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/>&nbsp;&nbsp;<\/p>\n\n\n\n<p>After adding these variables you need to define the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Author<\/strong>: Filter by the author &#8211; the person who added the product.&nbsp;<\/li>\n\n\n\n<li><strong>Order by<\/strong>: There are several ordering options:\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Newest to oldest or vice versa<\/li>\n\n\n\n<li><strong>Title<\/strong>: Display alphabetically by the blog title.<\/li>\n\n\n\n<li><strong>Price<\/strong>: Order products by how much they cost<\/li>\n\n\n\n<li><strong>Popularity<\/strong>: Order products by how many have been sold.&nbsp;<\/li>\n\n\n\n<li><strong>Rating<\/strong>: Order products by how customers have ranked them.<\/li>\n\n\n\n<li><strong>Random<\/strong><\/li>\n\n\n\n<li><strong>Menu order<\/strong>: Products are shown in the same sequence as they appear in the site&#8217;s navigation menu<strong>.<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Exclude by options<\/h4>\n\n\n\n<p>If you are excluding posts, you have several more options:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Manual Selection<\/strong>: You can choose to exclude a specific product by using <strong>Manual Selection<\/strong> to choose Products to exclude.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Search &amp; Select<\/strong>: If a post fits several criteria it can show up more than once in your query. Toggle to <strong>Yes<\/strong> to avoid this.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Using Manual Selection as a source<br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"532\" class=\"wp-image-59171\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-35.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-35.png 271w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-35-158x300.png 158w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Search &amp; Select<\/strong>: Enter the name of individual pages, posts and\/or products that the query will display.<\/li>\n\n\n\n<li><strong>Terms<\/strong>: Include posts by:\n<ul class=\"wp-block-list\">\n<li><strong>Categories<\/strong><\/li>\n\n\n\n<li><strong>Tags<\/strong><\/li>\n\n\n\n<li><strong>Formats<\/strong><\/li>\n\n\n\n<li><strong>Custom taxonomies<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Author<\/strong>: Include items by author name.&nbsp;<\/li>\n\n\n\n<li><strong>Order by<\/strong>: There are several ordering options:\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Newest to oldest or vice versa<\/li>\n\n\n\n<li><strong>Title<\/strong>: Display alphabetically by the blog title.<\/li>\n\n\n\n<li><strong>Price<\/strong>: Order products by how much they cost<\/li>\n\n\n\n<li><strong>Popularity<\/strong>: Order products by how many have been sold.&nbsp;<\/li>\n\n\n\n<li><strong>Rating<\/strong>: Order products by how customers have ranked them.<\/li>\n\n\n\n<li><strong>Random<\/strong><\/li>\n\n\n\n<li><strong>Menu order<\/strong>: Products are shown in the same sequence as they appear in the site&#8217;s navigation menu<strong>.<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Using Related Products, Upsells and Cross-Sells as a source<\/strong><\/h4>\n\n\n\n<p>Querying by Related Products, Upsells and Cross-Sells are used when creating a Single Product template. For example, when creating a single template, you can include cross-sell products as part of the template.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"287\" class=\"wp-image-59172\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-36.png\" alt=\"\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Source<\/strong>: Change the type of query.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Order by<\/strong>: There are several ordering options:\n<ul class=\"wp-block-list\">\n<li><strong>Date<\/strong>: Newest to oldest or vice versa<\/li>\n\n\n\n<li><strong>Title<\/strong>: Display alphabetically by the blog title.<\/li>\n\n\n\n<li><strong>Price<\/strong>: Order products by how much they cost<\/li>\n\n\n\n<li><strong>Popularity<\/strong>: Order products by how many have been sold.&nbsp;<\/li>\n\n\n\n<li><strong>Rating<\/strong>: Order products by how customers have ranked them.<\/li>\n\n\n\n<li><strong>Random<\/strong><\/li>\n\n\n\n<li><strong>Menu order<\/strong>: Products are shown in the same sequence as they appear in the site&#8217;s navigation menu<strong>.<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Order<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Example of creating a product query<\/h4>\n\n\n\n<p>In this example, we\u2019ll have a loop grid display products in the <strong>Eco<\/strong> category, ordered alphabetically.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the loop grid. For details, see <a href=\"https:\/\/elementor.com\/help\/how-do-i-build-a-loop-grid\/\">Build a loop grid<\/a>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"371\" class=\"wp-image-59173\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-37.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-37.png 277w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-37-226x300.png 226w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>In the <strong>Layout<\/strong>, use the dropdown menu to display <strong>Products<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"594\" class=\"wp-image-59174\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-38.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-38.png 276w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-38-141x300.png 141w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Open the <strong>Query<\/strong> section.<\/li>\n\n\n\n<li>Leave the <strong>Source<\/strong> as <strong>Latest Products<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"382\" class=\"wp-image-59175\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-39.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-39.png 279w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-39-220x300.png 220w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>In the <strong>Include by<\/strong> field, select <strong>Term<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"422\" class=\"wp-image-59176\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-40.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-40.png 1426w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-40-300x186.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-40-1024x636.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-40-768x477.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In the Term field, enter <strong>Eco<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"422\" class=\"wp-image-59177\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-41.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-41.png 1426w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-41-300x186.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-41-1024x636.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-41-768x477.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In the <strong>Order By<\/strong> field, select <strong>Title<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"429\" class=\"wp-image-59178\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-42.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-42.png 1404w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-42-300x189.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-42-1024x645.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-42-768x484.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In the <strong>Order<\/strong> field, select <strong>ASC<\/strong>.<br>Your query is done.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Create Post Taxonomy Queries<\/h3>\n\n\n\n<p>Post and Product taxonomy queries allow you to create elements that contain lists of categories and tags.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Layout<\/strong> field, select <strong>Post Taxonomy<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"272\" class=\"wp-image-59180\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-43.png\" alt=\"\"><br>[callout type=&#8221;note&#8221;]You must have WooCommerce installed to select Product Taxonomy.[\/callout]<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"305\" class=\"wp-image-59181\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-44.png\" alt=\"\"><\/li>\n\n\n\n<li>Open the <strong>Query<\/strong> section.<\/li>\n\n\n\n<li>In the <strong>Source<\/strong> field, select:\n<ol class=\"wp-block-list\">\n<li><strong>Categories<\/strong>: Displays the Post categories.<\/li>\n\n\n\n<li><strong>Tags<\/strong>: Displays the Post tags.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Category filter<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Filter<\/strong> field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Show All<\/strong>: Show all the categories.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: Lets you choose the categories.&nbsp;<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order by<\/strong> filter, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Name<\/strong><\/li>\n\n\n\n<li><strong>ID<\/strong><\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order <\/strong>field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Toggle <strong>Hide Empty<\/strong> to <strong>Yes<\/strong> if you don\u2019t want categories with no content to appear.<\/li>\n\n\n\n<li>In WordPress, you can create categories, subcategories, subsubcategories etc. <strong>Filter by depth<\/strong> allows you to determine how many sublevels your query will display.&nbsp;&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to assign a unique number to the query so you can use it for more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Tag filter<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use the tabs to either <strong>Include<\/strong> or <strong>Exclude<\/strong> post tags.<\/li>\n\n\n\n<li>In the <strong>Include by<\/strong> field, choose which tags you want to display.\n<ol class=\"wp-block-list\">\n<li><strong>Show All<\/strong>: Show all the categories.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: Lets you choose the categories.&nbsp;<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order by<\/strong> filter, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Name<\/strong><\/li>\n\n\n\n<li><strong>ID<\/strong><\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order<\/strong> field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Toggle <strong>Hide Empty<\/strong> to <strong>Yes<\/strong> if you don\u2019t want categories with no content to appear.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to assign a unique number to the query so you can use it for more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ol>\n\n\n\n<p>If you choose to exclude items, the following options will appear:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Search &amp; Select<\/strong>: Enter the name of individual tags, that the query will display.<\/li>\n\n\n\n<li><strong>Avoid Duplicates<\/strong>: If a tag fits several criteria it can show up more than once in your query. Toggle to <strong>Yes<\/strong> to avoid this.<\/li>\n\n\n\n<li><strong>Skip Taxonomy<\/strong>: Enter a number and that number of taxonomies will not be listed.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Create Product Taxonomy Queries<\/h3>\n\n\n\n<p>Post and Product taxonomy queries allow you to create elements that contain lists of categories and tags.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Layout<\/strong> field, select <strong>Product Taxonomy<\/strong>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"123\" class=\"wp-image-59183\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-45.png\" alt=\"\"><br>[callout type=&#8221;note&#8221;]You must have WooCommerce installed to select Product Taxonomy.[\/callout]<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"305\" class=\"wp-image-59184\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-46.png\" alt=\"\"><\/li>\n\n\n\n<li>Open the <strong>Query<\/strong> section.<\/li>\n\n\n\n<li>In the <strong>Source<\/strong> field, select:\n<ol class=\"wp-block-list\">\n<li><strong>Brand<\/strong> (for Product taxonomies): Displays the brands available from your site.<\/li>\n\n\n\n<li><strong>Product categories<\/strong> (for Product taxonomies): Displays your site\u2019s product categories.<\/li>\n\n\n\n<li><strong>Product tags<\/strong> (for Product taxonomies): Displays your site\u2019s product tags.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Product Category and Brands filter<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Filter<\/strong> field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Show All<\/strong>: Show all the categories.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: Lets you choose the categories.&nbsp;<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order by<\/strong> filter, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Name<\/strong><\/li>\n\n\n\n<li><strong>ID<\/strong><\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order <\/strong>field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Toggle <strong>Hide Empty<\/strong> to <strong>Yes<\/strong> if you don\u2019t want categories with no content to appear.<\/li>\n\n\n\n<li>In WordPress, you can create categories, subcategories, subsubcategories etc. <strong>Filter by depth<\/strong> allows you to determine how many sublevels your query will display.&nbsp;&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to assign a unique number to the query so you can use it for more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Tag filter<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use the tabs to either <strong>Include<\/strong> or <strong>Exclude<\/strong> post tags.<\/li>\n\n\n\n<li>In the <strong>Include by<\/strong> field, choose which tags you want to display.\n<ol class=\"wp-block-list\">\n<li><strong>Show All<\/strong>: Show all the categories.<\/li>\n\n\n\n<li><strong>Manual Selection<\/strong>: Lets you choose the categories.&nbsp;<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order by<\/strong> filter, choose:\n<ol class=\"wp-block-list\">\n<li><strong>Name<\/strong><\/li>\n\n\n\n<li><strong>ID<\/strong><\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>In the <strong>Order<\/strong> field, choose:\n<ol class=\"wp-block-list\">\n<li><strong>ASC<\/strong>: From the lowest value to the highest value. For example, if you choose to order products by price in ascending order, the least expensive products will appear first.<\/li>\n\n\n\n<li><strong>DESC<\/strong>: From the highest value to the lowest value. For example, if you choose to order products by popularity, the most popular products will appear first.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Toggle <strong>Hide Empty<\/strong> to <strong>Yes<\/strong> if you don\u2019t want categories with no content to appear.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>Query ID<\/strong>: Allows you to assign a unique number to the query so you can use it for more advanced filtering. For details about constructing advanced queries, see <a href=\"https:\/\/developers.elementor.com\/docs\/hooks\/custom-query-filter\/\">Custom Query Filter<\/a>.<\/li>\n<\/ol>\n\n\n\n<p>If you choose to exclude items, the following options will appear:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Search &amp; Select<\/strong>: Enter the name of individual tags, that the query will display.<\/li>\n\n\n\n<li><strong>Avoid Duplicates<\/strong>: If a tag fits several criteria it can show up more than once in your query. Toggle to <strong>Yes<\/strong> to avoid this.<\/li>\n\n\n\n<li><strong>Skip Taxonomy<\/strong>: Enter a number and that number of taxonomies will not be listed.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example of a taxonomy query<\/h3>\n\n\n\n<p>For an example of a taxonomy query, see <a href=\"https:\/\/elementor.com\/help\/create-a-category-page-using-the-loop-grid-or-loop-carousel\/\">Create a category page using the Loop Grid or Loop Carousel<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Queries are requests for information from the website\u2019s database. Queries are often generated by specific visitor requests, such as \u201cShow me all the posts related to European travel\u201d. There are several elements that allow you to use queries. Common use cases Add a query To create a query: If your site includes a WooCommerce widget, [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_elementor_kustomer_id":[],"footnotes":""},"categories":[1440],"tags":[],"class_list":["post-59147","post","type-post","status-publish","format-standard","hentry","category-advanced-functionality"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create queries | Elementor<\/title>\n<meta name=\"description\" content=\"Learn everything about Create queries in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/help\/create-queries\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create queries | Elementor\" \/>\n<meta property=\"og:description\" content=\"Learn everything about Create queries in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/help\/create-queries\/\" \/>\n<meta property=\"og:site_name\" content=\"Help\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-29T08:30:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-01T12:59:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\" \/>\n\t<meta property=\"og:image:width\" content=\"608\" \/>\n\t<meta property=\"og:image:height\" content=\"862\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Cliff Churgin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cliff Churgin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"20 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/\"},\"author\":{\"name\":\"Cliff Churgin\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3\"},\"headline\":\"Create queries\",\"datePublished\":\"2025-06-29T08:30:22+00:00\",\"dateModified\":\"2026-02-01T12:59:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/\"},\"wordCount\":3088,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\",\"articleSection\":[\"Advanced functionality\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/\",\"url\":\"https:\/\/elementor.com\/help\/create-queries\/\",\"name\":\"Create queries | Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\",\"datePublished\":\"2025-06-29T08:30:22+00:00\",\"dateModified\":\"2026-02-01T12:59:14+00:00\",\"description\":\"Learn everything about Create queries in this article from Elementor's Knowledge Base. Get Elementor tips & more.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/help\/create-queries\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png\",\"width\":608,\"height\":862},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/help\/create-queries\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help Center\",\"item\":\"https:\/\/elementor.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor Editor\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Widgets\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Advanced functionality\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/advanced-functionality\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create queries\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/help\/#website\",\"url\":\"https:\/\/elementor.com\/help\/\",\"name\":\"Elementor\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/help\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3\",\"name\":\"Cliff Churgin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g\",\"caption\":\"Cliff Churgin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create queries | Elementor","description":"Learn everything about Create queries in this article from Elementor's Knowledge Base. Get Elementor tips & more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/help\/create-queries\/","og_locale":"en_US","og_type":"article","og_title":"Create queries | Elementor","og_description":"Learn everything about Create queries in this article from Elementor's Knowledge Base. Get Elementor tips & more.","og_url":"https:\/\/elementor.com\/help\/create-queries\/","og_site_name":"Help","article_published_time":"2025-06-29T08:30:22+00:00","article_modified_time":"2026-02-01T12:59:14+00:00","og_image":[{"width":608,"height":862,"url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png","type":"image\/png"}],"author":"Cliff Churgin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Cliff Churgin","Est. reading time":"20 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/help\/create-queries\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/help\/create-queries\/"},"author":{"name":"Cliff Churgin","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3"},"headline":"Create queries","datePublished":"2025-06-29T08:30:22+00:00","dateModified":"2026-02-01T12:59:14+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/help\/create-queries\/"},"wordCount":3088,"publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"image":{"@id":"https:\/\/elementor.com\/help\/create-queries\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png","articleSection":["Advanced functionality"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/help\/create-queries\/","url":"https:\/\/elementor.com\/help\/create-queries\/","name":"Create queries | Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/help\/create-queries\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/help\/create-queries\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png","datePublished":"2025-06-29T08:30:22+00:00","dateModified":"2026-02-01T12:59:14+00:00","description":"Learn everything about Create queries in this article from Elementor's Knowledge Base. Get Elementor tips & more.","breadcrumb":{"@id":"https:\/\/elementor.com\/help\/create-queries\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/help\/create-queries\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/create-queries\/#primaryimage","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/image-21.png","width":608,"height":862},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/help\/create-queries\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help Center","item":"https:\/\/elementor.com\/help\/"},{"@type":"ListItem","position":2,"name":"Elementor Editor","item":"https:\/\/elementor.com\/help\/elementor-editor\/"},{"@type":"ListItem","position":3,"name":"Widgets","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/"},{"@type":"ListItem","position":4,"name":"Advanced functionality","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/advanced-functionality\/"},{"@type":"ListItem","position":5,"name":"Create queries"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/help\/#website","url":"https:\/\/elementor.com\/help\/","name":"Elementor","description":"","publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/help\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3","name":"Cliff Churgin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g","caption":"Cliff Churgin"}}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/59147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/comments?post=59147"}],"version-history":[{"count":13,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/59147\/revisions"}],"predecessor-version":[{"id":163172,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/59147\/revisions\/163172"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media?parent=59147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/categories?post=59147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/tags?post=59147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}