Hi there,
On Wordpress archive and homepages which contain a number of posts excepts, the following addthis code works perfectly when I want the buttons to share the permalink of a particular post instead of the archive page.
[code]
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a addthis:url="<?php the_permalink() ?>" class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a addthis:url="<?php the_permalink() ?>" class="addthis_button_tweet"></a>
<a addthis:url="<?php the_permalink() ?>" class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="xxxxxxxxxxxxxxxxxxxxxxxxxxx"></script>
<!-- AddThis Button END -->
[/code]
However, it doesn't bring in the title of the linked post, instead it uses the archive page's title.
Is there a way to change this?
Many thanks,
Dan
This question is closed to new answers.