Copy discount code:
B-Day Croco 2023 B-Day Croco 2023 B-Day Croco 2023
Expires In

Help Center

Query Builder Overview

This overview reveals detailed information about all the settings of the JetEngine plugin’s Query Builder functionality. You will learn how to customize every part of it for further use in Listing templates and Listing Grids.

Query Builder is a tool that helps you create lists of items, picked up from the general array according to some conditions. It allows you to query posts, terms, users, comments, SQL tables data, items received via REST API functionality, and Custom Content Type items. You set the conditions for list creation and afterward can create a Listing template for that list and display it via the Listing Grid.

Why Do you Need Query Builder

When you add a Listing Grid to the page, either in Elementor page builder or Gutenberg Editor, it has settings sections that can help you query the items you are going to display. There are Post, Terms, and Users Query sections. However, the conditions you set in those settings sections work only for that specific Listing Grid. If you have several similar Listing Grids on different pages and want to change something, you’ll have to visit every page where you displayed the Listing Grid. 

With the help of Query Builder, you can create a list and use it everywhere. The changes you make in the Query Builder menu tab will affect all the Listing Grids where that query is displayed.

Besides that, Query Builder allows you to query and display data that you wouldn’t be able to show otherwise, e.g., the information from your database tables.

How to Create Query

Open your website’s dashboard and go to JetEngine > Query Builder. Press the “Add New” button.

query types

Give your new query a Name and choose the Query Type. All the settings will depend on the Query Type you have chosen. Let’s take a closer look at all the settings.

Query Types

There are separate articles about every Query Type, so you can go through them to get some details:

How to Display Query

When you are done creating a query, it is time to create a Listing template for it. Go to JetEngine > Listings and click on the “Add New” button. In the Listing source drop-down, choose the “Query Builder” option. Choose the query you’ve created, give the listing a name, and proceed to build the layout in Elementor or Gutenberg.

creating a listing for query

You will be able to display the created Listing template with the help of the Listing Grid widget or block.

Was this article helpful?

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.