This commit is contained in:
Holger 2015-08-13 14:15:57 +02:00
parent 756f21f414
commit a273294048
3 changed files with 9 additions and 3 deletions

View File

@ -29,7 +29,7 @@ function understrap_widgets_init() {
'before_title' => '',
'after_title' => '',
) );
/*
register_sidebar( array(
'name' => __( 'Off Canvas', 'understrap' ),
'id' => 'off-canvas',
@ -38,6 +38,6 @@ function understrap_widgets_init() {
'after_widget' => '</div>',
'before_title' => '',
'after_title' => '',
) );*/
) );
}
add_action( 'widgets_init', 'understrap_widgets_init' );

View File

@ -17,7 +17,6 @@ get_header(); ?>
<?php get_template_part('statichero'); ?>
<div class="wrapper" id="wrapper-index">
<div class="container">

View File

@ -1,13 +1,20 @@
<?php if ( is_active_sidebar( 'statichero' ) ): ?>
<!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-statichero">
<div class="container">
<div class="row">
<div class="col-md-12">
<?php dynamic_sidebar( 'statichero' ); ?>
</div>
</div>
</div>
</div>
<?php else : ?>