Discover in this tutorial how to “return” the WordPress customizer to a block theme (FSE) using code.
One of the features of block themes (FSE) is that they use the site editor to configure the theme.
This is to the detriment of the WordPress customizer, which they usually hide, so it is not accessible from the “Appearance” section.
But what if you are interested in being able to access some of the customizer options? For example, the additional CSS.
That’s okay because you can get it to show up again with a little bit of code.
Interested? Here’s how to do it:
Snippet to display WordPress customizer in a block theme
Insert this snippet at the end of the functions.php file:
It’s that easy. The “Customize” section will reappear in the “Appearance” section and you will again have access to the additional CSS, along with the site identity and home page settings.
By the way, if you don’t need the shortcut to be displayed you can also go directly to the URL https://yourwebsite.com/wp-admin/customize.php.
Are you using an FSE theme and want to have access the WordPress customizer? Now you know how to get it.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂