File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ function twentyeleven_setup() {
8989 // Load default block styles.
9090 add_theme_support ( 'wp-block-styles ' );
9191
92+ // Add support for responsive embeds.
93+ add_theme_support ( 'responsive-embeds ' );
94+
9295 // Add support for custom color scheme.
9396 add_theme_support (
9497 'editor-color-palette ' ,
Original file line number Diff line number Diff line change @@ -177,6 +177,9 @@ function twentyfifteen_setup() {
177177 // Load default block styles.
178178 add_theme_support ( 'wp-block-styles ' );
179179
180+ // Add support for responsive embeds.
181+ add_theme_support ( 'responsive-embeds ' );
182+
180183 // Add support for custom color scheme.
181184 add_theme_support (
182185 'editor-color-palette ' ,
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ function twentyfourteen_setup() {
7676 // Load default block styles.
7777 add_theme_support ( 'wp-block-styles ' );
7878
79+ // Add support for responsive embeds.
80+ add_theme_support ( 'responsive-embeds ' );
81+
7982 // Add support for custom color scheme.
8083 add_theme_support (
8184 'editor-color-palette ' ,
Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ function twentyseventeen_setup() {
123123 // Load default block styles.
124124 add_theme_support ( 'wp-block-styles ' );
125125
126+ // Add support for responsive embeds.
127+ add_theme_support ( 'responsive-embeds ' );
128+
126129 // Define and register starter content to showcase the theme on new sites.
127130 $ starter_content = array (
128131 'widgets ' => array (
Original file line number Diff line number Diff line change @@ -141,6 +141,9 @@ function twentysixteen_setup() {
141141 // Load default block styles.
142142 add_theme_support ( 'wp-block-styles ' );
143143
144+ // Add support for responsive embeds.
145+ add_theme_support ( 'responsive-embeds ' );
146+
144147 // Add support for custom color scheme.
145148 add_theme_support (
146149 'editor-color-palette ' ,
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ function twentythirteen_setup() {
8585 // Add support for full and wide align images.
8686 add_theme_support ( 'align-wide ' );
8787
88+ // Add support for responsive embeds.
89+ add_theme_support ( 'responsive-embeds ' );
90+
8891 // Add support for custom color scheme.
8992 add_theme_support (
9093 'editor-color-palette ' ,
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ function twentytwelve_setup() {
6161 // Load default block styles.
6262 add_theme_support ( 'wp-block-styles ' );
6363
64+ // Add support for responsive embeds.
65+ add_theme_support ( 'responsive-embeds ' );
66+
6467 // Add support for custom color scheme.
6568 add_theme_support (
6669 'editor-color-palette ' ,
You can’t perform that action at this time.
0 commit comments