These days, we introduce Loop Builder Divi 5, which lets you assemble looping post-based and term-based content material the usage of any Divi part.

Divi’s loop builder is exclusive in its freedom; you’ll loop anything else with out being limited to a static loop module or container. Construct your looping part, then customise your question the usage of quite a lot of handy choices and meta queries.

It helps customized put up sorts, together with WooCommerce, customized fields created with ACF, or even ACF repeater fields.

It’s a fantastic characteristic!

Take a look at the next video to peer the brand new characteristic in motion. 👇

Loop The rest

First issues first: What’s a loop builder? Merely put, it’s a device that permits you to show a loop of content material out of your website online’s database (like posts, merchandise, classes, and authors) and customise the design of each and every merchandise within the loop.

This permits you to create post-based content material, equivalent to customized weblog feeds, product lists, match calendars, route lists, class pages, and the whole lot else!

  1. First, construct a template for the looped goods the usage of Divi components and design settings.
  2. Subsequent, customise the question that controls the content material within the loop (choice of posts, put up sort, class, and many others.).
  3. In any case, plug in dynamic content material from the loop into your template (put up name, featured symbol, excerpt, and many others.).

Earlier than I am getting into the main points, let me provide you with examples of what you’ll create the usage of Divi’s new loop builder.

Instance #1: Customized Weblog Feed

Take a look at the gorgeous weblog feed within the video beneath. You’re going to be accustomed to a weblog put up loop as it’s core to WordPress and one thing featured via the Divi weblog module, however this situation isn’t a weblog module; it’s a customized loop.

I built my weblog template the usage of Divi components and design settings. Subsequent, I grew to become on looping for the column that accommodates my content material components and selected to loop thru posts. The column will get repeated, with each and every example representing a put up within the loop.

In any case, I plugged in dynamic content material from the loop, such because the put up tile and featured symbol, in order that each and every merchandise within the loop shows its distinctive content material. You’ll do that for any put up sort to create any form of post-based content material.

Instance #2: Featured WooCommerce Merchandise

On this instance, I created a loop of featured WooCommerce merchandise for my homepage. The template used to be built the usage of modules and teams inside a column looped inside a row.

I custom designed the question to turn explicit merchandise I sought after to characteristic.

Instance #3: Occasions Calendar

I created a loop of upcoming occasions from the Occasions Calendar plugin on this instance. Divi’s loop builder will provide you with whole freedom to design your looping part, so you’ll get ingenious with the design of your loops, particularly with Divi 5’s flexbox structure gadget.

You’ll additionally faucet into any customized box (put up meta) for any put up sort. On this case, I may use the development value and date fields.

Instance #4: LMS Route Slider

You’ll even loop module sub-items like a slide inside a slider.

The looping slide within the video beneath shows featured lessons from Tutor LMS.

Divi has had the concept that of post-based modules, just like the Submit Slider and Weblog modules, however with dynamic content material and Divi’s new loop builder, any part will also be was a dynamic loop.

Instance #5: WooCommerce Class Web page

You’ll additionally loop thru phrases and customers.

On this instance, I created a top-level product web page that loops thru all WooCommerce product classes.

Each and every merchandise within the loop is a class moderately than a put up. The product class name and featured symbol are pulled dynamically from the phrases meta.

Instance #6: Weblog Authors

Within the instance video beneath, I made a web page that includes all our weblog’s authors.

It loops thru all customers with the creator function, and shows their identify, avatar, and bio.

Exploring Question Loop Choices

Let’s have a look at the Loop Builder’s question choices that keep an eye on which posts seem in a loop. You’ll make a choice which put up sort to loop thru, clear out posts via classes and tags, clear out explicit posts, or construct customized meta queries to focus on explicit content material. You’ll additionally keep an eye on put up ordering and offset.

  • Question Sort – Make a choice what you wish to loop, whether or not posts, phrases, or customers.
  • Submit Sort – In case you are looping posts, you’ll make a choice which put up sort to loop, equivalent to weblog posts, WooCommerce merchandise, Divi tasks, and many others.
  • Phrases – In case you are looping phrases, you’ll make a choice which time period to loop, equivalent to classes and tags.
  • Customers – In case you are looping customers, you’ll make a choice which function of customers to loop, equivalent to authors or individuals.
  • Come with Posts With Particular Phrases – In case you are looping posts, you’ll make a choice to loop thru simplest posts from explicit classes and tags.
  • Exclude Posts With Particular Phrases – You’ll additionally exclude posts from explicit classes and tags out of your loop.
  • Come with Particular Posts – In case you are looping posts, you’ll come with simplest explicit posts for your loop, which is very good for that includes weblog posts or merchandise.
  • Exclude Particular Posts – You’ll additionally exclude explicit posts out of your loop.
  • Order By means of – Order your looped goods via ascending or descending.
  • Posts In line with Web page – Make a choice what number of looped goods will have to seem on each and every web page.
  • Submit Offset – Show simplest each n goods. This permits you to create a couple of loops thru the similar question, each and every with a novel set of posts and design.
  • Meta Question – Construct customized queries to clear out your loop the usage of any put up meta key.
    • Meta Key – The meta key within the post_meta desk.
    • Meta Worth – The price of the object with the precise meta key.
    • Examine – As soon as you might be querying a particular meta key, you’ll make a choice the right way to examine the worth to impact the question (is the same as, is bigger than, and many others).
    • Sort – The kind of price being in comparison, equivalent to quantity, date, time, and many others.

Customized Box & Submit Sort Strengthen

Divi’s loop builder helps customized fields in two tactics. At the start, you’ll use customized meta queries to show explicit content material for your loop in accordance with the posts’ information within the post_meta desk, which incorporates all customized box information. Secondly, you’ll show information from the wp_postmeta desk, equivalent to customized box information, as content material inside your loop template.

Strengthen For Complex Customized Fields (ACF)

Divi’s loop builder helps customized fields created the usage of Complex Customized Fields (ACF). When settling on a customized box, you’ll in finding all ACF fields on the peak, which might be classified with their related box names.

Strengthen For ACF Repeater Fields

Divi’s loop builder additionally helps ACF repeater fields. If you happen to used ACF to create a question loop, you’ll make a selection it from the Question Sort menu, and the whole lot will fall into position.

Take a look at Divi 5 These days

Loop Builder for Divi 5 is to be had lately, and it’s one of the options coming to Divi this 12 months.

You’ll observe alongside as we growth in the course of the ultimate free up of Divi 5 and past, with updates each two weeks. Relying to your priorities, you’ll use Divi 5 now to construct new web sites or wait till we upload extra options, no matter works right for you.

As defined in Divi 5’s authentic multi-phase free up agenda, the Divi 5 Public Alpha is like “Divi 5 Lite.” It’s lacking a couple of options and is probably not appropriate for current web sites, nevertheless it’s in a position for use on new web sites should you want the revel in to Divi 4.

We wish you to take a look at it, and should you like it, use it; when everybody loves it, we’ll make it legitimate.

Have You Attempted Flexbox?

When you ignored it, we not too long ago launched the all-new flexbox-based structure gadget for Divi 5.

That is no minor replace. It reinvents Divi, permitting you to construct any structure construction, together with responsive structure breakdown, customized module ordering, simple vertical alignment and part positioning, and a lot more. No stone used to be left unturned, no choice used to be forgotten—we did all of it, and it’s highest in school. There’s a hyperlink within the video description to be told extra.

Watch this video for the entire main points. 👇

Extra Divi 5 Updates Are On The Means

2025 is the 12 months of Divi 5. The tedious paintings is at the back of us. We constructed the super-fast basis, and now it’s time for Divi to make its comeback.

If you happen to’re right here for the Divi comeback, do us an enormous desire and tell us via liking this video and leaving a remark. It method so much to us to peer you cheering Divi on, and it’s crucial to feed the set of rules and unfold the phrase.

Don’t overlook to observe us on YouTube and subscribe to the Divi e-newsletter so that you by no means omit an replace. I’ll see you quickly for some other Divi 5 characteristic announcement, which I promise will likely be proper across the nook. 😁

The put up Introducing Loop Builder For Divi 5 gave the impression first on Chic Subject matters Weblog.

WordPress Web Design

[ continue ]