test
This commit is contained in:
parent
756f21f414
commit
a273294048
|
@ -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' );
|
|
@ -17,7 +17,6 @@ get_header(); ?>
|
|||
|
||||
<?php get_template_part('statichero'); ?>
|
||||
|
||||
|
||||
<div class="wrapper" id="wrapper-index">
|
||||
|
||||
<div class="container">
|
||||
|
|
|
@ -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 : ?>
|
||||
|
|
Reference in New Issue