cliffmama
Member
Posted 4 months ago #
I have AddToAny installed, and when someone shares my posts/pages, etc., through twitter, I want my twitter handle @cliffmama to be included in the retweet. I saw the link for the custom code - but I don't know how to program in PHP and don't know where I'm supposed to add this code to customize my shared tweet. Please advise.
Thanks!
http://wordpress.org/extend/plugins/add-to-any/
Sure, just drop the following code in the Additional Options box located in Settings > AddToAny:
a2a_config.templates = {
twitter: "Reading: ${title} ${link} by @cliffmama"
};
incognitoJ
Member
Posted 4 months ago #
I was also looking to add the twitter-handle to my tweets. I tried what you suggested above, but it didn't change anything. Is this because I'm using the standalone twitter button, rather than the standard "addtoany" buttons?
Any chance you can advise on where to add the code for my situation?
Thanks!
@incognitoJ this doesn't work yet for the standalone Twitter Tweet button, but it's planned!
incognitoJ
Member
Posted 4 months ago #
Ok, I'll keep an eye out for the change. Thanks for the update!