This commit is contained in:
Holger Koenemann 2015-03-23 13:39:22 +01:00
parent 4c92833ccc
commit d48b630896
6 changed files with 71 additions and 7 deletions

View File

@ -7264,7 +7264,7 @@ body {
padding: 30px 0; padding: 30px 0;
} }
#hero-wrapper { #wrapper-hero {
padding: 0px; padding: 0px;
} }

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

66
footer.php Normal file
View File

@ -0,0 +1,66 @@
<?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">
<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(); ?>
<!-- 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>

View File

@ -22,7 +22,7 @@
<div id="page" class="hfeed site"> <div id="page" class="hfeed site">
<!-- ******************* The Navbar Area ******************* --> <!-- ******************* The Navbar Area ******************* -->
<div class="wrapper-fluid wrapper-navbar"> <div class="wrapper-fluid wrapper-navbar" id="wrapper-navbar">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'understrap' ); ?></a> <a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'understrap' ); ?></a>

View File

@ -1,10 +1,8 @@
<?php if ( is_active_sidebar( 'hero' ) ): ?> <?php if ( is_active_sidebar( 'hero' ) ): ?>
<!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-hero"> <div class="wrapper" id="wrapper-hero">
<div class="owl-carousel"> <div class="owl-carousel">
<?php dynamic_sidebar( 'hero' ); ?> <?php dynamic_sidebar( 'hero' ); ?>
</div> </div>
</div> </div>

View File

@ -3,7 +3,7 @@ body { padding-top: 50px; }
// Some basic padding for all wrappers // Some basic padding for all wrappers
.wrapper {padding:$grid-gutter-width 0;} .wrapper {padding:$grid-gutter-width 0;}
#hero-wrapper {padding:0px;} #wrapper-hero {padding:0px;}
// Adding basic Wordpress classes to pass the Wordpress.org tests // Adding basic Wordpress classes to pass the Wordpress.org tests
.sticky, .gallery-caption, .bypostauthor { .sticky, .gallery-caption, .bypostauthor {