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

Tagged: 

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

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

    #22313
    wensolutions
    Keymaster

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

    #22339

    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.

    <?php

    /** User Info */

    global $current_user;
    get_currentuserinfo();

    echo ‘Username: ‘ . $current_user->user_login.”\n”;
    ?></div>

    Thank you

    #22348
    wensolutions
    Keymaster

    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.

    #22350

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

    #22351
    wensolutions
    Keymaster

    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.