Extra Sidebars
What multiple extra sidebars look like
if ( ! function_exists( 'sparkling_extra_sidebars' ) ) { // Register Sidebars function sparkling_extra_sidebars() { $args = array( 'id' => 'sidebar-about', 'class' => 'sidebar-about', 'name' => __( 'About Section Sidebar', 'sparkling' ), 'description' => __( 'Sidebar that is used in the About pages of the site', 'sparkling' ), ); register_sidebar( $args ); $args = array( 'id' => 'sidebar-publications', 'class' => 'sidebar-publications', 'name' => __( 'Publications Section Sidebar', 'sparkling' ), 'description' => __( 'Sidebar that is used in the Publications area of the site', 'sparkling' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'sparkling_extra_sidebars' ); }