Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

hero widget

give someone a widget for their hero content

// Register Sidebar
function hero_widget() {

	$args = array(
		'id'            => 'hero_widget',
		'name'          => __( 'hero widget', 'hero_widget' ),
		'description'   => __( 'everything that will show up in your hero on all pages where it appears.', 'hero_widget' ),
		'class'         => 'hero_widget',
	);
	register_sidebar( $args );

}

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