Create a gist now

Instantly share code, notes, and snippets.

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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment