Adding Zingle code
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Jun 2018 20:06:17 +0000 (16:06 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 19 Jun 2018 20:06:17 +0000 (16:06 -0400)
To head tag

header.php
style.css

index 395a4c7..da66ad1 100644 (file)
@@ -8,6 +8,9 @@
     <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.31">
      <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" rel="stylesheet">
     <?php wp_head(); ?>
+       <script>
+       !function(e,n,t,r){function s(){try{var e;if((e="string"==typeof this.response?JSON.parse(this.response):this.response).url){var t=n.getElementsByTagName("script")[0],r=n.createElement("script");r.async=!0,r.src=e.url,t.parentNode.insertBefore(r,t)}}catch(e){}}var o,i,p,a=[],c=[];e[t]={init:function(){o=arguments;var e={then:function(n){return c.push({type:"t",next:n}),e},catch:function(n){return c.push({type:"c",next:n}),e}};return e},on:function(){a.push(arguments)},render:function(){i=arguments},destroy:function(){p=arguments}},e.__onWebMessengerHostReady__=function(n){if(delete e.__onWebMessengerHostReady__,e[t]=n,o)for(var r=n.init.apply(n,o),s=0;s<c.length;s++){var u=c[s];r="t"===u.type?r.then(u.next):r.catch(u.next)}i&&n.render.apply(n,i),p&&n.destroy.apply(n,p);for(s=0;s<a.length;s++)n.on.apply(n,a[s])};var u=new XMLHttpRequest;u.addEventListener("load",s),u.open("GET","https://cdn.zingle.me/web-chat/loader.json",!0),u.responseType="json",u.send()}(window,document,"Zingle");
+       </script>
   </head>
   <body>
       <div class="off-canvas-wrap" data-offcanvas>
index 49fe79d..eca3e38 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: StarLine
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Star Line
-Version: 1.0.31
+Version: 1.0.32
 */