Div Sidebar
// Register Sidebar
function custom_sidebar() {
$args = array(
'id' => 'footer-sidebar',
'name' => __( 'Footer Sidebar', 'text_domain' ),
'description' => __( 'Appears in the footer section of the site.', 'text_domain' ),
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );