标签: LayerSlider, LayerSlider WP, 图层幻灯片 该话题包含 1 个回复,2 人参与,最后由 chailei 更新于 5年、 11月 前 。 正在查看 2 个帖子:1-2 (共 2 个帖子) 作者 帖子 #25940 诗语管理员 文章数量: 5,858@feibisi 楼主 2018年4月29日 下午1:40 去掉 Google fonts 的方法,让主题速度更快。 // 去掉 LayerSlider 的 Google Fonts, fonts.googleapis.com slow down site function wpse_dequeue_google_fonts() { wp_dequeue_style( 'ls-google-fonts' ); } add_action ( 'wp_enqueue_scripts' , 'wpse_dequeue_google_fonts' , 99 ); 添加这段代码到子主题的 functions.php 中就能够去掉 Google fonts 主题的,薇晓朵的子主题已经默认添加了此代码。 #25944 chailei 文章数量: 1@chailei 2018年4月30日 下午8:52 Great@! 作者 帖子 正在查看 2 个帖子:1-2 (共 2 个帖子) 哎呀,回复话题必需登录。 未找到对应子版块?请直接在 [疑难杂症] 版块中发帖提问。 访问专版