Javascript Source File independent pages include?
-
I have a couple of javascript source files that I would like to limit to include only on specific website pages. If I enable them in Code Manaager, they are included on all pages, and one of them is necessary on one page of the site, but breaks the functionality of another page.
Nothing comes to mind, without poring through both scripts to find the conflict – would be simpler to just not include the one resource file on the conflicting page… thoughts?
I really am having fun with code manager, though. I can do all sorts of things I ‘want to do’ – like adding javascript and html within a PHP shortcode, just by using the “echo” command. And I don’t have to learn all the structure of WordPress to do it!!Thank you for this!
- You must be logged in to reply to this topic.