ARMember provides a facility to display the content partially using Restrict Content Shortcode. Restrict Content Shortcode can be configured from
For, WordPress Gutenberg Editor you can add ARMember restrict partial content shortcode as shown below:
For, WordPress Classic Editor you can add ARMember restrict partial content shortcode as shown below:
You can display the content partially by configuring two options for Content Restriction:
You can set the restriction type between Hide/Show depending on your requirement to display or hide the specific content for the targeted user.
You can apply the restrictions on the content by targeting the user between Logged-in users, Non-logged users, or by the Plans assigned to the members.
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.
Enclose your content in the shortcode to display it conditionally. For ex: If you want to display Content 1 only to the logged in user and Content 2 should be only displayed if the user is not logged in, then the content should be set in the shortcode as per below example:
[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:
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 :
In this way, you can partially restrict your content of page/post.