Unlike most Genesis child themes, this theme uses a setup function to load Genesis the correct way. Please see
this article from Genesis expert Gary Jones for more information on why we have chosen to use this method.
One drawback of using this method is that copying and pasting code snippets into the
functions.php file will not work. However, this is considered bad practise and should not be done any way. It is much safer to use a functionality plugin. Our Genesis Grandchild Plugin can be used for this.
Due to loading order of plugins and themes, some Genesis code snippets may need to be hooked inside of another function to run at the correct time. For example, to customize the credits using the snippet from
this StudioPress article you would do the following instead:
add_action('genesis_setup', 'custom_plugin_changes', 20);<br>/** * Hook in custom functionality after Genesis has loaded.<br> */ function custom_plugin_changes() { <br> add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); /**<br> * Change the footer text. */ function sp_footer_creds_filter( $creds ) {<br> $creds = '© 2024 · <a href="http://mydomain.com">My Custom Link</a> · Built on the <a href="http://www.studiopress.com/themes/genesis" title="Genesis Framework">Genesis Framework</a>'; <br><br> return $creds;<br> } }
Placing your code snippets into a separate plugin means you can safely update the theme in the future if there is ever an update. It also allows you to switch themes without losing your customizations. Read
this short article by Genesis legend Bill Erickson for more information about why you should use this approach.