Javascript on pages
-
Hey, I’m trying to add a little javascript to my posts but NOT my main page. If I stick it in the header it works fine but it shows up on my index as well, so I just want it in the singlepost.php but it doesn’t work there, any help would be VERY appreciated 🙂
PS I put:
<script type=”text/javascript” src=”myscript.js”></script>in header.php and it works. I want this to load everytime someone views on my posts. Thanks in advance!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Javascript on pages’ is closed to new replies.