latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Different menu for different membership level

Home Forums Community Forum Different menu for different membership level

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 6 months ago.

Topic Author Topic
Posted: Thursday Jul 4th, 2013 at 4:35 pm #53018

Hi,

I want to display a different menu for each s2 member level I have setup.

I’m using the following code but it doesn’t seem to work:

Can anyone help?

Thanks
Catherine

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday Jul 5th, 2013 at 5:29 am #53045
Bruce
Username: Bruce
Staff Member

Thank you for your inquiry.

To accomplish this, you have to edit your theme’s files. The navigation menu is likely in your theme’s header.php file. Look for a call to wp_nav_menu().

Then you can change the navigation menu your theme called with s2Member’s PHP Conditionals:

Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals


This thread has some examples:

http://www.s2member.com/forums/topic/doing-things-with-menus-based-on-member-level/

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.