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

  1. BestLecture
    Posted 2 years ago #


    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.


  2. Niall Kennedy
    Plugin Author

    Posted 2 years 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
    Posted 2 years 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).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic