Skip to content

Instantly share code, notes, and snippets.

@marisqaporter
Created April 27, 2015 20:51
Show Gist options
  • Save marisqaporter/be44b02780bb1ebd9505 to your computer and use it in GitHub Desktop.
Save marisqaporter/be44b02780bb1ebd9505 to your computer and use it in GitHub Desktop.
Enqueue custom style sheet for Genesis
//* 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