Created
March 5, 2013 15:41
-
-
Save rustyeddy/5091184 to your computer and use it in GitHub Desktop.
Darn, I can't remember where I stole this from. Either @bgardner or from my.studiopress.com, I think. Anyway, It's really straight forward but I use it all the time. I like to avoid mixing my style changes / additions to the theme as provided.
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
// Load custom style sheet | |
add_action( 'wp_enqueue_scripts', 'custom_load_custom_style_sheet' ); | |
function custom_load_custom_style_sheet() { | |
wp_enqueue_style( 'custom-stylesheet', CHILD_URL . '/custom.css', array(), PARENT_THEME_VERSION ); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'll re-attribute it when I remember where I got it from :)