The need for speed


posted by | Comments Off on The need for speed

In Bright for WordPress 5.1, speed junkies get a little boost.

Normally, Bright loads its Javascript files …. whether the page or post ends up using them or not. Well …. Javascript takes time to load, and if there’s no Bright functionality on the page, why load them?

Since WP makes it a bit difficult to load a plugin on a per page basis, we offer the following compromise.

Make a custom field called ‘bright-stop’, and that’s all. Bright will not load on the page. But if you have Bright templates in your header, footer, or sidebar widgets, you probably won’t want this.