User can post only one comment per day on one page
Limiting comments per day and per user is already built into your current query. The only thing missing is a check for the post ID. Here’s a pretty convenient function/template tag: /** * @param int $limit * @param int $time * @param int $ids */ function is_user_limit_reached( $limit = 5, $time = 1, $ids = … Read more