some things wont work unless I am doing something wrong
current_user_can which I assumes that the user does not exist in the current installation of that particular site.
I tried this but it seems to work current_user_is_for_blog($blog_id,"access_s2member_level1") replacing id with the blog id found when you hoover over the site name when you at the super admin mode.
But You'd have to reverse the call..not sure why
- Code: Select all
<?php if (current_user_is_not_for_blog($blog_4,"access_s2member_level1")){ ?>
PUBLIC STUFF
<?php } else { ?>
PRIVATE STUFF
<?php } ?>
Interesting that current_user_can works fine at the footer but not in the header
Sam
updates: Was using the wrong role when I was viewing admin Vs user
here's the correct role:
<?php if (current_user_can_for_blog($blog_4,"access_s2member_level1")){ ?>