Update to refresh less often
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Aug 2018 15:15:59 +0000 (11:15 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Aug 2018 15:15:59 +0000 (11:15 -0400)
Every 5 minutes.

functions.php
js/custom.js
style.css

index 6a7ca2e..62dd3c6 100644 (file)
@@ -196,7 +196,7 @@ function accesspress_parallax_scripts() {
     wp_enqueue_script( 'slick', get_template_directory_uri() . '/js/slick.js', array('jquery'), '1.8.0', true );
 
 
-       wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0.1', true );
+       wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0.2', true );
     wp_localize_script( 'accesspress-parallax-custom', 'ap_params', $slider_parameters );
     wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.4', true );
        wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.4" );
index 468e94c..4781480 100644 (file)
@@ -179,7 +179,7 @@ jQuery(document).ready(function($){
     setInterval(function(){
         $('#cam1').attr('src','http://www.hotelearl.com/images/HotelEarlNCam.jpg?b=' + Math.random());
         $('#cam2').attr('src','http://www.hotelearl.com/images/HotelEarlSCam.jpg?i=' + Math.random());
-    }, 60000);
+    }, 300000);
     // $('.menu').children('li').children("a").on("click", function(e){
     //     e.preventDefault()
     // })
index 027e87a..9daf258 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,7 +3,7 @@ Theme Name: Hotel Earl
 Theme URI: https://accesspressthemes.com/wordpress-themes/accesspress-parallax/
 Author: AccessPress Themes
 Author URI: https://accesspressthemes.com/
-Version: 1.0.9
+Version: 1.0.10
 License: GNU General Public License v3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain: accesspress-parallax