With JetEngine plugin you have an opportunity to pull the content from back-end dynamically to Elementor page builder in order to display it on front-end.
In this tutorial, we’ll uncover the way you can create a listing in order to display the content in listing grid with dynamic content. If you want to learn more about JetEngine functionality, take a look at these tutorials.
Now let’s dive deeper into JetEngine science!
What is a Listing?
A Listing is a template for a post type or a term where you customize the layout and styles of the content which is dynamically pulled from the meta fields available for these posts or terms.
Using the listing, you can make sure the content will be displayed within the grid according to your vision. It provides an opportunity to pull out the content with the help of any widgets that support dynamic content.
Creating a new listing
1 Step — Add New Listing Item
First, proceed to the JetEngine > Listings. Here you’ll see Listing Items screen and you need to click Add New button.
2 Step — Set up Listing Item
Once Setup Listing Item window has opened you should fill in the following information:
- For which type of content you want to create a listing – Posts or Terms.
- Next, you have to select the post type from which the content will be pulled. In our case, it is Country. Take into consideration, that you can create a listing template for the default posts as well.
- Also, set the Listing Item Name and select the appropriate Listing View option (Elementor or Blocks). Then, click the Create Listing Item button.
Filling the listing with content
Now, let’s make sure we have all the necessary content added to the listing. May we remind you again that listing is a material of construction for our future template. So it’s important to envision how the Listing Grid will be displaying the listing in the layout to make sure you use the proper content and layout when working on a Listing item template.
You should choose dynamic widgets depending on what you need to display. In our case, we want to display the title of the post and the image from the meta field. Follow these tutorials on
Dynamic Field and Dynamic Image widgets to learn more.
Moreover, you can adjust needed settings for the listing in the Listing Item Settings section, which you can open by clicking the gear icon at the bottom of the page.
Here you can change the title and the status of the listing. In the Listing Settings tab it is possible to alter the listing source and enable the option, which allows to make the listing item clickable.
When everything is done, click the Publish button. Now we are ready to display the listing through the Listing Grid Widget.
Displaying the listing template
1 Step — Drag and Drop the Listing Grid
Open the page, where you want to show a listing, in Elementor editor. Drag and drop the Listing Grid widget and select the listing that you have just created from the dropdown. Learn more about all Listing Grid functionality.
Also, you can customize the content and style options of the widget right here.
As you might have noticed, the appearance of the posts is exactly as the listing template we have created previously.
2 Step — Customize the Queries
You can include or exclude some posts with its ID, sort posts by ascending and descending order or create any other sorting combinations by customizing the query and layout settings according to your needs.
Then update the changes and feel free to preview the results (note, that you should set the proper conditions in order to display the listing grid on the post’s archive page).
That is pretty much it! Now you are ready to create your listings templates, pulling dynamic content using JetEngine plugin. Feel free to enrich your site with the power of dynamic elements!