WordPress.org

Support

Support » Themes and Templates » [Resolved] Multiple comment areas/forms on the same page

[Resolved] Multiple comment areas/forms on the same page

  • I’m trying to have a “comments sidebar” for each post on the mainpage. As I suspected, wordpress doesn’t maintain the ajax comments stuff well. For instance, clicking reply on on post’s comment causes the comment boxes for every post to switch to reply mode…

    How can I solve this?

Viewing 1 replies (of 1 total)
  • Solved!

    I realized the comment-reply.js wasn’t getting loaded…

    So in the header I replaced:
    <?php if(is_singular() && get_option('thread_comments')) wp_enqueue_script('comment-reply'); ?>

    with

    <?php wp_enqueue_script('comment-reply'); ?>

    Brilliant!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Multiple comment areas/forms on the same page’ is closed to new replies.