Skip to content

Commit

Permalink
Add support for appearance tools. (#2143)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
danielwrobert authored May 15, 2024
1 parent f6cb90b commit 62caa79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions inc/class-storefront.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,13 @@ public function setup() {
*/
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(
Expand Down

0 comments on commit 62caa79

Please sign in to comment.