Register Sidebar
Use to register sidebar.
// Register Sidebars function custom_sidebars() { $args = array( 'id' => 'sidebar-1', 'class' => 'po_sidebars', 'name' => __( 'Webinars on Demand Page - New', 'text_domain' ), 'description' => __( 'Main sidebar for webinars.', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'sidebar-2', 'class' => 'po_sidebars', 'name' => __( 'News Archive - New', 'text_domain' ), 'description' => __( 'Main sidebar for News.', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'sidebar-3', 'class' => 'po_sidebars', 'name' => __( 'Job Application - New', 'text_domain' ), 'description' => __( 'Main sidebar for job applications.', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'sidebar-4', 'class' => 'po_sidebars', 'name' => __( 'Home Blog Posts - New', 'text_domain' ), 'description' => __( 'Main sidebar for home blog posts.', 'text_domain' ), ); register_sidebar( $args ); $args = array( 'id' => 'sidebar-primary', 'class' => 'po_sidebars', 'name' => __( 'Primary Sidebar', 'text_domain' ), 'description' => __( 'This is the default sidebar.', 'text_domain' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'custom_sidebars' );