Created
May 25, 2015 07:42
-
-
Save idavinder/53699ae8af798377a99f to your computer and use it in GitHub Desktop.
Add multiple Google Fonts to Genesis Theme
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 multiple Google Fonts in Genesis - http://www.basicwp.com/?p=2054 | |
add_action( 'wp_enqueue_scripts', 'genesis_ig_multiple_google_fonts' ); | |
function genesis_ig_multiple_google_fonts() { | |
wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lato|Open+Sans|Oswald:400,300,700', array(), CHILD_THEME_VERSION ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've tried this but I got the following message:
( ! ) Warning: Use of undefined constant CHILD_THEME_VERSION - assumed 'CHILD_THEME_VERSION' (this will throw an Error in a future version of PHP) in /Users/mparraud/Local Sites/genesis/app/public/wp-content/themes/monochrome-pro/functions.php on line 338