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

eMember – Adding specific membership level content to navigation menu

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – Adding specific membership level content to navigation menu

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 8 months ago by stephen299.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 10, 2012 at 2:47 am #7369
    stephen299
    Member

    I would like to add specific menu items relating to the membership levels in my navigation menu, but I’m not 100% sure how to do that.

    For example, there would be a tab on the navigation menu that says “My Subscriptions” and under it would have all the subscriptions (ie. categories or pages) that the specific member has access to.

    I tried to just add multiple menus and call them for each membership level, but so far I have 20 different menus and 20 different if statements in the theme’s code just to handle this and I know it could be much more efficient. I just need to figure out how to call the menu items to appear in the menu depending on the membership level. How exactly would I do something like this? Thanks!

    September 10, 2012 at 7:38 am #49162
    admin
    Keymaster

    The following two posts should help:

    WP eMember Miscellaneous Tweaks

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

    September 10, 2012 at 9:37 pm #49163
    stephen299
    Member

    Yeah I’ve looked at those, but they don’t do exactly what I want. Is there a way to create the WP menu in the PHP file that then calls the specific membership levels and adds them as items? I’ve looked everywhere but I can’t find a solution :/

    September 11, 2012 at 3:13 am #49164
    admin
    Keymaster

    Okay that means you will need a custom solution. You can fill out this form to get a custom solution:

    https://support.tipsandtricks-hq.com/need-custom-work-done

    September 12, 2012 at 2:42 am #49165
    stephen299
    Member

    Okay I’ll check it out, thanks!

    For now though, is there a way to get all the different membership levels a member has? Currently I’m using this function :

    <?php echo wp_eMember_get_user_details(“membership_level”); ?>

    But it only gets the main membership level. Is there a way to get all of the levels a member has access to?

    September 12, 2012 at 7:50 am #49166
    admin
    Keymaster

    Use the following to get all the additional membership level IDs of a user:

    <?php echo wp_eMember_get_user_details("more_membership_levels"); ?>

    Use the following to show the primary membership level name:

    <?php echo wp_eMember_get_user_details("user_membership_level_name"); ?>

    Use the following to show the additional membership level name(s):

    <?php echo wp_eMember_get_user_details("user_additional_membership_level_names"); ?>

    September 12, 2012 at 11:51 pm #49167
    stephen299
    Member

    Got it, thanks! Also, I just sent an email regarding custom work. I would love to have it done tonight if possible, but I know I’m probably being difficult. I’m looking forward to hearing from you!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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