WordPress.org

Ready to get started?Download WordPress

Forums

how to get user name showing with log out link (1 post)

  1. yashmistrey
    Member
    Posted 3 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic