Using an override theme_addthis_button function & button displaying at bottom of node. See below coding placed in template.php. How do I change so that when you click on the "addthis button" it displays the node url & title? Currently displays the site slogan and site address (www.site.com). As an aside, the "addthis button" is not displaying in the teaser. Any fixes?

function endless_news_addthis_button($node, $teaser) {
$button = '

';
return $button;
}

Comments

BogenDorpher’s picture

I would like to know how to achieve this via a snippit in my template.php, rather than using the addthis module. Right now, if I manually add the addthis code to the teaser, It only links to the page title. I want it to link to the actual post it is embedded in.