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.
'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' );
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" );
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' );
}
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>
$wrap .= '</ul>';
// return the result
return $wrap;
-}
\ No newline at end of file
+}
});
$(window).bind('load',function(){
- $('.googlemap-content').hide();
+ $('.googlemap-content').hide();
});
-
+
var open = false;
$('.googlemap-toggle').on('click', function(){
if(!open){
$('.gallery-item a').each(function(){
$(this).addClass('fancybox-gallery').attr('data-lightbox-gallery','gallery');
});
-
+
$(".fancybox-gallery").nivoLightbox();
$('.menu-toggle').click(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();
})
}
});
+ 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
+});
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
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;
}
position: relative;
z-index: 99;
padding-top: 0 !important;
-
+
}
.page #content{
/* min-height: 86vh; */
.service-list .service-detail {
margin-top: 25px;
}
-
+
}
.service-list .service-detail {
width: 300px;
/* .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; */
font-weight: 400;
top: 35px;
transform: translateY(-50%);
- text-align: center;
+ text-align: center;
}
.main-navigation > ul > li > ul {
min-width: 270px;
}
@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
+}