Multiple meta values for one meta key
If multiple entries are stored in a single meta key, then get_post_meta() will return an array of those values. get_post_meta( $post_id, ‘game’ ); // returns [‘game 1’, ‘game 2′] If you want to iterate through the collection, then you’ll just use a for-loop in PHP: $games = get_post_meta( $post_id, ‘game’ ); foreach( $games as $game … Read more