0
votes
1answer
20 views

How can I load certain JavaScripts only on blog pages?

Here's the situation I'm having. I am developing a site and on the single post pages of the site I am using various social sharing buttons (i.e. Google+, Facebook, LinkedIn, Twitter, etc). I am ...
0
votes
2answers
41 views

Absolutely print script in footer

I am looking for a solution to printing a Javascript include in the footer of WordPress front-end, and I know there are options for this. However, what would allow me to do so with these in mind: ...
0
votes
1answer
424 views

Move specific javascript to the footer

I have noticed if I move all of my javascript to the footer, some plugins do not function properly, or at all. Is there some code I can add to my functions.php to move specific plugin javascript to ...
0
votes
2answers
71 views

Proper Javascript Implementation

Instead of calling a script from a file, I put a number of my javascripts in a template file called codes.php. I then call codes.php in the footer by pasting <?php include (TEMPLATEPATH . ...
1
vote
1answer
519 views

How to add code to just before closing body tag

How would I put the following code, for a certain shopping cart, just before the closing body tag in my WordPress site? In the footer? It seems to me that I would only want to call startcart() for ...
0
votes
3answers
139 views

Only loads on the contact template page

In the footer i load the Google maps api. But only on the contact page, i used the google maps api. Now i want to make code. That the google maps api is only load in the contact template pages. How ...
2
votes
1answer
3k views

How to add javascript just before the closing body tag in the footer of WordPress

I'm following some of the other people's advice here about adding my js file before the closing body tag but it doesn't seem to work for me. If someone would be so kind as to check this for me ...
-2
votes
1answer
289 views

Javascript from Easy-Fancybox place into footer

the Easy FancyBox WP-Plugin works fine for me. Just the script will be placed in the header of my source, like other plugin, too. I´d like to push it down to the footer of my website (incl. the ...
0
votes
2answers
487 views

How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?

I am looking for a solution to reuse the header and footer navigation links (with style, of course) in one of my WordPress website for several other WordPress sites. Please note that I'm trying to ...
1
vote
1answer
295 views

javascript conflict

I am having a JavaScript which is used for marquee, I want to use this in my wordpress site. But this java script is conflicting with my wordpress, I am using this in footer, but just the div area is ...