浏览代码

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.
 	 *