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)); ?>


Leave a Reply

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