How can I get AdToAny to stop shortening URLs with Bitly? And how can I drop the "via @AddToAny" from Tweets?
How can I get AdToAny to stop shortening URLs with Bitly? And how can I drop the "via @AddToAny" from Tweets?
OK. I figured out how to drop the "via @AddToAny". Now how can we just use the normal link instead of the Bitly one?
The only elegant way to do this is to have it share the current page's URL:
var a2a_config = a2a_config || {};
a2a_config.track_links = 'custom';
a2a_config.track_links_key = location.href;
http://www.addtoany.com/buttons/customize/link_tracking
If you do it this way, you might want to disable AddToAny from showing on the front page, otherwise the shared link will be the URL of your blog's homepage.
So can you explain how you figured out how to drop "via @addtoany" and maybe replace it with "via @MyOwnTwitterName"
Hey all, would love to know how to drop @ddtoany as well...
Changing the Twitter message is fairly easy. For instance, just place the following code in WP Settings > Share/Save Buttons > Additional Options box:
a2a_config.templates = {
twitter: "Check out ${title} ${link} by @MyOwnTwitterName"
};
http://www.addtoany.com/buttons/customize/twitter_message
In the code above just modify the message between the quotes. Be sure to include the ${link} variable, and probably the ${title} variable as well.
This topic has been closed to new replies.