Welcome again to the Divi 5 Mastery Direction. In Part 7, we finished the ground of each web page with a customized world footer that fits the header we inbuilt Part 6. Each world spaces have been styled with the Design Variables from Part 3 and the Presets from Part 4.
Now, in Section 8, we’ll use the Theme Builder to make the remainder of the coworking web page really feel like one unified model. As an alternative of designing each template-driven web page manually, we’ll create reusable layouts that robotically practice to posts, archives, seek effects, and mistake pages.
Through the tip of this publish, you’ll know the way to construct Theme Builder templates for All Posts, Class Pages, Writer Pages, Seek Effects, and the 404 Web page. We’ll additionally stroll throughout the complete advent of an All Posts template, so you’ll see the method in motion.
Let’s get began.
Why World Templates Topic
The Theme Builder permits you to design a format as soon as and assign it to precise portions of your WordPress website online. As an example, one template can keep an eye on each weblog publish, whilst any other can keep an eye on class archives, writer archives, seek effects, or the 404 web page.
That is the place the design machine from Portions 3 and four turns into much more treasured. Design Variables stay shared values like colours, spacing, typography, and border radii centralized. Presets package deal the ones values into reusable types. In combination, they lend a hand your templates keep constant with out forcing you to restyle each module manually.
Dynamic Content material is the opposite key piece. It pulls actual information from WordPress, together with publish titles, featured photographs, writer main points, post dates, classes, and publish content material. Because of this, one template can show other content material for each publish or archive whilst preserving the similar total format and design.
Developing A New Theme Builder Template
Navigate to Divi > Theme Builder on your WordPress dashboard. In case you’ve been following alongside within the collection, the Default Site Template must already come with the World Header from Section 6 and the World Footer from Section 7.

Click on + Upload New Template, then make a choice Construct New Template. When the Template Settings modal seems, search for the Publish choices. Make a choice All Posts, then click on Create Template.
Subsequent, click on Upload Customized Frame, then make a choice Construct Customized Frame. This opens the Visible Builder, the place you’ll get started construction the template frame.
Repeat the similar procedure for the rest templates you wish to have to create. In each and every case, assign the template to the suitable house of the website online within the Template Settings modal.

The Energy Of Dynamic Content material In Templates
Some of the largest benefits of creating templates in Divi 5 is Dynamic Content material. As an alternative of hardcoding textual content, photographs, or metadata that may handiest practice to 1 web page, Dynamic Content material pulls knowledge at once from WordPress. This we could the similar template show other publish titles, featured photographs, authors, dates, and content material relying on what the customer is viewing.
To insert Dynamic Content material, search for the Insert Dynamic Content material icon in supported textual content fields, symbol fields, headings, and module settings.
![]()
Click on the icon, make a choice the knowledge you wish to have, and Divi connects that box to the related WordPress information.
In some fields, you’ll additionally upload Sooner than or After textual content for context. As an example, you’ll upload Posted on earlier than a post date or Through earlier than an writer title.

Since the templates additionally use the Design Variables and Presets we created previous, the format remains visually constant whilst the content material adjustments dynamically.
Listed below are the principle templates we’ll use for the coworking web page and the dynamic components each and every one normally wishes.
Publish Template
This template controls particular person weblog posts. It normally comprises the publish name, featured symbol, publish content material, post date, writer title, writer bio, remark depend, earlier and subsequent publish navigation, feedback, and not obligatory comparable posts.
The Publish Content material module shows the frame content material of whichever publish the customer is viewing. That comes with the publish’s textual content, photographs, embeds, and formatting. Taste this module as soon as together with your typography settings, Design Variables, and Presets, and each weblog publish can practice the similar design machine.
Class Web page Template
Class archive pages show posts filtered via a selected class. As an example, the coworking weblog may come with classes like Occasions, Workplace Excursions, or Member Tales.
This template normally makes use of a dynamic archive name and a Weblog module or Loop Builder format to show the posts for the present class. For extra design keep an eye on, use the Loop Builder to design the repeated publish merchandise and pull content material from the present archive context.
Writer Web page Template
Writer archive pages show posts written via a selected writer. They’re helpful for highlighting staff participants, participants, or neighborhood writers.
This template normally comprises dynamic content material for the writer title, writer profile image, and writer bio. It additionally wishes a publish listing or loop that shows posts from the present writer archive.
Seek Effects Web page Template
The Seek Effects template controls what guests see after filing a seek question. A robust model typically features a Seek module so guests can seek once more, plus a Weblog module or Loop Builder format to show the matching effects.
Relying in your module settings, you’ll additionally refine what seems in seek effects via aside from particular content material varieties, pages, posts, or classes.

404 Web page Template
The 404 template seems when a customer tries to get admission to a web page that doesn’t exist. In contrast to a unmarried publish template, it does now not have one primary publish frame to show. Then again, it might probably nonetheless come with useful modules like a Seek module, fresh posts, fashionable hyperlinks, or a CTA again to the homepage.
You’ll additionally use your present Variables and Presets for headings, buttons, spacing, and different design main points, so even error pages keep on-brand.

With those dynamic items in position, a unmarried template can energy dozens or loads of posts, archives, and machine pages whilst preserving the whole thing constant.
How To Construct The All Posts Template
Now that you know how Dynamic Content material works in Divi 5, let’s construct the template that controls each weblog publish at the coworking web page. This format wraps each and every publish in a blank, readable construction that fits the remainder of the website online.
We’ll use the Design Variables and Presets from Portions 3 and four to stay the styling constant. We’ll think you will have already created your All Posts template and opened the customized frame within the Visible Builder.
Step 1: Publish Identify And Content material
Get started via opening the Layers panel within the Builder Bar. Make a choice the only Segment and rename it Publish Identify and Content material. To rename it, double-click the Segment title, sort the brand new label, and press Go back.
Naming sections on your templates is an easy option to keep arranged. It additionally makes components more uncomplicated to spot because the template grows.
Sooner than including modules, alter the Flexbox settings. With the Segment decided on, move to the Design tab. Increase the Structure choice staff, hover over the Vertical Hole box, and practice the Spacing – Medium variable.
Upload The Publish Identify Module
Upload a single-column Row to the Segment. Then, upload a Publish Identify module within the Row.
Within the module’s Content material tab, disable the Display Featured Symbol toggle. We’ll upload the featured symbol one at a time with an Symbol module so we will be able to taste it extra at once.
Subsequent, move to the Design tab, hover over the Identify Textual content choice staff, and click on the Preset icon.

Select the Heading 1 preset from the to be had choices.

Increase the Meta Textual content choice staff and set the Meta Font Taste to Italics. Then, practice the Frame quantity variable to the Meta Textual content Measurement box.

Upload The Featured Symbol
Upload an Symbol module and assign the Rounded preset to it.

Within the Symbol module’s Content material tab, enlarge the Symbol choice staff. Hover over the Symbol box, click on the Insert Dynamic Content material icon, and make a choice Featured Symbol.
Upload The Publish Content material Module
In spite of everything, upload the Publish Content material module to the Row. This module outputs the frame content material of the present publish.
Cross to the Design tab and enlarge the Identify Textual content choice staff.

We’ll set typography values for each and every heading point within the publish content material. Within the H1 tab, hover over the Heading Textual content H1 Textual content Measurement box to expose the Insert Dynamic Content material icon. Make a choice the H1 quantity variable out of your world numbers.
Subsequent, hover over the Heading Textual content H1 Line Top box, click on the Insert Dynamic Content material icon, and make a choice the Line Top – Headings quantity variable.

Repeat those steps for the rest heading ranges. Use the matching quantity variable for each and every heading measurement, corresponding to H2, H3, H4, H5, and H6. Then, use Line Top – Headings for each and every heading line-height box.
Now, enlarge the Frame Textual content choice staff. Observe your Darkish Textual content preset or use the related Frame Textual content colour, Frame textual content measurement, and Line Top variables out of your design machine.
Configure The Row And Column Settings
Sooner than including the following Row, alter the Row and Column settings. Make a choice the Row and move to the Design tab. Increase the Structure choice staff and set Align Pieces to Middle.

Now, edit the Column settings. Cross to the Row’s Content material tab and click on the edit icon for the Column.

Cross to the Design tab and enlarge the Structure choice staff. Observe the Spacing – XSmall variable to the Vertical Hole box.

Upload any other single-column Row to the Segment to accommodate the Pagination module. This provides readers a handy guide a rough option to transfer to the former or subsequent publish.
Within the module’s Content material tab, enlarge the Textual content choice staff. Input the former and subsequent labels you wish to have to show.

Step 2: Publish Writer Segment
Upload a brand new Segment and title it Publish Writer within the Layers panel. Then, upload a brand new 1/4 + 3/4 Row to the Segment.

Sooner than including modules, alter the sizing settings in each and every Column. Open the brand new Row and edit the primary Column. Within the Design tab, enlarge the Sizing choice staff. Set the Column Elegance to 1/8.

For the second one Column, set the Column Elegance to 21/24.

Now, open the Row settings and enlarge the Structure choice staff. Within the Horizontal Hole and Vertical Hole fields, practice the Spacing – Medium variable.

Upload Modules To The Row
Within the first Column, upload an Symbol module and practice the Rounded preset.
Increase the Symbol choice staff within the Content material tab, hover over the Symbol box, and click on the Insert Dynamic Content material icon. When the choices seem, make a choice Writer Profile Image.

In the second one Column, upload a Heading module and practice the Heading 4 preset. Increase the Textual content choice staff, hover over the Heading box to expose the Insert Dynamic Content material icon, and make a choice Publish Writer.

Subsequent, upload a Textual content module. Observe the Darkish Textual content preset, enlarge the Textual content choice staff within the Content material tab, and make a choice Writer Bio with the Insert Dynamic Content material icon.

In spite of everything, upload a Button module and practice the Crammed – Number one Colour preset. Within the Textual content choice staff, use Publish Writer because the dynamic content material and input Extra Posts via within the Sooner than box.

Step 3: Similar Posts
Create a brand new Segment and title it Similar Posts. Upload a single-column Row to the Segment, then upload a Heading module. Observe the Heading 2 preset to the Heading module.

Subsequent, upload a Weblog module. Within the Content material tab, enlarge the Content material choice staff and set the Publish Depend to 3.

Increase the Parts choice staff and disable Display Pagination.

Within the Design tab, practice the Heading 4 preset to the Identify Textual content choice staff, the Darkish Textual content preset to the Frame Textual content choice staff, and the Small Textual content preset to the Meta Textual content choice staff.

Step 4: Publish Feedback
The overall Segment within the template will space feedback. Create a brand new Segment and title it Publish Feedback. Upload a single-column Row, then upload the Feedback module.
Within the Design tab, practice the Heading 2 preset to the Shape Identify Textual content choice staff and the Crammed – Number one Colour preset to the Button choice staff.

Increase the Meta Textual content choice staff. Observe the Frame Small variable to the Meta Textual content Measurement box and the Line Top – Frame variable to the Meta Line Top box.

In spite of everything, enlarge the Remark Textual content choice staff and practice the Frame variable to the Remark Textual content Measurement box. Use the Line Top – Frame variable for the Remark Line Top box.

Step 5: Check For Responsiveness
Despite the fact that we constructed the publish template with Design Variables and Presets, it’s nonetheless vital to check how the format behaves throughout display screen sizes. Divi 5 supplies two helpful gear for this: Customizable Responsive Breakpoints and the Responsive Editor.
Divi 5 helps as much as seven customizable breakpoints within the Visible Builder’s Best Bar.

Clicking the ellipsis menu close to the responsive icons opens a modal that allows you to permit or disable breakpoints from smaller telephones to ultra-wide desktop displays.

You’ll additionally use the responsive width box to go into particular preview widths and check the format extra exactly.
However, click on the responsive icons to cycle thru lively breakpoints and preview how the template seems at each and every measurement.
If you want to make module-level adjustments, use the Responsive Editor. Hover over a responsive-supported box and click on the Edit Responsive Values icon.

A modal seems, permitting you to regulate values for various breakpoints in a single position.

Guidelines And Very best Practices
Listed below are a couple of tactics to get extra from your Theme Builder templates and stay the workflow environment friendly.
Title The whole thing
Title sections, rows, and vital modules within the Layers panel. As you noticed within the unmarried publish template construct, transparent labels make it a lot more uncomplicated to navigate and edit higher templates later.

Stay Designs Constant
Use the Design Variables and Presets you created previous within the direction each time imaginable. The extra your templates reference shared values, the better they’re to replace later. As an example, converting a shared colour or spacing variable can replace each template house that makes use of it.

Use The Loop Builder For Customized Archives
For Class and Writer archive pages, believe the usage of the Loop Builder as an alternative of the usual Weblog module when you want extra format keep an eye on. It permits you to design the repeated publish merchandise and use Dynamic Content material to populate each and every loop merchandise.

Create A Backup Of Your Templates
Export your templates incessantly as JSON information from the Theme Builder. Exports are helpful backups and enable you to reuse or transfer your template machine to any other website online.

Check Templates With Actual Content material
Check your templates with actual or reasonable content material earlier than release. Submit a couple of check posts with featured photographs, other content material lengths, more than one authors, classes, and feedback. This is helping you catch format problems that won’t seem when each publish appears the similar.
Obtain The Recordsdata
That can assist you practice alongside, we’ve ready a JSON document containing the completed All Posts template, plus templates for the Header, Footer, Class Pages, Writer Pages, Seek Effects, and 404 Web page.

Sooner than uploading, you should definitely have no less than one weblog publish with a featured symbol. That provides the templates actual content material to show while you preview them.
Import the JSON document via going to Divi > Theme Builder and clicking the Import & Export icon on the peak proper.

Make a choice the Import tab, find the coworking-website-global-website-templates.json document in your pc, and click on Import Divi Theme Builder Templates.

@media handiest display screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:earlier than { border-top-color: #ffffff !vital; border-left-color: clear !vital; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !vital; border-left-color: clear !vital; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { colour: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:earlier than { background: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !vital } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !vital; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 sturdy { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p sturdy, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape enter, .et_bloom .et_bloom_optin_1 .et_bloom_form_container shape button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !vital;}
Obtain For Unfastened
Sign up for the Divi E-newsletter and we will be able to e mail you a replica of without equal Divi Touchdown Web page Structure Pack, plus heaps of alternative superb and unfastened Divi assets, pointers and methods. Observe alongside and you’ll be a Divi grasp very quickly. In case you are already subscribed merely sort on your e mail deal with beneath and click on obtain to get admission to the format pack.
You will have effectively subscribed. Please take a look at your e mail deal with to substantiate your subscription and get get admission to to unfastened weekly Divi format packs!
What’s Coming Subsequent
With the only publish template whole and the rest Theme Builder templates mapped out, the coworking web page now has a more potent dynamic basis. Weblog posts, archives, seek effects, and mistake pages can all practice the similar branded machine.
In Section 9 of the Divi 5 Mastery Direction, we’ll construct the internal pages of the website online. When you have now not downloaded Divi 5 yet, now is a superb time to get the most recent model and practice what you’ve realized.
The publish Part 8: Using Divi 5’s Theme Builder To Create Global Website Templates gave the impression first on Elegant Themes Blog.



0 Comments