Home>Support>Cannot see code

Cannot see code

i have included a live chat code ( see below ) into my theme footer.php. However, i just cannot see / find it updated when i do a view source. Pls advise
[ code]

{literal}

var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement(“script”),s0=document.getElementsByTagName(“script”)[0];
s1.async=true;
s1.src=’https://embed.tawk.to/561627ba893fab59658ad45f/default’;
s1.charset=’UTF-8′;
s1.setAttribute(‘crossorigin’,’*’);
s0.parentNode.insertBefore(s1,s0);
})();

{/literal}

[/ code]

URL: http://www.singaporecityexplorers.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Hi Reneng

    All WordPress.org themes completely overwrite their own folder during theme updates. Changes made directly to theme files will be lost if you ever run a theme update.

    If you need to add a script to the footer, try the following plugin:

    https://wordpress.org/plugins/header-and-footer-scripts/

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More