How to disable scripts loaded on init?
-
Hello. I’ve been trying to stop a plugin (used only in frontpage) from loading its scripts and style in all pages different from homepage. The problem is that they are loaded on init and not using wp_enqueue_scripts so I can’t use usual conditional tags as is_home() or is_front_page(). Can anybody suggest me if there is a way to do that? Thanx.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to disable scripts loaded on init?’ is closed to new replies.