Welcome once more to the Divi 5 Mastery Direction. In Section 7, we completed the bottom of each internet web page with a custom designed global footer that matches the header we inbuilt Section 6. Every global areas were styled with the Design Variables from Section 3 and the Presets from Section 4.
Now, in Segment 8, we’ll use the Theme Builder to make the rest of the coworking internet web page truly really feel like one unified type. Instead of designing each template-driven internet web page manually, we’ll create reusable layouts that routinely follow to posts, archives, search results, and error pages.
Throughout the height of this submit, you’ll understand how to build Theme Builder templates for All Posts, Magnificence Pages, Author Pages, Search Results, and the 404 Internet web page. We’ll moreover walk all over the whole creation of an All Posts template, so that you’ll see the process in movement.
Let’s get started.
Why Global Templates Subject
The Theme Builder lets you design a construction once and assign it to specific parts of your WordPress internet web site. For instance, one template can control each blog submit, while every other can control magnificence archives, author archives, search results, or the 404 internet web page.
That’s the position the design system from Parts 3 and 4 becomes a lot more valuable. Design Variables keep shared values like colors, spacing, typography, and border radii centralized. Presets package deal those values into reusable types. Together, they lend a hand your templates stay consistent without forcing you to restyle each module manually.
Dynamic Content material subject matter is the other key piece. It pulls precise wisdom from WordPress, along side submit titles, featured footage, author details, submit dates, categories, and submit content material subject matter. Because of this, one template can display different content material subject matter for each submit or archive while protecting the identical overall construction and design.
Rising A New Theme Builder Template
Navigate to Divi > Theme Builder to your WordPress dashboard. When you’ve been following along throughout the collection, the Default Internet web site Template should already include the Global Header from Segment 6 and the Global Footer from Segment 7.

Click on on + Add New Template, then make a selection Assemble New Template. When the Template Settings modal turns out, seek for the Post alternatives. Choose All Posts, then click on on Create Template.
Next, click on on Add Custom designed Body, then make a selection Assemble Custom designed Body. This opens the Visual Builder, where you’ll get began building the template body.
Repeat the identical process for the remaining templates you want to create. In each case, assign the template to the right kind house of the internet web site throughout the Template Settings modal.

The Power Of Dynamic Content material subject matter In Templates
One of the vital largest advantages of organising templates in Divi 5 is Dynamic Content material subject matter. Instead of hardcoding text, footage, or metadata that may best follow to no less than one internet web page, Dynamic Content material subject matter pulls knowledge without delay from WordPress. This we could the identical template display different submit titles, featured footage, authors, dates, and content material subject matter depending on what the buyer is viewing.
To insert Dynamic Content material subject matter, seek for the Insert Dynamic Content material subject matter icon in supported text fields, image fields, headings, and module settings.
![]()
Click on at the icon, make a selection the data you want, and Divi connects that field to the comparable WordPress wisdom.
In some fields, you’ll moreover add Forward of or After text for context. For instance, you’ll add Posted on previous than a submit date or Thru previous than an author identify.

Given that templates moreover use the Design Variables and Presets we created earlier, the construction stays visually consistent while the content material subject matter changes dynamically.
Listed here are the primary templates we’ll use for the coworking internet web page and the dynamic parts each one most often needs.
Post Template
This template controls explicit particular person blog posts. It most often accommodates the submit establish, featured image, submit content material subject matter, submit date, author identify, author bio, statement depend, previous and next submit navigation, comments, and no longer mandatory similar posts.
The Post Content material subject matter module displays the body content material subject matter of whichever submit the buyer is viewing. That contains the submit’s text, footage, embeds, and formatting. Style this module once along side your typography settings, Design Variables, and Presets, and each blog submit can observe the identical design system.
Magnificence Internet web page Template
Magnificence archive pages display posts filtered by the use of a decided on magnificence. For instance, the coworking blog would possibly include categories like Events, Place of job Tours, or Member Stories.
This template most often uses a dynamic archive establish and a Blog module or Loop Builder construction to turn the posts for the prevailing magnificence. For added design control, use the Loop Builder to design the repeated submit products and pull content material subject matter from the prevailing archive context.
Author Internet web page Template
Author archive pages display posts written by the use of a decided on author. They’re useful for highlighting crew participants, folks, or crew writers.
This template most often accommodates dynamic content material subject matter for the author identify, author profile symbol, and author bio. It moreover needs a submit tick list or loop that displays posts from the prevailing author archive.
Search Results Internet web page Template
The Search Results template controls what visitors see after submitting a search query. An impressive type typically includes a Search module so visitors can search all over again, plus a Blog module or Loop Builder construction to turn the matching results.
Depending to your module settings, you’ll moreover refine what turns out in search results by the use of aside from explicit content material subject matter varieties, pages, posts, or categories.

404 Internet web page Template
The 404 template turns out when a buyer tries to get right of entry to a internet web page that doesn’t exist. No longer like a single submit template, it does no longer have one number one submit body to turn. However, it might in truth however include helpful modules like a Search module, fresh posts, same old links, or a CTA once more to the homepage.
You’ll have the ability to moreover use your present Variables and Presets for headings, buttons, spacing, and other design details, so even error pages stay on-brand.

With the ones dynamic pieces in place, a single template can power dozens or plenty of posts, archives, and system pages while protecting the entire thing consistent.
How To Assemble The All Posts Template
Now that you know how Dynamic Content material subject matter works in Divi 5, let’s assemble the template that controls each blog submit on the coworking internet web page. This construction wraps each submit in a clean, readable building that matches the rest of the internet web site.
We’ll use the Design Variables and Presets from Parts 3 and 4 to stick the styling consistent. We’ll suppose you may have already created your All Posts template and opened the custom designed body throughout the Visual Builder.
Step 1: Post Determine And Content material subject matter
Get began by the use of opening the Layers panel throughout the Builder Bar. Choose the only Section and rename it Post Determine and Content material subject matter. To rename it, double-click the Section identify, kind the new label, and press Return.
Naming sections to your templates is a simple method to stay organized. It moreover makes parts more uncomplicated to identify for the reason that template grows.
Forward of together with modules, alter the Flexbox settings. With the Section determined on, transfer to the Design tab. Amplify the Construction risk team of workers, hover over the Vertical Hollow field, and follow the Spacing – Medium variable.
Add The Post Determine Module
Add a single-column Row to the Section. Then, add a Post Determine module throughout the Row.
Inside the module’s Content material subject matter tab, disable the Show Featured Image toggle. We’ll add the featured image one at a time with an Image module so we can style it further without delay.
Next, transfer to the Design tab, hover over the Determine Text risk team of workers, and click on at the Preset icon.

Choose the Heading 1 preset from the available alternatives.

Amplify the Meta Text risk team of workers and set the Meta Font Style to Italics. Then, follow the Body amount variable to the Meta Text Dimension field.

Add The Featured Image
Add an Image module and assign the Rounded preset to it.

Inside the Image module’s Content material subject matter tab, build up the Image risk team of workers. Hover over the Image field, click on at the Insert Dynamic Content material subject matter icon, and make a selection Featured Image.
Add The Post Content material subject matter Module
In spite of everything, add the Post Content material subject matter module to the Row. This module outputs the body content material subject matter of the current submit.
Go to the Design tab and build up the Determine Text risk team of workers.

We’ll set typography values for each heading level throughout the submit content material subject matter. Inside the H1 tab, hover over the Heading Text H1 Text Dimension field to turn the Insert Dynamic Content material subject matter icon. Choose the H1 amount variable from your global numbers.
Next, hover over the Heading Text H1 Line Best field, click on at the Insert Dynamic Content material subject matter icon, and make a selection the Line Best – Headings amount variable.

Repeat the ones steps for the remaining heading levels. Use the matching amount variable for each heading dimension, comparable to H2, H3, H4, H5, and H6. Then, use Line Best – Headings for each heading line-height field.
Now, build up the Body Text risk team of workers. Observe your Dark Text preset or use the comparable Body Text colour, Body text dimension, and Line Best variables from your design system.
Configure The Row And Column Settings
Forward of together with the next Row, alter the Row and Column settings. Choose the Row and transfer to the Design tab. Amplify the Construction risk team of workers and set Align Items to Heart.

Now, edit the Column settings. Go to the Row’s Content material subject matter tab and click on at the edit icon for the Column.

Go to the Design tab and build up the Construction risk team of workers. Observe the Spacing – XSmall variable to the Vertical Hollow field.

Add every other single-column Row to the Section to take care of the Pagination module. This offers readers a quick method to switch to the previous or next submit.
Inside the module’s Content material subject matter tab, build up the Text risk team of workers. Enter the previous and next labels you want to turn.

Step 2: Post Author Section
Add a brand spanking new Section and identify it Post Author throughout the Layers panel. Then, add a brand spanking new 1/4 + 3/4 Row to the Section.

Forward of together with modules, alter the sizing settings in each Column. Open the new Row and edit the principle Column. Inside the Design tab, build up the Sizing risk team of workers. Set the Column Class to 1/8.

For the second Column, set the Column Class to 21/24.

Now, open the Row settings and build up the Construction risk team of workers. Inside the Horizontal Hollow and Vertical Hollow fields, follow the Spacing – Medium variable.

Add Modules To The Row
Inside the first Column, add an Image module and follow the Rounded preset.
Amplify the Image risk team of workers throughout the Content material subject matter tab, hover over the Image field, and click on at the Insert Dynamic Content material subject matter icon. When the decisions appear, make a selection Author Profile Symbol.

In the second Column, add a Heading module and follow the Heading 4 preset. Amplify the Text risk team of workers, hover over the Heading field to turn the Insert Dynamic Content material subject matter icon, and make a selection Post Author.

Next, add a Text module. Observe the Dark Text preset, build up the Text risk team of workers throughout the Content material subject matter tab, and make a selection Author Bio with the Insert Dynamic Content material subject matter icon.

In spite of everything, add a Button module and follow the Crammed – Primary Color preset. Inside the Text risk team of workers, use Post Author for the reason that dynamic content material subject matter and enter Additional Posts by the use of throughout the Forward of field.

Step 3: Identical Posts
Create a brand spanking new Section and identify it Identical Posts. Add a single-column Row to the Section, then add a Heading module. Observe the Heading 2 preset to the Heading module.

Next, add a Blog module. Inside the Content material subject matter tab, build up the Content material subject matter risk team of workers and set the Post Rely to 3.

Amplify the Parts risk team of workers and disable Show Pagination.

Inside the Design tab, follow the Heading 4 preset to the Determine Text risk team of workers, the Dark Text preset to the Body Text risk team of workers, and the Small Text preset to the Meta Text risk team of workers.

Step 4: Post Comments
The overall Section throughout the template will house comments. Create a brand spanking new Section and identify it Post Comments. Add a single-column Row, then add the Comments module.
Inside the Design tab, follow the Heading 2 preset to the Form Determine Text risk team of workers and the Crammed – Primary Color preset to the Button risk team of workers.

Amplify the Meta Text risk team of workers. Observe the Body Small variable to the Meta Text Dimension field and the Line Best – Body variable to the Meta Line Best field.

In spite of everything, build up the Commentary Text risk team of workers and follow the Body variable to the Commentary Text Dimension field. Use the Line Best – Body variable for the Commentary Line Best field.

Step 5: Check out For Responsiveness
Even supposing we built the submit template with Design Variables and Presets, it’s however very important to test how the construction behaves all over visual display unit sizes. Divi 5 provides two useful apparatus for this: Customizable Responsive Breakpoints and the Responsive Editor.
Divi 5 is helping up to seven customizable breakpoints throughout the Visual Builder’s Best Bar.

Clicking the ellipsis menu with regards to the responsive icons opens a modal that permits you to allow or disable breakpoints from smaller phones to ultra-wide desktop shows.

You’ll have the ability to moreover use the responsive width field to enter explicit preview widths and try the construction further precisely.
However, click on at the responsive icons to cycle through lively breakpoints and preview how the template turns out at each dimension.
If you want to need to make module-level changes, use the Responsive Editor. Hover over a responsive-supported field and click on at the Edit Responsive Values icon.

A modal turns out, allowing you to keep an eye on values for quite a lot of breakpoints in one place.

Pointers And Best possible Practices
Listed here are a few ways to get further out of your Theme Builder templates and keep the workflow setting pleasant.
Identify The entire thing
Identify sections, rows, and very important modules throughout the Layers panel. As you spotted throughout the single submit template assemble, clear labels make it much more simple to navigate and edit higher templates later.

Keep Designs Consistent
Use the Design Variables and Presets you created earlier throughout the path on each instance imaginable. The additional your templates reference shared values, the easier they’re to exchange later. For instance, changing a shared colour or spacing variable can exchange each template house that uses it.

Use The Loop Builder For Custom designed Archives
For Magnificence and Author archive pages, imagine the usage of the Loop Builder instead of the standard Blog module when you need further construction control. It lets you design the repeated submit products and use Dynamic Content material subject matter to populate each loop products.

Create A Backup Of Your Templates
Export your templates perpetually as JSON files from the Theme Builder. Exports are useful backups and can help you reuse or switch your template system to a few different internet web site.

Check out Templates With Precise Content material subject matter
Check out your templates with precise or lifestyles like content material subject matter previous than free up. Post a few check out posts with featured footage, different content material subject matter lengths, a few authors, categories, and comments. That is serving to you catch construction issues that received’t appear when each submit turns out the identical.
Download The Data
To help you observe along, we’ve in a position a JSON report containing the finished All Posts template, plus templates for the Header, Footer, Magnificence Pages, Author Pages, Search Results, and 404 Internet web page.

Forward of importing, be certain you don’t have any lower than one blog submit with a featured image. That gives the templates precise content material subject matter to turn when you preview them.
Import the JSON report by the use of going to Divi > Theme Builder and clicking the Import & Export icon at the top correct.

Choose the Import tab, to find the coworking-website-global-website-templates.json report to your computer, and click on on Import Divi Theme Builder Templates.

@media best visual display unit and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:previous than { border-top-color: #ffffff !very important; border-left-color: transparent !very important; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !very important; border-left-color: transparent !very important; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !very important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { colour: #f92c8b !very important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:previous than { background: #f92c8b !very important; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !very important } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !very important; } .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 strong { 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 strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !very important;}
Download For Unfastened
Join the Divi Publication and we will electronic mail you a reproduction of the ultimate Divi Landing Internet web page Construction Pack, plus a lot of selection superb and unfastened Divi assets, tips and guidelines. Practice along and also you’re going to be a Divi take hold of in no time. If you’re already subscribed simply kind to your electronic mail take care of underneath and click on on download to get right of entry to the construction pack.
You’ve successfully subscribed. Please take a look at your electronic mail take care of to make sure your subscription and get get right of entry to to unfastened weekly Divi construction packs!
What’s Coming Next
With the only submit template complete and the remaining Theme Builder templates mapped out, the coworking internet web page now has a stronger dynamic foundation. Blog posts, archives, search results, and error pages can all observe the identical branded system.
In Segment 9 of the Divi 5 Mastery Direction, we’ll assemble the inner pages of the internet web site. While you’ve were given no longer downloaded Divi 5 but, now is an excellent time to get the most recent type and follow what you’ve found out.
The submit Section 8: The usage of Divi 5’s Theme Builder To Create World Web site Templates seemed first on Chic Topics Weblog.


0 Comments