1. Home
  2. General
  3. Mergecodes and Shortcodes

Mergecodes and Shortcodes

WishList Member Mergecodes or Shortcodes can be inserted into a page or post by using the blue WishList Member Mergecodes or Shortcodes inserter in the Classic Block in the WordPress Gutenberg editor.

More info on using a Classic Block in the WordPress Gutenberg editor to insert Mergecodes and Shortcodes can be found here.

(Another option to generate and copy a shortcode or merge code is the Shortcode Creator found on the WishList Member Dashboard)

Some of the available WishList Member Shortcodes:

ismember – The content inside the Shortcode will be displayed to members only (in any Level).

Example: [wlm_ismember] this text can only be seen by members [/wlm_ismember]

Below is an example of the information the Shortcode would display to logged in member.

nonmember – The content inside the Shortcode will be displayed to non-members only.

Example: [wlm_nonmember] this text can only be seen by non-members [/wlm_nonmember]

Below is an example of the information the Shortcode would display to a non-member.

Some of the available WishList Member Mergecodes:

First Name: [wlm_firstname]

Last Name: [wlm_lastname]

Email: [wlm_email]

Username: [wlm_username]

Membership Levels: [wlm_memberlevel]

Pay Per Posts: [wlm_userpayperpost]

Below is an example of the information these Mergecodes would display to a logged in member on the site.

Login Form Shortcodes:

The Login Form Shortcode and/or Login URL Shortcode can be used to create a login page.

Login Form: [wlm_loginform]

Login URL: [wlm_loginurl]

Below is an example of these two Shortcodes inserted into a page (along with some description text) in the WordPress page editor.

Below is an example of what would be displayed on the site using these two login Shortcodes.

Profile Form / Dashboard Mergecodes:

The Profile Form Mergecode can be used to create a profile form. Additional mergecodes can be used to display additional information as well.

The Profile Form mergecode allows the member to view and edit account details.

Note: The example below used the Gold Level for the Join Date and Expiration Date mergecodes.

Profile Form: [wlm_profileform]

Profile URL: [wlm_profileurl]

RSS Feed: [wlm_rss]

Join Date: [wlm_joindate Gold]

Expiration Date: [wlm_expiration Gold]

Membership Levels: [wlm_memberlevel]

Below is an example of the above Mergecodes inserted into a page in the WordPress page editor.

This will result in a profile form being displayed, including First Name, Last Name, etc.

The logged in member can edit the account info included email address, name, etc. They can also change their password.

Some additional optional shortcodes displayed are the Profile URL, the member’s unique RSS Feed and info that is Level specific such as Join Date and Expiration Date.

The Membership Level(s) the member belongs to can also be listed.

Below is an example of how this appears on the site.

More details regarding the stored location of the image file can be found in the Profile Form – Image Location Knowledge Base article.

More Info on Private Tags, Registration Forms and Content Schedule Codes:

Private Tags/Reverse Private Tags (More Details)

Registration Forms (More Details)

Content Scheduler (More Details)

Additional Mergecodes and Shortcodes:

A full list of available Mergecodes can be seen by clicking the blue WishList Member Mergecodes or Shortcodes inserter in a Classic Block.

Mergecodes (click on the individual options to see all the codes available):

Shortcodes:

Please Note: The Integrations codes will be available if an integration that includes codes (Example: Stripe) is activated in the Setup > Integrations section in WishList Member. These codes are specific to the individual Integration.

Inserting Mergecodes and Shortcodes is explained in more detail (including screenshots) in this Knowledge Base article.

Updated on August 18, 2021

Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to submit a support ticket
Submit Ticket