Fb like button untuk Thesis Blogger dan Wordpress

on 27 Oct 2013

Fb like button untuk Thesis Blogger dan Wordpress !! Hanya satu step, dan save !! Paling mudah di planet bumi.

Blogger Thesis

<iframe expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=true&amp;width=150&amp;action=like&amp;font=trebuchet+ms&amp;colorscheme=light&amp;height=21&quot;' scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:21px;" allowTransparency="true"/>
Dari HTML template Blogger anda, cari kod <g:plusone size='medium'/> . Padam kod <g:plusone size='medium'/> , dan gantikan dengan kod diatas.

Atau anda boleh bermain-main dengan style sendiri mengikut tampilan button-button seperti anda inginkan.

Wordpress Thesis

function fb_like() {
if (is_single()) { ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px;"></iframe>
<?php }
}
add_action('thesis_hook_after_post','fb_like');
Masukkan sahaja kedalam file custom_functions.php Thesis anda. Boleh diakses melalui cpanel, atau terus sahaja dari dashboard Wordpress anda.

Notes:
Bagi user Thesis For Blogspot, Jika tak keberatan, mohon gantikan credit link template anda `Get smart with the Thesis Blogger Template from Forblogger.net`. `<a href='http://www.forblogger.net'>Forblogger.net</a>` kepada `<a href='http://www.photographermalaysia.my'>Photographer Malaysia</a>`. Kerana Forblogger.net berkurun lamanya sudah dijual kepada pemilik lain. - Thanks
5

{ 12 comments... read them below or add one }

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi, you have posted such precious and informative article which gave me lot of information. I hope that you will keep it up and we will have more informative and helping news from you. Thanks | Thesis Writing Services

    ReplyDelete
  3. thank you for sharing such a valuable information which I have gladly shared with my friends

    ReplyDelete
  4. Essay writing is an important part of any academic path. The writing of an essay is required mainly because the supervisor or tutor wants to assess the writing skills of a student,And this is best link for writing eassy Online Writing Service

    ReplyDelete
  5. Hi, I think u have posted the best article according to information. keep it up I will be glad to see such informative and helping article from u
    uk assignment Writers

    ReplyDelete
  6. Hi,This post is really informative and you have posted such precious and informative article which gave me lot of information. I hope that you will keep it up and we will have more informative and helping news from you. Thanks
    Online Writing Service

    ReplyDelete
  7. Essay writing is an important part of any academic path. The writing of an essay is required mainly because the supervisor or tutor wants to assess the writing skills of a student,And this is best site for getting Buy Essay Online Uk

    ReplyDelete
  8. I am very agitated that I have discovered your post because I have been penetrating for some information on this for about two

    hours. You have helped me a lot undeniably and by reading this article. I have found much new and valuable information about this

    subject. I was guessing if you could write a little more on this subject? I’d be grateful if you could involved a little bit

    more.
    Thanks for sharing it.
    Online writing services london - onlinewritingservice.co.uk

    ReplyDelete
  9. Well Explain it a new idea for me i have never use this but after read i will definitely use this. write research papers for college

    ReplyDelete
  10. Article composing is a vital piece of any understudy. The written work of an exposition is obliged chiefly on the grounds that the administrator or guide needs to evaluate the composition abilities of an student and this is best website for getting expert assignment assistance service.

    ReplyDelete

Spamming will report.