WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: People Lists] Custom author profile fields on author page?

[Resolved] [Plugin: People Lists] Custom author profile fields on author page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I figured it out.
    For anyone interested, it works like this:

    <?php
      $user_id = $curauth->ID;
      $key = 'people_lists_XXX';
      $single = true;
      $the_field_i_want_to_display = get_user_meta( $user_id, $key, $single );
      echo '<p><em>'. $the_field_i_want_to_display . '</em></p>';
    ?>

    The “XXX” in people_lists_XXX is of course the name of your custom field.

    Plugin Contributor enej

    @enej

    I am glad you were able to figure it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: People Lists] Custom author profile fields on author page?’ is closed to new replies.