Adding legal policies to a website is one of those jobs that usually happens toward the end of a project. The website is designed, the content is in place, the forms are working, and then you realize you still need to figure out how to handle the Privacy Policy, Terms and Conditions, Cookie Policy, and other legal requirements.
If you’re using Divi, adding the actual policies to your website isn’t particularly complicated. The bigger challenge is creating the policies and then connecting everything so they’re available to visitors and your cookie consent settings work properly.
In this tutorial, I’ll show you how I use Termageddon to manage policies and integrate them into a Divi website, including policy pages, footer links, cookie consent, and a Privacy Settings link.
▶️ Please watch the video above to get all the exciting details! 👆
What Is Termageddon?
Termageddon is a service that helps website owners create and maintain legal policies for their websites. Instead of trying to write these policies yourself, you answer questions about your website and business, and Termageddon uses that information to generate the appropriate policy.
It also provides tools for embedding those policies on your website and managing cookie consent, making it a useful option when you’re building a WordPress site with Divi.
I use Termageddon for this process because it handles the part of the job I don’t want to reinvent for every website. Once the policies are created, I can focus on integrating them into the website and making sure visitors can easily find them.
The policies you need will depend on the individual website. A simple brochure website may have different requirements than an online store, membership site, or website collecting information through forms and email marketing.
Termageddon offers several types of policies, including Privacy Policies, Terms & Conditions, Cookie Policies, Disclaimers, and EULAs. You should choose the policies that actually apply to your website rather than assuming every site needs every available option.
With that in mind, let’s create the policies we’ll be adding to our Divi website.
If you’re an agency or freelancer building websites for clients, Termageddon also has an agency partner program worth knowing about. Agency and freelance users can get a set of policies for their own website and have options for providing policies to their clients. If that’s relevant to you, it’s worth checking out the current agency program before purchasing a license.
Create Your Legal Policies
Before we touch Divi, you’ll need to create your website’s policies in Termageddon.
After logging into your Termageddon account, you’ll find the available policy generators. Choose the policy you want to create and work through the questionnaire.
Termageddon will ask various questions about your website, your business, the information you collect, the services you use, and other details that affect the policy.
I personally love their simple, easy-to-use interface. Also, since some questions are technical and confusing, I suggest enabling the TermaGuider, which is very helpful and provides a video, a direct answer, and a recommendation for each field in the questionnaire.
Termageddon will ask various questions about your website, your business, the information you collect, the services you use, and other details that affect the policy.
Take your time with these questions and answer them based on how the website actually works. This is one of the most important parts of the process. If your website uses Google Analytics, collects information through a contact form, has an email newsletter, sells products, or uses other third-party services, make sure those details are accurately reflected in your answers.
FYI: This tutorial is not meant to teach you every detail of creating policies in Termageddon, but rather to show you how to embed them into Divi. Please consult the Termageddon resources for anything related to policy creation.
Choose The Policies You Need
It will start by asking some basic questions about your website and then identify which policies you should create. Termageddon will activate the policy generators it determines are relevant based on your answers.
For example, in my setup, Termageddon has activated the Privacy Policy, Terms of Service, and Disclaimer generators, while the EULA is inactive. The exact recommendations will be different depending on how your website is set up, so don’t be surprised if your screen doesn’t look exactly like mine.
I also like that this step helps determine whether you need a Cookie Policy and consent tool. You don’t have to guess which options apply to your website—the questionnaire uses the information you provide to make those determinations.
Once you’ve worked through the Policy Identifier, click Next to continue through the questionnaire and provide the information Termageddon needs to generate your policies.
Copy Your Policy Embed Code
Once you’ve completed the questionnaire, Termageddon generates your policies based on the information you provided. From there, you can grab the embed code for each policy and add it to your website.
In your Termageddon account, go to the Embed Codes section and select Policies. You’ll see the available policies listed along with a Copy Code button for each one.
You’ll also see a few other useful options here, including Styling Options for policies that support them. For now, we just need the embed code, so click Copy Code for the policy you’re ready to add.
Termageddon provides a separate embed code for each policy, so you’ll repeat this process for your Privacy Policy, Cookie Policy, Terms of Service, Disclaimer, or any other policies you’ve activated.
You’ll also notice that this screen includes the Cookie Consent Tool and Usercentrics Policy Settings Link. We’ll come back to both of those later, since they require a little more setup than simply embedding a policy on a page.
For now, copy the embed code for your first policy. In the next section, we’ll take that code into WordPress and add it to a Divi page.
Add Your Legal Policies To Divi
Now that you have the embed code, it’s time to add the policies to your Divi website. The easiest approach is to create a separate WordPress page for each policy and place the corresponding Termageddon embed code inside a Divi Text module.
Create A WordPress Page For Your Policy
Start by creating a new page in WordPress for the policy you’re adding. Give the page a straightforward name, such as Privacy Policy, and then open the page with Divi.
Add The Termageddon Embed Code
You don’t need to add much to the page itself. The Termageddon policy will provide the actual content, so there is no reason to recreate the policy text inside your Divi layout.
Open the Divi Builder and add a Text module to the page. In the Text module, switch to the Text tab so you can work with the HTML rather than the Visual editor.
Paste the embed code you copied from Termageddon into the module and save your changes.
You will not see the actual policy while you’re working in the Visual Builder. That’s normal. The embed code loads the policy on the frontend, so save the page and exit the builder to see the result. The policy will load automatically on the page, so you don’t have to manually paste the policy content into Divi.
This is my favorite thing about using Termageddon and their embed code. And the best part is that it will auto-update. The policy content itself is managed through Termageddon, while Divi handles the page layout.
Repeat For Your Other Policies
Once you’ve added the first policy, the process is the same for the others. Create a page for each policy, add a Divi Text module, and paste in the corresponding Termageddon embed code.
For example, you might end up with separate pages for your Privacy Policy, Cookie Policy, Terms of Service, and Disclaimer.
With the policies now on your website, the next step is to ensure visitors can actually find them.
Add Your Legal Links To The Divi Footer
Legal policies aren’t much use if visitors have to hunt around the website to find them. I like putting the policy links in the footer because it gives them a consistent home and makes them available from every page.
Rather than adding individual links directly to the footer, I recommend creating a small WordPress menu for your legal pages. That way, you can manage the links from one place and use the menu wherever you need it.
Create A Legal Navigation Menu
In your WordPress dashboard, go to Appearance > Menus and create a new menu. Give it a name such as Legal or Legal Policies, then add the policy pages you just created.
You don’t necessarily need to include every policy on every website. Just add the policies that apply to your particular site.
Once the menu is saved, we can add it to the footer through the Divi Theme Builder.
Add The Legal Menu To Your Divi Footer
Open Divi > Theme Builder and edit your global footer. Add a Menu module where you want your legal links to appear, then select the legal menu you just created.
From there, you can style the menu to match the rest of your footer. I usually keep these links fairly simple rather than making them compete with the main navigation or other footer content.
Once you’re finished, save the Theme Builder changes and check the frontend. You should now have a consistent set of legal links available throughout the website.
While creating your footer, check out this trick to make an auto updating copyright text.
Add Cookie Consent To Your Divi Website
Adding a Cookie Policy page is only part of the process. If your website needs to obtain consent for cookies or other tracking technologies, you’ll also need a cookie consent solution.
Termageddon includes a Cookie Consent Tool that works alongside its policy system. This is separate from the Cookie Policy we added earlier: the policy explains your website’s use of cookies, while the consent tool gives visitors a way to make and change their choices.
In your Termageddon account, go back to Embed Codes > Policies. You’ll find the Cookie Consent Tool listed below the individual policy embed codes.
Since we are using Divi and WordPress, we will use the Termageddon plugin rather than manually adding the consent script to the site.
Install The Termageddon + Usercentrics Plugin
In your WordPress dashboard, go to Plugins > Add New Plugin and search for the Termageddon + Usercentrics plugin.
Install and activate the plugin.
Once the plugin is active, Termageddon provides the ID you need to connect the plugin to your account. You can find this in the Cookie Consent Tool section of your Termageddon embed code settings.
In WordPress, go to Tools > Termageddon + Usercentrics and enter the Settings ID provided by Termageddon.
Save the settings, and the consent solution will be connected to your Termageddon setup.
There are a couple of additional settings worth looking at when you’re using this with Divi, so don’t move on just yet. We need to make sure the consent tool behaves properly while you’re logged in and working in the Divi Builder.
Configure The Plugin Settings
There are a couple of additional settings worth looking at when you’re using this with Divi, so don’t move on just yet. We need to make sure the consent tool behaves properly while you’re logged in and working in the Divi Builder.
In the plugin settings, you’ll find options to hide the consent solution for administrators and logged-in users. I recommend enabling both of these options when using the plugin with Divi.
This is important because the cookie consent tool can interfere with the Divi Visual Builder when you’re logged into WordPress. Hiding it for administrators and logged-in users keeps it out of the way while you’re building and editing the website, while regular visitors will still see the consent tool as expected.
Geo-Location Tab
The last setting to configure is the Geo-Location tab. This controls which cookie consent solution is shown based on the visitor’s location, allowing you to apply different consent requirements for different regions.
Go to the Geo-Location tab in the Termageddon + Usercentrics settings. First, make sure Geo-Location is enabled.
Under Show widget if visitor is located in, enable the regions that apply to your website. The available options include the European Union & European Economic Area (GDPR), United Kingdom (UK DPA), Canada (PIPEDA, Quebec 25), and individual U.S. states with applicable privacy laws.
Which regions you enable depends on where your visitors are located and which privacy laws apply to your website. Termageddon provides additional guidance about which regions should be selected, so be sure to review those requirements rather than simply enabling every option.
Click Save Changes when you’re finished.
With the plugin settings configured, the next step is to give visitors a convenient way to change their cookie consent preferences. Since the Legal Menu is already displayed in the global footer, adding the Privacy Settings option there keeps it accessible throughout the website.
Add the Privacy Settings Link To Your Legal Menu
Now that the cookie consent tool is configured, you need to give visitors a way to change their consent preferences. Since the Legal Menu is already in your global footer, this is a convenient place to add the Privacy Settings link so it is available throughout the website.
Go to Appearance > Menus and open your Legal Menu. If you do not see a CSS Classes field when editing menu items, click Screen Options at the top of the page and enable CSS Classes.
Add a new Custom Link to the menu. Enter # in the URL field and enter Privacy Settings as the Link Text.
Click Add to Menu, then expand the new menu item. In the CSS Classes field, enter:
usercentrics-psl
Be sure to save the menu, and you’re done!
The # is only being used as a placeholder so WordPress will allow you to create the Custom Link. You do not need to add any special HTML or shortcode to the menu item. The Termageddon + Usercentrics plugin recognizes the usercentrics-psl class and handles the Privacy Settings functionality for you.
Now the Privacy Settings option can be displayed as part of your existing Legal Menu through the Divi Menu module in your global footer. Visitors can use it to reopen the consent interface and change their privacy preferences.


















0 Comments