Skip to content

Commit 62caa79

Browse files
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
1 parent f6cb90b commit 62caa79

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inc/class-storefront.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,13 @@ public function setup() {
221221
*/
222222
add_theme_support( 'responsive-embeds' );
223223

224+
/**
225+
* Add support for appearance tools.
226+
*
227+
* @link https://wordpress.org/documentation/wordpress-version/version-6-5/#add-appearance-tools-to-classic-themes
228+
*/
229+
add_theme_support( 'appearance-tools' );
230+
224231
add_theme_support(
225232
'amp',
226233
array(

0 commit comments

Comments
 (0)