WordPress.org

Ready to get started?Download WordPress

Forums

SEO Facebook Comment
Mobile theme problem. (3 posts)

  1. NeHoMaR
    Member
    Posted 1 year ago #

    I got the plugin working perfectly on website, but when I load the page with my Android (my theme support mobile), the facebook comment window is too wide and bypass the theme to the right, I cannot just make it smaller because it will be too small on desktop browser. Any idea of how to fix this? maybe making the comment window to just expand to theme width?

    http://wordpress.org/extend/plugins/seo-facebook-comments/

  2. NeHoMaR
    Member
    Posted 1 year ago #

    I fixed it leaving the "Comments Width" blank. Not expected because it says "(required)". Now FB comments window has the perfect size on desktop and mobile.

    But I have a new problem now, the plugin is in english, the "Language" is not working after leaving the "Comments Width" blank O_o I suppose this is because my theme has fb comment integrated, but it is deactivated for the post I am testing, the thing is this plugin is actually working and adding comments to wordpress.

    EDIT: Now, whatever I do, there is no way to change language now, even if I add the "Comments Width" again.

    EDIT2: I changed theme to default one, and the plugin works normally, even the "Comments Width" blank trick is working, and language too. Now I need to "guess" how to enable my (premium) theme without it interfering with this plugin.

  3. NeHoMaR
    Member
    Posted 1 year ago #

    I removed this code of header.php of my theme, and now plugin is working with right language and comments added to database, but the comments are NOT added to the code (cannot see it in source code) if I use my theme.

    <div id="fb-root"></div>
    <script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.