- This topic has 5 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › How to show user name if Edu pro theme?
Tagged: Homepage
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.
<?php
/** User Info */
global $current_user;
get_currentuserinfo();
echo ‘Username: ‘ . $current_user->user_login.”\n”;
?></div>
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 !
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |