// Register Sidebars function divine_sidebar() { $args = array( 'id' => 'sidebar-2', 'class' => 'sidebar2', 'name' => __( 'sidebar2', 'text_domain' ), 'description' => __( 'sidebar', 'text_domain' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'divine_sidebar' );