News Box
News Box
if ( ! function_exists( 'news_sidebar' ) ) { // Register Sidebar function news_sidebar() { $args = array( 'id' => 'newsbox', 'name' => __( 'News Box', 'text_domain' ), 'description' => __( 'News Box', 'text_domain' ), ); register_sidebar( $args ); } // Hook into the 'widgets_init' action add_action( 'widgets_init', 'news_sidebar' ); }