I use the plugin "types" for WP. required from the admin to add and delete phones on the site. Created an additional field, allowed him multiple values (phone numbers can be several at the same time). When I try to display a field, I get all the values in a heap, I output it like this:
echo types_render_field('tel'); Those. if there are 2 fields with the numbers "1111" and "2222", then "11112222" is displayed. Previously, the problem was solved by a separator:
types_render_field('tel', array (separator => '<br>')); But now you need to make sure that each phone number is wrapped in a clickable link:
<a href = 'tel:1111'>1111</a> <br> <a href = 'tel:2222'>2222</a> and the separator does not save. Maybe someone knows how to divide the values so that they can be a cycle to deduce for example