Create a send this to twitter button for wordpress

November 7, 2008 · Print This Article

Let’s create a button to allow your visitors to send the current post they’re reading to twitter.

Simply paste the following code 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>
Your readers are now able to send your post url to twitter! Hope it will bring you some traffic and new readers.


Related articles:

Your choice for site templates and wordpress themes

Comments

Got something to say?

You must be logged in to post a comment.