tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* register NAV menus */ register_nav_menus( array( 'header_menu_1' => 'Header Menu 1', ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-form', 'gallery', 'caption', ) ); // Indicate widget sidebars can use selective refresh in the Customizer. add_theme_support( 'customize-selective-refresh-widgets' ); } endif; // blueice_setup add_action( 'after_setup_theme', 'blueice_setup' ); /** * Register widget area. * * @since Twenty Fifteen 1.0 * * @link https://codex.wordpress.org/Function_Reference/register_sidebar */ function blueice_widgets_init() { register_sidebar( array( 'name' => __( 'Sidebar on right', 'blueice' ), 'id' => 'sidebar-right', 'description' => __( 'Add widgets here to appear in your sidebar.', 'blueice' ), 'before_widget' => '', 'before_title' => '