• I have a name that includes two last-names… As such I would like to display my name as

    <h2>
    <?php the_author_meta(‘user_firstname’); ?> <?php the_author_meta(‘user_lastname_1’); ?> <?php the_author_meta(‘user_lastname_2’); ?></h2>

    Obviously there is currently no field for a middle or second last name, so I would either need to implement a field, or use static content.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could also put both last names in the “last name” field, and then they should display according to the “Display name publicly as” setting you’re using for that user profile.

    Thread Starter sfacets

    (@sfacets)

    The issue is that I would like to define the names separately using microformats such as schema.org or hcard..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display author's First, middle and last name sepearately’ is closed to new replies.