I need a PHP code IF user-level
-
Hello everybody, okay? I love the BuddyPress and use it on my site it’s been a year. I am also looking for a long time ago if php code. I do not know php programming, but I always find a way to try to resolve things. If I need an id for each user displayed. example:
I have 3 users on my network. 1 is the administrator (me), level 10. Is a subscriber level 0 and the other author-level 9 (I think it is 9). This code would show if a text, “Administrator”, for example, only for the users level 10 and so on. And I would view this code in the header-member or elsewhere in the profile of each user. Then, the user level 0 appear “User” and while the level 9 appear “Author” in your profile.I know that was kind of big post because it’s kind of hard to explain. I ran the search and google, but did not. The codes found in the WP codex did not work …
I await answers, please help me. Hugs to all!
- The topic ‘I need a PHP code IF user-level’ is closed to new replies.