Viewing 8 replies - 1 through 8 (of 8 total)
  • You would insert this code in your main post file:

    <?php echo the_author_firstname(); ?> <?php the_author_lastname(); ?>

    This will show first & last name.
    So if you want it in your home post format you would add it to index..
    If you want it on the silge post pages you will add it there as well.

    Thread Starter Ben Dunkle

    (@empireoflight)

    Thanks jhover, but I’m trying to do this using the author avatar plugin. It only works as a widget, and you have to select options after you drag it into a sidebar.

    Ben

    (@bforchhammer)

    Hi,

    The plugin shows whatever each user has selected as the “Display Name” on their profile page. This means you have to convince your users to add the firstname and lastname to their profiles and then select “Firstname Lastname” from the respective Dropdown box…

    Hope this helps!

    Regards,
    Ben

    Thread Starter Ben Dunkle

    (@empireoflight)

    Hammer, I don’t see that as an option. Here’s what I get when I edit the widget:
    https://imgur.com/n35Ej.jpg

    What am I doing wrong?

    The option you need to change in the users profile not in the plugin we just show the users setting

    Thread Starter Ben Dunkle

    (@empireoflight)

    OK, so the plugin is showing the username I guess? I was able to get it to show First/Last name by changing what is says under “Display name publicly as” to the first/last name as hammer suggested-(thanks, now I get what you mean!). That works, but unfortunately it doesn’t display in alphabetical order by last name. Is there a way to configure this plugin to show the first/last name of the user, instead of the display name, and sort by last name?

    Ben

    (@bforchhammer)

    Is there a way to configure this plugin to show the first/last name of the user, instead of the display name, and sort by last name?

    Sorry, but no, that’s not possible at the moment. Sounds like a good feature though, I will think about it for the next version.

    Ben

    (@bforchhammer)

    I have added the functionality to sort by first or last name to HEAD (see [251673]).

    You can download the development version of the plugin to check it out or wait for the next release…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Author Avatars List] Show first and last name of author, not just nickn’ is closed to new replies.