Advertisement
Guest User

Untitled

a guest
May 27th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.08 KB | None | 0 0
  1. <?php
  2. /*
  3.  WARNING: This file is part of the core Genesis framework. DO NOT edit
  4.  this file under any circumstances. Please do all modifications
  5.  in the form of a child theme.
  6.  */
  7.  
  8. /**
  9.  * This file calls the init.php file, but only
  10.  * if the child theme hasn't called it first.
  11.  *
  12.  * This method allows the child theme to load
  13.  * the framework so it can use the framework
  14.  * components immediately.
  15.  *
  16.  * This file is a core Genesis file and should not be edited.
  17.  *
  18.  * @category Genesis
  19.  * @package  Templates
  20.  * @author   StudioPress
  21.  * @license  http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
  22.  * @link     http://www.studiopress.com/themes/genesis
  23.  */
  24.  
  25.  
  26.  
  27. add_action( 'genesis_setup','genesischild_theme_setup', 15 );
  28. function genesischild_theme_setup() {
  29.  
  30. //Add support for HTML5 markup
  31. add_theme_support( 'html5' );
  32. //Add viewport metatag
  33. add_theme_support( 'genesis-responsive-viewport' );
  34. //Add 3 footer widgets
  35. add_theme_support( 'genesis-footer-widgets', 3 );
  36. //Add support for custom background
  37. add_theme_support( 'custom-background' );
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement