Skip to content

Commit

Permalink
Add support for appearance tools.
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 committed May 15, 2024
1 parent f6cb90b commit a06a4f7
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 a06a4f7

Please sign in to comment.