How to add Facebook like button WordPress

Use the Facebook API and create your own Like button for your WordPress site

Customize your own

Please notice we need to use a WordPress function to get the post URL:

<?php echo urlencode(get_permalink($post->ID)); ?>


About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.