0

I'm sure you guys are wondering, "why the hell?" - basically it is because it does not work with a plugin by NextSCRIPTS that pulls comments from facebook. When I'm in the admin panel I see the comments properly, but on the blog posts it just keeps showing the admin instead of the users. This happened after updating to 3.6, NextSCRIPTS told me they are aware of this issue but it has been one month and we have over 8,000 comments and I'd like to find a work around.

So really, you don't need any code from me, just please if anyone knows, can you share how to grab the comments without using wp_list_comments? there has to be another way.

Thanks, Matt

  • Can't you restore previous plugin version until they fix the bug? Maybe there are a lot of different ways to get comments, but without knowing what cause the issue it's impossible to be sure alternative way will not cause it too. – gmazzap Aug 31 '13 at 1:48
  • @GM, would rather do a workaround at this point but good idea. As far as it being impossible to be sure that is true! But nothing ventured, nothing gained ;) – docodemore Aug 31 '13 at 2:39
2

This is going to be a labor intensive workaround but get_comments is probably what you want.

From the Codex:

$comments = get_comments('post_id=15');
foreach($comments as $comment) :
    echo($comment->comment_author);
endforeach;

There is also WP_Comment_Query if you prefer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.