added class hasthumbnail for h2 in lopp shortcode