File: /var/www/captainschairit.com/wp-content/themes/captainschare/footer.php-old-bkup
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
$template_name = get_page_template_slug();
if($template_name == 'template-parts/about.php') {
$get_in_touch = get_field('selling_more_section'); ?>
<section class="selling-more" id="ContactUs">
<div class="container">
<div class="row">
<div class="col-md-5">
<h2 class="heading01"><?php echo $get_in_touch['heading']; ?></h2>
<p><?php echo $get_in_touch['text']; ?></p>
</div>
<div class="col-md-7">
<?php echo do_shortcode('[contact-form-7 id="242" title="Contact Us"]'); ?>
</div>
</div>
</div>
</section>
<?php
} else if(($template_name != 'template-parts/get_a_demo.php') && ($template_name != 'template-parts/press-center.php') && ($template_name != 'template-parts/thankyou-page.php')) { ?>
<section class="selling-more">
<div class="container">
<div class="col-sm-10 col-md-10 col-lg-10 offset-sm-1 offset-md-1 offset-lg-1">
<div class="stay-informed">
<h3 class="heading03"><?php echo get_option('newsletter_heading'); ?></h3>
<p><?php echo get_option('newsletter_text'); ?></p>
<div class="col-sm-6 col-md-6 col-lg-6 offset-sm-3 offset-md-3 offset-lg-3">
<form class="mt-5" id="newsLetter" method="post" action="<?php echo get_site_url(); ?>/?na=s" onsubmit="return newsletter_check(this)">
<input type="hidden" name="nlang" value="">
<div class="form-group position-relative">
<input type="email" class="form-control" placeholder="Enter your email address" id="ne" name="ne" required>
<button type="submit" class="btn-stay-informed tnp-submit" value="Subscribe"><i class="fas fa-paper-plane"></i></button>
</div>
</form>
<?php //echo do_shortcode('[mc4wp_form id="192"]'); ?>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6">
<h2 class="heading01"><?php echo get_option('selling_more_head'); ?></h2>
<p><?php echo get_option('selling_more_text'); ?></p>
<a class="btn btn-primary text-uppercase mt-5 hvr-shutter-out-horizontal" href="<?php echo get_option('selling_more_link'); ?>"><?php echo get_option('selling_more_btn'); ?></a>
</div>
<div class="col-md-6">
<div class="selling-more-img">
<figure>
<img src="<?php echo get_option('selling_image'); ?>">
</figure>
</div>
</div>
</div>
</div>
</section>
<?php
} ?>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="row align-items-center">
<div class="col-sm-12 col-md-12 col-lg-6 footer-logo">
<a class="" href="<?php echo get_site_url(); ?>">
<img src="<?php echo get_option('footer_logo'); ?>" alt="Captains Chair">
</a>
</div>
<!-- <div class="col-md-12 col-lg-8">
<?php wp_nav_menu(array(
'theme_location' => 'footer_menu',
'menu_class' => 'footer-menu',
));
?>
</div> -->
<div class="col-md-12 col-lg-6">
<div class="row">
<div class="col-sm-4 col-md-3 col-lg-4">
<div class="footer-menu">
<h4 class="heading04">Product</h4>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/client-dashboard/#clientDashboard">Client Dashboard</a>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/client-dashboard/#accountManagement">Account Management</a>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/client-dashboard/#features">Features</a>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-4">
<div class="footer-menu">
<h4 class="heading04">Resources</h4>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/blog">Blog</a>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/news">Press Center</a>
</div>
</div>
<div class="col-sm-4 col-md-3 col-lg-4">
<div class="footer-menu">
<h4 class="heading04">About</h4>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/about/#CompanyInfo">Company Info</a>
<a class="js-scroll-trigger" href="<?php echo get_site_url(); ?>/about/#ContactUs">Contact Us</a>
</div>
</div>
<!-- <div class="col-sm-4 col-md-3 col-lg-3">
<div class="footer-menu">
<a href="#">Connectors</a>
</div>
</div> -->
</div>
</div>
<!-- <div class="col-md-12 col-lg-4 offset-lg-8">
<ul class="list-inline social-buttons">
<li>
<a href="<?php echo get_option('linkedin'); ?>" target="_blank">
<i class="fab fa-linkedin-in"></i>
</a>
</li>
</ul>
</div> -->
</div>
</div>
</footer>
<div id="footer" class="fusion-footer-copyright-area">
<div class="container">
<div class="fusion-row">
<div class="fusion-copyright-content">
<div class="fusion-copyright-notice">
<div>
<p class="copyright-itglue">© <?php echo date("Y"); ?> Captain's chair | All rights reserved |
<a href="<?php echo get_site_url(); ?>/privacy-policy">Privacy Policy</a> |
<a href="<?php echo get_site_url(); ?>/terms-conditions/">Terms & Conditions</a>
<span class="footer-phone"><?php echo get_option('ph_no'); ?></span>
</p>
</div>
</div>
<div class="fusion-social-links-footer">
<div class="fusion-social-networks boxed-icons">
<div class="fusion-social-networks-wrapper">
<a href="<?php echo get_option('linkedin'); ?>" target="_blank">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</div>
</div>
</div> <!-- fusion-fusion-copyright-content -->
</div> <!-- fusion-row -->
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.0.min.js" type="text/javascript"></script>
<script src="<?php echo get_bloginfo('template_directory');?>/js/bootstrap.min.js"></script>
<!-- <script src="<?php //echo get_bloginfo('template_directory');?>/js/bootstrap.bundle.min.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>
<!-- Plugin JavaScript -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/jquery.easing.min.js"></script>
<!-- Shuffle js -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/shuffle.js"></script>
<!-- Animation scripts -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/index.js"></script>
<script src="<?php echo get_bloginfo('template_directory');?>/js/classie.js"></script>
<!-- Custom scripts for this template -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/custom.js"></script>
<script src="<?php echo get_bloginfo('template_directory');?>/js/slick.js"></script>
<!-- Custom scripts for this template -->
<script src="<?php echo get_bloginfo('template_directory');?>/js/script.js"></script>
<?php if($template_name == 'template-parts/about.php') { ?>
<script>
/*Shuffle */
// $(document).ready(function () {
// var Shuffle = window.Shuffle;
// var jQuery = window.jQuery;
// var myShuffle = new Shuffle(document.querySelector('.my-shuffle'), {
// itemSelector: '.image-item',
// sizer: '.my-sizer-element',
// buffer: 1
// });
// jQuery('input[name="shuffle-filter"]').on('change', function (evt) {
// var input = evt.currentTarget;
// if (input.checked) {
// myShuffle.filter(input.value);
// }
// });
// });
/*Shuffle */
</script>
<?php
}
wp_footer(); ?>
</body>
</html>