Showing Row based on MemberPress Membership

I have a condition on a row to show if user is logged in AND has the specific membership.

In a test user account that is not an admin, but subscriber… When I am not logged in the row doesn’t show, but when I am logged in it shows the row, even though i have not registered for that membership. Am I doing this wrong?

Hey @Kev,

The condition seems correct. Current User is logged in means the row will only show if you’re logged in. Can you please try out the membership condition only so we can isolate if that works.

Thanks.

OK. I actually have a test page duplicated from another. It is still not working. I will link it in the secure note.

This is the new row I am experimenting with.

These are the conditions:

The test user account has both Memberships, but the condition is set for the one without the Banquet.

I can only keep this test page up for so long. I have to password-protect it for now since we are going live and now the search engines will crawl it. I will add the password in the secure note above.

Hello @Kev,

The condition should be:
image

`String {{dc:user:meta key=“mepr_2026_conferece_will_you_attend_in_person_or_virtual”}} IS NOT [leave this empty]

AND

Current User is logged in`

  • The condition above checks if the user is logged in or not
  • It will also check if the user will attend in person or not.

You CANNOT use the Membership (Specific) because this is only for checking if the current page is the custom post type membership, particularly the “2026 G.R. Seay Leadership Conference” page.

Hope this makes sense.

1 Like

Thank you @ruenel. So if I want to make sure anyone who registers, virtual or not, can see the content, all I need to do is duplicate the condition group and have “is” as well? Looks like it does hide it on the public side, and when I login it shows.

Yes, you can. The explanation for that is that each user has subscribed to a Membership. Therefore, the condition should be focused on the user, like whether he is logged in or not, and we can look up for other user details (or user meta).

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.