Pārlūkot izejas kodu

Add theme supports for padding control and line height.

Jeff Ong 4 gadi atpakaļ
vecāks
revīzija
d60f56f8b7
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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',