Ever wanted to give your readers, or your client’s readers a chance to share the post quickly on Twitter?
The code is straight forward:
<a href=â€http://twitter.com/home?status=Currently reading http://www.test.com/post-url†title=â€Click to share this post on Twitterâ€>Share on Twitter</a>
If you’re using WordPress and want to automate this, simply use the following to insert the link to the current post in the loop into your link:
<a href=â€http://twitter.com/home?status=Currently reading <?php the_permalink(); ?>†title=â€Click to share this post on Twitterâ€>Share on Twitter</a>