Last active
May 23, 2017 07:17
-
-
Save studiopress/6796453 to your computer and use it in GitHub Desktop.
Load Google Fonts.
This file contains 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 shown above. Copy the code shown below. | |
//* Enqueue Lato Google font | |
add_action( 'wp_enqueue_scripts', 'sp_load_google_fonts' ); | |
function sp_load_google_fonts() { | |
wp_enqueue_style( 'google-font-lato', '//fonts.googleapis.com/css?family=Lato:300,700', array(), CHILD_THEME_VERSION ); | |
} |
This file contains 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
/* | |
Imports | |
---------------------------------------------------------------------------------------------------- */ | |
@import url(//fonts.googleapis.com/css?family=Lato:300,700); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment