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