How to wrap meta values seperated by comma in ? [closed]
If you are storing your meta values as a single string separated by commas, you can use the native PHP explode() to store them in an array: $ct = get_post_meta($post->ID, ‘ct’, true); // Store them in an array $country_array = explode(‘,’ , $ct); // Run a loop and echo them foreach( $country_array as $key => … Read more