Divi Code Modules and the Divi Library – Adding Code to Your WordPress Site

Divi is a WordPress page builder that allows non-coders to design websites using a drag and drop interface. However, there are times when you need to get in the code to add a bit of customization or functionality to your site. This can be as simple as adding CSS to give your site a unique aesthetic or as complex as editing PHP files. Divi includes a number of tools to help you do both.

One of these tools is the divi code Module. This is a special type of module that is designed specifically to allow you to include code snippets. For example, if you want to make your “Read More” links on your blog posts clickable, you can use the Code Module to add a piece of JavaScript that will make this happen.

Unlocking Value: The Ultimate Guide to Divi Promo Codes and Discounts

Another tool is the Divi Library. This is where you can save design elements or entire layouts to be accessed, edited and re-used on any page. These items can even be made “Global,” meaning they will be mirrored and updated across every page where they are added.

Finally, any module, row or section can be given a name via the right click controls. This can be helpful if you have many of these modules on a page, as it will help you keep track of them when you are looking at the page in your browser. You can also use the Library to clone any existing page on your website to instantly create a new version of that page with the same design.

Leave a Reply

Your email address will not be published. Required fields are marked *