amber.karnes
Member
Posted 2 years ago #
Hi,
I am having a javascript conflict between the Vision theme's javascript slider on the homepage and Lightbox 2.0. Having both scripts in the header does not work. I need lightbox on only one page:
http://reinacommunications.biz/work
And I need the slider on only one page:
http://reinacommunications.biz/
But since I have to call the scripts in the header is there a way to get around this? Can I place them somewhere other than header.php?
Thanks!
otronix
Member
Posted 2 years ago #
I am wondering about this too. Not because of a conflict, but because I only use javascript on my homepage. It seems like it makes since to only call it on index.php
Otherwise maybe use a conditional tag like is_home() in the header?
Check that your themes and plugins are compatible with WordPress 2.8 (or that you can manage without them until they are updated) and upgrade. 2.8 allows for JavaScript to be added to the footer, and for it to be called only when needed.