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 10, 2024
1 parent 924b80a commit 3e952b8
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 @@ -236,6 +236,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 3e952b8

Please sign in to comment.