2014-12-10 11:36:38 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* The template for displaying the footer.
|
|
|
|
*
|
|
|
|
* Contains the closing of the #content div and all content after
|
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2014-12-11 17:01:20 +00:00
|
|
|
<div class="wrapper" id="wrapper-footer">
|
2014-12-10 11:36:38 +00:00
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<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 -->
|
|
|
|
|
|
|
|
</footer><!-- #colophon -->
|
|
|
|
|
|
|
|
</div><!-- container end -->
|
|
|
|
|
|
|
|
</div><!-- wrapper end -->
|
|
|
|
|
|
|
|
</div><!-- #page -->
|
|
|
|
|
|
|
|
<?php wp_footer(); ?>
|
2014-12-19 07:50:59 +00:00
|
|
|
|
|
|
|
<!-- Loads slider script and settings if a widget on pos hero is published -->
|
|
|
|
<?php if ( is_active_sidebar( 'hero' ) ): ?>
|
2015-01-23 15:15:57 +00:00
|
|
|
|
|
|
|
|
2014-12-19 07:50:59 +00:00
|
|
|
<script>
|
|
|
|
jQuery(document).ready(function() {
|
|
|
|
var owl = jQuery('.owl-carousel');
|
|
|
|
owl.owlCarousel({
|
|
|
|
items:1,
|
2015-01-26 13:57:33 +00:00
|
|
|
loop:<?php echo get_theme_mod( 'understrap_theme_slider_loop_setting' );?>,
|
2014-12-19 07:50:59 +00:00
|
|
|
autoplay:true,
|
2015-01-23 15:15:57 +00:00
|
|
|
autoplayTimeout:<?php echo get_theme_mod( 'understrap_theme_slider_time_setting' );?>,
|
2014-12-19 07:50:59 +00:00
|
|
|
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; ?>
|
|
|
|
|
2014-12-10 11:36:38 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|