javascript code in settings?
-
I am trying to make a link within the woocommerce checkout privacy policy text that opens a popup window.
Specifically the following code:
<a href="https://straightawayfarms.com/policies.html" target="popup" rel="noopener">
But when I do that and click save, it seems to remove the entire “onclick=….” from the link and becomes this:
<a href="https://straightawayfarms.com/policies.html" target="popup" rel="noopener">
Almost like it does not allow use of javascript within those settings fields?
Does anyone know how else I could get a link in that privacy policy text to open as a popup window?
Thanks.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘javascript code in settings?’ is closed to new replies.