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>

Share this with friends:
Like what you've just read? Share it to your friends using your favourite service below:
Comments:
Pingbacks/Trackbacks:
[...] Vía ‘Share on Twitter’ link [...]
[...] específicos que sirven también para medir el número de veces se ha distribuido ese contenido: compartir en Twitter y compartir en [...]
[...] where credit is due though: this is mostly the work of Jamie Huskisson and his Webtools. I just made a slight improvement so that the resulting code valids as [...]
[...] Here is the Twitter share code, which can also be found at http://www.jhuskisson.com/code-tidbits/share-on-twitter-link. [...]
[...] in sharing mood by filling out a review, why not capitalize on the good vibes? You could create a simple link that sends the url of the page to their Twitter account to send, or use a Facebook share [...]
[...] Source : Jamie Huskisson [...]
[...] in sharing mood by filling out a review, why not capitalize on the good vibes? You could create a simple link that sends the url of the page to their Twitter account to send, or use a Facebook share [...]
[...] in sharing mood by filling out a review, why not capitalize on the good vibes? You could create a simple link that sends the url of the page to their Twitter account to send, or use a Facebook share [...]
[...] Here is the Twitter share code, which can also be found at http://www.jhuskisson.com/code-tidbits/share-on-twitter-link. [...]
Add a Comment: