How to take the posts from a specific author (2 posts)

  1. nl1983
    Posted 3 years ago #

    Hello, i am working in a blog which has several authors and every one of them can post. I made a biography of everyone author and i linked it in his avatar pic. I am trying to add in the sidebar thumbnails for the posts which every author has posted. My problem is that only the 9 most recently thumbnails posted are shown (was 9 post per page). how can i increase the number of the thumbnails from the specific author. I use this code:

        while ( have_posts() ) : the_post(); ?> 
        <div class="thumbnail-post tooltip" title="<?php the_title(); ?>">
          <a href="<?php the_permalink(); ?>">
              $args = array('class' => "thumbnail-size");
              echo get_the_post_thumbnail( $post->ID, 'thumbnail', $args );
    <?php endwhile; // End the loop while. ?>
  2. nl1983
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic