tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', apply_filters( 'pressbook_html5_args', array( 'navigation-widgets', 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'style', 'script', ) ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'pressbook_custom_background_args', array( 'default-color' => self::DEFAULT_BACKGROUND, 'default-image' => '', ) ) ); // Add support for block styles. add_theme_support( 'wp-block-styles' ); // Add support for wide alignment. add_theme_support( 'align-wide' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add support for custom line height controls. add_theme_support( 'custom-line-height' ); // Add theme support for padding controls. add_theme_support( 'custom-spacing' ); } }