- This topic has 3 replies, 2 voices, and was last updated 11 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › Drip content with Section Protection Feature
Tagged: Drip content, Section protection
Hi,
What I basically try to do is, having an “Interviews” page, in which monthly interviews are added.
I’m planning to use Section content on this page, but the problem is for each months interview I add to the page, yes it actually hides the content, but gives an error message like this:
Your membership level does not have access to this content.
Please Renew or Upgrade your account.
Is there any way to hide this message?
And what other method can I use for drip-content so that the members never see such error messages for upgrade.
Thanks a lot for answers.
I’m working on this. If there isn’t any other solution to do what I mention above, I’m planning to use php codes for this. Like below:
<?php if(wp_emember_is_member_logged_in(‘1’)) { ?>
Any Content
<?php } ?>
Is there any way to select multiple membership levels at once for the above example? Sth like this:
<?php if(wp_emember_is_member_logged_in(‘1-2-3’)) { ?>
Any Content
<?php } ?>
(obviously this one is not working)
You can use the condition like the following to check for multiple levels
<?php
if(wp_emember_is_member_logged_in('1') || wp_emember_is_member_logged_in('2'))
{
//Show content if the user's level ID is 1 OR 2
}
?>
Thanks a lot. That was what I was looking for!