Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Event Sidebar register function

// Register Sidebar
function register_event_sidebar() {

	$args = array(
		'id'            => 'sidebar-4',
		'name'          => __( 'Event Sidebar', 'text_domain' ),
		'description'   => __( 'Appears on event pages, contains event and speaker inforamation', 'text_domain' ),
		'before_title'  => '<h1 class="widget-title">',
		'after_title'   => '</h1>',
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget'  => '</aside>',
	);
	register_sidebar( $args );

}

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