FacebookTwitter

How to Create “send this to twitter” Button in WordPress

By on Dec 14, 2010 in Wordpress Tutorials |

Share On GoogleShare On FacebookShare On Twitter

twitter wordpressTwitter is one of the most popular social network basically its a microblogging platform where people love to share the stuff of their interest.If your posts is shared over twitter by some of your readers this may bring some new readers to your blog.

To make it easy to share your posts on twitter just create a button “send this to twitter” in your posts page.Follow the instructions below to create the button.

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>

Now visitors can share your posts on twitter and this may bring some new readers to your blog.