Created
July 17, 2019 15:32
-
-
Save Farmatique/09e678ebc358cdfb1b1fb00c85aea7b4 to your computer and use it in GitHub Desktop.
add google font to wordpress
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
function add_google_fonts() { | |
wp_enqueue_style( ' add_google_fonts ', 'https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700&display=swap', false ); | |
} | |
add_action( 'wp_enqueue_scripts', 'add_google_fonts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment