How To Add "Share On Twitter" Button to WordPress

Posted by Lasantha Bandara on August 26th, 2009 File Under : wordpress0 Comment

It is very simple.Copy below code and paste it 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 you are done.It will look this:

File Under : wordpress

Related Posts

Leave a Reply