Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am probably being a little dumb here, but can anyone point me in the right direction.

I am trying simply display the authors first name as a link in my loop.

But the doesnt seem to be any options with the get_author tag.

This is what I got so far.

Posted by <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author"><?php printf( __( '%s' ), get_the_author() ); ?></a>

Thanks Josh

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can use get_the_author_meta( 'first_name' ); (see Codex for get_the_author_meta)

share|improve this answer
I could not find that page for some reason. Thanks. – Joshc Jul 2 '12 at 10:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.