Where should I put the async code?

enterpr1se Jul 12, 2012 02:11PM EDT

I had add "#async=1" but I am not sure where should I put this part.
I am using wordpress 3.4.1 with addthis plugin 2.4.1,
which file and where should I put this?

function initAddThis()
{
addthis.init()
}
// After the DOM has loaded...
initAddThis();

1 Community Answers

Paul Jul 16, 2012 10:57AM EDT

You need to add that to JavaScript that runs after your page is loaded. The best place would probably be in the footer.php file, between <script></script> tags.


This question is closed to new answers.

Still need help?


General Topics

 

Developers