Support » Plugin: WordPress Infinite Scroll by Auto Load Next Post » Commend form appends twice

  • Resolved wpdiv

    (@bilimokur)


    Hello. Why my comment form loading twice? It happens after second load.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    That’s because of the repeater template includes the comments via an action hook and your single post template maybe already including the comments.

    I am only guessing here based on what I see from the screenshot as I do not know what theme you are using or the structure of that theme but if you want to disable the comments that ALNP loads by default, I would add this to your functions.php file.

    remove_action( 'alnp_load_after_content', 'auto_load_next_post_comments', 1, 5 );

    Hope that helps.

    It fixed thank you 🙂

    Plugin Author Sébastien Dumont

    (@sebd86)

    Your welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Commend form appends twice’ is closed to new replies.