由于一些大家都懂的原因,GFW禁止访问GOOGLE网站,而因此导致wordpress打开后台很慢,这是由于wp后台默认调用了google的字体,因此禁用字体即可。
0 1 2 |
[root@hz site]# vim wp-includes/script-loader.php // Hotlink Open Sans, for now #$open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"; #注释掉即可; |
申明:本文参考网络文章,版权归原作者所有!SourceByrd's Weblog-https://note.t4x.org/other/refuse-google-font/
参考:http://www.wpyou.com/disable-goole-fonts.html
参考:http://jingyan.baidu.com/article/647f01159347e97f2048a850.html
参考:http://icaoye.com/solution-of-wordpress-3-8-google-fonts-issue.htmlSourceByrd's Weblog-https://note.t4x.org/other/refuse-google-font/
SourceByrd's Weblog-https://note.t4x.org/other/refuse-google-font/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!