loadHTML($author_writer_post_content);
// Find and display the first image in the post content
$images = $dom->getElementsByTagName('img');
echo ($images->length > 0)
? '
'
: '';
?>