function MSH_widgets_init() {
register_sidebar( array(
'name' => 'Header Widget Area',
'id' => 'header_widget',
'before_widget' => '<div>',
'after_widget' => '</div>',
'before_title' => '<h2 class="headerWidget">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'MSH_widgets_init' );
Leave a Reply