Thanks for your answear.
i understood that user_wp will show is user logged in or out. But how i can show link that i want only to user that i want
http://sunpromotions.fi/intra/
this is the page. i have users with same names than links on that page. I want to show link “kuopio” to only to user kuopio, and link “vaasa” only to to user vaasa.
Thanks
something like this:
if ( is_user_logged_in() ) {
global $current_user;
get_currentuserinfo();
if($current_user->user_nicename == 'keesiemeijer') {
// show links for keesiemeijer
}
if($current_user->user_nicename == 'vaasa') {
// show links for vaasa
}
}
Do you want to put this in the post content or somewhere in your theme template files?
As this is a commercial theme, I cannot look into the theme’s template files to tell you where to put it. Ask the theme developer for assistance.
No problem, and good luck.