forked from mirror/_s
Merge pull request #938 from emiluzelac/patch-46
Add widget description - props @emiluzelac
This commit is contained in:
commit
ab228109f5
|
@ -101,7 +101,7 @@ function _s_widgets_init() {
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => esc_html__( 'Sidebar', '_s' ),
|
'name' => esc_html__( 'Sidebar', '_s' ),
|
||||||
'id' => 'sidebar-1',
|
'id' => 'sidebar-1',
|
||||||
'description' => '',
|
'description' => esc_html__( 'Add widgets here.', '_s' ),
|
||||||
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||||
'after_widget' => '</section>',
|
'after_widget' => '</section>',
|
||||||
'before_title' => '<h2 class="widget-title">',
|
'before_title' => '<h2 class="widget-title">',
|
||||||
|
|
Reference in New Issue