Skip to content

Commit

Permalink
Issue #16 - support responsive-embeds for full width YouTube videos
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed May 2, 2021
1 parent 42629a9 commit 447151d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

/**
* Add theme supports not yet supported by experimental-theme.json
*
* So far that's:
* - post-thumbnails
* - responsive-embeds
*/
function thisis_support() {

Expand All @@ -18,7 +22,7 @@ function thisis_support() {
//add_theme_support( 'wp-block-styles' );

// Adding support for responsive embedded content.
//add_theme_support( 'responsive-embeds' );
add_theme_support( 'responsive-embeds' );

// Add support for editor styles.
//add_theme_support( 'editor-styles' );
Expand Down

0 comments on commit 447151d

Please sign in to comment.