Defining Default Genesis Settings for Your Child Theme

We’re all familiar with the Genesis settings section of the WordPress dashboard. It’s usually the first place we go when activating our child theme to make some basic changes such as switching to an image logo, setting breadcrumbs, or setting up our blog featured images and positions.

The Theme Settings page for the Genesis Framework
The Theme Settings page for the Genesis Framework

Did you know you can have Genesis set your preferred defaults every time you activate your theme for your projects? Take a quick look at the code at the bottom of the “theme-defaults.php” file in the Genesis Sample theme. Here, they’re using the genesis_update_settings function to:

Pretty cool huh?

But What About All the Other Genesis Settings?

You’ll quickly note that there are a lot more options that can be manipulated in the Genesis Theme Settings than just the 6 that are set as examples in the sample theme.

Check out the snippet below, here you’ll find all the settings and their associated options that you can use to completely control those options when activating your theme.

* I’ve intentionally left out the options for controlling the blog page template settings. There is a great article by Bill Erickson that gives the reasons for avoiding using the blog page template to show the blog on your site.

Exit mobile version