Open montchr opened 10 years ago
For now, all JS/jQuery plugins and custom JS are uglified and combined into scripts.min.js
, which is enqueued sitewide. This file is altogether about 12K. If a lot more plugins are added, then this method could be problematic, but for now 12K is nothing to worry about.
But the Timeline.JS plugin is still left enqueued only on the Reunion 2013 page via reunion-2013-functions.php
due to its massive size and the way it links to its assets.
Consider passing an array of page/post slugs for plugins such as FitText and Masonry to load on.
But keep in mind that FitText is also loaded with site banner headlines...