Support » Plugin: Co-Authors Plus » Show only Co-Authors, if there's one!

  • Resolved holapolitica

    (@holapolitica)


    Hi,

    How I set it only to show only co-Authors, if there’s one! I dont want it to show the Admin/User/Author… This is what I got right now!

    <?php
       if (function_exists('coauthors_posts_links')) {
    	  $coauthors = get_coauthors(); ?>
    	  <div class="post_author">
    	  <?php foreach( $coauthors as $coauthor ) : ?>
    	  <span><?php _e('Publicado por: ', 'holapolitica'); coauthors_posts_links(); ?></span>
    	  <?php echo $coauthor->description; ?>
    	  <?php endforeach; ?>
    	  </div>
    <?php } ?>

    And another thing, How I can making to only generate the 128px thumbnail.
    http://wordpress.org/extend/plugins/co-authors-plus/

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    You’ll need an if check:

    <?php
       if (function_exists('coauthors_posts_links')) {
    	  $coauthors = get_coauthors(); ?>
    	  <div class="post_author">
    	  <?php if ( count( $coauthors ) > 1 ) :
    foreach( $coauthors as $coauthor ) : ?>
    	  <span><?php _e('Publicado por: ', 'holapolitica'); coauthors_posts_links(); ?></span>
    	  <?php echo $coauthor->description; ?>
    	  <?php endforeach; endif; ?>
    	  </div>
    <?php } ?>

    And another thing, How I can making to only generate the 128px thumbnail.

    Sorry, that’s outside the scope of the support we offer with this plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Show only Co-Authors, if there's one!’ is closed to new replies.