updates for ssl
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Jun 2018 12:35:41 +0000 (08:35 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Jun 2018 12:35:41 +0000 (08:35 -0400)
http to https

footer.php
parts/micro-map-dropdown.php
style.css

index 05da918..5f44eca 100644 (file)
                                 </div>
                             </div>
                         </footer>
-                    
+
                 <div class="jvectormap-tip" style="display: none; left: 849px; top: 677px;">Languedoc-Roussillon-Midi-Pyrénées</div>
                 <div id="copyright">
                     <span>Copyright &copy; <?php echo date('Y');?> </span>
                     <span class="bullet"> &#8226; </span>
-                    <span> Produced by <a target="_blank" href="http://www.gaslightmedia.com">Gaslight Media</a></span>
+                    <span> Produced by <a target="_blank" href="https://www.gaslightmedia.com">Gaslight Media</a></span>
                     <span class="bullet"> &#8226; </span>
                     <span> All Rights Reserved.</span>
                 </div>
@@ -37,7 +37,7 @@
       </div><!--End of off-canvas-->
   <?php wp_footer();?>
 <script charset="utf-8" type="text/javascript">var switchTo5x=true;</script>
-<script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
+<script charset="utf-8" type="text/javascript" src="https://ws.sharethis.com/button/buttons.js"></script>
 <script charset="utf-8" type="text/javascript">stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"});var st_type="wordpress4.3.1";</script>
   </body>
 </html>
index 814feea..01a20d6 100644 (file)
@@ -1,6 +1,6 @@
 <ul id="micro-map-dropdown">
     <li class="drop-centered menu-item menu-item-object-page menu-item-has-children has-dropdown drop-left not-click">
-        <a href="http://francejourneys.com/product-tag/wine-tours/">Wine Tours</a>
+        <a href="https://www.francejourneys.com/product-tag/wine-tours/">Wine Tours</a>
         <ul class="dropdown">
             <div id="micro-map">
                  <div class="row wine-map-container">
@@ -13,7 +13,7 @@
                     </div>
                     <div class="small-12 large-4 columns region-info-container show-for-large-up">
                         <?php
-                         $default_block = get_post(1608); 
+                         $default_block = get_post(1608);
                          $default_image = wp_get_attachment_image_src(get_post_thumbnail_id(1608),'glm-block-image');  ?>
                          <div class="wine-image"><img class="wine-img" src="<?php echo $default_image[0];?>"></div>
                         <div class="wine-title"><?php echo $default_block->post_title;?></div>
@@ -29,7 +29,7 @@
     $partners_blocks = fetch_all_glm_blocks(1595);
     foreach ($partners_blocks as $id=>$block){
          if ( has_post_thumbnail($block) ) {
-            $map_image = wp_get_attachment_image_src(get_post_thumbnail_id($block->ID),'glm-block-image'); 
+            $map_image = wp_get_attachment_image_src(get_post_thumbnail_id($block->ID),'glm-block-image');
             $categories[$block->post_name] = array('title' => $block->post_title,'url'=>$block->url, 'content'=>$block->post_content, 'image'=>$map_image[0], 'id'=>$block->ID);
          } else {
             $default_image = get_template_directory_uri().'/assets/tours-default.jpg';
         }
         $image = $block->thumbnail;
         $image_url = wp_get_attachment_url($block->ID);
-        
+
     }
     $js_categories = json_encode($categories);
 ?>
 <script>
 jQuery(document).ready( function ($) {
     var page = jQuery('body');
-    
+
     var map                    = <?php echo $js_categories ?>;
     var regions                = ['jura','alsace','burgundy', 'champagne', 'loire-valley', 'bordeaux', "rhone-valley", 'languedoc-roussillon', 'provence', 'corsica', 'beaujolais', 'south-west','savoie','cognac'];
     var map_content            = page.find( jQuery('.wine-content')),
         map_image_container    = page.find( jQuery('.wine-image')),
         map_title              = page.find( jQuery('.wine-title')),
         map_image              = page.find( jQuery('.wine-img'));
-    
-    
+
+
     jQuery.each(regions, function(index, value){
-        
+
         // region click page re-direction
         jQuery("." + value).on("click", function(){
            window.location.href = map[value]['url'];
         });
-        
+
         // hover effects
         jQuery("." + value).mouseover( function(){
             jQuery("." + value).css({opacity: 0.9, cursor: 'pointer'});
@@ -75,4 +75,4 @@ jQuery(document).ready( function ($) {
         });
     });
 });
-</script>
\ No newline at end of file
+</script>
index 030dfeb..e1d14fa 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: FranceJourneys
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for FranceJourneys
-Version: 1.0.24
+Version: 1.0.25
 */