<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.2
*/
?>
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<h3>Find a Rental</h3>
<?php wp_nav_menu( array( 'menu' => 'Find a Rental', 'menu_class' => 'clearfix' ) ); ?>
</div>
<div class="col-md-4">
<h3>Rental Management</h3>
<?php wp_nav_menu( array( 'menu' => 'Rental Management', 'menu_class' => 'clearfix' ) ); ?>
</div>
<div class="col-md-4">
<h3>Become an Investor</h3>
<?php wp_nav_menu( array( 'menu' => 'Become an Investor', 'menu_class' => 'clearfix' ) ); ?>
</div>
<!-- <div class="col-lg-3 col-md-3 col-sm-6 col-xs-6">
<h3>Register now</h3>
<?php wp_nav_menu( array( 'menu' => 'Register Menu', 'menu_class' => 'clearfix' ) ); ?>
</div> -->
</div>
<div class="row">
<div class="col-md-4">
<h3>Why Easy</h3>
<?php wp_nav_menu( array( 'menu' => 'Why Easy', 'menu_class' => 'clearfix' ) ); ?>
</div>
<div class="col-md-4">
<h3>Contact </h3>
<?php wp_nav_menu( array( 'menu' => 'Footer Menu', 'menu_class' => 'clearfix' ) ); ?>
</div>
<div class="col-md-4">
<h3>Work With Us </h3>
<?php wp_nav_menu( array( 'menu' => 'Work With Us', 'menu_class' => 'clearfix' ) ); ?>
</div>
</div>
<hr class="footer-border"/>
<div class="row">
<div class="col-md-12 text-center">
<h3>Follow Us On:</h3>
<ul class="icon-last clearfix">
<li><a href="<?php echo ot_get_option( "twitter" ); ?>" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
<li><a href="<?php echo ot_get_option( "pininterest" ); ?>" target="_blank"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a></li>
<li><a href="<?php echo ot_get_option( "facebook" ); ?>" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
<li><a href="<?php echo ot_get_option( "instagram" ); ?>" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
<li><a href="<?php echo ot_get_option( "google_plus" ); ?>" target="_blank"><i class="fa fa-google-plus-official" aria-hidden="true"></i></a></li>
</ul>
</div>
</div>
</div>
</footer>
<div class="footer-copyright p-t-20 p-b-10">
<p><?php echo ot_get_option( "copyright" ); ?></p>
</div>
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>-->
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/jquery.min.js"></script>
<!--plug-ins-->
<script src="<?php echo get_stylesheet_directory_uri(); ?>/plugins/flexslider/js/jquery.flexslider-min.js" type="text/javascript"></script>
<script src="<?php echo get_stylesheet_directory_uri(); ?>/plugins/OwlCarousel/dist/owl.carousel.min.js" type="text/javascript"></script>
<!-- bootstrap core js -->
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/bootstrap.min.js"></script>
<script>
$(document).ready(function () {
$('.flexslider').flexslider({
animation: "slide",
directionNav: false,
before: function (slider) {
selectSLiderBackground(slider.currentSlide);
}
});
$(".mobile-menu-icon").click(function () {
$("body").addClass("open-mobile-menu");
});
$(".closed-btn a").click(function () {
$("body").removeClass("open-mobile-menu");
});
function selectSLiderBackground(sliderId) {
var nextSliderID = sliderId++;
alert(nextSliderID);
if ($('.slider-backgrounds li[data-slideid="' + nextSliderID + '"]').length > 0) {
alert('ache');
$('.slider-backgrounds li.active').removeClass('active');
$('.slider-backgrounds li[data-slideid="' + nextSliderID + '"]').addClass('active');
} else {
alert('nei');
$('.slider-backgrounds li[data-slideid=0]').addClass('active');
}
}
$('.owl-carousel').owlCarousel({
autoplay: true,
loop: true,
margin: 10,
nav: true,
responsive: {
320: {
items: 1
},
400: {
items: 1
},
767: {
items: 1
},
1100: {
items: 1
}
}
});
});
</script>
<?php wp_footer(); ?>
</body>
</html>