[Membership 2 Pro] short code for memberships

I using landing pages for my memberships and want to add an "add to cart" short code at the bottom. They're available for products but I really want people to be auto enrolled so I want to add the membership to the cart.

  • James Morris

    Hello Lora

    If you go to WP Admin -> Membership 2 -> Memberhips and hover over the "Show" button under the shortcodes column of the table, you'll see a shortcode for Subscribe Button that should resemble the following:

    [ms-membership-buy id="60"]

    This shortcode will have a unique ID value for each membership and should give you the button you're desiring.

    Alternately, you can embed the signup form directly in the landing page using the Registration Form shortcode. It resembles the following

    [ms-membership-register-user membership_id="60"]

    I hope this clarifies a bit.

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.