On my home page, I'm showing the last 3 blog posts with their respective titles, texts and their featured images. I need to change the featured image at homepage to each blog to the image of the author blog post but I'm not sure where to put the function. Any ideas?
This is the function that ive always used:
<?php echo get_avatar( get_the_author_meta( 'ID' ) , 5); ?>