Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(get_option('pyre_author') == 'On'): ?>
- <div class="post-box-wrapper first">
- <div class="post-box">
- <?php foreach( get_coauthors() as $coauthor ): ?>
- <h5>About the Author</h5>
- <?php echo get_avatar($coauthor->user_email, '75'); ?>
- <p><?php $coauthor->description; ?></p>
- <?php if(get_the_author_meta('twitter', $coauthor->ID) || get_the_author_meta('facebook',$coauthor->ID)): ?>
- <p>
- <?php if(get_the_author_meta('twitter',$coauthor->ID)): ?>
- <a href='http://twitter.com/<?php echo get_the_author_meta('twitter',$coauthor->ID); ?>'>Twitter</a>
- <?php endif; ?>
- <?php if(get_the_author_meta('twitter',$coauthor->ID) || get_the_author_meta('facebook',$coauthor->ID)): ?>
- -
- <?php endif; ?>
- <?php if(get_the_author_meta('facebook',$coauthor->ID)): ?>
- <a href='http://facebook.com/<?php echo get_the_author_meta('facebook',$coauthor->ID); ?>'>Facebook</a>
- <?php endif; ?>
- </p>
- <?php endif; ?>
- </div>
- </div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement