Hi, currently logged-in username does not appear on the top to say who is logged in. However, I have managed to code it round to show which user is logged in on top of the page. See screen below: If you want to know how I have done it then let me know. Thank you.
On your Wordpress dashboard go to Appearance à Editor On the Edit Themes select “Header.php” from the “Templates” Scroll down until you see the <body> tag Under the <body> tag look for the line: <?php if (is_user_logged_in()): ?> and paste the following code under it: <img src="http://www.easternglobe.com/wp-content/themes/classicrafttheme/images/dashboard-icon.png"><?phpglobal $current_user;if ( isset($current_user) ) { echo $current_user->user_login;}?> Save it and you are all done.
Hi, But make sure you change your URL link to your Domain URL and not copy amaconline exactly. For example, instead of using this: <img src="http://www.easternglobe.com/wp-content/themes/classicrafttheme/images/dashboard-icon.png"> <?php global $current_user; if ( isset($current_user) ) { echo $current_user->user_login; } ?> Make sure your URL Domain name is being replaced like this: <img src="http://www.xxxxxx.com/wp-content/themes/classicrafttheme/images/dashboard-icon.png"> <?php global $current_user; if ( isset($current_user) ) { echo $current_user->user_login; } ?> Just to make it clearer from what i've said, my URL Domain is www.isniffy.com, right, so it should be like this: <img src="http://www.isniffy.com/wp-content/themes/classicrafttheme/images/dashboard-icon.png"> <?php global $current_user; if ( isset($current_user) ) { echo $current_user->user_login; } ?> Hope this helps!