WP Post to PDF
Display author name as nickname (2 posts)

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

    Thanks - Dave


  2. Lewis Rosenthal
    Posted 3 years ago #

    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.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Post to PDF
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic