ARmember Shortcode Library

ARMember provides very helpful shortcodes. Check List of available shortcodes:

arm_form

This shortcode displays ARMember form ( Sign Up, Login, Forgot Password, Change Password ).

Possible Arguments:
id (required) ID of Signup/Login/Forgot Password/Change password Form
form_position set possible value from left, center or right Default: center
popup Display form in popup box. Default: false
link_type Link type. Possible options: link, button Default: link ( Work when popup option is true ).
link_title Link / Button text ( Work when popup option is true ).
overlay Popup box overlay ( Work when popup option is true ).
modal_bgcolor Popup box background color( Work when popup option is true ).
popup_height Popup box height ( Work when popup option is true ).
popup_width Popup box width ( Work when popup option is true ).
link_css Popup box Link / Button style ( Work when popup option is true ).
link_hover_css Popup box Link / Button hover style ( Work when popup option is true ).
assign_default_plan ID of any membership plan of type ‘FREE’.
(Note: This argument will be used only with sign up form and it will accept only free membership plan ID)
logged_in_message Custom Message that will be shown to user when he/she is already logged in and try to access registration, login, forgot password form.
(Note: If you will keep it blank, then nothing will be displyed to logged in user when they come to the page having registratin/login/forgot password form)

arm_edit_profile

This shortcode displays edit profile form.

Possible Arguments:
form_id (required) Set ID of the Registration form/ SignUp form
form_position Set possible value from left, center or right
Default: center
title Add form title here to be displayed at front for edit profile form.
message Display message when member has been updated successfully.
social_fields Social networks name – which are added to your selected SignUp form.
view_profile Set value as true or false whether you want to display user profile link directly at edit profile.
view_profile_link Here is the label to be displayed as user profile link in edit profile form.
avatar_field Set value as yes or no whether you want to display Avatar field in your edit profile form.
Default: yes
profile_cover_field Set value as yes or no whether you want to display Profile Cover field in edit profile form.
Default: yes
profile_cover_title Here you can add your custom title for Profile Cover field label in edit profile form.
profile_cover_placeholder Add your custom text here as placeholder for Profile Cover field in edit profile form.

arm_social_login

This shortcode displays social network buttons.

Possible Arguments:
network Social network name(ex: facebook/twitter/linkedin/googleplush/vk), If network name is not given, then all active social network buttons are shown.
icon Image URL for the social network Icon

arm_setup

This shortcode displays Plan+Sign Up Form.

Possible Arguments:
id Membership Setup Wizard ID.
hide_title Whether to hide setup title or not. Default: false
popup Display form in popup box. Default: false
link_type Link type. Possible options: link, button Default: link ( Work when popup option is true ).
link_title Link / Button text ( Work when popup option is true ).
overlay Popup box overlay ( Work when popup option is true ).
modal_bgcolor Popup box background color( Work when popup option is true ).
popup_height Popup box height ( Work when popup option is true ).
popup_width Popup box width ( Work when popup option is true ).
link_css Popup box Link / Button style ( Work when popup option is true ).
link_hover_css Popup box Link / Button hover style ( Work when popup option is true ).
subscription_plan (paln_id) In any case if you want to display selected plan different than setup configuration, then you can add subscription_plan parameter in this shortcode.
hide_plans 0 or 1 (In any case if you want to hide plan selection area from configuration page, then you can add hide_plans parameter in this shortcode.)
payment_duration payment cycle’s order ID. for ex. if 3 is passed, then 3rd payment cycle of plan will remain selected by default. This argument will work only subscription_plan argument is passed.

arm_logout

This shortcode displays logout link/button.

Possible Arguments:
type Logout display type. Possible values: link, button. Default: link
label Link / Button Text. Default: Logout
user_info Show current user name. Possible values: true, false. Default: true
redirect_to Redirect URL after successful logout. Default: Home URL
link_css Link / Button style.
link_hover_css Link / Button hover style.

arm_close_account

This shortcode displays close account form.

Possible Arguments:
set_id Name of Created Login Form Set Name (Close Form Layout will be same as the passed Login form set id)

arm_member_transaction

This shortcode displays member’s payment transactions history.

Possible Arguments:
title Section Heading.
per_page Number of Records per Page
message_no_record Display Message if no records found.
label Payment History – Grid Column Label
Value Payment History – Grid Column Label Value

arm_account_detail

This shortcode displays member’s account details.

Possible Arguments:
Label arm_account_detail – Grid Column Label
Value arm_account_detail – Grid Column Value
social_fields Social Fields

arm_restrict_content

This shortcode displays/hides enclosed content to specific plan members.

Possible Arguments:
type Show or hide content. Default: hide
plan Plan Id or comma separated plan ids. Default: all

arm_membership

This shortcode displays current user’s membership details.

Possible Arguments:
title Title of grid Default: Current Membership
setup_id Membership Setup Wizard ID of which you want to inherit settings( except plans and payment gateways selected) in setup that will load when user clicks on Renew/Make Payment button.
membership_label Current Membership – Grid Column Label
membership_value Current Membership – Grid Column Label Value
display_renew_button true/false Default: false
renew_text Renew Button Text Default: Renew
make_payment_text Make Payment Button Text Default: Make Payment
renew_css Css for Renew Button
renew_hover_css Css for Renew Button Hover
display_cancel_button true/false Default: false
cancel_text Cancel Button Text Default: Cancel
cancel_css Css for Canel Button Hover
cancel_hover_css Css for Cancel Button Hover
cancel_message Message that will be displayed when user’s membership is cancelled successfully.
display_update_card_button Display button to allow user to update their subscription card detail. Default: false
update_card_text Add/Update text for Update Card button.
update_card_css Add CSS Properties for styling your Update Card button.
update_card_hover_css Add CSS Properties for styling your Update Card button on hover on it.
trial_active Display Trail Active Label
message_no_record Display Message if no records found.

arm_template

This shortcode displays members directory or member profile detail.

Possible Arguments:
id (required) Template ID.
type (required) Template Type. options: directory, profile

arm_conditional_redirection

This will provide conditional redirection based on plan along with plan comparison.

Possible Arguments:
condition (required) having/nothaving
plans (required) Id of plan
redirect_to Redirection URL Default: Home Page

arm_conditional_redirection_role

This will provide conditional redirection to user based on its role.

Possible Arguments:
condition (required) having/nothaving
arm_conditional_redirection_by_user_role_roles (required) Role of user
redirect_to Redirection URL Default: Home Page

arm_userid

This shortcode displays currently logged in user’s User ID. This is accessible in any post,page, in widget area.

arm_username

This shortcode displays currently logged in user’s username. This is accessible in any post, page, in widget area.

arm_displayname

This shortcode displays currently logged in user’s displayname. This is accessible in any post, page, in widget area.

arm_firstname_lastname

This shortcode displays currently logged in user’s first name and last name combination. This is accessible in any post, page, in widget area.

arm_if_user_in_trial

This shortcode will display enclosed content only if user is currently in trial period.

arm_not_if_user_in_trial

This shortcode will display enclosed content only if user is currently not in trial period.

arm_usermeta

This shortcode displays user’s specified meta information.

Possible Arguments:
meta (required) User Meta Key.

arm_user_badge

This shortcode displays specified user’s badge icons. If user_id is not specified, then it will display currently logged in user’s all badge icons.

Possible Arguments:
user_id (optional) User ID.

arm_user_planinfo

This shortcode displays specified user’s plan information such as start date, end date, etc.

Possible Arguments:
plan_id (required) Membership Plan ID.
plan_info (required) Possible arguments from arm_start_plan, arm_expire_plan, arm_trial_start, arm_trial_end, arm_grace_period_end, arm_user_gateway, arm_completed_recurring, arm_next_due_payment, arm_payment_mode, arm_payment_cycle.