New Landing How can we help? Themeforest Theme Support Flexform Facebook Comments Code Placement

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Flexform
  • #205136
    mrjWells
    Member
    Post count: 137

    As you probably already know the old Facebook comments plugin for wordpress no longer works. To enable Facebook comments now requires placing certain code on the site. I want Facebook comments to show up below articles where comments would normally go, but I want to make sure I put the 2 strings of code in the right place. I have included the code and instructions below and was hoping you could tell me where to place them. Thanks!

    1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.

    <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/sdk.js#xfbml=1&version=v2.4&appId=1478622562437734”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));</script>

    2. Place the code for your plugin wherever you want the plugin to appear on your page.

    <div class=”fb-comments” data-href=”http://advancedlifeskills.com/&#8221; data-width=”100%” data-numposts=”10″></div>

    #205740
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi there,

    Unfortunately that is not part of the current theme functionality, and it’s not within the scope of our support to be able to provide that functionality as it is more work than a small customisation. While we’d love to be able to support every customisation request, we simply don’t have the time. We recommend that you seek a freelance developer if you need that functionality, potentially from one of the below resources:

    https://codeable.io

    Home


    http://www.microlancer.com

    Hope that helps.

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register