Home › Forums › Support › Help with a little javascript in copyright field footer This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by David. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts January 8, 2020 at 3:20 am #1125409 Toni I can’t put this little code in the copyright field footer with html allowed: <a class="change-consent" onclick="window.__cmp('displayConsentUi');">Configuración de privacidad</a> This show the privacy consent in my page, but when paste this code, the onlick call disappears. 🙁 Thanks and sorry for my bad english. January 8, 2020 at 8:41 am #1125884 DavidStaff Customer Support Hi there, looks like WP doesn’t like that HTML inside the Customzier. What happens if you add it to a HTML Widget in the Footer Bar ? January 8, 2020 at 8:56 am #1125898 Toni html Widget in the footerbar1 works, but not in the copyright bar. January 8, 2020 at 9:07 am #1125906 Toni Well, the widget appears in the footer bar, but aligned to the right. I have been able to fix it more or less. At least the javascript call works. (look my homepage) January 8, 2020 at 1:19 pm #1126114 DavidStaff Customer Support Not sure why the Copyright field rejects it. Looks good in the widget, is that acceptable ? Let me know Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In