Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Enqueue Google Fonts.
//* Do NOT include the opening php tag
//* Load Lato and Merriweather Google fonts
add_action( 'wp_enqueue_scripts', 'bg_load_google_fonts' );
function bg_load_google_fonts() {
wp_enqueue_style( 'google-fonts', '//,700|Merriweather:300,700', array(), CHILD_THEME_VERSION );

This comment has been minimized.

Copy link

@IamSohaggazi IamSohaggazi commented Apr 24, 2018


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.