How would I display the username with the logout link like in the dashboard. Im using <?php wp_loginout(); ?>
Ive tried to add ?><?php the_author(); ?> to this but I doesnt show up.
I would also like a link to user profile to show up only if the user is logged in.
- The topic ‘how to get username showing with logout link’ is closed to new replies.