adding share this to interior pages, removing console statement
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 23 Feb 2017 20:48:19 +0000 (15:48 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 23 Feb 2017 20:48:19 +0000 (15:48 -0500)
js/app.js
js/custom/pageSetup.js
sections/interior-page.php

index 3fc1f0b..0c300ee 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -114,7 +114,6 @@ $(window).on("load", function(){
         opacity: 1,
     }, 1000);
     
-
      // replace the event's img element with a wrapper div that has a background image of the same src
      $(event_feed).find(".slick-track").children('div').each( function () {
         var event_header = $(this).find('h6');
@@ -126,8 +125,6 @@ $(window).on("load", function(){
         var img_src = $(this).find("img").attr('src');
         $(this).find('img').wrap("<div style='background: url(" + img_src + ") no-repeat center center;background-size: cover;' class='image-container'></div>");
         $(this).find('img').remove();
-         console.log(img_src);
-
     });
 
 //        slideshow_description.css("opacity",".7");
index 6a3ad30..8943e53 100644 (file)
@@ -105,7 +105,6 @@ $(window).on("load", function(){
         opacity: 1,
     }, 1000);
     
-
      // replace the event's img element with a wrapper div that has a background image of the same src
      $(event_feed).find(".slick-track").children('div').each( function () {
         var event_header = $(this).find('h6');
@@ -117,8 +116,6 @@ $(window).on("load", function(){
         var img_src = $(this).find("img").attr('src');
         $(this).find('img').wrap("<div style='background: url(" + img_src + ") no-repeat center center;background-size: cover;' class='image-container'></div>");
         $(this).find('img').remove();
-         console.log(img_src);
-
     });
 
 //        slideshow_description.css("opacity",".7");
index 9f14148..46816a8 100644 (file)
@@ -33,6 +33,7 @@
                                         echo "</div>";
                                     }
                                     ?>
+                                    <?php get_template_part('parts/share-this'); ?>
                                     <?php get_template_part('parts/main-content');?>
                                 </div>
                             </div>