Which header template for javascript file?
-
I want to place some Flash SWFs in WordPress Pages. I see the following templates in the Editor:
header-front.php
header-html5.php
Header
(header.php)Since I’m lazy, I usually go find the </head> tag and put the link to the .js file just above it. But I don’t know which of these files is serving the header to the WordPress Page template. And, header-front has the closing < /head> tag in TWO places.
Where should I place the link to a .js Javascript file so that it loads with a WordPress Page?
` <script type=”text/javascript” src=”www.mysite/folder/swfobject.js”></script>
<script type=”text/javascript”>
swfobject.registerObject(“myId”, “9.0.115”);
</script>`Thanks!
The topic ‘Which header template for javascript file?’ is closed to new replies.
