Browse Source

Add custom units support. (#2408)

Kjell Reigstad 4 năm trước cách đây
mục cha
commit
d9a7f1f3b0
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      seedlet/functions.php

+ 3 - 0
seedlet/functions.php

@@ -266,6 +266,9 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 
 		// Add support for experimental cover block spacing.
 		add_theme_support( 'experimental-custom-spacing' );
+
+		// Add support for custom units.
+		add_theme_support( 'custom-units' );
     
 		// Add support for WordPress.com Global Styles.
 		add_theme_support(