Title: Insert Facebook Like button not working
Last modified: August 21, 2016

---

# Insert Facebook Like button not working

 *  Resolved [emiltakas](https://wordpress.org/support/users/emiltakas/)
 * (@emiltakas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/)
 * Hello,
 * when i try to put like button (either iframe or html5) on the text area nothing
   working. Also with iframe it doesnt hear the dimension and it shows the whole
   site instead of the facebook like button frame. Can you please help?
 * [http://wordpress.org/extend/plugins/wp-topbar/](http://wordpress.org/extend/plugins/wp-topbar/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813168)
 * The Text Area is for text — not HTML code.
 * What code have you entered?
 * Have you tried using the new PHP options to enter your custom code?
 * Bob
 *  Thread Starter [emiltakas](https://wordpress.org/support/users/emiltakas/)
 * (@emiltakas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813281)
 * `<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.
   com%2Fwww.enimerwsi.gr&send=false&layout=button_count&width=100&show_faces=false&
   font&colorscheme=light&action=like&height=21&appId=492132430837842" scrolling
   ="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:
   21px;" allowTransparency="true"></iframe>`
 * _[Please post code & markup between backticks or use the code button. Your posted
   code may now have been permanently damaged by the forum’s parser.]_
 * this code with iframe. I also tried it in php nothing happened also
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813288)
 * Works for me. Did you `echo` out the above or stop/start PHP processing (via `?
   >....<?php`?
 * `?><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.
   com%2Fwww.enimerwsi.gr&send=false&layout=button_count&width=100&show_faces=false&
   font&colorscheme=light&action=like&height=21&appId=492132430837842" scrolling
   ="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:
   21px;" allowTransparency="true"></iframe><?php`
 *  Thread Starter [emiltakas](https://wordpress.org/support/users/emiltakas/)
 * (@emiltakas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813290)
 * no. Can you write me exactly what do i have to paste?
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813293)
 * Also, you might need to edit wp-topbar.php
 * Change lines 421/459 from “<p>”/”</p>” to “<div>”/”</div>”.
 * (I’ll change this in the next release.)
 * The code is above in my last response.. I added the ?> … <?php for you.
 * Bob
 *  Thread Starter [emiltakas](https://wordpress.org/support/users/emiltakas/)
 * (@emiltakas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813302)
 * still nothing 🙁
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813307)
 * You made all the changes above?
 * Did you clear your browser’s cache?
 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813442)
 * Closing – no response in over a week.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Insert Facebook Like button not working’ is closed to new replies.

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

 * 8 replies
 * 2 participants
 * Last reply from: [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/insert-facebook-like-button-not-working/#post-3813442)
 * Status: resolved