diff --git a/functions.php b/functions.php index 7c35014..2cedc54 100644 --- a/functions.php +++ b/functions.php @@ -286,7 +286,7 @@ function cordero_fonts_url() { $fonts_url = add_query_arg( array( 'family' => urlencode( implode( '|', array_unique($fonts) ) ), 'subset' => urlencode( $subsets ), - ), '//fonts.googleapis.com/css' ); + ), '//fonts.geekzu.org/css' ); return esc_url_raw($fonts_url); } else { return; @@ -355,7 +355,7 @@ function cordero_editor_fonts_url() { $fonts_url = add_query_arg( array( 'family' => urlencode( implode( '|', array_unique($fonts) ) ), 'subset' => urlencode( $subsets ), - ), '//fonts.googleapis.com/css' ); + ), '//fonts.geekzu.org/css' ); return esc_url_raw($fonts_url); } else { return; diff --git a/functions/js/customizer-preview.js b/functions/js/customizer-preview.js index ec18b72..cd2899e 100644 --- a/functions/js/customizer-preview.js +++ b/functions/js/customizer-preview.js @@ -180,7 +180,7 @@ function cordero_font_bind( to, style_class ) { if ( to == '' || to == 'Arial, Helvetica, sans-serif' || to == 'Impact, Charcoal, sans-serif' || to == '"Lucida Sans Unicode", "Lucida Grande", sans-serif' || to == 'Tahoma, Geneva, sans-serif' || to == '"Trebuchet MS", Helvetica, sans-serif' || to == 'Verdana, Geneva, sans-serif' || to == 'Georgia, serif' || to == '"Palatino Linotype", "Book Antiqua", Palatino, serif' || to == '"Times New Roman", Times, serif' ) { } else { var googlefont = encodeURI(to.replace(" ", "+")); - jQuery('head').append(''); + jQuery('head').append(''); to = to.substr(0, to.indexOf(':')); to = "'" + to + "'"; }