Update for new cam images
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Aug 2018 14:39:11 +0000 (10:39 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 24 Aug 2018 14:39:11 +0000 (10:39 -0400)
Refresh them.

functions.php
js/custom.js
style.css

index 5f30b1d..6a7ca2e 100644 (file)
@@ -61,16 +61,16 @@ function accesspress_parallax_setup() {
        add_theme_support( 'post-thumbnails' );
        add_image_size( 'blog-header', 900, 300, array('center','center')); //blog Image
        add_image_size( 'portfolio-thumbnail', 560, 450, array('center','center')); //Portfolio Image
-    add_image_size( 'blog-thumbnail', 480, 300, array('center','center')); //Blog Image        
+    add_image_size( 'blog-thumbnail', 480, 300, array('center','center')); //Blog Image
        add_image_size( 'team-thumbnail', 380, 380, array('top','center')); //Portfolio Image
 
        // This theme uses wp_nav_menu() in one location.
        register_nav_menus( array(
         'primary' => __( 'Primary Menu', 'accesspress-parallax' ),
         'main' => __( 'Main Menu', 'accesspress-parallax' ),
-        
+
        ) );
-       
+
        /*
         * Switch default core markup for search form, comment form, and comments
         * to output valid HTML5.
@@ -167,7 +167,7 @@ function accesspress_parallax_scripts() {
                'accesspress_slider_speed' => (!of_get_option('slider_speed')) ? "1000" : of_get_option('slider_speed'),
                'accesspress_slider_pause' => (!of_get_option('slider_pause')) ? "5000" : of_get_option('slider_pause'),
        );
-       
+
 
        wp_enqueue_style( 'accesspress-parallax-google-fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ) );
        wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/css/fontawesome/css/font-awesome.min.css' );
@@ -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', true );
+       wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0.1', 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" );
@@ -313,7 +313,7 @@ add_action( 'after_setup_theme', 'wpse_setup_theme' );
 
 add_action( 'admin_init', 'posts_order_wpse_91866' );
 
-function posts_order_wpse_91866() 
+function posts_order_wpse_91866()
 {
     add_post_type_support( 'post', 'page-attributes' );
 }
@@ -322,24 +322,24 @@ function my_nav_wrap() {
     ob_start();
     include(__DIR__.'/parts/glm-client-info.php');
     $innerContent = ob_get_contents();
-    ob_get_clean();  
+    ob_get_clean();
     // default value of 'items_wrap' is <ul id="%1$s" class="%2$s">%3$s</ul>'
     // open the <ul>, set 'menu_class' and 'menu_id' values
     $wrap  = '<ul id="%1$s" class="%2$s">';
     // get nav items as configured in /wp-admin/
     $wrap .= '%3$s';
-    // the static link 
-    $wrap .= 
+    // the static link
+    $wrap .=
     '<li class="connect-menu">
         <a href="#">Connect With Us</a>
         <ul class="sub-menu oc-connect">
-            <li>'. file_get_contents(__DIR__. '/parts/social.php') . '</li> 
+            <li>'. file_get_contents(__DIR__. '/parts/social.php') . '</li>
             <li class="menu-item">' . $innerContent.'</li>
-            <li> 
+            <li>
                 <div class="social-oc">
                     <div class="online-reservations-container">
-                     
-                    </div> 
+
+                    </div>
                 </div>
             </li>
         </ul>
@@ -349,4 +349,4 @@ function my_nav_wrap() {
     $wrap .= '</ul>';
     // return the result
     return $wrap;
-}
\ No newline at end of file
+}
index 4af8418..468e94c 100644 (file)
@@ -103,9 +103,9 @@ jQuery(document).ready(function($){
     });
 
     $(window).bind('load',function(){
-        $('.googlemap-content').hide();  
+        $('.googlemap-content').hide();
     });
-    
+
     var open = false;
     $('.googlemap-toggle').on('click', function(){
         if(!open){
@@ -123,7 +123,7 @@ jQuery(document).ready(function($){
     $('.gallery-item a').each(function(){
         $(this).addClass('fancybox-gallery').attr('data-lightbox-gallery','gallery');
     });
-    
+
     $(".fancybox-gallery").nivoLightbox();
 
     $('.menu-toggle').click(function(){
@@ -136,19 +136,19 @@ jQuery(document).ready(function($){
         $('.blank_template').each(function(){
         $(this).parallax('50%',0.4, true);
         });
-        
+
         $('.action_template').each(function(){
         $(this).parallax('50%',0.3, true);
         });
     });
-    
+
     // *only* if we have anchor on the url
     if(window.location.hash) {
 
         $('html, body').animate({
             scrollTop: $(window.location.hash).offset().top-headerHeight
         }, 1000 );
-           
+
     }
     $('.portfolio-listing').first().children('.portfolio-list').on("click", function(e){
         e.preventDefault();
@@ -176,7 +176,11 @@ 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);
     // $('.menu').children('li').children("a").on("click", function(e){
     //     e.preventDefault()
     // })
-});
\ No newline at end of file
+});
index 9101326..027e87a 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.8
+Version: 1.0.9
 License: GNU General Public License v3 or later
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
 Text Domain: accesspress-parallax
@@ -1227,7 +1227,7 @@ Main Header
     width: 100%;
     z-index: 99999;
     /* background-color: rgba(21, 32, 61, 0.7); */
-    background-color: rgba(255,255,255, 0.85); 
+    background-color: rgba(255,255,255, 0.85);
     /* padding: 10px 0 0 0; */
     position: relative;
 }
@@ -1265,7 +1265,7 @@ body.logged-in.parallax-on #masthead {
     position: relative;
     z-index: 99;
     padding-top: 0 !important;
-   
+
 }
 .page #content{
     /* min-height: 86vh; */
@@ -1781,7 +1781,7 @@ Service Section
     .service-list .service-detail {
         margin-top: 25px;
     }
-    
+
 }
 .service-list .service-detail {
     width: 300px;
@@ -2572,14 +2572,14 @@ Responsive grid for pages
     /* .parallax-section:first-child {
         padding: 10px 0 25px !important;
     } */
-  
+
 }
 
 .parallax-section:first-child {
-    
+
     /* padding: 150px 0 75px; */
 }
-.parallax-content p{ 
+.parallax-content p{
     text-align: center;
     font-size: 16px;
     /* font-weight: bold; */
@@ -2615,7 +2615,7 @@ Responsive grid for pages
         font-weight: 400;
         top: 35px;
         transform: translateY(-50%);
-        text-align: center; 
+        text-align: center;
     }
     .main-navigation > ul > li > ul {
         min-width: 270px;
@@ -2655,8 +2655,8 @@ Responsive grid for pages
 }
 
 @supports (-webkit-overflow-scrolling: touch) {
-    /* CSS specific to iOS devices */ 
+    /* CSS specific to iOS devices */
     .parallax-section.team_template {
-        background-attachment: scroll !important; 
+        background-attachment: scroll !important;
     }
-}
\ No newline at end of file
+}