-
Notifications
You must be signed in to change notification settings - Fork 27
JS & CSS included on all page loads, whether needed or not #161
Comments
Like most others, this plugin uses |
To be clear, by 'feed pages' I mean things like the home page (assuming it's set to list recent posts), search results, etc. When only excerpts are shown, the ToC cannot be presented because WordPress doesn't allow anything but plain text in excerpts (well, other than the feature image, if set). I do not mean the RSS feeds. |
Have attempted to prevent the CSS and JS files from being added. At the moment, it respects your TOC settings so it won't output to the homepage if you've disabled that or to a disabled post type for auto insertion. A limitation is that it will still output to an eligible page if there are not enough headings. |
@zedzedzed The I had to roll back to version 2311 to fix this. |
e.g. on feed pages, where the ToC is never rendered.
Specifically, front.min.js & screen.min.css.
It is somewhat possible to manually block these using plug-ins like Asset CleanUp, but it'd be nice if that weren't necessary (TOC+ is otherwise such a nice, svelte plug-in - it's a shame to have to install a behemoth like Asset CleanUp in order to use it).
The text was updated successfully, but these errors were encountered: