Created
October 9, 2018 14:56
-
-
Save ericyork/efbd2248251eb0380b5022d3e25f31c6 to your computer and use it in GitHub Desktop.
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
function my_add_google_fonts() { | |
wp_enqueue_style( 'my-google-fonts', | |
// Replace the link below with the one you get from google: | |
'http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300', false ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_add_google_fonts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment