help with echo user rank
-
i’m trying to create a div class by requesting user role title, but it actually return an empty string on source code each time when web page is loaded. i’m using :
echo user_title();
What i’m trying to do this? I want to show a picture (ads) only for members, all other role will hide this ads via CSS style. Does there is a way to do this? can someone help please echo user title proprely?
note: i’m also using “role-manager” plugin, i don’t know if this can cause trouble.
edit: can’t display the code properly. 😡
- You must be logged in to reply to this topic.