User meta data not being displayed
-
Hi Daniel,
I’m finding it difficult to display the ‘User meta data’ fields. I’m trying to get i.e. the AIM, Google+ and Twitter fields to display in my theme. Can you show me where to go from here?
<ul class="widgets workers"> <?php $coauthors = get_coauthors(); ?> <?php foreach( $coauthors as $coauthor ): ?> <li> <?php $userdata = get_userdata( $coauthor->ID ); ?> <?php if( $userdata->user_description ) echo $userdata->user_description; ?> <div class="avatars"> <?php echo get_avatar( $coauthor->user_email, '80' ); ?> </div> <div class="workerinfo"> <h5><?php echo $coauthor->display_name; ?></h5> </div> </li> <?php endforeach; ?> </ul>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘User meta data not being displayed’ is closed to new replies.