WordPress.org

Support

Support » How-To and Troubleshooting » Display author status – i.e. author, admin, editor etc.

Display author status – i.e. author, admin, editor etc.

  • Christopher Roberts
    Member

    @christopherrobertswordpress

    Anybody know how I would go about adding an authors status/role to their profile?

    Currently on the author.php page, this code:

    <h2><?php printf( esc_attr__( 'About %s', 'twentyten' ), get_the_author_meta( 'user_firstname' ) ); ?>
    </h2>

    returns this on my profile:
    “About Christopher”

    I want to display:
    “About Christopher – Admin”

    The blog has lots of writers, so another example would be:
    “About Jonny” that I want to display as “About Jonny – Author”

    Any ideas on the function I need?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display author status – i.e. author, admin, editor etc.’ is closed to new replies.