WordPress can display posts on a weblog web page routinely, however the default output hardly offers you complete keep watch over over the real card construction. The picture place, meta structure, excerpt placement, and browse extra hyperlink all apply a preset trend until you get started customizing the theme or operating across the module.
The Loop Builder in Divi 5 takes a unique method. You design one publish card with standard Divi parts, attach every a part of that card to are living publish information, and Divi repeats it routinely for each merchandise on your question.
On this instructional, we’ll construct a horizontal weblog loop with one publish card in line with row. Every card may have a featured symbol at the left, publish content material at the correct, dynamic identify, post date, excerpt, and a connected arrow, plus pagination so guests can transfer thru the remainder of your posts.
Why Construct A Horizontal Weblog Loop With The Loop Builder?
The Weblog Module comes in handy when you want a weblog feed briefly. For lots of websites, this is sufficient. But if you wish to have to make a decision precisely how every publish card is structured, the place the picture sits, how the meta line reads, how a lot house the excerpt will get, or what the learn extra component seems like, a set weblog structure can begin to really feel restricting.
The Loop Builder is constructed for that scenario. You select the component that are supposed to repeat, flip at the loop possibility, outline the question, after which construct the cardboard within that looped component. Divi handles the repetition and swaps in the right kind publish information for every outcome.
Not anything throughout the card has to apply a preset weblog module construction. The picture, identify, date, excerpt, and arrow hyperlink are all common Divi parts, which means that you’ll be able to taste them the similar approach you possibly can taste the remainder of your web page.
That is particularly helpful for horizontal weblog layouts. As an alternative of unveiling two or 3 compact playing cards in line with row, every publish will get its personal complete row throughout the content material container. The end result feels extra editorial and provides each publish enough room to face by itself.
Learn Everything About Divi 5’s Loop Builder
What We’re Construction
Prior to we get into the stairs, right here’s a handy guide a rough take a look at the completed structure.

Every publish seems as a horizontal card with the featured symbol at the left and the publish content material at the correct. The content material aspect comprises the publish identify, post date, excerpt, and a right-pointing arrow that hyperlinks to the entire publish. Playing cards stack vertically down the web page, and a Subsequent → pagination hyperlink seems on the backside when there are extra posts to turn.
Prior to you construct the structure, ensure that your posts have featured photographs. Handbook excerpts also are useful if you wish to have tighter keep watch over over the preview textual content, even though Divi can nonetheless pull an excerpt routinely.
Step 1: Set Up The Web page Construction
Get started through opening the web page the place you wish to have your horizontal weblog loop to are living. If you’re operating from a clean web page, click on Use Visible Builder to release the editor.

Click on the blue + icon to insert a brand new segment and make a selection Common Segment. A row is added routinely within it.

Open the Segment settings through clicking the segment tools icon. Pass to Design > Spacing and set the highest and backside padding to 60px. This provides the structure respiring room above and underneath the weblog feed.

Within the segment, upload a single-column row. This row is just for the web page heading, so one column is all we want.

Within the row, upload a Heading module and kind Weblog because the heading textual content.
Open the Heading module settings and pass to Design > Textual content. Set the Font Dimension to round 50px, make a selection a font weight that fits your web page’s heading taste, and stay the heading left-aligned.
Upload sufficient backside spacing after the heading so the primary weblog card does no longer take a seat too with regards to it. As soon as the heading appears to be like correct, transfer directly to the row that may grow to be the real loop.
Step 2: Permit Loop On The Weblog Row
Under the heading row, insert a brand new 2-column row. This row will grow to be the repeated weblog card. The left column will hang the featured symbol, and the correct column will hang the identify, post date, excerpt, and hyperlink.

Open the Row settings and set the row’s Admin Label to Weblog Nav. This label will make the loop more straightforward to spot later after we attach the Pagination module.
With the similar row settings nonetheless open, pass to Content material > Loop and toggle Loop Component on. As soon as enabled, this row turns into the repeating container. The entirety constructed within it’s going to repeat for each publish that fits the question.

Subsequent, arrange the question. Set Question Sort to Submit Sort and Submit Sort to Posts. Set Posts In step with Web page to 3, Order By means of to Date, and Order to Descending so the most recent posts seem first.
If you do not need sticky posts to override the traditional date order, allow Forget about Sticky Posts as smartly.
The row will multiply within the Visible Builder to mirror the collection of posts you put. The columns are nonetheless empty, however the loop is already lively. Subsequent, we’ll construct the cardboard construction throughout the looped row.
Step 3: Construct The Weblog Card Construction
With the loop operating, construct the cardboard throughout the first looped row. We’ll get started with the picture column, then upload the content material parts at the correct.
Within the left column, click on the + icon and upload a Divider module. We’ll use this Divider as a background symbol container for the featured symbol.

In the correct column, click on the + icon and upload a Heading module. This may grow to be the dynamic publish identify after we attach it to loop information.

Under the Heading module, upload a Team module. This Team will hang the meta line.
Open the Team settings, pass to Design > Structure, and set the route to Horizontal. Within the Team, upload a Textual content module and kind Printed on because the static label. Then upload a 2nd Textual content module subsequent to it. This 2nd Textual content module will pull the dynamic post date in Step 5.
If you happen to want an author-based meta line, upload every other Textual content module for the writer and fix it to the loop writer box prior to the date.
Under the Team, upload every other Textual content module for the publish excerpt. This provides every card a brief preview of the publish prior to guests click on thru.

In any case, upload an Icon module on the backside of the correct column. Seek for the → arrow icon and make a choice it. This may grow to be the learn extra hyperlink for every publish.
Accessibility be aware: this instructional makes use of the featured symbol as a background symbol so the cardboard can stay a blank horizontal form. If the picture wishes to hold essential that means, believe the usage of an Symbol module hooked up to the featured symbol as a substitute.
Step 4: Taste The Weblog Card
With the construction in position, taste the cardboard from the out of doors in.
Open the Row settings and pass to Design > Border. Upload a 1px forged border and set the colour to a mild grey similar to #E0E0E0. This provides every card a refined edge with out making the structure really feel heavy.

Nonetheless throughout the Row settings, pass to Design > Structure and set the Horizontal Hole to 0. This helps to keep the picture column and content material column flush towards every different.

Open the correct column settings and pass to Design > Background. Upload a cushy off-white colour similar to #FAFAFA. This provides the textual content house a blank editorial really feel and separates it from the picture column.
Pass to Design > Spacing and upload 30px padding on either side so the content material does no longer take a seat towards the cardboard edge.

Pass to Design > Structure and set the Horizontal Hole and Vertical Hole to 10px. This helps to keep the spacing between the weather throughout the column constant.

Open the Heading module and elegance the publish identify. A font measurement round 30px on desktop works smartly for this kind of horizontal card, however regulate it to check your web page. Stay the road top tight sufficient that longer titles nonetheless really feel managed.
Open the Team module settings and pass to Design > Structure. Set the Horizontal Hole to a small worth so the label and date take a seat at the identical line with out drifting aside. Then open every Textual content module throughout the Team, pass to Design > Textual content, set the Font Weight to Semi Daring, and make the font rather smaller than the identify.
Taste the excerpt Textual content module so it reads obviously beneath the meta line. Stay the font measurement with regards to your frame textual content measurement and use a at ease line top.
For the Icon module, pass to Design > Icon and set the colour to check your web page’s accessory or hyperlink colour. Set the scale to round 30px, then align it to the correct the usage of Design > Alignment.
![]()
Step 5: Attach Dynamic Content material
The cardboard is constructed and styled. Now exchange the placeholder content material with are living publish information from the loop.
Open the Divider module throughout the left column. Pass to Content material > Visibility and switch off Display Divider. This hides the divider line so most effective the background symbol presentations.

Pass to Content material > Background and turn the background sort to Symbol. Click on the dynamic content material icon at the symbol box and make a choice Loop Featured Symbol. Every repeated card will now pull the featured symbol from its personal publish.
If the background symbol does no longer fill the picture house, pass to Design > Sizing and allow Develop to Fill. This is helping the picture container stretch with the cardboard top.

Open the Heading module and pass to Content material > Textual content > Heading. Click on the dynamic content material icon and make a choice Loop Submit Identify. The heading will now show the right kind identify for every publish.

Nonetheless throughout the Heading module, pass to Content material > Hyperlink. Click on the dynamic content material icon at the URL box and make a choice Loop Submit URL. This makes the identify hyperlink to the right kind publish.
Open the second one Textual content module throughout the Team, the only subsequent to the Printed on label. Pass to Content material > Textual content, click on the dynamic content material icon, and make a choice Loop Submit Date.
Open the excerpt Textual content module and pass to Content material > Textual content. Click on the dynamic content material icon and make a choice Loop Excerpt. If the excerpt feels too lengthy for the cardboard, regulate the dynamic content material choices so the preview remains quick and balanced.

Open the Icon module and pass to Content material > Hyperlink. Click on the dynamic content material icon at the URL box and make a choice Loop Submit URL. The arrow now hyperlinks to the right kind publish for every card.
Preview the web page. Every card will have to now display its personal featured symbol, identify, post date, and excerpt whilst retaining the similar horizontal structure.
Step 6: Upload Pagination
As soon as the loop is pulling are living publish information, upload pagination so guests can transfer thru the remainder of your posts. This issues since the question is ready to turn most effective 3 posts in line with web page.
Inside of the similar segment, upload a brand new single-column row underneath the loop row. Stay this row out of doors the looped row. Seek for the Pagination module and upload it throughout the row.

Open the Pagination module settings and pass to Content material > Goal. Set the Goal Loop to Weblog Nav. This connects the Pagination module to the looped row we categorized previous.

You’ll be able to additionally customise the pagination labels. For this structure, a easy Earlier and Subsequent → taste helps to keep the navigation minimum.
Save the web page and preview it. In case your web page has extra posts than the Posts In step with Web page worth, the Pagination module will seem and transfer throughout the loop effects.
Step 7: Optimize The Structure For Responsive Displays
The horizontal card works absolute best on desktop, however smaller monitors desire a fast responsive move. Transfer to pill and cell view the usage of the responsive toolbar and test how the playing cards stack.
On pill and cell, let the 2 columns stack so the featured symbol sits above the content material. Then scale back the identify measurement, tighten the excerpt if wanted, and test the Divider top so the picture does no longer cave in or absorb an excessive amount of house.
A excellent place to begin is to stay the desktop identify round 30px, scale back it on pill, and scale back it once more on cell. For the picture house, use a smaller minimal top on cell so every card stays simple to scroll thru.
As soon as the playing cards learn smartly throughout desktop, pill, and cell, save the web page and preview the completed structure.
Construct A Horizontal Weblog Loop With Divi 5’s Loop Builder As of late!
You simply constructed a customized horizontal weblog loop in Divi 5 with out modifying theme recordsdata or writing customized code. As an alternative of forcing your posts right into a preset Weblog Module structure, you designed the cardboard construction your self, hooked up every component to loop information, and let Divi repeat the cardboard routinely.
That’s the energy of the Loop Builder. It offers you keep watch over over the structure whilst retaining the content material dynamic. You’ll be able to use the similar method for different publish varieties too, together with initiatives, merchandise, occasions, assets, or group contributors. The construction remains the similar: design one merchandise, attach the dynamic fields, outline the question, and let Divi care for the loop.
The publish How To Build A Horizontal Blog Loop In Divi 5 gave the impression first on Elegant Themes Blog.



0 Comments