Show only first image of multiple image field
Below are four examples of getting a list of items, returning the first and showing a single image from the first id. explode assumes your data is in a string separated by commas. get_attached_media pulls all the attached items in a post then renders the first from that list get_post_meta assumes the data lives in … Read more