• Resolved zubair04

    (@zubair04)


    Hi, just wondering what code i required to display the full name of the author as the title on the author pages ?

    at the minute it displays the forename with this code

    <h1 class=”page-title author”><?php printf( __( ‘%s’, ‘twentyten’ ),

    i understand that %s is First Name, just wondering what the variable would be for Full Name ?

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try using this:
    <h1 class="page-title author"><?php the_author_meta("user_firstname");?> <?php the_author_meta("user_lastname");?></h1>

    Thread Starter zubair04

    (@zubair04)

    thanks thats worked well, thought ther might hav been a solution such as %f to replace the %s but its all good

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author Page Title’ is closed to new replies.