Tag Archives: Share

Add Facebook “Like” to your Website in One Step [Super Quick Guide]

[ad#ad-2]
I was pretty Much Excited to Hear the News that Facebook has started the Concept of “Universal Like”.

Universal “Like”??
As The Name Suggests, You could like anything and everything on Web.. The Best Part here is Whatever you “like” on Website will be Streamed into your Facebook News Feed! What’s More! You could share things even without logging into Facebook account.. “Like” it??

Integrating Facebook “like” feature in your WordPress Blog.

I Visited Facebook’s developer page to Check out how to integrate the Like button to my Website.. Though in that OpenGraph page they have explained very neatly, I was Searching for a Very Simpler way to add a Like Button to Website.. Here Goes the details..

If you are a WordPress User Just Copy the below IFRAME Code.. Go to Your Themes and find the single.php and dump it where you would like to have the button ( before the post / after the post)

<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>

On Successfully inserting the above code in single.php you could see the facebook like button on every individual posts. If some one likes your post, the title of post is posted in their Facebook’s News Feed. Its all due to power of get_permalink() in the code!

For Thesis Themes on WordPress
Are You Using Thesis Theme, and Cannot Find single.php to insert Facebook like code?

Just add this code at the end of custom_functions.php file

function add_like() {
 
if (is_single()) { ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&amp;layout=standard&amp;show-faces=true&amp;width=530&amp;height=60&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>
< ?php
}
}
add_action('thesis_hook_before_headline', 'add_like');

I have Used the thesis hook thesis_hook_before_headline to make appear the like button below headlines of every post...
Other Suggested hooks are
thesis_hook_after_headline
thesis_hook_before_headline
thesis_hook_after_post_box
thesis_hook_before_post_box

To Learn More about Like button customization and to generate like button of your choice check facebook like plugin page..

Hope the Post was helpful... Let Me know if you have any Doubts in Integrating facebook like button for your web page. Tweet me @che2on

[ad#ad-2-1]

Google Chrome leaping ahead of Safari

[ad#suk1]

Latest news which would upset Apple and would actually bother Microsoft too. The news is that Google chrome which launched nearly a year ago is on a hit. It actually got ahead of Apple Safari which was in the race from a long time.

Our old Microsoft Internet Explorer is still on 1st. Thanks to the windows users who are using the default shipped browser.

The Mozilla Firefox is 2nd which is favorite of millions of people. The most secure and the fastest browser in the world. I guess the 80% of the guys reading this article will be using the same browser.

Here comes the new competitor in this race. All new Google Chrome. There is going to be a new revolution here. As it has been a big achievement in short time.

What has changed:

1. Microsoft Internet Explorer: This will make clear why Microsoft. Share in November 2009 was 63.62% and now loosing few points it goes to 62.69% in January 2009 Oops 2010, Well what astonished me most was that January hasn’t even begin. A straight 1% drop in 1 month is too much. My advice to Microsoft , even if you are ahead at least try to do something new. Just Look at this graph:


2. Firefox: Well some point drop for Mozilla Firefox too. Share in November 2009 was 24.72% and in January 2010 is 24.61%. I think Mozilla can deal with it. The new Mozilla release can fix it .

3. Google Chrome: Do I even need to write here. Got in 3rd place after few months of release. That’s a big achievement. So lets pray that it gains more popularity (I know Google will do that like the way it is advertising it.)

The Browser Graph located at : http://goo.gl/caSo

Market Share can be found here: http://goo.gl/wMuJ

<img src=”http://www.chaaps.com/wp-content/uploads/2010/01/stats2.png” alt=”” title=”Graph 2″ width=”120″ height=”105″ class=”aligncenter size-full wp-image-2106″ />

[ad#suk2]