I've created a custom field named 'Essential Info', which I plan to allow the admin to add a list of values to. E.g.
No Pets On-site doctor Car Parking 100m from beach
...etc.
However, I'm not entirely sure how I can achieve this with custom fields. I was hoping that I could somehow allow the user to separate these values with a comma, and in the template tell it to output a separate list item everytime a value is separated by a comma.
At the moment, this is my code which obviously outputs whatever is in the custom field, but I need the admin to be able to add a list of values rather than a single line value:
<ul>
<li><span>
<?php if ( function_exists('get_custom_field_value') ){
get_custom_field_value('Essentials', true);
} ?>
</span></li>
</ul>
Thanks