Hello,
I just moved my hosting from DreamHost to MediaTemple last night. I have IntenseDebate enabled on my site, and it used to sync my wordpress comments flawlessly. But since the migration, I have observed that the comments count has become zero. I already have the following code in my functions.php file:
add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
if ( ! is_admin() ) {
global $id;
$comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id));
return count($comments_by_type['comment']);
}
else {
return $count;
}
}
However I am still not able to see them when I disable intensedebate. The comments have been imported successfully in my mySQL database.
Can someone suggest how can I fix this? I remember fixing this issue before, but I simply cannot remember how I did it last time around.