How to Put Facebook “Like” and “Share” Button on your Blog

See how I put the Facebook Like and Share button on this blog,

  1. From Dashboard, go to Design.
  2. Click on Edit HTML
  3. Check the Expand Template Widget options
  4. Then find this Code: (Ctrl + F)

<date:post.body/>


For Like button, copy (Ctrl+C) the code below and put after the code above:

<b:if cond='data:blog.pageType == "item"'>

<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like

&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
</b:if>

______________________________________________________________

For Share button, find this Code: (Ctrl + F)

<date:post.body/>


Then copy (Ctrl+C) the code bellow and put before the code above:

<div style='float:right;padding:4px;'>

<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='box_count'/>

<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>

</div>


Lastly, Save Template, DONE!

**rosinajosephabi.blogspot.com

4 comments:

  1. ne button yg untuk d mana ne rosina joseph abi?...yg d bawah post tu ka?

    ReplyDelete
  2. waduh, full name tu aka. Ya, ni button Like kat bwh then button share kat atas pula.. Niway nk letak mana² pn boleh..just tukar tmpt code tu.. hehe :)

    ReplyDelete
  3. nda pandai2 jadi sia punya html ni..adei...ni lah ni nda tau pa tu code2 ...
    santik juga tu sabahan bloger punya logo tu...hehehe YNWA

    ReplyDelete
  4. hehe..sy jumpa di blog org ba tu, ni link dia (http://stewardjohn.com/) Tp sy modify dia punya code & edit gambar letak logo liverpool..ok jg kn..YNWA~♥

    ReplyDelete

♥ mum ♥ child ♥ dad ♥

Song 4 my BeLoVeD Parents ~~♥♥♥
 Miley Cyrus and Billy Ray Cyru - Butterfly Fly Away .mp3
Found at bee mp3 search engine

Miley Cyrus & Billy Ray Cyrus
Butterfly Fly Away lyrics
Songwriters: Ballard, Glen; Silvestri, Alan;

You tucked me in, turned out the light
Kept me safe and sound at night
Little girls depend on things like that

Brushed my teeth and combed my hair
Had to drive me everywhere
You were always there when I looked back

You had to do it all alone
Make a living, make a home
Must have been as hard as it could be

And when I couldn't sleep at night
Scared things wouldn't turn out right
You would hold my hand and sing to me

Caterpillar in the tree
How you wonder who you'll be
Can't go far but you can always dream

Wish you may and wish you might
Don't you worry, hold on tight
I promise you there will come a day
Butterfly fly away

Butterfly fly away, butterfly fly away
Flap your wings now you can't stay
Take those dreams and make them all come true

Butterfly fly away, butterfly fly away
We've been waiting for this day
All along and knowing just what to do
Butterfly, butterfly, butterfly, butterfly fly away

Butterfly fly away
Butterfly fly away
♥♥♥~~like daughter and father^^