WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
Comments box does not show in one of our language's pages (3 posts)

  1. BestLecture
    Member
    Posted 2 months ago #

    Hello,

    We are using Polylang plugin for mulit languages site.

    The comments box appears in each of the languages' posts.
    However, on pages, only the Hebrew pages contain the comments box.

    Sample Hebrew page: http://www.gary-tv.com/garymain/?page_id=8
    Sample English page: http://www.gary-tv.com/garymain/?page_id=2132

    I didn't notice when exactly this problem happened, sorry for that.
    Both Facebook and Polylang are up to date.

    Any idea why?

    Thank you very much.

    https://wordpress.org/plugins/facebook/

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 2 months ago #

    It looks like your site has customized a theme or plugin beyond what's provided in the Facebook plugin for WordPress.

    The Facebook plugin for WordPress outputs a <div> element to the page for interpretation by the Facebook SDK for JavaScript. You will notice similar markup under the HTML5 tab of the Facebook Comments Box social plugin page.

    Your Hebrew page includes the iframe version of the social plugin as a child of the HTML5 version of the markup, with attributes pre-set that should have been set by the Facebook SDK for JavaScript. If you load your Hebrew page with JavaScript disabled you will see this iframe and its values.

    Check to make sure your theme includes a comments template for relevant views where you would like to solicit comments.

  3. BestLecture
    Member
    Posted 2 months ago #

    Thank you, we will see what can we do about it.

    Just additional information:

    I deactivated all plugins except Facebook & Polylang and the problem remained. When I'm deactivating Polylang as well, all pages have comments box.

    Also, the footer.php & header.php files have no special java script code that could have done it (just a single unrelated line in the footer that handles the header image's link).

Reply

You must log in to post.

About this Plugin

About this Topic