WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
Like Button - don't show on post (2 posts)

  1. apsipsia
    Member
    Posted 1 year ago #

    Hi, my thems on single post don't show full code include Like Button. Display only empty div:

    <div data-width="450" data-send="true" data-layout="button_count" data-ref="below-post" data-font="verdana" class="fb-social-plugin fb-like"></div>

    Please help! Thanks a lot :)

    http://wordpress.org/extend/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin outputs this HTML element for interpretation by the Facebook JavaScript SDK. The JavaScript SDK is enqueued in WordPress and loaded asynchronously. After loading a JavaScript function is called, FB.init, asking the JavaScript SDK to parse all values.

    Check your page source for connect.facebook.net to see where the Facebook JavaScript SDK is output and loaded. Look for FB.init to see where JavaScript SDK features are initialized.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic