I need to display author image along with posts. I used the following code to display posts with author image.
$the_query = new WP_Query("post_type=post&paged=".get_query_var('paged')); while ( $the_query->have_posts() ) : $the_query->the_post(); <?php the_excerpt(); ?> <p><?php the_author_image(); ?></p> <?php endwhile; ?>
But the author image didn't display. I couldn't track the error. How can i do this?