Support » Plugin: WordPress Infinite Scroll - Ajax Load More » comments_template() not loading

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dcooney

    (@dcooney)

    Do you mean you are loading comment with ALM? If so, that is not currently supported.

    Or do you mean, comments are loading inside a post that is loaded with alm?

    Thanks so much for your quick reply. I’ve got a repeater template that include “comments_template()” in order to load the comments for each post in the feed.

    So, you’re saying that’s unsupported?

    Nevermind, I got it working…

    // Comments Template
        global $withcomments;
        $withcomments = true;
        comments_template();

    I’m still unable to get ajax comments working, but the form and past comments are displayed by using the code above.

    Plugin Author dcooney

    (@dcooney)

    It’s kind of unsupported mostly because the plugin is not intended for that use.

    Glad to hear you got this working.
    As far as the ajax comments it’s likely due to the fact that post is loaded via ajax so you need to initiate the ajax comments on every load.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘comments_template() not loading’ is closed to new replies.