the problem is that I have a line in the field, but I need to output it so that after the “comma” the line is moved to a new paragraph.
At the moment I am a student and I need help.
$time_work = get_field(‘time_work’);
<code> <div class="time_work">
<span>Time work:</span>
<p><?=$time_work?></p>
</div>
p.s.($time-work = 'monday,saturday,sunday')
</code>
<code> <div class="time_work">
<span>Time work:</span>
<p><?=$time_work?></p>
</div>
p.s.($time-work = 'monday,saturday,sunday')
</code>
<div class="time_work">
<span>Time work:</span>
<p><?=$time_work?></p>
</div>
p.s.($time-work = 'monday,saturday,sunday')
New contributor
user24637569 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.