chore(theme): Move custom-spacing up for visibility

This commit is contained in:
Brandon
2021-01-14 23:17:32 -06:00
parent efbb13f282
commit cc2d02d7de

View File

@@ -91,6 +91,12 @@ add_action('after_setup_theme', function () {
*/
add_theme_support('custom-units', 'rem', 'vw');
/**
* Enable support for custom block spacing controls.
* @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#spacing-control
*/
add_theme_support('custom-spacing');
/**
* Disable custom colors in the editor.
* @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#disabling-custom-colors-in-block-color-palettes
@@ -115,12 +121,6 @@ add_action('after_setup_theme', function () {
*/
remove_theme_support('core-block-patterns');
/**
* Enable support for custom block spacing controls.
* @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#spacing-control
*/
add_theme_support('custom-spacing');
/**
* Enable plugins to manage the document title.
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#title-tag