Viewing 5 replies - 1 through 5 (of 5 total)
  • The Members plugin allows you to control what different user roles have the capability to see and do. I’ve used it before to limit what each user can see in the admin menu, if this is what you are talking about.

    http://wordpress.org/extend/plugins/members/

    Moderator bcworkz

    (@bcworkz)

    It’s easier to control what happens by capability, rather than role. You’ll often need to pick a capability unique to each different role, you can always create and assign one. The Members plugin makes this easy, but it can be coded too.

    Then you just need to wrap each different menu output in a if (current_user_can('some_capability')) block.

    Thread Starter deyelicious

    (@deyelicious)

    @jhoffm34 : tq for quick reply but i want arrange menu in site not in admin menu..any idea?
    @bcworkz : which plugin?

    Moderator bcworkz

    (@bcworkz)

    No plugin I know of. I was suggesting hacking the menu output of your theme. Depending on how the menu is implemented in your theme, it may be possible to do from a custom plugin. A child theme is a more likely solution.

    While the admin menus have builtin capability control, the front end menus would typically not, thus you would more than likely need custom code.

    Thread Starter deyelicious

    (@deyelicious)

    hmm i see..
    finally i hacked the code to make new role and new front-end menu
    so now i can control my front end menu based on user role.. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different front end menu for different user’ is closed to new replies.