Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Load Google Fonts.
//* 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', '//,700', array(), CHILD_THEME_VERSION );
---------------------------------------------------------------------------------------------------- */
@import url(//,700);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment