Created
April 27, 2015 20:51
-
-
Save marisqaporter/be44b02780bb1ebd9505 to your computer and use it in GitHub Desktop.
Enqueue custom style sheet for Genesis
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 - put custom.css in new /css folder inside theme folder or in root and remove /css from line 4 | |
add_action( 'wp_enqueue_scripts', 'custom_load_custom_style_sheet' ); | |
function custom_load_custom_style_sheet() { | |
wp_enqueue_style( 'custom-stylesheet', CHILD_URL . '/css/custom.css', array(), PARENT_THEME_VERSION ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment