Support » Plugins » Valid Facebook “like”

  • fk59

    (@fk59)


    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

    (@hpguru)

    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.