Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you figure this out yet?

    I would like the same feature on my page (same SimpleMag Theme).. I got it working in the byline area in the top, but still can’t figure out the boxes in the bottom..

    @mortenmou: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    This topic references an old version of WordPress.

    This should be a good start. It worked well in other themes.

    // 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'>". $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;
    }

    @esmi: Since it was the exact same thing i was gonna ask i thought it would be stupid to make a new topic, since it would be a dupe. But sure ill remember to next time.

    @gdfwilliams: Tnx, im gonna try that a bit later.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Displaying multiple Authors in a single post with a specific theme(Simple Mag)’ is closed to new replies.