I am hoping to basically have a system so that if the user posting the post is say, Joe, it will display Joe's image in the header. If the post is from Sally, it displays Sally's image.
<?php if ($post_author = 'admin') {
echo 'joes image here';
}
?>
Not sure how to code it exactly. It does say the message with that code oddly, however it doesn't matter WHAT author I put there, and it appears on every single post. Basically, how can I make it only appear on Joe's posts?