• Resolved neo8x

    (@neo8x)


    Hello,
    In the Profile page is the identifier that appears. Can do we put the full name?
    Thank

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi
    I’m sorry, there are no option for that now, but if you really need that feature you can do some “hack” here. In the file (your site root folder)/wp-content/plugins/learnpress/templates/profile/info.php at line 22 you can see this code <?php echo $user->user_nicename; ?>, let change it to <?php echo $user->user_display_name; ?>.
    Oh, don’t forget to save it up!

    Certainly, we will add this options to the next version of LearnPress. Thank you for your idea.

    Best Regards.

    • This reply was modified 9 years, 10 months ago by minhluc.
    • This reply was modified 9 years, 10 months ago by minhluc.
    • This reply was modified 9 years, 10 months ago by minhluc.
    Thread Starter neo8x

    (@neo8x)

    Thank you very much

    Thread Starter neo8x

    (@neo8x)

    Hello,
    I tried to change but nothing seems.
    I’ll wait for the next version.
    Thanks

    Oh, I’m sorry that’s my mistake. Change that code in line 22 to <?php echo $user->display_name; ?>.

    This solution will show the name, which user set the display name as first name + last name in WordPress user setting. If you want to set display name default to first name + last name, take a look at this plugin.

    Minh.

    • This reply was modified 9 years, 10 months ago by minhluc.
    • This reply was modified 9 years, 10 months ago by minhluc.
    Thread Starter neo8x

    (@neo8x)

    yes it works great.
    thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Page Profile’ is closed to new replies.