How to Remove @sharethis from Sharethis Twitter Code

I almost removed sharethis code from this blog because each time someone tweets my link, it automatically adds via @sharethis to the tweet. I’m pretty sure most of those using this code would love to remove sharethis handle from their tweets and probably change it to their own Twitter username.

Instead of gaining followers for sharethis, using your own Twitter handle when your posts gets tweeted may fetch you a couple of more followers. The buttons are cool though but this is the only problem I had with it.

via @sharethis twitter handle

In my quest to fix this, I Googled out a post that eventually helped me do what I wanted. I found this tweak on Udegbunam Chkwudi’s blog, StrictlyOnlineBiz, and thought it would be a great idea to share it here since I know quite a lot of people who use this same set of share buttons.

The set of stylish share buttons I published uses this code and if  you implement that code, I suggest you try this out.

Changing @sharethis to your own twitter handle

 
– Locate the tweet button within the code you’re using. It should look like this:

<span class='st_twitter_hcount' displayText='Tweet'>

– Add this to the code:

st_via='YourTwitterHandle'

You must replace YourTwitterHandle with your own twitter username.

– The resulting code should look this:

<span class='st_twitter_hcount' st_via='doncaprio' displayText='Tweet'>

You can try using the tweet button below this post to see if it really works. ;


Published

in

,

Comments

37 responses to “How to Remove @sharethis from Sharethis Twitter Code”