Good day folks,
So I have search through the documentation and the forum and cannot find anything that is leading me in the right direction. I did see there is some docs on this topic, but maybe it is me, but I cannot wrap my head around it.
So the question is, “How do I show content based on a membership level”?
I have Woocommerce installed with the Woocommerce Membership plugin. I have a few memberships and want to be able to show the content based on those memberships.
I know this is not correct, but this is the idea of what I am trying to achieve.
<div class="nsc-course__wrapper">
<div class="nsc-course__inner">
<Loop type="woo_user_membership">
<If field="wc_memberships_is_user_active_member" is="full-course">
<p class="nsc-course__fullCourse">
This is the Full Course Content
</p>
<Else if wc_memberships_is_user_active_member is="basic" />
<p class="nsc-course__basic">
This is the Basic Course Content
</p>
<Else />
<p class="nsc-course__guest">
This is what a guest would see
</p>
</If>
</Loop>
</div>
</div>
Any help would be greatly appreciated. =)
Cheers