Support » Plugin: WP Post to PDF » Display author name as nickname

  • 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
    if ($this->options[‘authorDetail’]){
    $author = get_the_author_meta(‘user_nicename’, $post->post_author);
    $html .= ‘<p>Author : ‘.$author.'</p>’;’

    Thanks – Dave

Viewing 1 replies (of 1 total)
  • Hi, Dave…

    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.



Viewing 1 replies (of 1 total)
  • The topic ‘Display author name as nickname’ is closed to new replies.