最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Dequeue Table of Content font

programmeradmin4浏览0评论

I have been using Table of Contents plugin on my website. It is slowing my site but I don't want to remove TOC from my site. Is there any way to dequeue TOC fonts.

I have been using Table of Contents plugin on my website. It is slowing my site but I don't want to remove TOC from my site. Is there any way to dequeue TOC fonts.

Share Improve this question edited Jan 26, 2020 at 6:04 Jacob Peattie 44.2k10 gold badges50 silver badges64 bronze badges asked Jan 26, 2020 at 6:00 SurajSuraj 31 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

You can use this code

add_action( 'wp_enqueue_scripts', 'dequeue_ez_icomoon', 11 );
function dequeue_ez_icomoon() {
    wp_deregister_style( 'ez-icomoon' );
    wp_deregister_style( 'ez-toc' );
    wp_register_style( 'ez-toc', EZ_TOC_URL . "assets/css/screen.min.css", array(), ezTOC::VERSION );
}
发布评论

评论列表(0)

  1. 暂无评论