Viewing 1 replies (of 1 total)
  • I did this for an early version of this plugin, but it worked for me then:

    // About Author
    					if(get_post_meta($post->ID, 'post-option-author-info-enabled', true) == "Yes"){
    					$coauthors = get_coauthors();
    					foreach( $coauthors as $coauthor ):
    						echo "<div class='about-author-wrapper'>";
    						echo "<div class='about-author-avartar'><a href='". get_author_posts_url( $coauthor->ID, $coauthor->user_nicename )."'>". get_avatar($coauthor->user_email, 90, '', $coauthor->display_name) ."</a></div>";
    						echo "<div class='about-author-info'><div class='about-author-title gdl-link-title gdl-title'>About ". $coauthor->display_name ."</div>";
    						echo $coauthor->description;
    						echo " View all posts by <a href='". get_author_posts_url( $coauthor->ID, $coauthor->user_nicename )."'>". $coauthor->display_name ."</a>.";
    						echo "</div>";
    						echo "<div class='clear'></div>";
    						echo "</div>";
    					endforeach;
    					}
Viewing 1 replies (of 1 total)
  • The topic ‘changing loop’ is closed to new replies.