if ( ! function_exists( 'custom_sidebars' ) ) { // Register Sidebars function custom_sidebars() { $args = array( 'id' => 'custom-sidebar-1', 'name' => __( 'Custom Sidebar 1', 'text_domain' ), 'description' => __( 'Use this for widget areas in Visual Composer', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'custom-sidebar-1', 'name' => __( 'Custom Sidebar 2', 'text_domain' ), 'description' => __( 'Use this for widget areas in Visual Composer', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'custom-sidebar-3', 'name' => __( 'Custom Sidebar 3', 'text_domain' ), 'description' => __( 'Use this for widget areas in Visual Composer', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'custom-sidebar-4', 'name' => __( 'Custom Sidebar 5', 'text_domain' ), 'description' => __( 'Use this for widget areas in Visual Composer', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'custom-sidebar-5', 'name' => __( 'Custom Sidebar 5', 'text_domain' ), 'description' => __( 'Use this for widget areas in Visual Composer', 'text_domain' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'custom_sidebars' ); }