Section Sidebar
// Register Sidebar
function custom_sidebar() {
$args = array(
'id' => 'sidebar-section',
'name' => __( 'Secondary Widget Area', 'text_domain' ),
'description' => __( 'Section Widgets.', 'text_domain' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );