How to include twitter links in your photo blog
If you include great quotes or hints in your posts, then you should make it simple for your visitors to tweet them.
Use a little code rather than another plugin
There are several plugins for wordpress to help you out, but you can also do it without using a plugin if you are prepared to configure some simple code.
In fact I’m sure you could write a wordpress plugin to extend the built-in editor – if that’s you then I’m all for testing it out.
How a twitter link appears on your site
Click on the tweet this link above will open a new window or tab in your browser and provided you are logged in to twitter then you will be ready to tweet.
Twitter automatically shortens links so you don’t need to worry about the length of the URL and you could even add analytics tracking to it if you want.
The HTML code
How to include twitter links in your photo blog -
<a href="http://twitter.com/home/?status=How to include twitter links in your photo blog
http://www.p4pictures.com/how-to-include-twitter-links-in-your-photo-blog
via @p4pictures" target="_blank">
[<strong>tweet this</strong>]</a>
Let’s look at that in detail…
[TEXT THAT GOES BEFORE YOUR LINK SO FOLKS KNOW WHAT THEY WILL TWEET]
<a href="http://twitter.com/home/?status=
[THE TWEET TEXT GOES HERE]
[YOUR URL YOU WANT TO TWEET, TWITTER WILL SHORTEN IT]
via @p4pictures" [that last " closes the tweet string ]
target="_blank"> [makes the tweet open in a new window ]
[<strong>tweet this</strong>]</a> [makes the "tweet this" text bold]
If you do this manually you will need to preview the page or post and check the tweet this link works and that your tweet is not too long. I often use a <blockquote> tag to draw attention to the quote, and even put it in a coloured box from time to time.
If you know a little bit of code you can even wrap this tweet link around images.