how to get user name showing with log out link
-
i want to show user’s name (as profile link)
i am using this code now
<?php if ( is_user_logged_in() ) { $user_identity; echo $current_user->user_login; wp_register(); }; ?> <li class="first"><?php wp_loginout(get_permalink()); ?></li>
- The topic ‘how to get user name showing with log out link’ is closed to new replies.