Scripts and Styles Loading on Every Page (Bloatware)
-
Hi there,
Your plugin is loading scripts and styles on website pages that don’t require The Events Calendar.
For example, our homepage does not have anything close to needing The Event Calendar yet it’s loading the following files:
/wp-content/plugins/the-events-calendar/vendor/jquery-placeholder/jquery.placeholder.min.js
File Size: 2.1 KB
/wp-content/plugins/the-events-calendar/common/src/resources/css/common-skeleton.min.css
File Size: 25.9 KB
/wp-content/plugins/the-events-calendar/common/src/resources/css/tooltip.min.css
File Size: 1.6 KB
/wp-content/plugins/the-events-calendar/src/resources/css/admin-menu.min.css
File Size: .3 KB
Please update your plugin to fix the above. Until then, would appreciate a php snippet that will dequeue assets (css and js files) on website pages that don’t use The Events Calendar.
Thank you.
- The topic ‘Scripts and Styles Loading on Every Page (Bloatware)’ is closed to new replies.