Support » Plugin: Facebook » Facebook comment box not showing

  • Resolved rahulkhosla

    (@rahulkhosla)


    Hi,

    Im building my very first custom theme on WP, so i’m new to this…

    I just installed and configured the official Facebook plugin, did all the secret key thing, disabled sandbox mode.

    I don’t see comments showing on my posts, I tried adding this line of code:
    <div class="fb-comments" data-href="http://rahulkhosla.co.uk" data-width="700"></div>

    But they then appered the same on each post (and even in the summarys).

    All I want is to have Facebook comments displayed on the FULL post page (not the summary).

    My index.php file:

    <?php
    get_header();
    ?>
    <div id="main">
      <div id="content">
      	<h2><?php wp_title($display); ?></h2>
        <div id="blogHold">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <h3><?php the_title(); ?></h3>
        <h4>Posted on <?php the_time('F jS, Y') ?></h4>
        <?php the_content('Read More'); ?>
        <hr>
        <?php endwhile; else: ?>
        <p><?php _e('Sorry, no posts matched your search criteria.'); ?></p>
        <?php endif; ?>
        </div>
      </div>
    
      <?php get_sidebar(); ?>
    
      </div>
    
    <?php get_footer(); ?>

    Please help!

    Thanks!

    My site: http://rahulkhosla.co.uk

    http://wordpress.org/plugins/facebook/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook comment box not showing’ is closed to new replies.