• Hello,

    I’ve got a multi author blog and at the bottom of each ‘single’ post I’ve got the some information about each author as retrieved from their user information. So far I’ve got their name, avatar image and their bio. I’m looking to include a link in their name to their google+ profile.

    The question
    Could someone let me know how to retrive an authors google+ profile details with the get_the_author_meta function.

    Thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter liondedan

    (@liondedan)

    I’ve had a play with this one and can’t seem to get it working at all.

    <?php $google = get_the_author_meta( $field = 'googleplus' ); ?>

    If you look at the code for the Contact Info fields on the User Profile page, the name/ID of each input will tell you what to use for $field in the function.

    <input type="text" name="googleplus" id="googleplus" value="URL" class="regular-text">

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