This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Font Fix

Description

NOTE: For the vistors from outside Mainland China, they will still use links to the original site instead of the mirror site.

As we all know, the loading time becomes longer for Chinese vistors because of the GFW in China.
The vistors are always waiting for loading fonts from fonts.googleapis.com and avatars from Gravatar for a long time.

To solve this problem, we develop this plugin and replace the google libraries (//*.googleapis.com) with the service provided by USTC and Cat Networks for Chinese users. As for the gravatar service, the links are replaced with //cn.gravatar.com/avatar or other alternative mirrors. You can change these mirror site URLs in the settings page.

After enabling this plugin, the user experience becomes much better for the vistors from Mainland China.

Screenshots

  • Options Page

Installation

  1. Upload google-font-fix folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy!

FAQ

Who need this plugin?

It is mainly designed for Chinese WordPress sites. Because these people cannot access the APIs proviced by Google.
However, I think every WordPress site can use this plugin if there are visitors from Mainland China.

Reviews

September 3, 2016
先赞插件 选项里可以加一个改变判断ip的选项,使用cdn后的网站REMOTE_ADDR没效果 思路:设置里可以输出所有当前_SERVER的项作为可选项,弄一个列表,然后存储使用的变量名
Read all 4 reviews

Contributors & Developers

“Google Font Fix” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Google Font Fix” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

2.3.2

Fix wrong URL for Gravatar.
Thanks @playmsg.

2.3.1

Update the mirrors.

2.3.0

Remove the mirrors that are no longer working from the settings page.

2.2.2

Update the candidates of proxy URLs.
Thanks @esterTion.

2.2.1

Fix some bugs.
Thanks @TkYu.

2.2.0

Add IPv6 support.

2.1.3

Resolve conflicts with other plugins.

2.1.2

Update Test up to value to 4.7.

2.1.1

Create icons for this plugin.

2.1.0

Complete localization for Simplified Chinese.

2.0.0

Create settings page for users to select mirrors of Google and Gravatar.

1.4.0.2

Update the introduction

1.4.0.1

Update the introduction

1.4

Add HTTPS support

1.3.2

Fix some bugs.

1.3.1

Fix some bugs.

1.3

Add accelerator for Gravatar service.

1.2.4

Fix some bugs.
Thanks @Blueve.

1.2.3

Rename the geoip.inc file.

1.2.2

Fix some bugs.

1.2.1

Fix a bug that the 360’s CDN cannot support https protocol.

1.2

Enable IP detect, only replace the service provided by 360 for Chinese visitors.
Thanks @skyleft.

1.1

Fix a bug that flush with empty content.
Remove extra trunk/ folder in the plugin.

1.0

Complete the basic functions.