- This topic has 5 replies, 4 voices, and was last updated 13 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 › WP eMember Tweaks › Conditional Menu Display for Membership Plugin
Tagged: conditional content, content protection, menus
I need to display a certain menu based on the users membership level. This can only be done in the sidebar.php file so I can use the [emember_protect for=1] tags in there.
Any way this can happen with php or do you have a better way?
I have 3 different membership levels each with their own set of content, thus the need for different menus.
Thanks in advance for any help!
Shortcodes do not work in PHP template file so you need to use PHP and HTML. Here is an example code that does something similar:
How to get member id and his details (retrieve member details)
The following is a good tutorial for you:
is there a solution to this? I want the same thing as the original poster.
There will only be a solution if WordPress allows it. You can sumbit a request on the WordPress forum (http://www.wordpress.org)
I am thinking of the same thing, but instead of menu, I wanted to limit all widget to only logged in user… could that be done?
Yeah, you should be able to do that using the techniques explained on this post:
https://support.tipsandtricks-hq.com/forums/topic/adsense
Let me know if that helps.