I need some help adjusting the code so that a profile pic shows up in posts but not on pages. Right now I have <?php echo get_avatar( get_the_author_email(), '50' ); ?> in the loop but that has resulted in authors images being on both post and pages.
Is there somewhere else I should put this so that only posts get pics? Or is there something else I should do in a different place to override this instruction on pages?
Many thanks for your help,