From 6c0ea6969c77ef4c64528796f22b64a0afa695c2 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 24 Aug 2018 11:15:59 -0400 Subject: [PATCH] Update to refresh less often Every 5 minutes. --- functions.php | 2 +- js/custom.js | 2 +- style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 6a7ca2e..62dd3c6 100644 --- a/functions.php +++ b/functions.php @@ -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" ); diff --git a/js/custom.js b/js/custom.js index 468e94c..4781480 100644 --- a/js/custom.js +++ b/js/custom.js @@ -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() // }) diff --git a/style.css b/style.css index 027e87a..9daf258 100644 --- 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 -- 2.17.1