How can i get

How can i get membership 2 price chat in table format?

  • James Morris
    • WordPress Enthusiast

    Hello Wiztech,

    I hope you are well today.

    I’m assuming by “chat” you were meaning “chart”?

    If that’s the case, it will take a little work, but nothing too complicated.

    What you will need to do is go to Membership 2 -> Memberships and hover over the Show Shortcodes link. See screenshot:

    The output should look something like the following:

    Protect content: [ms-protect-content id="19"][/ms-protect-content]
    Membership Title: [ms-membership-title id="19"]
    Membership Description: [ms-membership-details id="19"]
    Membership Price: [ms-membership-price id="19"]
    Subscribe Button: [ms-membership-buy id="19"]
    Registration form: [ms-membership-register-user membership_id="19"]

    From there, you can construct a table that includes the memberships you want to display.

    Something like the following:

    <div style="overflow-x:auto;">
    <table class="m2p-table">
    <tr class="m2p-th">
    <th class="m2p-title">Membership Title</th>
    <th class="m2p-desc">Membership Description</th>
    <th class="m2p-price">Membership Price</th>
    <th class="m2p-button"> </th>
    <tr class="m2p-row-odd">
    <td class="m2p-title">[ms-membership-title id="19"]</td>
    <td class="m2p-desc">[ms-membership-details id="19"]</td>
    <td class="m2p-price">[ms-membership-price id="19"]</td>
    <td class="m2p-button">[ms-membership-buy id="19"]</td>
    <tr class="m2p-row-even">
    <td class="m2p-title">[ms-membership-title id="20"]</td>
    <td class="m2p-desc">[ms-membership-details id="20"]</td>
    <td class="m2p-price">[ms-membership-price id="20"]</td>
    <td class="m2p-button">[ms-membership-buy id="20"]</td>

    You can then use the classes assigned to fully customize the look and feel of the table.

    I hope this clarifies a bit. Let us know if you have any further questions. We’ll be happy to help! :slight_smile:

    Best regards,

    James Morris

  • James Morris
    • WordPress Enthusiast

    Hello Wiztech,

    I was able to successfully add a test draft page named “Membership Table” with the sample table and memberships in it. This took about 10 minutes. I tested and everything is working correctly.

    To style the table and it’s elements, you’ll want to add the following CSS classes to your Custom CSS section of your theme and modify them to suit your design.


    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.