by Sujoy on July 24, 2010

We all love the Thesis WordPress theme, and its multi-functional layout which can be highly customised. And we also love the Facebook Like button, which is in a way Facebook’s answer to the Tweetmeme button. So, why not I show you how to incorporate the Facebook Like button in Thesis WordPress button.
To do this, all you need to do is to go to your custom_functions.php file and open it in an editor. You can have a backup just in case things don’t go according to plan. Now, once you have it opened in an editor [ or in your dashboard editor ], add the following code.
function add_fb_like_btn() {
if (is_single()) { ?>
<div style="float:right; padding-left:3px;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe></div>
<?php
}
else { ?>
<div style="float:right; padding-left:3px;"><iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px"></iframe></div>
<?php
}
}
add_action('thesis_hook_after_headline','add_fb_like_btn');
You can customise the layout of the Facebook like button by changing what I have inserted in the
Please leave a comment if it worked out for you or otherwise. And also, go ahead and hit the Like button on this post
Cheerio!
[Image Courtesy: Venture Beat ]
by Sujoy on January 11, 2009
For all the Bloggers blogging across multiple platforms viz. WordPress, Movable, Blogger etc. it’s gonna be very easy now to switch their data from one platform to another. Thanks to the new OpenSource project from Google known as the Google Blog Converter, bloggers can use it to move their posts from platform to platform.
Here is the official post announcement of the arrival of the Google Blog Converter 1.0 on the Google OpenSource Blog. Supported platforms are LiveJournal, Movable, Blogger and WordPress. The project will still continue to support more platforms. Google has also released templates for hosting the conversions on the Google App Engine.
Here are a few examples hosted on the Google App Engine.
Blogger to WordPress
WordPress to Blogger
LiveJournal to Blogger
However, there is a catch.
There is a limit to the size of a downloaded file on appspot.com of 1 MB of data. Thus, these hosted applications should only be used for reference or for the conversion of small blog export files. The source code is available . Cheers Bloggers and WordPress Bloggers and the others !
by Sujoy on December 14, 2008
Choosing the Right WordPress Theme
I hope you people might have noticed that I have two blogs, one is this- Techkeyla, and the other one is OneKnightStands or as most of my mates call it- OKS. It was launched alongside Techkeyla, last year when I joined the independently blogging band-wagon and left the Blogger camp. Things have been great since. Visitors multiplied, my posts got linked and I got readers from all across the world. But unfortunately I haven’t been able to write as much. So to break the hibernation, I thought of redesigning the theme. I was happy with the previous theme for it supporting my long posts and clarity of font. But I needed change. After all it was a year old. So I began my hunt for the perfect wordpress theme to work on.
Sources of Free WordPress Themes.
My search began with a google search, but it was just not quite adequate. So, the search led me to multiple other blogs and other sources which I am sharing with you.
1. Smashing Magazine
Just love this blog and the exhaustive amount of sources these guys have. Check the following posts e.g.
100 Excellent Free WordPress Themes
83 Beautiful WordPress Themes You (Probably) Haven’t Seen
2.The next huge resource for anything wordpress is Mashable. For themes, I seeked help from the following posts.
30+ WordPress 3-Column Themes
30+ WordPress 2-Column Themes
And then there are numerous other blogs providing lists of numerous WordPress Themes. Some of them are listed below (after the jump). [Continue Reading]
See the cute little sun shining on my WordPress page address bar above? Or the very familiar ‘g’ on the address bar when you go to any Google page . That’s the Favicon. (So sorry, IE 6 users can’t see it ).And why is that minute design detail necessary. Well, it works more like a brand logo of your website/blog rather than just another design feature. You of course want to project your blog as a brand , a service which is recognisable. Labnol.org has the favicon of ‘D i’ as in Digital Inspiration. Now it is just a piece of little code to be included in your WordPress package and we’ll get to that in a while.
For those who host it on Blogger, by default the Blogger favicon should appear, but then, that can also be done away with. Now back to WordPress. Go to the Theme Editor page in your Admin console. Now if you don’t know how to reach there, once you LOGIN to your WordPress Admin page, click on the Design tab, and then click Theme Editor. GO to the Header php file titled header.php (surpisingly).
Now typically, this is where you include the code for the favicon. First and foremost, upload your desired Icon ( a .ico file) on any image hosting service ( photobucket, flickr..you know the names) or you can host it on your own server where you have hosted your wordpress. This is more advisable so that whenever you change your theme, your favicon would change as well. Anyway, typically, the icon goes in the theme folder itself. Now if it is included within the template folder itself, this is how the code will read.
<link rel=”shortcut icon” type=”image/ico” href=”<?php bloginfo(‘template_url’); ?>/favicon.ico” />
You have to include this code in the header.php. Almost anywhere, but I prefer to keep the code a bit clean by including below the code for the navbar:- the bar which has the link to the pages. And once you are done with it, click update and voila, your WordPress blog is now Favicon Branded. Flaunt It.