• Resolved ineedyou

    (@ineedyou)


    Hi,

    I’m using Essential Grid plugin https://www.themepunch.com and i can display all meta custom field or sort by field. But, i never success to display membership levels. Such as a member publish post and want to display that member’s membershiplevels. I tried pmpro_membership_orders field on php admin or tried pmpro_membership_levels but never did. Maybe different field and cant find.
    Can you help me. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi there,

    Thank you for using Paid Memberships Pro.

    The membership levels are not stored in usermeta, but are stored in custom tables.

    Here’s a guide to display a user’s membership level -> https://www.paidmembershipspro.com/display-the-current-users-membership-level-name/

    I hope this helps and is what you are looking for.

    Thread Starter ineedyou

    (@ineedyou)

    Hi,

    Thanks your reply. I know that code but its shows current user membership levels also my theme KLEO show membership levels.

    Assume that
    1 – I’m member A (with any membership levels) and visiting Member B and Member C buddypress profile so i want to see their membership levels.

    2 – I can add meta to Essential grid post from Any Wp custom field or ACF field so if you stored custom table, how can i display without above code? Maybe i’m using also Promember Role your addon, so maybe i can call role if role is storing any meta field (such as user role editor if using meta field)
    Sorry my bad english ??

    Million Thanks

    Plugin Author Andrew Lima

    (@andrewza)

    Thank you for your feedback, I think you would need to use custom code to achieve this.

    You would be able to add code similar to this – https://www.paidmembershipspro.com/display-the-current-users-membership-level-name/

    However instead of the current user, you will need to pass in the user’s ID which should be available on the BuddyPress profile pages.

    Unfortunately I am not familiar enough with Essential Grid.

    Another option you could look at doing is to store the membership level of the current user in usermeta (by using a small function that runs after changing their membership level) and then just display that custom usermeta using one of the plugins you have mentioned, would this work for you?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Essential Grid’ is closed to new replies.