Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active October 25, 2015 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/6c82eeb8d9910afb4e47 to your computer and use it in GitHub Desktop.
Save braddalton/6c82eeb8d9910afb4e47 to your computer and use it in GitHub Desktop.
<?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