This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/inc/widgets.php

13 lines
419 B
PHP
Raw Normal View History

2014-12-10 11:36:38 +00:00
<?php
function understrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Sidebar', 'understrap' ),
'id' => 'sidebar-1',
'description' => '',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
2014-12-10 11:36:38 +00:00
) );
}
add_action( 'widgets_init', 'understrap_widgets_init' );