A kind request from a huge fan of this plugin
-
Hello dear Developer,
Thanks for this wonderful plugin. It’s super light-weight and just amazing. I am happily using it since a year. No issues so far.
Concerning performance, I have a kind request from you.
“Would be possible to load its CSS/JS only on posts?”
Reason: For homepage and page visitors, I don’t want to load extra bytes.
/wp-content/plugins/table-of-contents-plus/screen.min.css?ver=1509 /wp-content/plugins/table-of-contents-plus/front.min.js?ver=1509
/* Dreaming */ <?php if (!is_single()) { ?> // remove TOC assets <?php } ?>
or much better, if we can auto-detect usage and only load assets only there. Example, as Shortcodes Ultimate plugin does.
Thanks a million in advance!
Kind regards,
Gulshan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘A kind request from a huge fan of this plugin’ is closed to new replies.