bsp custom sidebar
A bsp custom sidebar
// Register Sidebar function bsp_sidebar() { $args = array( 'id' => 'bsppostside', 'name' => __( 'Sidebar', 'post_sidebar' ), 'description' => __( ' A BSP custom sidebar for posts', 'post_sidebar' ), 'class' => 'post_sidebar', 'before_title' => '<h2>Social Post', 'after_title' => '</h2>', ); register_sidebar( $args ); } // Hook into the 'widgets_init' action add_action( 'widgets_init', 'bsp_sidebar' );