????
| Current Path : /home2/morganrand/www/wp-content/themes/wanderfuls/ |
| Current File : /home2/morganrand/www/wp-content/themes/wanderfuls/homepage.php |
<?php
/*
Template Name: Homepage
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?><?php tb_schema_markup( 'html' ); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
<?php
$shortcodes_header_css = get_post_meta( 2440, '_wpb_shortcodes_custom_css', true );
if ( ! empty( $shortcodes_header_css ) ) {
$shortcodes_header_css = strip_tags( $shortcodes_header_css );
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
echo $shortcodes_header_css;
echo '</style>';
}
$shortcodes_footer_css = get_post_meta( 2721, '_wpb_shortcodes_custom_css', true );
if ( ! empty( $shortcodes_footer_css ) ) {
$shortcodes_footer_css = strip_tags( $shortcodes_footer_css );
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
echo $shortcodes_footer_css;
echo '</style>';
}
$shortcodes_footer_css = get_post_meta( 2721, '_wpb_shortcodes_custom_css', true );
if ( ! empty( $shortcodes_footer_css ) ) {
$shortcodes_footer_css = strip_tags( $shortcodes_footer_css );
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
echo $shortcodes_footer_css;
echo '</style>';
}
$shortcodes_callaction1_css = get_post_meta( 2772, '_wpb_shortcodes_custom_css', true );
if ( ! empty( $shortcodes_callaction1_css ) ) {
$shortcodes_callaction1_css = strip_tags( $shortcodes_callaction1_css );
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
echo $shortcodes_callaction1_css;
echo '</style>';
}
$shortcodes_callaction2_css = get_post_meta( 2777, '_wpb_shortcodes_custom_css', true );
if ( ! empty( $shortcodes_callaction2_css ) ) {
$shortcodes_callaction2_css = strip_tags( $shortcodes_callaction2_css );
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
echo $shortcodes_callaction2_css;
echo '</style>';
}
?>
</head>
<!-- Begin Body -->
<body <?php body_class(); ?><?php tb_schema_markup( 'body' ); ?>>
<div class="wrap-page">
<div class="sticky-mobile-menu">
<div class="ms-close-arrow">X</div>
<?php wp_nav_menu( array(
'theme_location' => 'sticky_menu'
)); ?>
</div>
<div class="custom-header">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php echo do_shortcode(get_post_field('post_content', 2440)); ?>
</div>
</div>
</div>
</div>
<div class="header-menu">
<div id="top_st_header" class="container" style="background-color: #de4f9d;">
<div class="row">
<div class="col-md-6">
<div style="color:#ffffff;font-size:12px;font-weight:600;padding-top: 8px">
<span>Monday - Friday 10:30a - 6:00p & Saturday 12p - 5p EST</span>
</div>
</div>
<div class="col-md-6">
<a style="color:#fff;font-size:24px;text-align: right;text-decoration:none;float:right" href="tel:1-888-837-5021">1-888-837-5021</a>
</div>
</div>
</div>
<div style="background-color: #fff;" class="container">
<div class="row">
<div class="col-md-12">
<div class="header-menu-item">
<?php wp_nav_menu( array(
'theme_location' => 'sticky_menu'
)) ?>
</div>
</div>
</div>
</div>
</div>
<div class="main-content">
<?php
if ( have_posts() ) :
/* Start the Loop */
while ( have_posts() ) : the_post();?>
<div style="background-color: #fff;" class="container">
<div class="row">
<div class="col-md-12">
<?php the_content(); ?>
</div>
</div>
</div>
<?php
endwhile;
else :
get_template_part( 'template-parts/post/content', 'none' );
endif;
?>
</div>
<div class="call-action-1">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php echo do_shortcode(get_post_field('post_content', 2772)); ?>
</div>
</div>
</div>
</div>
<div class="call-action-2">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php echo do_shortcode(get_post_field('post_content', 2777)); ?>
</div>
</div>
</div>
</div>
<div class="custom-footer">
<div style="background-color: #fff;" class="container">
<div class="row">
<div class="col-md-12">
<?php echo do_shortcode(get_post_field('post_content', 2721)); ?>
</div>
</div>
</div>
</div>
<div class="footer-area hidden-xs">
<div style="background-color: #fff;" class="container">
<div class="widget-footer">
<div class="row">
<div class="col-md-2 col-sm-2 column-5">
<?php if ( is_active_sidebar( 'cs-footer-1' ) ) : ?>
<?php dynamic_sidebar( 'cs-footer-1' ); ?>
<?php endif; ?>
</div>
<div class="col-md-2 col-sm-2 column-5">
<?php if ( is_active_sidebar( 'cs-footer-2' ) ) : ?>
<?php dynamic_sidebar( 'cs-footer-2' ); ?>
<?php endif; ?>
</div>
<div class="col-md-2 col-sm-2 column-5">
<?php if ( is_active_sidebar( 'cs-footer-3' ) ) : ?>
<?php dynamic_sidebar( 'cs-footer-3' ); ?>
<?php endif; ?>
</div>
<div class="col-md-2 col-sm-2 column-5">
<?php if ( is_active_sidebar( 'cs-footer-4' ) ) : ?>
<?php dynamic_sidebar( 'cs-footer-4' ); ?>
<?php endif; ?>
</div>
<div class="col-md-2 col-sm-2 column-5">
<?php if ( is_active_sidebar( 'cs-footer-5' ) ) : ?>
<?php dynamic_sidebar( 'cs-footer-5' ); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<div class="footer-area visible-xs">
<div class="container">
<div class="widget-footer">
<div class="row">
<div class="col-md-6 column-5">
<?php if ( is_active_sidebar( 'cs-m-footer-1' ) ) : ?>
<?php dynamic_sidebar( 'cs-m-footer-1' ); ?>
<?php endif; ?>
</div>
<div class="col-md-6 column-5">
<?php if ( is_active_sidebar( 'cs-m-footer-2' ) ) : ?>
<?php dynamic_sidebar( 'cs-m-footer-2' ); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<div class="copyright-footer text-center">
<div style="background: #ea4aac;" class="container">
<div class="row">
<div class="col-md-12">
<p>Copyright © 1994-2017 Wanderfuls. All rights reserved.</p>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</div>
<script>
jQuery(document).ready(function($){
$(window).scroll(function(){
var sticky = $('.header-menu'),
scroll = $(window).scrollTop();
if (scroll >= 100) sticky.addClass('fixed');
else sticky.removeClass('fixed');
});
$(".testimonial-slider").owlCarousel({
items: 1,
dots: true,
});
});
</script>
<script type="text/javascript" src="<?php //echo get_template_directory_uri(); ?>/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.cycle.all.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.easing.1.3.js"></script>
<script>
jQuery(document).ready(function($){
/*** Favor Big ***/
$('#favorbig').cycle({
fx: 'fade',
next: '#favorbig',
timeout: 0,
easing: 'easeInOutBack'
});
/*** Favor 6 ***/
$('#favor6').cycle({
fx: 'fade',
next: '#favor6',
timeout: 0,
easing: 'easeInOutBack'
});
/*** Favor 8 ***/
$('#favor8').cycle({
fx: 'fade',
next: '#favor8',
timeout: 0,
easing: 'easeInOutBack'
});
/*** Favor 9 ***/
$('#favor9').cycle({
fx: 'fade',
next: '#favor9',
timeout: 0,
easing: 'easeInOutBack'
});
/*** Favor 10 ***/
$('#favor10').cycle({
fx: 'fade',
next: '#favor10',
timeout: 0,
easing: 'easeInOutBack'
});
});
</script>
<!-- Google Code for Remarketing Tag -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1072474348;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1072474348/?guid=ON&script=0"/>
</div>
</noscript>
</body>
</html>