GYIK

Vélemények

In my own blog I removed Google Fonts manually and I will explain why people should care about never using these fonts. googleapis.com is blocked in China so no one in China can see any site using Google Fonts basically it just won't load since the .css fonts basically come first.
This plugin saves so much time rather than manual code editing here is the manual step for example so thanks to the author!
==============
edit theme css:
Click "Appearance -> Editor -> Stylesheet"
http://yourblog.com/wp-admin/theme-editor.php?file=style.css&theme=twentysixteen
textarea {
color: #1a1a1a;
/*font-family: Merriweather, Georgia, serif;*/
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif
line 210
edit wp-content/themes/twentysixteen/functions.php
//return $fonts_url;
return 0;
#another problem is that in the code this shows up still:
<link rel='stylesheet' id='open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext&ver=4.4.11' type='text/css' media='all' />
edit wp-includes/script-loader.php
line 708:
$open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
$open_sans_font_url = "";