Dequeue/disable all dataTables CSS/JS
-
The page I’m using the plugin on is pulling multiple parts of a single Google Sheet. It’s working fantastic! Except for loading super slow.
One thing I’d like to try is to dequeue anything having to do with dataTables as I’ve added the “no-datatables” class to all shortcodes on the page. The page is loading 15+ dataTables JS and CSS and I believe is slowing down the page significantly.
Since I’m not using dataTables anywhere on the site, is there an easy way to simply disable/dequeue anything having to do with dataTables? I expected adding the class would automatically dequeue but it didn’t.
Also, all those scripts load on every page of the site, would be really nice to have an option to only load on the page(s) that they are needed.
The page I need help with: [log in to see the link]
The topic ‘Dequeue/disable all dataTables CSS/JS’ is closed to new replies.