Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Test_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=',
		'after_title'   => '</h3>',
		'before_widget' => '<div id=',
		'after_widget'  => '</div>',
	);
	register_sidebar( $args );

}

// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'custom_sidebar' );