Last active
August 29, 2015 14:27
-
-
Save cjkoepke/a2131b2edaf60a616029 to your computer and use it in GitHub Desktop.
Enqueue Google fonts properly in Genesis.
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
<?php | |
//* Do NOT include the opening php tag | |
//* Load Google Fonts | |
add_action( 'wp_enqueue_scripts', 'ck_load_google_fonts' ); | |
function ck_load_google_fonts() { | |
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato:400,700|Neuton:400', array(), CHILD_THEME_VERSION ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment