• Resolved tojasonharris

    (@tojasonharris)


    In the author archive, the name that shows seems to be the nickname instead of the display name. How can I make it show the display name (which is [Firstname Sirname])?

    I’m running an Avada theme.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    To show the full name of the author, you need to copy the Avada theme’s author.php file into your Avada child theme’s directory and customize that copy.

    You need to look out for fusion-page-title-captions specifically and edit this style as you wish.

    You can also use the Avada action hook avada_author_info to echo HTML just above the author section.

    Thread Starter tojasonharris

    (@tojasonharris)

    Thanks for your response. I’m hoping to avoid altering the php since it will need to be upgraded constantly.

    Also, I’m not using a child theme. That I know of…

    As I understand it, the wordpress default is to use the nickname. Is this correct? Do you know why it doesn’t use the display name?

    Thread Starter tojasonharris

    (@tojasonharris)

    Bump.

    Can anyone help with this?

    As I understand it, the wordpress default is to use the nickname. Is this correct? Do you know why it doesn’t use the display name?

    WordPress does not display anything by itself. Your theme “calls” or fetches whatever it wants to display from the WordPress database.

    If the theme uses the_author() or get_the_author(), then, yes, this will show whatever has been configured as the “display name”. But the theme could have used get_the_author_meta() to specify the nickname… but we have no way of knowing because this is a commercial product.

    In any case, if it’s indeed the nickname that’s been displayed, you could as well easily change the nickname to anything you want from the user’s profile. (Note that the nickname is separate from the username. By default, the nickname will be the same as the username. You can’t easily change the username, but you can easily change the nickname, just as you can easily change the first and last names.)

    Thread Starter tojasonharris

    (@tojasonharris)

    Thanks for your response George. This is helpful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Author archive using nickname instead of display name’ is closed to new replies.