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

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.