Last active
October 25, 2015 15:16
-
-
Save braddalton/6c82eeb8d9910afb4e47 to your computer and use it in GitHub Desktop.
Free Genesis Child Theme http://wpsites.net/wordpress-themes/child-theme-for-genesis-free-download/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Load genesis init file | |
include_once( get_template_directory() . '/lib/init.php' ); | |
//* Child theme (do not remove) | |
define( 'CHILD_THEME_NAME', 'Genesis Child Theme' ); | |
define( 'CHILD_THEME_URL', 'http://example.com' ); | |
define( 'CHILD_THEME_VERSION', '1.0.0' ); | |
//* Add HTML5 markup structure | |
add_theme_support( 'html5' ); | |
//* Load parent themes style sheet | |
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); | |
function enqueue_parent_theme_style() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment