The Query Loop block is used to display blog posts (or other content types such as pages, testimonials, or projects) on your website in different visual layouts. This guide will show you how to control which content is displayed in the Query Loop block.
In this guide
Have a question?
Ask our Support AssistantIn the Query Loop block settings, you can adjust which posts (or pages, projects, or other content types) are shown and in what order.
- In your site’s dashboard, navigate to Appearance → Editor.
- Select the template you want to edit, or click on the site preview to edit the homepage.
- Open List View and select the Query Loop block.
- View the block settings in the right sidebar. If you do not see the sidebar, you may need to click the Settings icon in the top-right corner to bring up the settings. This icon looks like a square with two uneven columns:

- Change the “Query Type” to “Custom” to start adjusting the way the posts are displayed.
- Note: If you have added the Query Loop to a regular page or post (and not a template), you will not see the toggle for Query Type. The following settings will appear by default.
- Choose from the following settings:
- Post type: Select the type of content to display, choosing from posts, pages, testimonials, or projects. Other types of content can be displayed here by plugins, such as products via WooCommerce, for example.
- Order by: Organize content by date or alphabetically.
- Sticky Posts: Choose what happens with sticky posts:
- Include: Sticky posts will be included in the list.
- Exclude: Sticky posts will not be shown in the list.
- Ignore: Sticky posts will be included but not considered sticky.
- Show only: Only sticky posts will be shown.
- Choose from the following display settings (if any option is missing, click on the three dots (⋮) next to the Display settings label and select the setting from the menu):
- Items per page: Choose how many posts are shown on the page, up to a maximum of 100 posts per page. Use this setting to increase or decrease the number of posts on the page.
- Offset: Begin from the first post (0) or skip the first X number of posts.
- Max pages to show: If pagination is used, this option specifies the maximum number of pages that can be viewed in total.
- Using filters, you can narrow down the content displayed using specific criteria (if any option is missing, click on the three dots (⋮) next to the Filters settings label and select the setting from the menu):
- Taxonomies (i.e., show or hide posts based on categories and tags)
- Authors
- Keyword
- Additional filters may be added via plugins (such as product categories via WooCommerce, for example).
- Click the “Save” button to save your changes.



Exclude the current post to keep the post a visitor is viewing out of a Query Loop block‘s results. This is useful on a single post template, where a list of recent or related posts should not repeat the post already on the screen.
The “Exclude current” filter appears only when all of the following are true:
- The Query Loop block is on a template that displays a single post or page, such as the Single Posts template, or you are editing an individual post or page. The filter does not appear on templates that list several posts, such as the Index or archive templates.
- The block’s Post type matches the content the template displays. For example, the Query Loop block shows posts on a post template.
To exclude the current post, follow these steps:
- In your site’s dashboard, navigate to Appearance → Editor.
- Select the template that displays a single post or page, such as the Single Posts template.
- Open List View and select the Query Loop block.
- In the block settings, set the “Query Type” to Custom.
- Find the Filters section. If you do not see the “Exclude current” filter, click the three dots (⋮) next to the Filters label and select “Exclude” from the menu:

- Turn on the “Exclude current” toggle. The Query Loop block will now leave out the current post from its results on that template.
- Click Save to save your changes.