解决方法是添加下面的主题在目前的代码在functions.php: //禁用Open Sansclass Disable_Google_Fonts {public function __construct() {add_filter( 'gettext_with_context', array( $this, 'disable_open_sans' ), 888, 4 );}public function disable_open_sans( $translations, $text, $context, $domain ) {if ( 'Open Sans font: on or off' == $context && 'on' == $text ) {$translations = 'off';}return $translations;}}$disable_google_fonts = new Disable_Google_Fonts;
新闻热点
疑难解答