Okay
  Public Ticket #1698326
Author meta showing username
Closed

Comments

  • Craig started the conversation

    Hey,

    I have a feeling this a quick solution.

    The Author meta box on stoked theme to the right of an article is showing the username. What is the easiest way to change this to show display name instead.

    I have tried changing that in the user profile section, but has no effect on meta box.
    Cheers

  •  93
    djwd replied

    Hi there,

    the side meta box is set to show the nickname, you'd need to change this line of code in partials/part-sideinfo.php line 48, from:

    <span class="stkd-sid-tag"><?php echo get_the_author_meta('user_nicename'); ?></span>
    

    to 

    <span class="stkd-sid-tag"><?php echo get_the_author_meta('display_name'); ?></span>

    Hope it helps


    Regards
    djwd

  • Craig replied

    Thanks man. I went digging through it last night and found it. I'm going to wait a few hours before making comments in the future. I tend to find the solution not long after making a ticket.

    Haha,


    Cheers

  •  93
    djwd replied

    Lol no worries!

    Regards
    djwd