WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
Display 'Name' instead of 'Username in Dashboard (2 posts)

  1. gpspake
    Member
    Posted 2 years ago #

    First of all, the plugin is great! So thanks.

    By default, if a user is on the dashboard page it will display his or her username (jsmith1's Dashboard).
    I would like to change that to reflect the user's name (John Smith's Dashboard.

    I don't mind modifying the code. Can anyone help me with this?

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. finnj
    Member
    Posted 2 years ago #

    Change line 76 in wpuf-dashboard.php to

    <span class="colour"><?php printf( __( "%s's Dashboard", 'wpuf' ), $userdata->user_firstname . ' ' . $userdata->user_lastname ); ?></span>

    is located in wp-content/plugins/wp-user-frontend

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.