This commit is contained in:
Ben Word
2015-01-27 14:09:48 -06:00
parent a3d3a427c5
commit b8608db3ec

View File

@@ -3,7 +3,7 @@
namespace Roots\Sage\Init;
/**
* Sage initial setup and constants
* Theme setup
*/
function setup() {
// Make theme available for translation
@@ -49,7 +49,7 @@ function widgets_init() {
'before_widget' => '<section class="widget %1$s %2$s">',
'after_widget' => '</section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
'after_title' => '</h3>'
]);
register_sidebar([
@@ -58,7 +58,7 @@ function widgets_init() {
'before_widget' => '<section class="widget %1$s %2$s">',
'after_widget' => '</section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
'after_title' => '</h3>'
]);
}
add_action('widgets_init', __NAMESPACE__ . '\\widgets_init');