Support » Plugins and Hacks » Display author name as nickname
3 years, 4 months ago
Great plugin, thanks.
I’d like to display our author’s names on the PDF, but currently it displays as their username (ie “crazyjohn233”) and I’d prefer to display their nickname (ie “John Smith”).
Could you help me make that change? I see this in the code:
‘ // Display author name is set in config
$author = get_the_author_meta(‘user_nicename’, $post->post_author);
$html .= ‘<p>Author : ‘.$author.'</p>’;’
Thanks – Dave
3 years, 3 months ago
You might want to try my unofficial 2.3.6 build as referenced here.
This build adds the ability to select the format of the author’s name from a dropdown in the options panel.