custom addthis tool box not sharing posts, just the page.

youknowitmedia Apr 23, 2012 03:05PM EDT

Hey guys, I really need help on this one. I have opted to integrate the addthis toolbox without using the wordpress plugin for my wordpress site. I have customized my toolbox exactly how I want it and implemented it into my loop.php file, the buttons show up in my posts perfectly the only problem is that they are not sharing the post permalink and title, just the link to the page listing all my posts.

As far as my code goes; I have the script in my header "<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f95a674603e5921"></script>"

the rest is in my loop.php:

<div class="social_share_menu">
<div class="addthis_toolbox addthis_default_style addthis_32x32_style addthis:url=<?php the_permalink(); ?> addthis_title=<?php the_title(); ?>">
<div class="facebook_button_shader">
<a class="addthis_button_facebook"></a>
</div>
<div class="twitter_button_shader">
<a class="addthis_button_twitter"></a>
</div>
<div class="google_button_shader">
<a class="addthis_button_google"></a>
</div>
<div class="reddit_button_shader">
<a class="addthis_button_reddit"></a>
</div>
<div class="stumbleupon_button_shader">
<a class="addthis_button_stumbleupon"></a>
</div>
<div class="tumblr_button_shader">
<a class="addthis_button_tumblr"></a>
</div>
</div>
</div>

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers