Home Forums Pro Themes Education Hub Pro How to show user name if Edu pro theme?


Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #22251

    I was wondering, how can I show the user name in the home page, using the Education Hub Pro theme.


    Hello ctenorio@sailormen.com,your request to show username in homepage seems quite unclear to us so could you please elaborate it further. ?


    Good morning;

    What do you mean “unclear”? at this moment the theme only shows “log out”in the top of the menu and doesn’t show the logged user name.

    I did add a php code under the “header.php”, but I was wondering if there was a setting that will make this process easier, due to is a premium theme. Here was the code that I used.


    /** User Info */

    global $current_user;

    echo ‘Username: ‘ . $current_user->user_login.”\n”;

    Thank you


    Theme does not provide login / register functionality in core. Still being a premium theme our theme follows standard WordPress security and such functionality that falls under plugin territory is not integrated inside the theme itself.

    Therefore, we recommend you to extend those feature by installing plugin or exclusively customize the theme through the snippet like you have used above.


    very good, I appreciate it your prompt response. Thank you for your support.


    No problem. You are always welcome to post in your queries and confusions related to the theme.
    We would be glad to assist you as best as possible.

    Have a nice day !

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.