WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ccsm
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/wp-post-to-pdf/

  2. Lewis Rosenthal
    Member
    Posted 1 year 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.

    Cheers

    Lewis

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic