Add if statement to showing author image in post footer