I’m trying to display a popular posts list on my sidebar. I wanted to have a popular posts list having the most Facebook comments count. Here’s my current code that I have right now but it seems working correctly, is there anything I need to change?
$pc = new WP_Query('orderby=comment_count&posts_per_page=5'); ?>
< ?php while ($pc->have_posts()) : $pc->the_post(); ?>