Create a “Send to Twitter” Button


The problem. Are you on Twitter? If so, we’re sure you know how good this service is for sharing what you find interesting online with your friends. So, why not give your readers a chance to directly send your posts’ URLs to Twitter and bring you some more visitors?

The solution. This hack is very simple to achieve. The only thing you have to do is to create a link to Twitter with a status parameter. Because we’re using a WordPress blog, we’ll use the function the_permalink() to get the page URL:

<a href="http://twitter.com/home?status=Currently reading <?php the_permalink(); ?>" title="Click to send this page to Twitter!" target="_blank">Share on Twitter</a>

Pretty easy, isn’t it? But pretty useful too, in our opinion.

Source:

Hot Trending Topics

  1. How to Update your Twitter by using PHP and Twitter API
  2. How to Get More Followers on Twitter
  3. How to Add the Facebook Like Button to Your WordPress posts
  4. 25 Questions To ask yourself before Launching a Website
  5. How to Create your own photoshop Brush!

Check These Out!!

Comments