Hello all As the title says, when a user is logged in I want the welcome message to display the username, not the full name. I know I need to tweak this line:- <div><b><?php _e('Welcome', 'am4-plugin');?> <?php echo $user['name_f'];?> <?php echo $user['name_l'];?>!</b></div> In the widget_after_login.phtml file But I have no idea what values I need to use to point to the username. Can anybody give me a hand please? Thanks.
instead of: <?php echo $user['name_f'];?> <?php echo $user['name_l'];?>! try <?php echo $user['login'];?> ! or <?php echo $user['username'];?> ! David