Skip to content

Commit

Permalink
Merge pull request #78 from WordPress/add/responsive-embeds-theme-sup…
Browse files Browse the repository at this point in the history
…port

Add theme support for responsive embeds.
  • Loading branch information
kjellr authored Nov 6, 2018
2 parents 2fe41e9 + dd8af8c commit 767676a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ function gutenbergtheme_setup() {
'color' => '#444',
),
) );

// Add support for responsive embeds.
add_theme_support( 'responsive-embeds' );
}
endif;
add_action( 'after_setup_theme', 'gutenbergtheme_setup' );
Expand Down

0 comments on commit 767676a

Please sign in to comment.