Menus based on user level
-
I just put a groovy login feature on my web site. For that, I am groovy. However, after looking at this line:
<?php global $user_ID, $user_identity; get_currentuserinfo(); if (!$user_ID): ?>
I started wondering if I could use something similar to establish the user level of the person visiting my web site. The above script will determine if the user is logged in and, if they are, it displays a menu. Now, I would like to have direct links to posting, managing, etc. The level 5’s would see the links, the level 1’s wouldn’t and so forth.
Can that be done without using a plugin? Plugins hate me.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Menus based on user level’ is closed to new replies.