Skip to content

Commit

Permalink
Add support for responsive embeds (#2179)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbossenger authored Jan 31, 2024
1 parent 297b0da commit 433848d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wp-content/themes/pub/wporg-learn-2020/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ function setup() {
add_theme_support( 'post-thumbnails' );
add_theme_support( 'sensei' );

add_theme_support( 'responsive-embeds' );

global $woothemes_sensei;
if ( $woothemes_sensei ) {
remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ) );
Expand Down

0 comments on commit 433848d

Please sign in to comment.