WordPress.org

Support

Support » Plugins and Hacks » User Submitted Posts » [Resolved] Author Display Name

[Resolved] Author Display Name

  • Only registered users can post to my site and their usernames are their email addresses (don’t ask)

    When a USP is created it always shows the username as the Author rather than the Display Name. Is there a way around this as I’d rather not have everyone’s email addresses appearing on the site?

    This doesn’t happen for posts submitted via the admin pages.

    Cheers
    Simon

    The Trasher

    https://wordpress.org/plugins/user-submitted-posts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    @specialk

    Yes it should be possible via the setting “Use registered username for author?”..

    Yep – I select that and it does use the users registered username and displays this at the bottom of the post.

    What it doesn’t do use the name that the user has selected as their Public display nameIn their user profile.

    In my case the username is their email address and their public display name is first last.

    For the moment I’ve configured it so the user has to provide their name in the form, and this displays correctly in the post. Though this means all the posts are actually made by the same user – just the display name is different.

    Cheers
    Simon

    Having same problem. Did you resolve it, simon?

    Plugin Author Jeff Starr

    @specialk

    Ah sorry, I had misread your post. That is something that can be done with WordPress itself, here is an example:

    <?php global $current_user;
    	get_currentuserinfo();
    	echo 'User display name: ' . $current_user->display_name;
    ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Author Display Name’ is closed to new replies.
Skip to toolbar