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