Memberium Shortcodes

Contact Shortcodes

[memb_contact]

This shortcode pulls up any piece of information (contact details, custom fields, etc.) from the user’s Infusionsoft contact record.

[memb_owner]

This shortcode is used to display the Infusionsoft owner’s fields. It includes options for formatting or storing the output.

[memb_referral_contact]

This shortcode pulls up any piece of information (contact details, custom fields, etc.) from the user’s affiliate’s Infusionsoft contact record. Please note that in order for this shortcode to work, both the affiliate and referred user must have a WordPress account.

[memb_user_counter]

This shortcode includes a counter of how many times a user has viewed a specific page or post.

[memb_infusion_id]

This shortcode displays the logged in user’s Infusionsoft Id number.

[memb_sync_contact]

This shortcode does not render anything. It syncs the logged in user’s Infusionsoft contact record down to Memberium. This can be used to refresh the contact data after a form is submitted, or an action is taken, without requiring the user to log in again to refresh their data.

[memb_send_password]

This shortcode displays a form that allows a visitor to your site to request that their password be sent to them by mail.

[memb_registration_date]

This shortcode displays the currently logged in user’s registration date. The registration date is the date when user was created in WordPress.

[memb_optin_status]

This shortcode displays the opt in status of the logged in user.

[memb_update_contact]

This shortcode provides a simple way for you to push updates to your Infusionsoft contact fields.

[memb_country_dropdown]

This shortcode provides a way to make your country dropdown fields auto-select the contact’s current country value. It will generate the appropriate <option> HTML shortcodes and marks the currently matching value as selected.

Currently this shortcode doesn’t support referencing a different contact.

[memb_update_form]

This shortcode provides a safe and secure way to enable your members to update their Infusionsoft contact fields.

[memb_member_listing]

This shortcode displays a list of users based on their user role or tag ID. The list can display their first and last name, Gravatar, IP address and total number of logins.

Content Visibility Shortcodes

[memb_has_any_tag]

Conditional shortcode to control access to portions of a post, page or widget based on the logged in user’s tags.

[memb_has_membership]

Conditional shortcode to control access to portions of a post, page or widget based on the logged in user’s membership level.

[memb_has_all_tags]

Conditional shortcode to control access to portions of a post, page or widget based on the logged in user’s tags.

[memb_is_logged_in]

Only shows content wrapped in shortcode if a member is logged in. Can be set to display alternate content if not logged in.

[memb_is_facebook_crawler]

Shows specific content wrapped in shortcode to Facebook crawlers, or traffic from Facebook only.

[memb_hide]

Does not display or process shortcode or contents inside of shortcode. Useful for hiding or “commenting out” a chunk of code from the page without deleting it.

[memb_is_affiliate]

Shows content wrapped in shortcode only to logged in affiliates. Can also show excerpt to those who aren’t affiliates.

[memb_is_feed]

This shortcode allows you to control the display of your content, depending upon whether or not it is being accessed through a feed or on a regular web page.

[memb_hidefrom_feed]

This shortcode is similar to [memb_is_feed], with the exception that the check is reversed.

[memb_can_view_post]

This shortcode displays content based on the permissions of the specified post or page.

[memb_hide_from]

Hides content from users with specified tags.

[memb_is_1x_optin]

This shortcode displays a message to the users based on whether they are single opted in or otherwise.

[memb_is_2x_optin]

This shortcode displays content to users based on whether they have double opted in or not.

[memb_is_browser]

This shortcode displays content to the users depending on which device or operating system is used.

[memb_is_chrome]

This shortcode displays a specific message to the users depending on whether they have logged in through a Google Chrome or any other browser.

[memb_is_gecko]

This shortcode displays content to the users based on whether the browser supports the Gecko layout engine. Please refer to the additional shortcode information below to find out the browsers Gecko supports.

[memb_is_ie]

This shortcode displays a specific message to the users depending on whether an Internet Explorer or any other browser is used.

[memb_is_iphone]

This shortcode displays specific content to user, if logged in through an iPhone.

[memb_is_lynx]

This shortcode displays content to users based on whether they are using Lynx or any other browser.

[memb_is_macie]

This shortcode displays content to users based on whether a Mac Internet explorer or any other browser is used.

[memb_is_no_optin]

This shortcode displays content to the users based on their optin status.

[memb_is_ns4]

This shortcode displays content based on whether a user is using a Netscape Communicator 4.0 or any other browser.

[memb_is_safari]

This shortcode displays a specific message to the users depending on whether a Safari or any other browser is used.

[memb_is_winie]

This shortcode displays a specific message to the users based on whether a Windows Internet Explorer or any other browser is used.

[memb_is_trackable_link]

This shortcode checks for the presence of GET fields in the URL and displays the content accordingly.

[memb_php_include, memb_php_include_once]

This shortcode displays the contents of the specified PHP file within a website.

[memb_s3_link]

This shortcode generates secure, expiring Amazon S3 links, with additional features, automation integration, and unique security enhancements.

[memb_compare / memb_if]

This shortcode lets you compare two pieces of information so that you can make decisions about what to display on the page.

[memb_if_cookie]

Displays content to a user based on their cookies.

[memb_if_get]

Compares specified variables within a URL.

[memb_if_post]

This shortcode posts the specified variables within a URL and displays a message accordingly.

[memb_if_request]

This shortcode requests for a specified information within a URL and displays a message accordingly.

[memb_default_excerpt]

Displays the Memberium Default Excerpt as defined by the Administrator.

[memb_show_until]

This shortcode displays the content for a specifed time limit.

[memb_is_excerpt_only]

This shortcode displays conditionally displays output if the current content is being displayed as an excerpt.

[memb_if_user_counter]

This is a conditional shortcode that shows content based on the value of a custom counter.

[memb_is_googlebot]

This shortcode displays content based on whether or not a user is a googlebot.

[memb_is_mobile]

This conditional shortcode checks if the user is visiting using a mobile device.

[memb_php]

This shortcode enables you to run native PHP code in your content, and output the results to the browser.

[memb_set_prohibited_action]

This shortcode will allow you to temporarily override Memberium protections to display protected content.

Infusionsoft Shortcodes

[memb_affiliate]

This shortcode allows you to pull info for your Infusionsoft Referral Partners. You can easily build custom affiliate resource sites for your own affiliate program using all of the variations of this shortcode. The affiliate must be logged in to view these shortcodes.

[memb_has_payf]

This shortcode displays a message to a user with a failed payment.

[memb_run_actionset]

Run an action set upon page load (no button).

[memb_orderform]

This shortcode is used to embed an Infusionsoft order form on the site. Please note that this shortcode is ONLY for embedding legacy order forms. Also, for this shortcode to be used it must be on a SSL secured page within your WordPress site.

[memb_actionset_button]

Run one of several Infusionsoft automation actions when a user clicks button.

[memb_add_creditcard]

This shortcode will display a form enabling your members to update their credit cards. The form will ONLY display when the page is secured with SSL. Please note that in order to use this shortcode, you’ll also need to add a Merchant ID from Memberium > eCommerce > General page. Here are detailed instructions on how to find a Merchant ID.

[memb_tag_name]

This shortcode lists tag names specified.

[memb_set_tag]

When the shortcode loads, it applies or removes the specified Tag Ids to a logged in users record.

[memb_request]

This shortcode displays the requested GET variable from a URL.

[memb_change_password]

The change password form will ONLY display to logged users that are mapped to Infusionsoft contacts. It will not display for admins, or for local users.

[memb_appname]

Displays the application name that this installation of Memberium is connected to.

[memb_achieve_goal]

This shortcode enables you to achieve a Campaign Builder goal for the currently logged in user, and activates the next step the sequence.

[memb_add_tag]

Does not render anything, but applies a tag when a user views the page containing the shortcode.

[memb_filebox_link]

This shortcode displays a link to download or view a file stored in infusionsoft’s public File Box

[memb_filebox_url]

This shortcode accesses and displays URLs to the files and images from company level fileboxes on Infusionsoft.

[memb_action_link]

Run a specific Infusionsoft action set, apply or remove tags, add/remove Follow Up Sequences, or Achieve Campaign Builder goals when a user clicks link.

[memb_plusthis]

This shortcode Integrates with various PlusThis services that require HTTP POST.

[memb_http_post]

Makes an HTTP POST to another server passing the contact ID and email address of the currently logged in contact. No other fields are passed.

[memb_user_levels]

Displays the membership and tag information for the logged in user.

[memb_add_fus]

Does not render anything, but when a user visits the page a Follow Up Sequence is triggered.

[memb_affiliate_login]

Creates a button that an Affiliate/Referral Partner can click to view their stats.

[memb_has_creditcard]

Checks a user’s record to see if they have a valid creditcard on file.

[memb_is_app_connected]

This shortcode displays content based on whether or not a user is connected to Infusionsoft.

[memb_pause_fus]

Does not render anything, but when a user visits the page, The specified Follow Up Sequence is paused.

[memb_remove_fus]

Does not render anything, but when a user visits the page, the specified Follow Up Sequence is removed.

[memb_list_subscriptions]

This shortcode displays a list of subscriptions a user has been assigned to, and optionally lets them cancel unneeded subscriptions.

[memb_creditcard_expires]

This shortcode displays the specified content depending on the credit card expiration days remaining.

[memb_list_invoices]

This shortcode displays a list of invoices held by the user, and optionally enables them to pay any open invoices.

[memb_tag_date]

This shortcode displays the date and time of when a specific tag was added to the logged in users account. This shortcode relies on detailed tag data that is not synchronized by default.  If you wish to use this shortcode, please turn on Synchronize Tag Dates from Memberium->Settings->Performance.

[memb_days_difference]

This shortcode displays the number of days difference from today to another date.

[memb_is_first_login]

This conditional shortcode allows you to display content depending on whether or not this is the user’s first login.

[memb_switch]

This shortcode allows you to display or hide content to users based on tags

[memb_fade]

This shortcode allows you to easily fade content in and out without knowing how to program in jQuery or JavaScript.

[memb_secure_video]

Memberium uses Amazon’s cloud to secure your streaming video. Combined with Amazon’s cloud services, MP4 streaming video can inexpensively deliver video using WordPress’s built-in media player, while protecting your video content.

[memb_upload_filebox]

This shortcode allows your visitors to upload files to the Infusionsoft File Box.

[memb_list_filebox]

This shortcode displays a list of the files located in an individual contact’s filebox.

[memb_upload_message_filebox]

This shortcode can be used with the [memb_upload_filebox] shortcode to display any error messages after the file upload.

[memb_change_email]

This shortcode will enable the user to change their email address in Memberium.

[memb_update_contact]

This shortcode provides a simple way for you to push updates to your Infusionsoft contact fields.

[memb_registration_form]

This shortcode provides a safe and secure way to enable new user signups and allow them to securely choose their own passwords. The form only appears to visitors who are not logged in.

[memb_country_dropdown]

This shortcode provides a way to make your country dropdown fields auto-select the contact’s current country value. It will generate the appropriate <option> HTML shortcodes and marks the currently matching value as selected.

Currently this shortcode doesn’t support referencing a different contact.

[memb_count_my_tags]

This shortcode measures how many of the tags the current visitor has completed, and displays the result as a total, or as a percentage.

[memb_update_form]

This shortcode provides a safe and secure way to enable your members to update their Infusionsoft contact fields.

[memb_place_order]

This shortcode enables you to place a button on the page to perform a one click upsell. The advantage of using this shortcode is that the payment on the order is processed immediately, unlike using an actionset, which can take up to 6 hours to process the invoice payment.

[memb_secure_audio]

Memberium uses Amazon’s cloud to secure your streaming audio. Combined with Amazon’s cloud services, MP3 streaming audio can inexpensively deliver audio using WordPress’s built-in media player, while protecting your audio content.

[memb_list_creditcards]

This shortcode lists the credit cards on file for the current member.

[memb_show_receipt]

This shortcode displays a receipt or invoice for the customer’s purchase.  The look and feel of the invoice is completely customizable with a rich combination of HTML, CSS, merge codes and Memberium shortcodes.  This combination enables you to design an invoice that looks the way you want.

[memb_affiliate_running_totals]

This shortcode displays the summary statistics for your affiliate record. You can show the running balance, amount earned, clawbacks, and payments.

[memb_show_leaderboard]

This shortcode will display an affiliate leaderboard on your site. In order for this shortcode to work, you’ll need to have Affiliate Leaderboards feature enabled.

[memb_show_messages]

This shortcode let’s you display success/failure payment messages on the page where [memb_list_invoices] shortcode is used. Shortcode by default won’t display anything, but it will display success/failure text message on the page once user clicks on the button to pay the invoice.

Umbrella Shortcodes

[umbrella_enroll_child]

This shortcode will create a form that will allow the parent user to add child users.

[umbrella_child_count]

This shortcode lists out number of child users added, along with the total number of child users allowed.

[umbrella_list_children]

This shortcode can be used to list out the child users that the parent has added. It displays child user’s First name, last name, email, phone number and also a disconnect button to remove the child user.

WordPress Shortcodes

[memb_learndash_course_enroll]

Enroll the current user in a LearnDash course.

[memb_learndash_course_unenroll]

Remove the member from a LearnDash course.

[memb_loginform]

This shortcode uses the built-in WordPress login form function to display a simple login form. You can style the login form using the standard WordPress CSS classes.

[memb_include_post / memb_include_page / memb_include_partial]

Allows you to insert content or metadata from a page, post or partial into the current position of the shortcode. The shortcodes are synonymous and have no real difference. You can identify the content by post id, or by title.

[memb_cookie]

Displays the results of a cookie

[memb_date]

Displays today’s date.

[memb_get]

This shortcode gets the variable from a URL and displays the output accordingly.

[memb_session]

Shortcode function to display data from the current login session.

[memb_quotd]

Pulls a random quote from Remote – brainquote.

[memb_license_status]

This shortcode displays the Memberium License Status for site.

[memb_version]

Displays the version number of the currently installed copy of Memberium.

[memb_logout_link]

Adds a log out link to your membership site. Option to include redirect upon log out.

[memb_redirect]

Redirects the viewer to a new page

[memb_set_cookie]

This shortcode is used to manually set the values in a cookie.

[memb_show_after]

Designates content to be shown to a member after a certain period has passed.

[memb_echo]

This shortcode displays information

[memb_gravatar]

This shortcode displays a Gravatar image for the logged in user based on their email address.

[memb_server]

Displays server information of logged in user.

[memb_wp_user]

This shortcode displays the content of a WordPress user or user meta field.

[memb_is_admin]

This shortcode is conditional and displays information based on whether or not the logged in user is an admin.

[memb_remote_post_get]

This shortcode returns the data field of the requested post from the remote server, these are executed on the local server, not the remote server and are very useful for sharing content between multiple sites.

[memb_is_mobile]

This conditional shortcode checks if the user is visiting using a mobile device.

[memb_logout]

Does not render anything, but logs out the user when they view the page containing the shortcode.

[memb_capture]

This shortcode allows you to capture the output from another shortcode and store it as a local variable to be used elsewhere on your site.

[memb_gravityform_field]

This shortcode displays field values from Gravity Forms history for the current user.

[memb_json_session]

This shortcode copies all the session data into a JSON structure that you can use from your client side code.