• Hello all-

    I tried used the search and didn’t find anything, so i might as well just post it here. I want to have different sidebars depending on the user, how could i archieve this?

    Also is there a way that i could set something up that whenever i create a new user a new page would be created with the username of that user?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter got_josh

    (@got_josh)

    Maybe something on the likes of is_category(”) function ? :S

    Thread Starter got_josh

    (@got_josh)

    bump =(

    I want to have different sidebars depending on the user

    Depending upon the user’s what? Username? Role? Logged in status? You need to be a little more specific.

    Thread Starter got_josh

    (@got_josh)

    Yeah, I’m sorry. But to be a little bit more specific, it’s on the user role. 🙂

    Thread Starter got_josh

    (@got_josh)

    Anyone ? 🙁

    Thread Starter got_josh

    (@got_josh)

    bump =(

    Thread Starter got_josh

    (@got_josh)

    Help please! 🙁

    For the different sidebars based on user role, have a look at http://codex.wordpress.org/Function_Reference/get_currentuserinfo – specifically $current_user->user_level in the first example.

    Thread Starter got_josh

    (@got_josh)

    What i want to do can’t be done with $current_user->user_level

    Because i want a different sidebar PER user and it’s completly different and from what i understand if you create a sidebar for someone with an user level of 0 for examplace the members with an user level of 1 or higher will actualyl see what the one with 0 has.

    Thread Starter got_josh

    (@got_josh)

    I just tested this out and it tried with every user level and the only one that can i get to display is level 10 users, it seems that even if you assign an user level to a different role you cannot retrive it’s user level and i’m possitive that my code is right because i’m using the same code for all level and the only one i get to display is level 10 :s

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Different sidebars per user’ is closed to new replies.