• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Show WordPress customizer in FSE themes

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.

WordPress-customizer-hidden-FSE-theme
Appearance section without link to WordPress customizer.

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.

show-customizer-wordpress-block-theme
Appearance section with link to WordPress customizer.

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:

To see this and another 839 code snippets of this website, login or subscribe here.

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.

show-options-wordpress-customizer-block-theme
WordPress Customizer Options in an FSE Theme

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.

Conclusions

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. 🙂

FSE PHP WordPress WordPress Customizer

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?