adding active class dynamically to first slide via query

This commit is contained in:
Holger Könemann 2017-01-24 19:08:36 +01:00
parent ce68323eb3
commit e793abacfb
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
'name' => __( 'Hero Slider', 'understrap' ),
'id' => 'hero',
'description' => 'Hero slider area. Place two or more widgets here and they will slide!',
'before_widget' => '<div class="carousel-item active">',
'before_widget' => '<div class="carousel-item">',
'after_widget' => '</div>',
'before_title' => '',
'after_title' => '',