John

Nickname on seller profil

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?

Created: September 28, 2019 at 9:51 am
  • In: Bugs & Issues
  • Started by: John
  • 2 members left 6 comments
  • Last reply from: John

  • Mark Fail
    Mark Fail
    October 2, 2019 at 1:52 am

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

    file:


  • John
    October 2, 2019 at 3:14 am

    yes thank you,
    I finale find it

    just replace in

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

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

  • Mark Fail
    Mark Fail
    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
    October 4, 2019 at 3:33 pm

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

    Thank you Mark

  • Mark Fail
    Mark Fail
    October 6, 2019 at 3:02 am

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


  • John
    October 6, 2019 at 8:59 am

    I try to add the 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)