Archived topic
How can I add the DCMA PROTECT badge on the footer of my blog?
5 replies · Started by Theodore on July 17, 2019
Hi,
Please, I've been trying to add the DCMA PROTECT badge on my blog footer. I want it to show just under the copyright text, but I've not been able to achieve that. I need help please.
Below is the script:
<a href="//www.dmca.com/Protection/Status.aspx?ID=35e73060-ee99-49eb-a2a5-7ed6fc8eba57" title="DMCA.com Protection Status"> <img src="https://images.dmca.com/Badges/dmca_protected_sml_120m.png?ID=35e73060-ee99-49eb-a2a5-7ed6fc8eba57" alt="DMCA.com Protection Status" /></a> <script src="https://images.dmca.com/Badges/DMCABadgeHelper.min.js"> </script>
Hi there,
I believe the Hooks element should help:
https://docs.generatepress.com/article/hooks-element-overview/
https://docs.generatepress.com/article/hooks-visual-guide/
Let me know :)
Thanks a lot Leo,
I've added it, but it also added a white background on the footer. Is there a way I can make it retain the original background color?
Are you currently using the after footer hook? what if you try after_footer_content instead?
I just did, but the white background is still showing.
Wraps the code like this:
<div style="background-color: #000"> code in there </div>