When you create a field in the ACF (Advanced Custom Fields) plugin in WordPress, you can add an instruction to the field. Is there a way to add an break to it?
Yes - the ACF Instructions setting accepts some basic HTML.
A line break can be added using <br />.
1
votes
Well put @Tim Malone. I'm sharing an example for a description in one of my custom fields.
Wrap a word in a span tag to highlight:<br/><br/>
<code><span><span style="background-color: #ffffcc;">highlight</span></span></code>
<br/><br/>
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more