Are you following the WordPress Recipes blog?    If not, you really should be!   My fellow blogger and friend Jean-Baptiste Jung has created this blog to feature a number of “recipes” or code snippets.   In addition to the content, he’s also got a great design that has been getting attention all throughout the blogosphere.

In his latest recipe, Jean explains how to add a “Send to Twitter” link to your blog, or what I prefer to call it, a “Tweet This!” link.   The idea is to add a link on your blog (usually below the content) that people can simply click to discuss the post on Twitter.

If you’d like to add a “Tweet This!” link to your blog, here is the code you’ll need:

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

I would think that this could potentially be another great way to fetch traffic, possibly even better than a “Digg This!” link or something else along those lines.

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!
Tweet This | Digg This | Stumble it | Add to Del.icio.us | | Print This

Kyle Eslick

Kyle Eslick is WordPress enthusiast who took his passion for WordPress to the next level back in 2007 by launching WPHacks.com as a place to share hacks and review WordPress-related products. You can learn more about him by following his personal tweets here.

There Are 20 Responses So Far »

  1. I use Twitter daily and it is a great tool to network with other bloggers.

    I don’t think i’ve seen many re-tweets on Twitter from a blog though. I wonder how it looks. Maybe i’ve just not noticed. This brings up a good question.

    How does a re-tweet from a reader/visitor on Twitter look like?

    Hmmmn. Will have to find out.

    P.S. Jean from WPRecipes totally rocks. As Matt from WP says, “Code is Poetry”.

  2. Awesome, I had this idea too! I created Tweet This, a WP plugin, to do this. It shortens URLs in advance through Th8.us, TinyURL, or other services (you can choose).

  3. That’s some handy code! Thanks for the great tip.

    I think Twitter can definitely be an important marketing tool for bloggers. This helps that even more.

  4. jbj says:

    Many thanks to Kyle for the article, and to both of you for the comments!

  5. Markus says:

    I have done this with twitthis.com, where I can choose between some stauses. The code is:
    < a href="http://twitthis.com/twit?url=" title="Click to send this page to Twitter!" target="_blank" >Tweet This!

  6. Thanks for this. I’d rather have this than a plugin because it’s so simple.

  7. p@r@noid says:

    Sweet really helpful!

  8. AsceticMonk says:

    Thanks for this! I will be using this in my new blog theme.

  9. Gaurav says:

    hey thanks man.. i need this code….

  10. areisdesigns says:

    Thanks for this! I am adding to my blog now!

  11. Mario says:

    Thank you. This came in handy.

  12. J.D. Kalvin says:

    Thanks! This helped me sooo much!

  13. Ritu Rai says:

    This article makes it easy for me to insert retweet in my blog.

  14. wahyoe says:

    How To: Adding a “Tweet This” Button to Your WordPress Theme
    thanks for share gan.,,,,,

  15. For building reciprocal relationships, we must unquestionably have to consider twitter as a great supportive tool. With Twitter as your tool of marketing, you can expect a lot, a vast reach of customers is a guarantee because of the great number of friends you make on twitter. thousands will follow you every time you follow them.

  16. audiomind says:

    What WP template do you add this to if you want it to show up on every post?

  17. Juma says:

    It’s nice that the code is really simple to implement. Easier than facebook’s API.

  18. Gojeg says:

    Yeah,,it’s so simple to add tweet button to WP theme. ;D I like it!

Trackbacks/Pingbacks »

Leave a Reply