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

  1. gpspake
    Posted 3 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?


  2. finnj
    Posted 3 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

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.