wordpress加载谷歌字体慢最简单的方法

Auth:hrg520       Date:2014/09/14       Cat:网站建设       Word:共192字       Views:757

在正在用的主题functions.php里加入 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' );

除非注明,瑞刚博客文章均为原创,本文地址 http://ruigang.win/archives/212.html,转载请以链接形式注明出处。

作者: 简介:一个小小医生

《wordpress加载谷歌字体慢最简单的方法》留言数:0

发表留言