- This topic has 3 replies, 3 voices, and was last updated 9 years, 9 months 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 › Block template contents as well if page using that template is blocked for user
Dear Sir,
I have a page which is blocked for certain membership and I am using php template in it. When I am setting access restrictions in e-member that the content on page are being blocked but the contents from template are still visible.
Can you please give me a php condition which will check whether current user has access to this page or not, so that I can write code in that block.
Or any other way is also very much appreciated.
Warm regards
Shamsuddin Altamash
The following documentation has the conditions:
https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-miscellaneous-tweaks-248
I tried these tricks earlier, but now these tricks doesn’t fit for my requirements.
Check the responses in this thread, and see if it’s closer to what you are looking for:
https://support.tipsandtricks-hq.com/forums/topic/bbpress-forums-lockdown/page/2