Hello,
I got add this code for FB Like, Tweet and Google Plus buttons. I use wordpress and put this code in to my contents.php file. The buttons show up, but if you like or tweet anything they like the whole page instead of the post the person is reading. Here is the code:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff5c0d418c8201f"></script>
<!-- AddThis Button END -->
Is there a way to tweak this code so that they will like the post instead of my whole page?
Thanks!
Jessica
To share a specific item you need to define the URL to share like this:
<div class="addthis_toolbox addthis_default_style " addthis:url="THE URL">
Replace THE URL with the URL of the page you'd like to share.
This question is closed to new answers.