Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Conditional Menu Display for Membership Plugin

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

  • This topic has 5 replies, 4 voices, and was last updated 14 years, 1 month ago by amin007.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 20, 2010 at 8:49 pm #1719
    trevnet
    Member

    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!

    August 21, 2010 at 3:12 am #23545
    amin007
    Participant

    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:

    https://www.tipsandtricks-hq.com/wordpress-membership/show-different-navigation-menu-to-your-members-and-non-members-551

    February 11, 2011 at 3:07 pm #23546
    Tuttie
    Member

    is there a solution to this? I want the same thing as the original poster.

    February 12, 2011 at 3:43 am #23547
    amin007
    Participant

    There will only be a solution if WordPress allows it. You can sumbit a request on the WordPress forum (http://www.wordpress.org)

    April 10, 2011 at 6:40 am #23548
    fuji_man
    Member

    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?

    April 11, 2011 at 12:39 am #23549
    amin007
    Participant

    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.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ