Explorar o código

Merge pull request #3135 from Automattic/add/custom-spacing

Add support for newer Gutenberg features to Seedlet and Varia themes
Ben Dwyer %!s(int64=4) %!d(string=hai) anos
pai
achega
43dfdb239e
Modificáronse 2 ficheiros con 10 adicións e 1 borrados
  1. 1 1
      seedlet/functions.php
  2. 9 0
      varia/functions.php

+ 1 - 1
seedlet/functions.php

@@ -256,7 +256,7 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
 		add_theme_support( 'experimental-link-color' );
 
 		// Add support for experimental cover block spacing.
-		add_theme_support( 'experimental-custom-spacing' );
+		add_theme_support( 'custom-spacing' );
 
 		// Add support for custom units.
 		add_theme_support( 'custom-units' );

+ 9 - 0
varia/functions.php

@@ -181,6 +181,15 @@ if ( ! function_exists( 'varia_setup' ) ) :
 		// Add support for responsive embedded content.
 		add_theme_support( 'responsive-embeds' );
 
+		// 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 units.
+		add_theme_support( 'custom-units' );
+
 		// Add support for Global Styles.
 		add_theme_support(
 			'jetpack-global-styles',