Add an “Affiliate Disclaimer” Widget to Your Blog Posts [Kadence]
The FTC has strict guidelines on affiliate marketing. Bloggers and those engaged in professional online affiliate marketing activities such as reviews, ad placements and links included in their content areas, are required to disclose to their visitors that they belong to an affiliate program. Links the visitor may click on could result in the blogger receiving a payment for the click, visit or if a purchase is made from the destination of that link.
If you are unfamiliar with working with your theme files, stop and ask for help. If you are familiar with modifying your theme files – you should back them up before proceeding.
Add the Widget Area – Kadence Framework
Locate your functions.php file in your child theme folder via FTP or the File Manager inside your hosting account. Click “View Raw” on the bottom right corner of the code window below. Copy and paste the content to the bottom of the functions.php file. Save it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Next we need to add a little styling. The following code will add a light background color and also some padding so the text is not resting on the edges of the background color. Add this code snippet to the Additional CSS box. Change the background color to your desired color.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Browse over to Appearance > Widgets. You should now see an “Affiliate Disclaimer” widget area. Add a Paragraph Block to that location and enter your disclaimer language. Then save it.
That’s it! Visit your blog posts and it should look like the image above.
It’s just me and my dog, Bella, taking on the web world one website at a time. I’m a freelance web developer who builds websites with WordPress and Shopify, and I love helping people with troubleshooting, support, and training. Around here, there’s usually coffee brewing, chocolate nearby, and Bella keeping an eye on everything.