Bundled Themes: Twenty Twenty add theme support for responsive embeds.
Adds the call to `responsive-embed` theme support in order to fix issues with facebook embeds not being responsive at certain screen widths. Props williampatton, nielslange. Fixes #48552. git-svn-id: https://develop.svn.wordpress.org/trunk@47135 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a271f98952
commit
b651a3cb9e
@ -119,6 +119,9 @@ function twentytwenty_theme_support() {
|
|||||||
// Add support for full and wide align images.
|
// Add support for full and wide align images.
|
||||||
add_theme_support( 'align-wide' );
|
add_theme_support( 'align-wide' );
|
||||||
|
|
||||||
|
// Add support for responsive embeds.
|
||||||
|
add_theme_support( 'responsive-embeds' );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Adds starter content to highlight the theme on fresh sites.
|
* Adds starter content to highlight the theme on fresh sites.
|
||||||
* This is done conditionally to avoid loading the starter content on every
|
* This is done conditionally to avoid loading the starter content on every
|
||||||
|
Loading…
Reference in New Issue
Block a user