Member Restricted Content

The Member Restricted Content shortcode for WordPress can be used to restrict access to content / parts of content to only members of the website (registered & authenticated users). Check below for example implementations and shortcode documentation:

Member Restricted Content Examples

This content is only available to registered users.

Member Restricted Content Shortcodes

Shortcode
[x3m-member boxcolor="green" border="1px" radius="10" message="This content is only available to registered users." buttonText="Login / Register" buttonUrl="https://x3mmedia.com"] You are a member. You can view this content! [/x3m-member]
The shortcode can be used to restrict content visibility to logged-in users only. Above example shows restriction set for hiding the content between the shortcodes.

Member Restricted Content Documentation

Here are the shortcode option settings available for Member Restricted Content:

Shortcode Settings Details
boxcolor=”green” this is used to set the color of the box showing the content restriction.

Color names or HEX color codes can be used to set the desired color.

border=”1px” this is used to set the box border width in pixels
radius=”10″ this is used to set the box corner radius
message=”text here” this is used to set the text inside the restriction box, announcing users the content is only available to authenticated users
buttonText=”Login” this is used to set the text on the button inside member restricted content box.
buttonUrl=”link here” this is used to set the link of the button inside member restricted content box, usually to be set to registration/login page.