tag in the document head, and expect WordPress to provide it for us. add_theme_support("title-tag"); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'top' => esc_html__( 'Top Menu', 'parallel' ), ) ); // Make theme available for translation. Translations can be filed in the /languages/ directory. load_theme_textdomain( 'parallel', get_template_directory() . '/languages' ); // Set up the WordPress core custom logo feature. add_theme_support( 'custom-logo', array( 'height' => 50, 'width' => 300, 'flex-width' => true, 'flex-height' => true, ) ); // Set up the WordPress core custom logo feature. add_theme_support( 'custom-header' ); } add_action( 'after_setup_theme', 'parallel_setup' ); function parallel_update_user_notices() { //remove notice dismissal flags from all users that might have it. delete_metadata( 'user', null, 'parallel_welcome_admin_notice', null, true ); } add_action( 'switch_theme', 'parallel_update_user_notices' );