Module 2 - Lesson 9

Where to Add Custom Code

In the final lesson of the Divi Theme Workflow module, I’d like to discuss all the different ways we can add custom code inside our Divi websites. And by “custom code” I’m referring to custom CSS, JavaScript and PHP code. I’ll show you how to add code using Divi Theme settings, a child theme, custom functionality plugin or a Code Snippets plugin.

Video Chapters

00:00 Introduction

01:10 CSS - Divi Custom CSS

01:42 CSS - Page/Template Settings

02:13 CSS - Builder Elements' Settings

03:08 CSS - Code Module

03:32 CSS - Child Theme Stylesheet

04:10 WordPress Conditional Tags

04:39 Creating a Functionality Plugin

06:28 JavaScript - Divi Theme Options

06:52 JavaScript - Code Module

07:07 JavaScript - Child Theme & Functionality plugin

07:48 Adding PHP code to Divi

Action Items

Join the discussion

Share your thoughts about this lesson with fellow students!

Login to your Account

If you're a DSA Student, please log in to your account to access the course content.

Sorry, you don't have access to this content.

It looks like you're not enrolled in Divi Stylist Academy.