Short Codes
Your Members uses a set of shortcodes to help provide additional functionality to posts each code and its use is described below.
How to use a shortcode in Visual Editor
If you are using the visual editor then you will need to switch to the HTML view to place the short codes into your post. Simply click the HTML button add the shortcode and switch back.
Private – Usage [private][/private]
Content inside private tags is protected with only users with account types selected from the sidebar being able to access. If a user does not have access they are shown an error message which can be defined in Messages within Your Members admin area.
Private – Usage [private_and#xxx][/private_and]
Content inside private tags is protected with only users with account types selected on the page and in the tag being able to access content. If a user does not have access they are shown an error message which can be defined in Messages within Your Members admin area.
Private – Usage [private_or#xxxx][/private_or]
Content inside private tags is protected with only users with account types selected on the page or in the tag being able to access content. If a user does not have access they are shown an error message which can be defined in Messages within Your Members admin area.
No Access – Usage [no_access][/no_access]
The opposite of private tag content within this tag will only be shown to users who do not have access to the private tags. This allows you to create additional sales or other information on pages for people who cant see the private content. Note: Users who have the capability of editing the page see noaccess content highlighted in salmon to make it easy to identify, normal users do not see a salmon background.
User Has Access – Usage [user_has_access#xx][/user_has_access]
This tag will show content within if the user has access to post/page xx where xx is the post_id if the user does not have access to that post then they will be shown no content at all.
User Account Is – Usage [user_account_is#xxxxx][/user_account_is]
This tag will show content between its tags only to users whos account types match xxxxx where xxxxx is the account name in lower case. If the user does not have access then nothing is shown.
Download – Usage [download#xx]
This tag is for inserting a placeholder for a link to a Your Member download where xx is the Downloads unique ID. For more information please on how to create a download please see the download manager tutorial.


