Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Video sidebar Home page

Video sidebar Home page

// Register Sidebar
function custom_video() {

	$args = array(
		'id'            => 'video_home',
		'name'          => __( 'Home video sidebar', 'owd' ),
		'description'   => __( 'This sidebar is for home page video right', 'owd' ),
		'before_title'  => '<h5 class=',
		'after_title'   => '</h5>',
	);
	register_sidebar( $args );

}

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