Remove link from photo and add post ID to the element for more versatility