• <?php
    $args=array(
      'orderby'=>'comment_count',
      'order'=>'DESC',
      'post_type' => 'post',
      'post_status' => 'publish',
      'posts_per_page' => 6,
      'caller_get_posts'=> 1,
    'cat' => 28
    );
    $my_query = null;
    $my_query = new WP_Query($args);
    if( $my_query->have_posts() ) {
    
      while ($my_query->have_posts()) : $my_query->the_post(); ?>
      <div class="videopart2">
    <div class="thumbnail2">
    <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "bigthumb", true); ?>" width="180"  alt="<?php the_title(); ?>" />
    
    </a>
    </div>
    <div class="fpost">
    <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
    </div>
    </div>
    
     <?php
        the_content();
      endwhile;
    }
    wp_reset_query();  // Restore global post data stomped by the_post().
    ?>

    When im using comment_count query the facebook count isnt going in. Is there any alternative for these?

    http://ww.wp.xz.cn/extend/plugins/facebook-comments-for-wordpress/

The topic ‘[Plugin: Facebook Comments for WordPress] Facebook comment_count’ is closed to new replies.