I create a post form to let authors submit their posts from frontend. I have 2 questions:
1. How can I limit the submissions to total 3 posts for each author?
2. The author can edit their posts. Can I limit the editing to be only one time for each day?
Thanks in advance for your help.
One way is to create a View and list all those posts by the current logged in user.
Then add the Form to add new posts in the "No items found" section of your View, to display it only if there are no results (the user hasn't yet submitted any post).
Or, if you need more control over the number of posts, you can use this Custom ShortCode to hide/show the form if there is a certain amount of posts present (or not):
hidden link
To control the edit forms, you can use Access rules, this is enough, as you cannot add "new "posts with edit forms and hence controlling the current user can edit only his own posts with forms, is enough.
Limiting only one a day would be done with a similar code as above, where instead of posts, you count days, or minutes (time)
But that would require custom code that we cannot provide here in the forum.
My issue is resolved now. Thank you!