Hi, I’ve been trying to modify the Protect Old Posts plugin to protect all but the most recent 170 posts or so, as opposed to one.
I’ve tried doing this a number of ways, but I’m definitely not a php/sql guru. All that I’ve been able to do so far is to protect the 170 oldest, which repeats and eventually protects all of them.
What I’m looking for is a way to do this by either date (preferable) or ID. I know there should be a way to do this, either by limiting a range or something along those lines, but I don’t have the knowledge quite yet to figure it out.
Any input would be appreciated.
- The topic ‘Protect Old Posts’ is closed to new replies.