How To Properly Configure ReTweet Links & Buttons
For months I wondered why my blog posts weren’t getting retweeted cos each time, I checked the ReTweeted section of my twitter account, it was always blank.
Well it so happens that my retweet link and buttons weren’t well configured for twitter to track my retweets and so I made the changes that had to be made thanks to the Mashable’s Ben Parr article: HOW TO: Retweet on Twitter.
Here are some basic retweet codes. Please note these may or may not work on your blog depending on what permalink structure your blog has in place.
To create a simple retweet link for your posts, use the code below:
<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?p=<?php the_ID(); ?>">ReTweet This Post</a>
To create a simple retweet link for your pages, use the code below:
<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?page_id=<?php the_ID(); ?>">ReTweet This Post</a>
To create a retweet button such as the one that appears below each and every post on this blog use the code below:
<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?p=<?php the_ID(); ?>"><img src="link to image" /></a>
To create a retweet button for your pages, use the code below
<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?page_id=<?php the_ID(); ?>"><img src="link to image" /></a>
Do please remember to change the parts in green
username = your twitter id (e.g sonlinebiz) | yourblogaddress = your blog home page address (e.g http://www.strictlyonlinebiz.com/blog) | link to image = the direct link to your retweet image (e.g http://localhost/test/wp-content/themes/primus/primus/images/retweet.png)
To track your retweets, please refer to the article, HOW TO: Retweet on Twitter for a list of the best web-based tools for tracking retweets.
P.S: If these don’t work you, simply leave a comment below and I’ll create one for you. Cheers!
Related Articles You May Like To Read
- Make Your Feed Subscribers Get You More Traffic
- How To Add NoFollow Attribute To Blog Roll Links
- SOB’s Top 5 WordPress Plug-in Alternatives
- Your Blog Is Filled With Short Posts & Affiliate Links
- How To Display A Featured Post or Ad On Your Blog
Great Post… also another tip is if you use the TweetMeme button, make sure you change the default of @tweetmeme to your twitter name.
.-= John Paul@Make Money Every Day hopes you will read…Just Released: New Twitter Dummy Guide =-.
Thanks for the tip! I’ve already written about that @ How To Integrate Tweetmeme Without A Plug-in
Really I am yet to catch this Tweet fever
. I’ve tried once or twice to get active tweeting, but it didn’t just click. I’ll try to put the information above to use. Thanks for sharing.
.-= Nigerian Entrepreneur hopes you will read…Work Smart Get Search Engines Traffic =-.
LOL. It took my time as well to get a hang of it and I finally did. At least I have like 10 peeps I converse well with on twitter. Traffic from Twitter is still trickling in but I’m hopefully it will increase as time goes by
.
Nice post,I actually came here today from your tweet, but in the post you did not indicate where this codes are suppose nto be made that is which plugin or something?
Thanks for the heads up. The code is actually meant to go in a
your single.php file above or below the tag
How can you make a retweet button that retweets a twitter status that is on the sidebar of a blog, like on dooce.com?
I really don’t know. Why don’t you contact the owner of the site to find out?