Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- WARNING: This file is part of the core Genesis framework. DO NOT edit
- this file under any circumstances. Please do all modifications
- in the form of a child theme.
- */
- /**
- * This file calls the init.php file, but only
- * if the child theme hasn't called it first.
- *
- * This method allows the child theme to load
- * the framework so it can use the framework
- * components immediately.
- *
- * This file is a core Genesis file and should not be edited.
- *
- * @category Genesis
- * @package Templates
- * @author StudioPress
- * @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
- * @link http://www.studiopress.com/themes/genesis
- */
- add_action( 'genesis_setup','genesischild_theme_setup', 15 );
- function genesischild_theme_setup() {
- //Add support for HTML5 markup
- add_theme_support( 'html5' );
- //Add viewport metatag
- add_theme_support( 'genesis-responsive-viewport' );
- //Add 3 footer widgets
- add_theme_support( 'genesis-footer-widgets', 3 );
- //Add support for custom background
- add_theme_support( 'custom-background' );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement