Skip to content

Instantly share code, notes, and snippets.

@pmgllc
Created April 13, 2012 23:59
Show Gist options
  • Save pmgllc/2381081 to your computer and use it in GitHub Desktop.
Save pmgllc/2381081 to your computer and use it in GitHub Desktop.
Genesis Custom CSS via functions.php
// Add custom.css file in <head>
add_action('wp_head', 'pmg_add_customcss');
function pmg_add_customcss( ) {
$pmg_css_link = '<link rel="stylesheet" type="text/css" media="screen" href="'.get_bloginfo( 'stylesheet_directory' ).'/custom.css" />';
echo $pmg_css_link;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment