February 26, 2012

Creating a 'Send this to twitter' button

Let me show you how you can simply create a button for your WordPress blog to post the article you're reading on twitter as an update.
It's going to be a simple cake walk as you don't have to do anything special.All you need to do is to simply copy and paste the code below on your single.php file, within the loop:

<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>

Now check it out on yours ! Happy Posting !

0 comments:

Post a Comment