Protecting ALL Posts/Pages
Table of Contents
Protect ALL, But With Exceptions?
Do you have 100’s or even thousands of WordPress Posts or Pages? Trying to protect them ALL in one shot? Hmm, but maybe you want to make a few exceptions; i.e., maybe not really all of them?
Avoid Using the
all Keyword for Posts/Pages
A common mistake when you attempt to protect all Posts or all Pages, is to use s2Member's Post/Page Restriction Options. While this does make it quite easy to protect everything, because the instructions here show that you can simply type the special keyword
all to protect everything; it does not allow for any exceptions to be made now or in the future. For that reason, please try to avoid using the
all keyword when there are in fact exceptions to the rule.
TIP: Protect Content Using WordPress Tags
Instead of using the
all keyword in s2Member's Restriction Options, consider changing the way you protect content. For this, we move to s2Member's Tag Restriction Options. See: s2Member → Restriction Options → Tag Access Restrictions
Here we can say that any Post with a certain tag will be protected. This makes it easy for us to protect content in ways that allow for greater flexibility. For instance, if you protect the tag
members only (just an example tag), then you simply add this tag to ALL Posts that should be protected, but then exclude those few exceptions that should not be protected, by simply not giving some Posts the protected tag.
This works for Pages too. See: Tag Pages plugin
Adding Tags to ALL Posts is Easy
Adding tags to lots of Posts at once is easy if you use the built-in Bulk Editing tools provided by WordPress. Screenshot example below.
See also: Custom Bulk Edit plugin.