Inserting a script
-
Hi,
First… I absolutely LOVE Elementor!
That said, I have accidentally broken Elementor by inserting a script designed to obfuscate my email address.
Here is the script:
++++++++++++++++++
<script>// <![CDATA[
var username = “feznizzle”;
var hostname = “gmail.com”;
var linktext = username + “@” + hostname ;
document.write(“” + linktext + ““);
// ]]></script>
++++++++++++++++++I can insert that into the standard WP page editor, no problem.
However, when I edit a page via Elementor it fails. Not only does it fail, but it cannot be undone using the History button. I have also tried using the HTML widget, same result.
Can you tell me what I’m doing wrong?
Thanks!
- The topic ‘Inserting a script’ is closed to new replies.