• Resolved wordpressguy777

    (@wordpressguy777)


    Is there any way to get inline comments working on the index page?

    After some experimenting I’ve realized you need to have the comment box/comment template on index.php for the bubbles to appear properly.
    I found this hack online to do that.

    global $withcomments;
    $withcomments=1;
    comments_template();

    This works sort of ok with ordinary comments (ie. using the comment form to post the comment) but it doesn’t work with inline comments. Instead what happens is the comment is assigned to the last post on the page.

    https://ww.wp.xz.cn/plugins/inline-comments/

Viewing 1 replies (of 1 total)
  • Plugin Author kevinweber

    (@kevinweber)

    Hi,

    thanks for contacting me!
    It is not working on a page with multiple posts (index/archive) as expected because comments must be assigned to an article. You’re right. Would I choose another way to store comments into database, it would be much more work for me. Also, I expect compatibility issues with most themes.
    I do not plan to make it work on archive pages since I do not see true benefits that back up my efforts.

    However, thanks for your feedback!

    Regards,

    Kevin

Viewing 1 replies (of 1 total)

The topic ‘Get it working on index.php?’ is closed to new replies.