Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

v360 sidebars

if ( ! function_exists( 'v360intranetsidbar' ) ) {

// Register Sidebars
function v360intranetsidbar() {

	$args = array(
		'id'            => 'sop-wiki-sidebar',
		'class'         => 'sop-wiki-sidebar',
		'name'          => __( 'SOP Wiki Sidebar', 'v360intranetsidbar' ),
		'description'   => __( 'sidebar displayed on SOP wiki articles.', 'v360intranetsidbar' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'consultants-wiki-sidebar',
		'class'         => 'consultants-wiki-sidebar',
		'name'          => __( 'Consultants Wiki Sidebar', 'v360intranetsidbar' ),
		'description'   => __( 'sidebar displayed on consultant wiki articles.', 'v360intranetsidbar' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'sales-wiki-sidebar',
		'class'         => 'sales-wiki-sidebar',
		'name'          => __( 'Sales Wiki Sidebar', 'v360intranetsidbar' ),
		'description'   => __( 'sidebar displayed on sales wiki articles.', 'v360intranetsidbar' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'employee-wiki-sidebar',
		'class'         => 'employee-wiki-sidebar',
		'name'          => __( 'Employee Wiki Sidebar', 'v360intranetsidbar' ),
		'description'   => __( 'sidebar displayed on employee wiki articles.', 'v360intranetsidbar' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'search-results-sidebar',
		'class'         => 'search-results-sidebar',
		'name'          => __( 'Search Results Page Side Bar', 'v360intranetsidbar' ),
		'description'   => __( 'Sidebar that appears on search results page.', 'v360intranetsidbar' ),
	);
	register_sidebar( $args );

}
add_action( 'widgets_init', 'v360intranetsidbar' );

}