When it was first introduced in the version of Elementor 3.8, Loop Builder was one of the favorite tools for Elementor users to create custom loops of posts, pages, and custom post types on the website. This exclusive feature is only available on Elementor Pro, but creating a truly unique and professional-looking website is worth the investment.
With the Loop Builder feature, you have complete control over your loops’ layout, design, and content. You can choose which fields to display, how to display them, and where to position them on the page. You can also use dynamic content to insert information from the individual posts or products in your loop.
Examples of Implementation of the Loop Builder
The pro version of Elementor already has a Posts widget which you can use to display your content on a page. However, there are some limitations you have to deal with. You can’t add custom element the post items in the feed. Instead, you can only add what’s offered by the Posts widget.
With Loop Builder, you can add any element you want to the items on the post feed. For instance, you can add a dynamic star rating, which is quite useful if you want to create websites like IMDb-like movie database, property listing website, and so on.
Here are examples of how to use Elementor Loop Builder:
- You can use the Loop Builder to create custom loops of any dynamic content, not just posts and products. For example, you could create a loop of your latest blog posts, a loop of your team members, or a loop of your customer testimonials.
- You can use the Loop Builder to create complex and custom layouts for your loops. For example, you could create a grid layout, a list layout, or a masonry layout.
- You can use the Loop Builder to display dynamic content on any page, not just the main content area. For example, you could use the Loop Builder to display a list of your latest blog posts in your sidebar or footer.
How to Use the Loop Builder
In this example, we will show you the step by step of creating a list of the latest blog posts in Elementor using Loop Builder. Before getting started, make sure the Loop Builder feature is active on your WordPress website. The feature itself is active by default. Just in case you accidentally deactivated it.
Go to Elementor -> Settings on your WordPress dashboard. You can check the Loop Builder status under the Features tab.
Step 1: Create a Loop Template
On your WordPress dashboard, navigate to the Template -> Theme Builder. Once you enter the Theme Builder screen, click the Loop Item menu to add a new template.
Alright, now you’re in the Elementor template editor. As we mentioned earlier, we will create a list of the latest blog posts using Loop Builder, so we will add some elements that we want to display for each loop item.
Here are the elements that we add to the canvas area:
- Featured Image
Select the Image widget from the widget panel, then drag and drop it into the canvas area. To set this widget to display image dynamically on your loop template, click the Dynamic Tags icon, then set it to Featured Image. Afterwards, you can tweak and style up the widget with your preference.
- Post Title
Select the Post Title widget from the widget panel, then drag and drop it into the canvas area (below the Featured Image element). Next, we will add the Post Title dynamic link to the Post URL, which means when users click the post title, it will take them to the actual post/page. Afterwards, you can tweak and style up the widget as you like.
- Post Date
Select the Text Editor widget from the widget panel, then drag and drop it into the canvas area (below the Post Title element). To set this widget to display post date dinamically on your loop template, click the Dynamic Tags icon, then set it to Post Date. Afterwards, you can tweak and style up the widget with your preference.
- Post Excerpt
Select the Post Excerpt widget from the widget panel, then drag and drop it into the canvas area (below the Post Date element). To apply this element to show in your post content, click the Post Excerpt setting 🔧, then enable the Apply to post content option. Afterwards, you can tweak and style up the widget as you like.
- Read More Button
Select the Button widget from the widget panel, then drag and drop it into the canvas area (below the Post Excerpt element). Next, replace the text button, and we will add the Button dynamic link to the Post URL, which means when users click the button, it will take them to the actual post/page. Afterwards, you can tweak and style up the widget as you like.
Once you finished adding all elements and custom fields to the Loop template, publish it by clicking the Publish button.
You can add other elements to the Loop template to your liking according to the what type of page you plan to create. If you want it, you can even add custom fields to your loop template.
Step 2: Display the Loop Template on a Page
Well, it’s time to display the loop template you’ve just created on a page.
Create a new page and edit it with the Elementor.
Once you enter the Elementor editor, select the Loop Grid widget, then drag and drop it into the canvas area.
Next, select the loop template that you want to display. In this case, select the loop template that you’ve just created.
On the widget settings, navigate to the Content tab -> Layout. Find your template by typing in the available field.
Now, you can configure the loop template block settings, such as the number of items to display per page, add the pagination, etc.
Once you’ve finished configuring the loop template block settings, publish the page by clicking the Publish button,
The Bottom Line
This article explains the Elementor Loop Builder and how to use it.
Here are some of the key benefits of using Elementor Loop Builder:
- Complete design control: You can design every aspect of your loop, from the overall layout to the individual elements.
- Easy to use: Elementor Loop Builder is a drag-and-drop tool that is easy to use, even for beginners.
- Flexible: Elementor Loop Builder can be used to create various loops.
- Powerful: Elementor Loop Builder is a powerful tool that can help you create custom loops unique to your website.
So, if you are looking for a powerful and flexible way to create and display content loops on your WordPress website, then Elementor Loop Builder is a great option.