This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/footer.php

76 lines
2.2 KiB
PHP
Raw Permalink Normal View History

2015-03-23 12:39:22 +00:00
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package understrap
*/
?>
2016-03-09 08:32:44 +00:00
<?php get_template_part('widget-templates/footerfull'); ?>
2015-03-23 12:39:22 +00:00
<div class="wrapper" id="wrapper-footer">
<div class="container">
2015-08-12 15:21:46 +00:00
<div class="row">
2015-08-14 08:29:30 +00:00
<div class="col-md-12">
2015-03-23 12:39:22 +00:00
2016-03-09 09:21:11 +00:00
<footer id="colophon" class="site-footer" role="contentinfo">
2015-08-14 08:29:30 +00:00
<div class="site-info">
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'understrap' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'understrap' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
2015-08-28 15:07:21 +00:00
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), 'understrap', '<a href="http://understrap.com/" rel="designer">understrap.com</a>' ); ?>
2015-08-14 08:29:30 +00:00
</div><!-- .site-info -->
2015-08-12 15:21:46 +00:00
2015-08-14 08:29:30 +00:00
</footer><!-- #colophon -->
2015-03-23 12:39:22 +00:00
2015-08-14 08:29:30 +00:00
</div><!--col end -->
2015-03-23 12:39:22 +00:00
2015-08-12 15:21:46 +00:00
</div><!-- row end -->
2015-03-23 12:39:22 +00:00
</div><!-- container end -->
</div><!-- wrapper end -->
</div><!-- #page -->
<?php wp_footer(); ?>
<!-- Loads slider script and settings if a widget on pos hero is published -->
<?php if ( is_active_sidebar( 'hero' ) ): ?>
<script>
jQuery(document).ready(function() {
var owl = jQuery('.owl-carousel');
owl.owlCarousel({
items:<?php echo get_theme_mod( 'understrap_theme_slider_count_setting', 1 );?>,
loop:<?php echo get_theme_mod( 'understrap_theme_slider_loop_setting', true );?>,
autoplay:true,
autoplayTimeout:<?php echo get_theme_mod( 'understrap_theme_slider_time_setting', 5000 );?>,
animateOut: 'fadeOut',
animateIn: 'fadeIn',
nav: false,
dots: true,
autoplayHoverPause:true,
margin:0,
autoHeight:true
});
jQuery('.play').on('click',function(){
owl.trigger('autoplay.play.owl',[1000])
});
jQuery('.stop').on('click',function(){
owl.trigger('autoplay.stop.owl')
});
});
</script>
<?php endif; ?>
</body>
</html>