Web Development
How To Fix AddThis Toolbox for WordPress Blogs
The new AddThis Toolbox is a great tool for adding many ways to share you site content through other sites, such as Digg, Facebook and more.
I really like AddThis and I use the Toolbox on this site but when adding it to my WordPress install I found that it didn’t work (Something with pulling the post title and URL).
I was able to fix it and I’ll be sending the proper code to fix it but in the mean time here’s the proper code to adding AddThis Toolbox to your WordPress install.
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style" addthis:title="<?php the_title(); ?>" addthis:url="<?php the_permalink() ?>"><a class="addthis_button_email" title="Email to a friend"></a>
<a class="addthis_button_digg" title="Digg it!"></a>
<a class="addthis_button_facebook" title="Share on Facebook"></a>
<a class="addthis_button_twitter" title="Retweet this post!"></a>
<span class="addthis_separator">|</span>
<a href="http://www.addthis.com/bookmark.php?v=250" class="addthis_button_expanded">More</a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4a2d7b175116cd02"></script>
<!-- AddThis Button END -->
Comments
-
http://www.addthis.com/ Jim Lane
-
http://www.addthis.com Jim Lane
-
http://addthis.com/blog Justin Thorp
-
http://addthis.com/blog Justin Thorp
