Title: Place Like button using php
Last modified: August 20, 2016

---

# Place Like button using php

 *  Resolved [inetsfr](https://wordpress.org/support/users/inetsfr/)
 * (@inetsfr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/place-like-button-using-php/)
 * Hi,
 * Is it possible to add Like Button to one of theme pages using php? If so, what
   is the code to do so. Thanks.
 * [http://wordpress.org/extend/plugins/facebook/](http://wordpress.org/extend/plugins/facebook/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * (@niallkennedy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/place-like-button-using-php/#post-3482882)
 * The easiest, most abstracted way is probably calling [do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode)
   on a Like Button shortcode string.

Viewing 1 replies (of 1 total)

The topic ‘Place Like button using php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook_526fac.svg)
 * [Facebook](https://wordpress.org/plugins/facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Niall Kennedy](https://wordpress.org/support/users/niallkennedy/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/place-like-button-using-php/#post-3482882)
 * Status: resolved