queryblock is an Archive post layout that sets the options to show and categorise single posts. The
queryblock is a vital part of every block-based theme and further customisations always start with the
queryblock requires a collection of same category posts so it is important to have these before you build your
It is recommended to add a
queryblock inside a Section.
After you add the
queryblock, a modal will appear to remind you that you have to add a Query Template to a
To add a Query Template, click on the button.
If you want to add a Pagination Wrapper (a container for page numbers), remember to add this by clicking the button before you add a Query Template.
Once you have added the Query Template, another modal will pop up and guide you to the block inserter to add the blocks you require to the Query Template.
The Add Pagination Wrapper opens a
paginationBlock inside your Query Template and opens a Pagination Placeholder.
The Pagination Placeholder allows you to add page numbers to your Query Template - "Add Pagination Numbers" - or to cancel them with the "dismiss button".
TTD #9 - Queries
The Query Settings panel is where the query's properties are listed and the steps that can be applied to it.
The Query Editor helps you to construct and modify a Wordpress Query using a structured format in which you can interactively select components.There are 4 main Query types : Post Types, Terms, Users and Products.
You can also export your Query elsewhere by copying and pasting the generated code.