Created
April 13, 2012 23:59
-
-
Save pmgllc/2381081 to your computer and use it in GitHub Desktop.
Genesis Custom CSS via functions.php
This file contains hidden or 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
// 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