Created
April 14, 2015 23:50
-
-
Save anonymous/c7ea0c70a93b142184f6 to your computer and use it in GitHub Desktop.
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 | |
// | |
// Recommended way to include parent theme styles. | |
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme) | |
// | |
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); | |
function theme_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'child-style', | |
get_stylesheet_directory_uri() . '/style.css', | |
array('parent-style') | |
); | |
} | |
// | |
// Your code goes below | |
// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment