How to Add the Facebook Like Button to WordPress Blogs

Blogging, Tutorials 12 Comments »

Today, Facebook officially released its social plugins as part of its world domination plans. Now you can like every page on the internet and share it on Facebook. For website owners, it can be a great source of traffic.

This tutorial will show you how to add the Facebook Like Button to your WordPress Blog.

Go to http://developers.facebook.com/plugins

Select the Like Button Plugin – http://developers.facebook.com/docs/reference/plugins/like

Customize the button as you want -

Select the layout, width, font etc and click on Get Code. Keep the dummy URL as it is – http://developers.facebook.com/

For static pages, you can directly enter the URL and get the code.

If you have a WordPress blog, you can get dynamically generate Like buttons for every page without having to generate new code every time.

The sample code for my blog is
-
<iframe src=”http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.pathikshah.com%2F&amp;layout=button_count&amp; show_faces=false&amp; width=450&amp; action=like&amp; font=trebuchet+ms&amp; colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:px”></iframe>
-
Replace the blog URL with

<?php_the_permalink();?>

Just copy this code if you want -
-
<iframe src=”http://www.facebook.com/plugins/like.php?href=<?php_the_permalink();?>&amp; layout=button_count&amp;show_faces=false&amp; width=450&amp; action=like&amp; font=trebuchet+ms&amp; colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:450px; height:px”></iframe>
-
This will automatically create Facebook Like buttons for every page of your blog. Just place this code in your sidebar or on single.php of your WordPress theme.

This is the code I added on single.php just below the page title.
-
<iframe src=”http://www.facebook.com/plugins/like.php?href=<?php the_permalink();?>;&amp ;layout=button_count&amp; show_faces=false&amp; width=80&amp;action=like&amp; font=trebuchet+ms &amp; colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:80px; height:20px”></iframe>
-
Just tinker with the code and add it to your blog. If you have any doubts, leave a comment.

How to Add Google Buzz Button to your Blog

Blogging, Tutorials No Comments »

googlebuzzbuttonThis tutorial will show you How to add the Google Buzz Share button on your WordPress or Blogspot/Blogger blog.

Get the Google Buzz Button code

Visit http://www.google.com/buzz/stuff and get the code for the Post to Buzz button. Keep all the options set to their default values. Copy the Buzz button code.

Add the Google Buzz Button to WordPress Blog

Just browse to your <blog directory>/wp-content/<theme directory>/single.php

Add the code depending on where you want your button.

Try inserting the code just after <div class=entry>. Align / Float the button to the left if you want to.

Save the file and open any post in your WordPress blog. You should see a Post to Buzz button with the Buzz count.

Google Buzz WordPress Plugin

If you don’t want to mess with the code,  just download this Google Buzz Plugin for WordPress and install it.

Add the Google Buzz Button to Blogspot/Blogger Blog

Sign in to your Blogger Dashboard and goto Layout > Edit HTML.

Add the Buzz Button code in the theme code where you want to place the button. The exact location will vary with the theme.

How To Add Windows XP to Windows 7 Boot Menu

Tutorials 11 Comments »

Many Windows XP users have decided to skip Windows Vista and jump on directly to the Windows 7 bandwagon when it releases. Windows 7 RTM is going to officially release on August 6 and the final version will release by October. If you already have Windows XP and want to install Windows 7 on another partition and use both XP and Windows 7 in a dual boot configuration, you just need to install Windows 7 and it will automatically create a boot loader entry for the Windows XP installation. If that does not happen, you can manually add Windows XP to Windows 7 Boot Menu.

To Add Windows XP to Windows 7 Boot Menu

Assuming that you have Windows XP installed on D: and Windows 7 on C:

Open an Elevated Command Prompt and type

C:>bcdedit /create {ntldr} /d “Windows XP”

This will create a boot loader entry using NTLDR for your Windows XP installation.

C:>bcdedit /set {ntldr} device partition=D:C:>bcdedit /set {ntldr} path \ntldr

C:>bcdedit /displayorder {ntldr} /addlast

This will point the boot entry to your Windows XP partition – D: , set the path to NTLDR and add it to the end of the boot menu options.

You can view the changes by selecting the Boot tab in Run > MSCONFIG.

Check out this tutorial to see How To Add Windows Vista to Windows 7 Boot Menu

You can also use EasyBCD to edit and manage your bootloader entries using a GUI.

Via Kombitz

How To Add Windows Vista to Windows 7 Boot Menu

Tutorials 4 Comments »

If you have Windows Vista installed and have installed Windows 7 in another partition using a clean install, the Windows 7 bootloader will automatically add an entry for Windows Vista.  By any chance, if you have managed to screw this up and want to add the Windows Vista boot option to Windows 7′s bootloader, just follow these steps.

Assuming that you installed Windows 7 on C: and Windows Vista was installed on D:

To Add Windows Vista Boot Option to Windows 7 Boot Menu

Open Command Prompt as an administrator or an elevated prompt and type

C:>bcdedit

This will list the current boot manager configuration. Note down the identifier key which is in the format

{e96c8447-8171-11de-9007-b10454ebd432} or something like it.

C:>bcdedit /copy {current} /d “Windows Vista”

This will copy the current bootloader into a new entry for Windows Vista. However selecting it will still boot into Windows 7.

C:>bcdedit /set {e96c8447-8171-11de-9007-b10454ebd432} device partition=D:

C:>bcdedit /set {e96c8447-8171-11de-9007-b10454ebd432} osdevice partition=D:

These two commands will set the new boot entry to point to your Vista partition and load from it.

You can reboot and see the changes. You can also Run > MSCONFIG and check out the entries in the Boot tab.

Check out this tutorial to see How To Add Windows XP to Windows 7 Boot Menu

As Manan pointed out, You can also use EasyBCD to edit and manage your bootloader entries using a GUI.

All rights reserved by Pathik Shah.
Entries RSS Comments RSS Log in