Skip to content

Instantly share code, notes, and snippets.

View conwayeast's full-sized avatar

Ryan conwayeast

View GitHub Profile
@conwayeast
conwayeast / functions.php
Created July 21, 2015 02:19 — forked from jennimckinnon/functions.php
Adding google fonts to WordPress
function google_fonts() {
$query_args = array(
'family' => 'Open+Sans:400,700|Oswald:700'
'subset' => 'latin,latin-ext',
);
wp_register_style( 'google_fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ), array(), null );
}
add_action('wp_enqueue_scripts', 'google_fonts');