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:

You may Also Like

  1. How to Get More Followers on Twitter
  2. How to Update your Twitter by using PHP and Twitter API
  3. How to Add the Facebook Like Button to Your WordPress posts
  4. 14 Ways to Get your Facebook Page Stand out
  5. How to Create your own photoshop Brush!

Tags: ,

Responses are currently closed, but you can trackback from your own site.