chore(theme): Move custom-spacing up for visibility
This commit is contained in:
@@ -91,6 +91,12 @@ add_action('after_setup_theme', function () {
|
|||||||
*/
|
*/
|
||||||
add_theme_support('custom-units', 'rem', 'vw');
|
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.
|
* Disable custom colors in the editor.
|
||||||
* @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#disabling-custom-colors-in-block-color-palettes
|
* @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');
|
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.
|
* Enable plugins to manage the document title.
|
||||||
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#title-tag
|
* @link https://developer.wordpress.org/reference/functions/add_theme_support/#title-tag
|
||||||
|
|||||||
Reference in New Issue
Block a user