Google Font Fix

April 29, 2021

Google Font Fix Plugin

Fix Google (//.googleapis.com/) and Gravatar service(//gravatar.com) for users in China.

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.

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!

Screenshots

  1. Options Page

    Options Page

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.

Changelog

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.

Details

  • Version: 2.3.1
  • Active installations: 500
  • WordPress Version: 3.0.1
  • Tested up to: 5.7.12

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars