WordPress.org

Support

Support » Plugins and Hacks » Co-Authors Plus » [Resolved] User meta data not being displayed

[Resolved] User meta data not being displayed

  • Joshua

    @joshuavalentin

    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>

    http://wordpress.org/extend/plugins/co-authors-plus/

Viewing 8 replies - 1 through 8 (of 8 total)

What version of WordPress are you using?

Joshua

@joshuavalentin

Hi Pablo,

Thanks but I think I already got it.

Thanks anyway 🙂

– Joshua

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] User meta data not being displayed’ is closed to new replies.
Skip to toolbar