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