Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Main Sidebar1

// Register Sidebar
function main_sidebar() {

	$args = array(
		'name'          => __( 'sidebar', 'evil_genius' ),
		'description'   => __( 'Main, widetized sidebar', 'evil_genius' ),
		'before_title'  => '<h3 class = "widgettitle">',
		'after_title'   => '</h3>',
		'before_widget' => '<li id="%1$s" class="widget %2$s">',
		'after_widget'  => '</li>',
	);
	register_sidebar( $args );

}

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