Ver código fonte

Dyad 2: Add support for responsive block embeds.

Laurel Fulford 6 anos atrás
pai
commit
49d44898d7
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      dyad-2/functions.php

+ 3 - 0
dyad-2/functions.php

@@ -89,6 +89,9 @@ if ( ! function_exists( 'dyad_2_setup' ) ) :
 		// 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' );
+
 		// Add support for custom color scheme.
 		// Add support for custom color scheme.
 		add_theme_support( 'editor-color-palette', array(
 		add_theme_support( 'editor-color-palette', array(
 			array(
 			array(