我用的是這個方法/ S9 v; U, L: V5 R& a) T9 o
# d* X% U; K5 O( T) a「打開wordpress代碼中的文件wp-includes/script-loader.php文件,搜索:fonts.googleapis.com找到這行代碼:
3 z7 { c! [ s% @3 [# d; m; z: j- K
$open_sans_font_url = "//fonts.googleapis.com/css?family1=Open+Sans:300italic,400italic,600italic,300,400,600⊂=$subsets";
* t4 I3 I, S5 w% a# C" j4 p
' {2 F# \, e+ e0 H5 G1 O然後把fonts.googleapis.com替換為fonts.useso.com」
" ] n$ U+ g+ z2 Q: L/ D$ P; X& g( ^
效果還可以,個人覺得比插件簡潔,比修改主題方便
/ r2 U- ?) j7 x$ m8 ?; u8 d
8 f" c. j1 o( l6 x |