This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Cannot see code

10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 4 months ago

    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.

Have a different question or issue?

Start New Thread