Ajouter un bouton Like de FaceBook

FaceBook vient donc de lancer Open Graph. Voici comment faire pour ajouter un bouton « Like » sur son Blog ou site. Pour WordPress le code est à mettre dans votre thème : single.php

Derrière the_content()..

// start of fb like code

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

// end of fb like code

<?php the_content(); ?>

Pour tout autre site il faut ajouter le permalink de la page aprés href=

  1. russell westbrook shoes

    I would like to express my love for your kind-heartedness for people that really want help with this important question. Your very own commitment to passing the solution all over was wonderfully effective and have really helped some individuals just like me to attain their endeavors. Your warm and helpful hints and tips entails a great deal to me and much more to my peers. Many thanks; from all of us.

  2. Racial discrimination

    Thanks for these guidelines. One thing I should also believe is the fact credit cards presenting a 0 rate of interest often attract consumers in with zero monthly interest, instant endorsement and easy internet balance transfers, nonetheless beware of the real factor that will probably void your current 0 easy road annual percentage rate and throw anybody out into the poor house quick.

  3. Lutein

    Thanks for your intriguing article. One other problem is that mesothelioma is generally brought on by the breathing of material from mesothelioma, which is a very toxic material. It’s commonly observed among workers in the building industry who have long exposure to asbestos. It is caused by moving into asbestos covered buildings for a long period of time, Family genes plays an important role, and some folks are more vulnerable towards the risk in comparison with others.

  4. remote jobs for moms

    Thanks for the new stuff you have disclosed in your text. One thing I’d really like to touch upon is that FSBO human relationships are built eventually. By bringing out yourself to the owners the first weekend break their FSBO will be announced, prior to masses begin calling on Wednesday, you build a good interconnection. By mailing them instruments, educational elements, free reviews, and forms, you become a strong ally. By taking a personal interest in them in addition to their problem, you produce a solid connection that, in many cases, pays off if the owners opt with a representative they know and also trust — preferably you.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.