Intermediary trading http://www.aliyun.com/zixun/aggregation/6858.html"> SEO diagnostic Taobao customer hosting technology hall
As a wordpress disabled google fonts method before, the method is to use the installation plugin!
As more background plug-ins cause the site to open slowly, then we can plug-ins try not to use.
This article Huang Kun teach you how to solve the Google font open slowly without plug-ins.
1. First we find the functions.php file for your site's theme, inside the wp-content \ themes \ your theme's name \ folder
Open the functions.php, we will see the first line of the home page
3. We only need the first line of code in the homepage
// Disable Open Sans
class Disable_Google_Fonts {
public function __construct () {
add_filter ('gettext_with_context', array ($ this, 'disable_open_sans'), 888, 4);
}
public function disable_open_sans ($ translations, $ text, $ context, $ domain) {
if ('Open Sans font: on or off' == $ context && 'on' == $ text) {
$ translations = 'off';
}
return
}
}
$ disable_google_fonts = new Disable_Google_Fonts;
As shown:
Wordpress Google font can solve the problem!
This article by the Huang Kun 2507.html "> webmaster blog editor reprint, please indicate the source: http://www.jmdrkj.cn/92.html