display featured image in wordpress template code example Example: show featured image in post wordpress 'class1 class2' )) } else { ?>