瀏覽代碼

Add theme supports for padding control and line height.

Jeff Ong 4 年之前
父節點
當前提交
d60f56f8b7
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      independent-publisher-2/functions.php

+ 6 - 0
independent-publisher-2/functions.php

@@ -103,6 +103,12 @@ if ( ! function_exists( 'independent_publisher_2_setup' ) ) :
 		// Add support for full and wide align images.
 		add_theme_support( 'align-wide' );
 
+		// Add support for custom line height controls.
+		add_theme_support( 'custom-line-height' );
+
+		// Add support for experimental cover block spacing.
+		add_theme_support( 'custom-spacing' );
+
 		// Add support for custom color scheme.
 		add_theme_support(
 			'editor-color-palette',