Mike Stop Continues
Member
Posted 11 months ago #
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?
Mike Stop Continues
Member
Posted 11 months ago #
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!