我就用了下面这三个,快了很多,如果还有请评论一下
一,修改数据库ip
修改为ip链接,非域名
二,禁止字体
function remove_open_sans() {
wp_deregister_style( 'open-sans' );
wp_register_style( 'open-sans', false );
wp_enqueue_style('open-sans', '');
}
add_action( 'init', 'remove_open_sans' );
//此函数会禁用Google Open Sans字体,加快后台访问速度
function wpdx_disable_open_sans( $translations, $text, $context, $domain ) {
if ( 'Open Sans font: on or off' == $context && 'on' == $text ) {
$translations = 'off';
}
return $translations;
}
三,下载插件