Processing javascript on wordpress

The script tags are only there to contain the JavaScript that will be executed by the browser. You need to tell WordPress to ignore those tags so it doesn’t process them as HTML. One way to do this is to use the “esc_html” function. You’ll need to wrap the script tags in the following code: … Read more

Elementor Contact Form Submit button has empty class

You can add below code in your JS file and replace the class demo with class name you want to add. I have made this code as per the structure in the URL you have shared above. jQuery(“#content-form-b1e59dc”).find(“button”).addClass(“demo”);

Virus injected to my wordpress site

Although hacked sites are not within scope here (and your question will be closed because of that policy), there are questions here about hacked sites that have answers that will be helpful (I’ve written a couple of them). Cleanup is time-consuming, but possible. Generally – Change passwords on everything, including your admin-level user and hosting … Read more