Skip to content

Instantly share code, notes, and snippets.

View NatalieMac's full-sized avatar

Natalie NatalieMac

View GitHub Profile
@NatalieMac
NatalieMac / functions.php
Last active December 12, 2015 10:39
Step 3: Adding Google Web Fonts to your WordPress theme
function ggl_load_styles() {
if (!is_admin()) {
wp_register_style('googleFont', 'http://fonts.googleapis.com/css?family=Holtwood+One+SC|Rouge+Script');
wp_enqueue_style('ggl', get_stylesheet_uri(), array('googleFont') );
}
}
@NatalieMac
NatalieMac / functions.php
Last active December 12, 2015 10:39
Step 2: Adding Google Web Fonts to your WordPress theme
function ggl_load_styles() {
if (!is_admin()) {
wp_register_style('googleFont', 'http://fonts.googleapis.com/css?family=Holtwood+One+SC|Rouge+Script');
}
}
@NatalieMac
NatalieMac / functions.php
Created February 12, 2013 04:37
Step 1: Adding Google Web Fonts to your WordPress theme
function ggl_load_styles() {
}