Add responsive embed support

Related to https://github.com/understrap/understrap/issues/931
This commit is contained in:
Marie Comet 2019-03-08 19:38:29 +01:00 committed by GitHub
parent 17eb1c5b18
commit f663655b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,9 @@ if ( ! function_exists ( 'understrap_setup' ) ) {
// Set up the WordPress Theme logo feature. // Set up the WordPress Theme logo feature.
add_theme_support( 'custom-logo' ); add_theme_support( 'custom-logo' );
// Add support for responsive embedded content.
add_theme_support( 'responsive-embeds' );
// Check and setup theme default settings. // Check and setup theme default settings.
understrap_setup_theme_default_settings(); understrap_setup_theme_default_settings();