Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Getting the same error, would love a solution to this!

    Thread Starter Dhruv

    (@dhruvlbb)

    Here’s the code where the FB comments is rendered, it looks like its connected to the permalink – can you confirm?

    Thanks!

    <div id="<?php echo get_class($WPFBC) ?>">
      <noscript>
        <?php wp_list_comments(array('style' => 'div', 'type' => 'facebook', 'reverse_top_level' => 1)); ?>
        <?php if ( $WPFBC->setting('show_old_comments', 'on') != 'on') { ?>
          <?php wp_list_comments(array('style' => 'div', 'type' => 'comment', 'reverse_top_level' => 1)); ?>
        <?php } ?>
      </noscript>
      <div
        class="fb-comments"
        data-colorscheme="<?php echo $WPFBC->setting('colorscheme', 'light') ?>"
        data-href="<?php echo $WPFBC->get_permalink() ?>"
        data-num-posts="<?php echo esc_attr($WPFBC->get_num_posts()) ?>"
        data-publish_feed="true"
        data-width="<?php echo esc_attr($WPFBC->get_width()) ?>"></div>
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)