WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Not getting them formatted the way I want (3 posts)

  1. ontargetpro
    Member
    Posted 2 years ago #

    OK, so right now I'm showing:
    Author (no special formatting)
    Co-Author (no special formatting) and
    Author (formatted for my theme)
    For example, please see this post:
    http://belleville.myhomecareblog.com/2012/05/02/help-for-belleville-caregivers-coping-with-agitated-alzheimers-sufferers/

    The code that shows the formatted bio looks like this:

    <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries  ?>
    								<div class="clearfix" id="entry-author-info">
    									<div id="author-avatar">
    										<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'themename_author_bio_avatar_size', 100 ) ); ?>
    									</div><!-- #author-avatar -->
    									<div id="author-description">
    										<h2><?php printf( esc_attr__( 'Brought to you by %s', 'theme1126' ), get_the_author() ); ?></h2>
    										<div class="entry-content"><?php the_author_meta( 'description' ); ?><br /><br /></div>
    										<div id="author-link">
    											<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
    												<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'theme1126' ), get_the_author() ); ?>
    											</a>
    										</div><!-- #author-link	-->
    									</div><!-- #author-description -->
    								</div><!-- #entry-author-info -->
    							<?php endif; ?>

    How can I get JUST that to show up for author and co author? Thanks!

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    Sorry for the delay. Still need help with this? It looks like the example you've shared has changed somewhat.

  3. ontargetpro
    Member
    Posted 2 years ago #

    Hi Daniel. Yes, I had to change the live example because it just didn't look right. I'd love to have bios formatted the way the theme shows them, but I can't get both authors to show up. I'd love some advice if you have some!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic