// Register Sidebars function hero_widget() { $args = array( 'id' => 'hero_widget', 'class' => 'hero_widget', 'name' => __( 'hero widget', 'hero_widget' ), 'description' => __( 'everything that will show up in your hero on all pages where it appears.', 'hero_widget' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'hero_widget' );