這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.