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
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="wrapper" id="wrapper-footer">
|
|
|
|
|
|
|
|
<div class="container">
|
2015-08-12 15:21:46 +00:00
|
|
|
|
|
|
|
<div class="row">
|
2015-03-23 12:39:22 +00:00
|
|
|
|
2015-08-12 15:21:46 +00:00
|
|
|
<footer id="colophon" class="container site-footer" role="contentinfo">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<?php printf( __( 'Theme: %1$s by %2$s.', 'understrap' ), 'understrap', '<a href="http://www.holgerkoenemann.de/" rel="designer">holgerkoenemann.de</a>' ); ?>
|
|
|
|
</div><!-- .site-info -->
|
2015-03-23 12:39:22 +00:00
|
|
|
|
2015-08-12 15:21:46 +00:00
|
|
|
</footer><!-- #colophon -->
|
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>
|