How to add theme support for Genesis Customizer

To make your child theme compatible with Genesis Customizer and prevent the admin notice from showing, child themes need to specifically declare theme support for Genesis Customizer. Below is a screenshot of the notice that will be displayed if the current theme doesn't support Genesis Customizer:

There are 2 ways to enable theme support:

1. PHP: Add theme support

The first method is recommended in most cases. Place the following code somewhere in your functions.php file:

add_theme_support( 'genesis-customizer' );

2. CSS: Stylesheet tag

Another option is to add a 'tag' to your stylesheets header comment. This is how the default child theme does it, to keep the functions.php file as clean as possible: