added shareThis pill to interior pages above the breadcrumbs
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 11 Mar 2016 18:12:23 +0000 (13:12 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 11 Mar 2016 18:12:23 +0000 (13:12 -0500)
index.php

index dc5c7b9..da2a5cc 100644 (file)
--- a/index.php
+++ b/index.php
             <div class="small-12 large-8 columns right">
         <?php } ?>
                 <div class="row">
+                    <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
+    <div id="addthis_wrapper">
+        <!-- AddThis Button BEGIN -->
+        <div class="addthis_toolbox addthis_default_style ">
+        <a class="addthis_counter addthis_pill_style"></a>
+    </div>
+    <script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
+    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5135fe4558d287a9"></script>
+<!--    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>-->
+        <!-- AddThis Button END -->
+    </div><!--/#addthis_wrapper-->
+    <?php } ?>
                     <?php get_template_part('parts/bread-crumbs'); ?>
                     <div id="main-content" class="small-12 columns">
                         <?php if(have_posts()) : while(have_posts()): the_post();?>