Assets are loaded on all public pages
-
The JS and CSS files required to make the slider work should not be present if a slider is not defined in a page. This degrades website performance for no reason.
The enqueue process should only happen if a shortcode is processed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Assets are loaded on all public pages’ is closed to new replies.