Last active
August 29, 2015 14:03
-
-
Save proframework/2e0553f0518f3cc2f3cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('after_setup_theme','generate_remove_google_fonts'); | |
function generate_remove_google_fonts() | |
{ | |
remove_action('wp_head','generate_display_google_fonts', 0); | |
} | |
add_action('wp_head','generate_display_custom_google_fonts'); | |
function generate_display_custom_google_fonts() | |
{ | |
?> | |
<link href='http://fonts.googleapis.com/css?family=Roboto:400,100,300,100italic,300italic,400italic,500,500italic,700,700italic,900,900italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment