這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Google Font Fix

描述

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.

螢幕截圖

  • Options Page

安裝

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

常見問題

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.

評價

2016年9月3日
先赞插件 选项里可以加一个改变判断ip的选项,使用cdn后的网站REMOTE_ADDR没效果 思路:设置里可以输出所有当前_SERVER的项作为可选项,弄一个列表,然后存储使用的变量名
閱讀全部4個評價

貢獻者及開發者

“Google Font Fix” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Google Font Fix 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.