Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
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]
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/