Ready to get started?Download WordPress


Limit to one comment per user per post (2 posts)

  1. jalyyy
    Posted 3 years ago #


    I would like to know if there is any code that i can include in my comments.php file to limit the comments to 1 per each user per each post .
    I have a questions/answers website , so I don't want the users to answer more than once.

    Thank you very much,

  2. GRAQ
    Posted 3 years ago #

    For registered users you might be able to store some meta data, which you could then check for later on. If there's an appropriate filter pre-comment it could be done there.

    However, for anyone else, there's no realistic way to stop someone commenting multiple times.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.