该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Remove Google Fonts

描述

Remove Google fonts link from WP core( old versions ) and default themes:: twentyfourteen,twentyfifteen,twentysixteen,twentyseventeen.

  • Remove Open Sans font Link from WP core
  • Remove Lato font Link from the WP default theme twentyfourteen.
  • Remove Noto Sans font link,Noto Serif font link,Inconsolata font link from the WP default theme twentyfifteen.
  • Remove Noto Serif font link,Inconsolata font link from the WP default theme twentyfifteen.
  • Remove Inconsolata font link from the WP default theme twentyfifteen.
  • Remove Merriweather font link from the WP default theme twentysixteen.
  • Remove Montserrat font link from the WP default theme twentysixteen.
  • Remove Inconsolata font link from the WP default theme twentysixteen.
  • Remove Libre Franklin font link from the WP default theme twentyseventeen.

安装

  • Use WordPress’ builtin plugin installation system located in your WordPress admin panel, labeled as the “Add New” options in the “Plugins” menu to upload the zip file you downloaded
  • Extract the zip file and upload the resulting “ink” folder on your server under wp-content/plugins/.

All you need to do after that is navigate to your blog’s administration panel, go in the plugins section and enable No Open Sans font from Google fonts.

For more information, see the “Installing Plugins” article on the WordPress Codex.

常见问题

Drop me a line: https://coolwp.com/contact

Any technical requirements?

Drop me a line: https://coolwp.com/contact

评价

2017年10月19日
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 = "";

wow

2016年9月3日
wow - if I want to load fonts I can do it myself - shaved a half second of load time in one stroke - thanks
阅读所有7条评价

贡献者及开发者

“Remove Google Fonts” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Remove Google Fonts”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release

1.1.0

  • Remove Open Sans font load for wordpress admin pages.
  • Remove Open Sans font load for the WP default theme twentyfourteen.

1.2.0

  • Remove Noto Sans font link,Noto Serif font link,Inconsolata font link from the WP default theme twentyfifteen.
  • Remove Noto Serif font link,Inconsolata font link from the WP default theme twentyfifteen.
  • Remove Inconsolata font link from the WP default theme twentyfifteen.

1.2.1

*fix a bug.

1.2.2

  • support twentyseventeen.