설명
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.
FAQ
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 = “”;
2016년 9월 3일
now the default font in the back end is sans-serif. It’s fine for me as it’s not for the viewers.
2016년 9월 3일
Thanks! Works with Twenty Sixteen as well.
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
기여자 & 개발자
변경이력
1.0.0
- 초기 릴리즈
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.