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.

About: Sue Moss

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Restrict categories and menus by level

By:  Sue Moss in: Community Forum

voices: 2
replies: 4

4 years, 8 months ago  Eduan

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Restrict categories and menus by level

By:  Sue Moss in: Community Forum

voices: 2
replies: 4

4 years, 8 months ago  Eduan

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Friday Apr 20th, 2012 at 3:05 pm #11415
Sue Moss
Username: SueMoss

Not sure why it works that way but it does. I’m happy. Thanks for your help!

Topic closed.

Posted: Friday Apr 20th, 2012 at 2:47 pm #11412
Sue Moss
Username: SueMoss

Hi Eduan

Thanks for the quick response. I just came across that info as well.

I notice if I do this:

if (current_user_is('access_s2member_level1')) {
	wp_nav_menu(array('theme_location' => 'groups-members'));
} else if (current_user_is('access_s2member_level2')) {
	wp_nav_menu(array('theme_location' => 'school-members'));
} else if (current_user_is('access_s2member_level0')) {
	wp_nav_menu(array('theme_location' => 'school-members'));
}

the menu for the free user doesn’t display. But if I do this:

if (current_user_is('access_s2member_level1')) {
	wp_nav_menu(array('theme_location' => 'groups-members'));
} else if (current_user_is('access_s2member_level2')) {
	wp_nav_menu(array('theme_location' => 'school-members'));
} else if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0) {
	wp_nav_menu(array('theme_location' => 'school-members'));
}

it does. It works but any ideas?

Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)

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.