Protect Old Posts
-
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.
Thanks,
Sara
bleary-eyed.net
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Protect Old Posts’ is closed to new replies.