Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

post purechat widget

Home / Forums / Virtue Theme / post purechat widget

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
January 12, 2016 at 4:38 pm

I am looking to post this code in the footer on every page, but editing the footer.php doesnt seem to place it on every page.

<script type=’text/javascript’ data-cfasync=’false’>window.purechatApi = { l: [], t: [], on: function () { this.l.push(arguments); } }; (function () { var done = false; var script = document.createElement(‘script’); script.async = true; script.type = ‘text/javascript’; script.src = ‘ document.getElementsByTagName(‘HEAD’).item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == ‘loaded’ || this.readyState == ‘complete’)) { var w = new PCWidget({c: ‘a4daef33-b3ac-462b-9dc7-04351fce9e3b’, f: true }); done = true; } }; })();</script>

  • The forum ‘Virtue Theme’ is closed to new topics and replies.