ソースを参照

Adds support for responsive embeds.

Caroline Moore 6 年 前
コミット
2615848caf
1 ファイル変更5 行追加0 行削除
  1. 5 0
      illustratr/functions.php

+ 5 - 0
illustratr/functions.php

@@ -60,6 +60,11 @@ function illustratr_setup() {
 	 */
 	add_editor_style( 'editor-style.css' );
 
+	/**
+	 * Responsive embeds
+	 */
+	add_theme_support( 'responsive-embeds' );
+
 	/*
 	 * Enable support for Post Thumbnails on posts and pages.
 	 *