Make a script load on every page in wordpress?

anfyd

Regular Member
Joined
Mar 7, 2012
Messages
330
Reaction score
136
Hello BHW,
I have a certain script that I used to have running on my earlier static HTML page. Now I figured it would be best to switch to wordpress.

I have to insert the script twice: once after the closing tag and once right before the end of the .

So my question now is: where do I have to paste this in wordpress to make it load automatically on every page?

Thanks in advance for your replies.
Sincerely,
anfyd
 
Just edit the template IMHO.

Sent from my DROID2 GLOBAL using Tapatalk 2
 
No, .js script.
I want to know where to edit my template? Like on head.php? On the index.php? Where is it enabled on every page?
 
Put in header.php or footer.php = will load in all page
single.php = only load on article or blog post
page.php = only load on your page, eg: about,contact
index.php = only load on home
category.php = only load in category page
tag.php = only load in tag page
search.php = only load in search result page
 
Back
Top