Seeking simple (ish) code to limit posts per day
Given that there’s no simple plugin to do this job, I’m looking for a way to add a few lines of code to a theme’s “post” page (whatever that may be) to check whether a user has posted a given number of posts in a day.
i.e. If they’ve posted 5 entries (post_type=’post’) in the last day, they can’t post any more.
I don’t need any flexibility beyond that and I don’t want to mess around with unnecessarily complex hooks, actions, blah blah blah. Just a few simple lines of code.
I’ve tried a few attempts but my coding skills are, well… iffy at best. 🙂
Anyone who can help me out here?
- The topic ‘Seeking simple (ish) code to limit posts per day’ is closed to new replies.