Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Nickname on seller profil


  • John
    Newbie 25 points
    September 28, 2019 at 9:51 am

    Hello,

    somebody can tell me how to show, nickname of the seller instead of first name and last name in seller profil? (look screenshot)
    I try to change this in user setting of wordpress, also I download some plugins for change the display_name; nothing work…

    somebody can help me?

    Attachments:
    You must be logged in to view attached files.
  • Mark Fail
    Mark Fail
    Super Guru 12,845 points
    October 2, 2019 at 1:52 am

    This is hard coded – you would need to adjust the code itself.

    file: templates/tpl-page-account.php


  • John
    Newbie 25 points
    October 2, 2019 at 3:14 am

    yes thank you,
    I finale find it

    just replace in ppt_13_user.php

    line 867 // BUILD DISPLAY NAME
    line 868 $name = get_the_author_meta( ‘display_name’, $userid);

    but I don’t know how to build this ppt_13_user.php in child teme.
    so I replace in parent teme.

  • Mark Fail
    Mark Fail
    Super Guru 12,845 points
    October 4, 2019 at 2:39 pm

    that’s fine for now – just note you’ll need to re-do it each time you update.


  • John
    Newbie 25 points
    October 4, 2019 at 3:33 pm

    yes that the problem. I can’t add ppt_13_user.php in my child teme..
    Maybe you have a solution for me??

    Thank you Mark

  • Mark Fail
    Mark Fail
    Super Guru 12,845 points
    October 6, 2019 at 3:02 am

    You would need to add the author.php file to your child theme and modify it within that file – don’t add the core function as this might change/be removed.


  • John
    Newbie 25 points
    October 6, 2019 at 8:59 am

    I try to add the author.php in my child times but didn’t work. I don’t know how to do it….

Viewing 7 posts - 1 through 7 (of 7 total)