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