mirror of
https://github.com/woocommerce/storefront.git
synced 2025-10-03 14:04:42 +08:00
Add support for appearance tools. (#2143)
This provides support for spacing, border, typography, and color options, even without using theme.json See: https://wordpress.org/documentation/wordpress-version/version-6-5/#add-appearance-tools-to-classic-themes
This commit is contained in:
parent
f6cb90b262
commit
62caa79b0b
1 changed files with 7 additions and 0 deletions
|
@ -221,6 +221,13 @@ if ( ! class_exists( 'Storefront' ) ) :
|
|||
*/
|
||||
add_theme_support( 'responsive-embeds' );
|
||||
|
||||
/**
|
||||
* Add support for appearance tools.
|
||||
*
|
||||
* @link https://wordpress.org/documentation/wordpress-version/version-6-5/#add-appearance-tools-to-classic-themes
|
||||
*/
|
||||
add_theme_support( 'appearance-tools' );
|
||||
|
||||
add_theme_support(
|
||||
'amp',
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue