Thanks for the help, it pointed me in the right direction. I've also had help from
this thread.
The problem was that I hadn't removed the escape characters when I added the js to HTML Inserts: Body Top. Added this:
Code:
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=my-addthis-username"></script>
And the working code for the footer is:
Code:
<!-- AddThis Button BEGIN -->
<?php echo '<span class="addthis_toolbox addthis_default_style" style="display:inline; float:right;" addthis:url="'.urlencode(get_permalink()).'" addthis:title="'.urlencode(get_the_title($id)).'">
<a class="addthis_button_facebook_like"</a>
<a class="addthis_button_favorites"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_google"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_live"></a>
<span class="addthis_separator">|</span>
<a href="http://www.addthis.com/bookmark.php?v=250&username=my-addthis-username" class="addthis_button_expanded">More</a>
</span>'; ?>
<!-- AddThis Button END -->
I'm not even using the plugin at this point.
But now I've decided to move it to the kicker, so it's immediately visible. The only problem now is that it displays over the "sticky" icon... well there ought to be a way to handle that as well. The current look is on the
Djurby homepage.