ARMember plugin provides facility to add partial content restriction using shortcode in editor at time of add/edit post, page.

ARMember_restrict_partial_content

There are following options for adding content restriction:

  • Restriction Type

    You can set restriction type like, whether you want to hide/show content to targeted users.

  • Target Users

    You can apply restriction to Loggedin user, non-loggedin user, all created plan in your system.

    If no option is selected then restriction type will be apply for “Everyone”.

WARNING: Partial Content Locker will not work when current logged in user is Administrator. As Administrators do have full access to all content.

ARMember_content_restriction2

Enclose your content in shortcode that you want to show conditionally. For ex., if you want to show content1 only if user is logged in and content2 if user is not logged in, then content restriction shortcode need to be formed as below :

ARMember_content_restriction2

Remove [armelse] part from shortcode if you don’t want to show your content conditionally.

Suppose, you want to show your content1 if user is logged in and show content2 anyway, then shortcode should be as follow:

ARMember_content_restriction2

In such way you can show/hide specific page content based on membership plan of user too. Suppose you want to hide content1 if user have membership plan of ID 1 or 3, then use shortcode as below :

ARMember_content_restriction2

In this way, you can partially restrict your content of page/post.

When you add new page, post, custom post, category, custom taxonomy or navigation menu, than Default Access Rules will be applied that are set in general options for that specific type.

So, those default rules will become editable from that particular page/post having meta box. So, that can be changed easily.

ARMember_access_rules_metabox

Armember provides very easy user friendly interface to set access rules.

  • Set access rules for full or a section of an article content. Create different membership plans and select which kind of content ( Pages, Posts, Custom Posts, Categories, Tags, Taxonomy, Navigation Menus, Special Pages, BuddyPress, bbpress- forums, bbpress- replies, bbpress- topics) can be viewed by each membership plan.

  • Access Rule On or Off protection possible with one click.
  • To protect content for a specific membership plan, simply find the membership plan column in grid and check the checkbox next to the individual posts, pages, categories for which you want to give access.
  • While editing/creating new posts/page, you can directly set rule for that individual post with help of Meta Box.

    Please make sure while adding protection, If you enable protection for specific item & didn’t select any plan, than item will be hide from everywhere.

Access Rules Listing Page

There are different filters available in grid to search & find your content easily. Those filters are as follow:

Type

This filter will help you to filter grid items by Pages, Posts, Custom Posts, Categories, Tags, Taxonomy, Navigation Menus, Special Pages, BuddyPress, bbpress- forums, bbpress- replies, bbpress- topics .

bbpress – Forums, topics & replies related option will only available if you have bbpress activated in your system.


Protection

You can filter listing by protection.


Plan

You can filter listing by plan. All grid items will be filtered according to protection applied for selected plan(s).

ARMember plugin gives you facility to toggle access rule in bulk for specific plan with three state of checkbox in grid. Those checkboxes are available under the plan name.Three state of checkboxes are as follow:

  • Checked State

    When checkbox is in checked state, All Access rules for that specific plan will be applied to listed items.

  • Unchecked State

    When checkbox is in unchecked state, All Access rules for that specific plan will be removed from listed items.

  • Indeterminate State

    When checkbox is in indeterminate state, All Access rules for that specific plan will be revert to default state in listed items.

ARMember_access_rules

How Access Rules Work for different types of content?

Through access rules you can restrict users of specific plan(s) from accessing following types of content.
Pages , Posts , Custom Posts , Categories , Tags , Taxonomy , Navigation Menus , Special Pages , BuddyPress , bbpress- forums , bbpress- replies , bbpress- topics .

  • Page

    When page(s) is set in access rule, that page(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that page(s). Restricted page(s) willnot be shown in search listing and RSS feed. Please note that, sub-pages willnot be restricted if you restrict parent page.

  • Post

    When post(s) is set in access rule, that post(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that post(s). Also restricted post(s) willnot be shown in any of search or archive listings or RSS fedd.

  • Custom posts

    When custom-post(s) is set in access rule, that custom-post(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that custom-post(s). Also restricted custom-posts(s) willnot be shown in any of search or archive listings or RSS feed. for ex. any of Woocommerce Products is restricted then it willnot be shown in shop page product listing or anywhere in front-end.

  • Categories

    When category(s) is set in access rule, that category(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that category(s). Please note that, if you restrict parent category, all sub-categories and posts belongs to that category will also be restricted.

  • Taxonomy

    When taxonomy(s) is set in access rule, that taxonomy(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that taxonomy(s). Please note that, if you restrict any taxonomy, all posts belongs to that taxonomy will be restricted.

  • Tags

    When tag(s) is set in access rule, that tag(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that tag(s). Please note that, if you restrict any tag, all posts belongs to that tag will be restricted.

  • Special Pages

    When any of following pages is set in access rule, that page(s) will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that page(s).
    Any Archive page, Author Archives Page, Any Date or Time Archive, Archive: Year, Archive: Month, Archive: Day, Archive: Time, Blog Index, 404 Not Found, Search Results, Any single page or post, Any attachment page, Feeds

  • BuddyPress

    You can restrict users from accessing following buddypress content.
    Group creation – when access rule is set for this, only users of plan(s) for which “Allow Access” is set can create buddyPress group.
    Friendship request – when access rule is set for this, only users of plan(s) for which “Allow Access” is set can send friend request to other buddyPress members.
    Private messaging – when access rule is set for this, only users of plan(s) for which “Allow Access” is set can send private message to other buddyPress members.
    All BuddyPress Pages – when access rule is set for this, only users of plan(s) for which “Allow Access” is set can see buddyPress member directory and member profiles.

  • bbpress-Forums

    When any of bbPress forums is set in access rule, that forum(s) page will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that forum(s). Please note that, if you restrict parent forum, all sub-forums and topics belongs to that forum won’t be restricted.

  • bbpress-topics

    When any of bbPress topics is set in access rule, that topic(s) page will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that topic(s).

  • bbpress-replies

    When any of bbPress replies is set in access rule, that reply(s) page will be restricted for all visitors and registered users, but users of plan(s) for which “Allow Access” is set can access that reply(s).

This Section provides Quick & easy to manage access rules. Easily toggle option available whether you want content protection turned on or off.

Note: By default, when ARMember plugin is just installed, at that time all existing posts, pages & other content will be open for all.

“Access Rule” is the main core feature of ARMember plugin. Very easy interface to manage content protection on site in accordance with the related plans. Content Protection Access Rule can be defined for:

  • Wordpress Pages
  • Wordpress Posts
  • Any Custom Post Type
  • Post Taxonomy(ex:category..)
  • Navigation menu links(NAV Menu Lock)
  • Buddypress pages(If your site Configures the Buddypress plugin)
  • Special pages like Archives which can be of month, year, per author.

New page/post/custom post of system will be created with default access rules set in global settings of ARMember.

Note: BuddyPress option will only available if you activate BuddyPress from Add-ons.