$user_identity problem
-
I use this code in my header:
<?php { if ( ! is_user_logged_in() ) include (TEMPLATEPATH . '/loginform.php'); else $link = ' <div class="logged_in"><div class="logged_in_content">Logged in as: <?php echo $user_identity; ?> <a href="' . get_settings('siteurl') . '/wp-login.php?action=logout">Log out</a></div></div>'; echo apply_filters('loginout', $link); } ?>
But the $user_identity doesn’t work for me. It just doesn’t shows up. What am i doing wrong?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘$user_identity problem’ is closed to new replies.