adding active class dynamically to first slide via query
This commit is contained in:
parent
ce68323eb3
commit
e793abacfb
|
@ -71,7 +71,7 @@ if ( ! function_exists( 'understrap_widgets_init' ) ) {
|
||||||
'name' => __( 'Hero Slider', 'understrap' ),
|
'name' => __( 'Hero Slider', 'understrap' ),
|
||||||
'id' => 'hero',
|
'id' => 'hero',
|
||||||
'description' => 'Hero slider area. Place two or more widgets here and they will slide!',
|
'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>',
|
'after_widget' => '</div>',
|
||||||
'before_title' => '',
|
'before_title' => '',
|
||||||
'after_title' => '',
|
'after_title' => '',
|
||||||
|
|
Reference in New Issue