Make Twitter Work for you with Tweet This Wordpress Plugin
- 3 Comment
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Much has been said about Twitter in my blog and in many blogs throughout the blogosphere. Twitter is a social media tool allowing people to stay connected virtually 24/7 by allowing you to update your status via tex message.
To get the most out of twitter and your blog you should install the Tweet This Wordpress Plugin once that plugin is installed you will see the tweet this post option become available in your blog posts. The plugin works for past, present, and future posts. You can see it in action here in this and every other post on my page.
I did a little customization to the plugin in order to get itworking like I wanted in my blog, I’ll show you what i did below.
After installing the plugin I edited the settings like this:
I opted to have a small Text link at the bottom of my post. If you do the same you will notice that I changed the tweet icon. I used this image and renamed it to tweet-this-small.png.
This is not necessary for the plugin to work I just like this image more than the default You can do the same for the regular image as well if you like. The regular image is one image that has both the hover and non hover states, don’t resize the image just use the size settings and insert whatever it is you like..
The next thing I need was actually edit the plugin. this canbe accomplished by going to the plugins menu, selecting the Tweet This plugin and then clicking the edit link. If you have done this correctly you should now be seeing a screen that looks like this:
Next I went down to line # 78 that starts with function get_tweet this url
function get_tweet_this_url() {
$url = ‘http://twitter.com/home/?status=’ .
get_tweet_this_short_url() . ‘+’ . get_tweet_this_trim_title();
I changed lines 79 and 80 to look like this
function get_tweet_this_url() {
$url = ‘http://twitter.com/home/?status=New%20Blog%20Post:’ .
get_tweet_this_trim_title() . ‘+’ . get_tweet_this_short_url();
What this does in a nutsehll the change to line 79 makes my tweet start with New Blog Post:
the change to line 80 switches the position of the tweet url and the tweet title.
The final results would like like this as a tweet:
New Blog Post: Google Says Think Like a BlackHat http://tinyurl.com/c367xs
That’s all I did to customize the plugin. Of course there is a ton more stuff that you could change to get the plugin to act the way you would like. If you have any questions feel free to drop me a note in the comments and I will do my best to help you out. I will be adding this to my list of Word Press and SEO videos that I’m producing. So againg if you have something you want to see let me know and I’ll get that going for you.
If you enjoyed this post, make sure you subscribe to my RSS feed!
No related posts.
3 Comments on this post
Trackbacks
-
Rowell Dionicio said:
Definitely one of the best plugins out there since Twitter is the biggest social platform at the moment. I think the newest version of Tweet This allows you to edit the link without having to mess with the code. I’m glad they were able to work on that fairly quickly.
February 2nd, 2009 at 2:28 pm -
Contentpig said:
See, I haven’t downloaded the newest version because I didn’t want to undo my changes that I made. I guess I will take a look at it again.
Thanks RD!February 2nd, 2009 at 3:21 pm






[...] the Tweet This plugin and I modified the code somewhat to achieve the results I wanted. In my last post about customizing Tweet This I talked about replacing the icons and editing the text for the links and for the actual Twitter [...]