Divi PHP Code Module

Display a Link to the Author's Website in Divi

If you'd like to display a link to the website of the current page / post's author in Divi, here's a way to do it. First, here's where your authors can add their website URL: Profile > Contact Info > Website Display the Author Website Link using Divi PHP Code...

Dynamically Changing the Divi Menu Module Menu

If you're looking to have your Divi Menu module display different menus in different circumstances, such as the user's navigation path, here's an example of how it can be achieved with a bit of PHP code. In this example we'll let the set it up so that we can include...

Including a PHP Template File in Divi Builder

The Divi PHP Code Module lets you easily add PHP code anywhere in your Divi Builder pages. One of the many things you can do with it is insert existing PHP templates into your layout. Here's an example: Suppose you have an existing PHP template file called...