How to Add a Tweet Button With Your Twitter Username into

UPDATE (April29, 2012): Though now lets you add your own twitter username when using the Tweet Button. For this you need to set up Publicize feature for Twitter. (Official message from here.)

NOTE: When I enabled this feature, it didn’t work at first. So I disabled and enabled again, and it worked fine for a day or two. IT HAS STOPPED WORKING AGAIN NOW.

But don’t worry.

To create your own tweet button, please go through these steps.

This button’s function include:

  • adds my twitter handle / username after the Post Title and URL
  • suggests non-followers to follow me on Twitter
  • shows the main website link after RT

But this will not show the tweets count.

You can test it by using the tweet button below. 😉

Jump to Tweet + Like to learn How to Add Such Tweet Button for Your Site.


  1. Sharmeen says:

    Thanks for sharing a nice peace of work. but i did not get how to get icon URL (STEP 3)?

    1. Waqas Ali says:

      Sharmeen, in step 3 just paste the provided link for Icon and it shall work.

  2. Thank you sooo much! I’ve been searching online for the past 2 days trying to see if there were any helpful forums, but this is brilliant! Problem solved! Thank you again!!

    1. Waqas Ali says:

      Glad it help you, consider sharing it as well. 😉

  3. muslihzarth says:

    thanks for sharing…:)

    1. Waqas Ali says:

      Thanks for coming!

  4. Shaikh Saif says:

    Thanks for sharing Waqas it really helped

    1. Waqas Ali says:

      Glad to help my friend. 🙂

  5. DarthTec says:

    thanks for sharing, it helped a lot 😀

    1. Waqas Ali says:

      I’m glad, it did!

  6. Buttons says:

    Waqas, you do so well in teaching and inspiring…which brings me to this suggestion:

    How about posting once a week (or monthly) about a feature in online programs people may not know exist or don’t know how to use? A “Here’s what I found!” weekly or monthly series.

    Google + (which I don’t know the first thing about because I’m not in it), or Facebook, or wordpress are a start, you could expand out.
    Perhaps even invite people to ask questions of you about programs…

    It would give something to write on when you are stuck for a topic (doesn’t matter when you write it, could be scheduled to publish on any day you want, pick a day you find you’re normally too busy to post).

    It would bring traffic from people looking for answers to problems (just as the twitter thing did), and would increase your knowledge as well when you research topics for your posts 🙂

    🙂 my brain is working overtime today… hope you don’t mind the suggestion!

  7. Adam Britten says:

    The same thing happened to me and I thought I was crazy. Good thing I found this and fixed it in two minutes.

  8. Team Oyeniyi says:

    Works well! Except WP have changed the check boxes since you did your screen dumps and if you use a theme with a feature slider, and check Front Page, the display is very strange!

  9. This was SUPER helpful – thank you so much!

  10. This is excellent! Thanks for taking the time to show the rest of us.

  11. Thank you, Waqas. It was really helpful.

  12. Katherine says:

    I was actually looking for an answer to this very question and posed it in Quora some time ago…If you are on there perhaps you would like to post a reply?

    If not, I will go ahead and link to your blog post in case anyone else searches on this issue! Thanks so much for sharing this great tip.

  13. Absolutely brilliant! And your directions were perfect– thank you, my friend!

  14. Dave Bonta says:

    Thanks for the tutorial! People who prefer the icon-only style of presentation can use for the icon URL.

  15. Cheryl says:

    Thank you for sharing how to do this. The steps were easy to follow, and I was able to do it!

  16. Thank You Waqas. Would you like to be a guest contributor for my blog?
    Your blog is very interesting. Thank you.

  17. Morten says:

    Awesome! Thanks for sharing!

  18. Iva says:

    Thank you!! 🙂

  19. Shivya says:

    Thanks for such a precise tutorial. I’ve been battling this for a long time, and your solution worked like a breeze! I feel relieved 🙂

  20. Livs says:

    Thank you for sharing this!

  21. kjsandor says:

    Thanks so much for posting this!

  22. Michael says:

    Great work. Helped me so much.

  23. I am so make to take advantage of all your hard work! Thanks!

    1. Waqas Ali says:

      Good for both of us.

  24. Mitch Devine says:

    This was very helpful and easy to follow. Thanks so much!

    1. Waqas Ali says:

      Glad it worked for you. 🙂

  25. Danica says:

    Again, thanks so much for this! I hope you don’t mind though, I’ll be using my own Twitter icon from a free icon pack.

  26. heartbreakunion says:

    What about for non-wp hosted site that use Jetpack?

    How do we change the php code to work with that ?

    1. Waqas Ali says: also has the option of adding a custom sharing button.If you’ve installed JetPack, see it in Setting >> Sharing

  27. veehcirra says:

    This is genius!! Thanks!! Works like a charm! 🙂

  28. harryhyper says:

    Thank you for the help! I just set up a Twitter for my website, and now people can follow me there, too!

  29. Danica says:

    Thanks for the update notice! I will update my tweet button according to the WP instructions. Thanks again for your own function!

  30. raincoaster says:

    BUT, you have to set up Publicize for Twitter, which often truncates titles and makes you look like either an incompetent person who can’t count OR a lazy one who uses robots for “engagement.” I prefer your original solution, and am using it on my blogs.

  31. ailsapm says:

    Waqas, you are brilliant, sir, just brilliant. Thank you sooo much for this excellent workaround, I have been driven to distraction at the number of tweets going out without linking to my twitter handle. You have made me a very happy blogger. 🙂

Leave a Comment

Your email address will not be published.