Coauthors version Versjon 3.1.1
The code looks like this. (Not my implementation, and perhaps outdated?)
$i = new CoAuthorsIterator();
$i->iterate();
echo ‘<div class=”byline”>’;
echo ‘ ‘.get_avatar(get_the_author_meta(‘user_email’) , $size = ’40’, $default = ” ).’‘;
echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’
</p>’;
// echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’‘.get_the_author_meta(‘user_email’).'</p>’;
echo ‘</div>’;
while($i->iterate()){
echo ‘<div class=”byline”>’;
echo ‘ ‘.get_avatar(get_the_author_meta(‘user_email’) , $size = ’40’, $default = ” ).’‘;
echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’
</p>’;
// echo ‘<p class=”byline author vcard”>’. __(”, ‘reverie’) .’ ‘. get_the_author() .’‘.get_the_author_meta(‘user_email’).'</p>’;
echo ‘</div>’;
}
-
This reply was modified 8 years, 4 months ago by
mskogly.
-
This reply was modified 8 years, 4 months ago by
mskogly.