Title: Valid Facebook &#8220;like&#8221;
Last modified: August 19, 2016

---

# Valid Facebook “like”

 *  [fk59](https://wordpress.org/support/users/fk59/)
 * (@fk59)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/valid-facebook-like/)
 * Iam looking for w3c valid facebook “like-button” in posts and pages.
 * All i can find here at the plugin section is not valid code and produced many
   errors.
 * Any ideas?
 * Thx, Frank

Viewing 1 replies (of 1 total)

 *  [hpguru](https://wordpress.org/support/users/hpguru/)
 * (@hpguru)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/valid-facebook-like/#post-1526246)
 * Please try this:
 * `<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(
   get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&action
   =like&colorscheme=light" scrolling="no" frameborder="0" style="border:none; overflow:
   hidden; width:450px; height:30px"></iframe>`
 * I modofied code to my site, code is XHTML valid.

Viewing 1 replies (of 1 total)

The topic ‘Valid Facebook “like”’ is closed to new replies.

## Tags

 * [valid](https://wordpress.org/support/topic-tag/valid/)
 * [W3C](https://wordpress.org/support/topic-tag/w3c/)

 * 1 reply
 * 2 participants
 * Last reply from: [hpguru](https://wordpress.org/support/users/hpguru/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/valid-facebook-like/#post-1526246)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
