- This topic has 4 replies, 2 voices, and was last updated 12 years, 3 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › WP eMember Question: How Do You Display ALL of a Users Membership Levels?
Hi,
Just wondering, is there a way of displaying all of a User’s Membershp Levels, when using the “Enable Secondary Membership”? At the moment, the Primary Membership Level is being displayed.
Ideally, I need to show a User all of the *other* levels that they are have purchased as well.
How can this be achieved? Is there a shortcode I’ve missed?
Thanks again!
Cheers,
Zain
The following shortcode should give you the additional membership level IDs:
[wp_eMember_user_details user_info="more_membership_levels"]
Hi Admin,
…thought you may say that. However, doesn’t that pull back just the ID numbers of the membership levels (comma separated) from the “more_membership_levels” field in the database table?
I think the bit where the ID numbers are then associated to the Membership Level names is missing…
Cheers,
Zain
Added the following shortcode which will show a comma separated names of the additional levels. This will go into the next build of eMember in a day or two:
[wp_eMember_user_details user_info="user_additional_membership_level_names"]
Hi Admin,
LOL… I was just about to ask another related question to this one, then came back to find this thread I started. Looks like my question might just have been answered! Nice.
Okay, so I’ll upgrade the plugin and test out the new shortcode. This will help a great as it would be good to be able to display all levels.
I’ll come back to the other question if this shortcode doesn’t satisfy my client. I think it may be okay though…
Keep up the great work!
Cheers,
Zain