Maarten Wolfsen
Maarten Wolfsen

Reputation: 1733

WordPress' ACF plugin: break at instructions field

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?

Upvotes: 2

Views: 2158

Answers (2)

DeFeNdog
DeFeNdog

Reputation: 1210

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>&lt;span&gt;<span style="background-color: #ffffcc;">highlight</span>&lt;/span&gt;</code>
<br/><br/>

Upvotes: 1

Tim Malone
Tim Malone

Reputation: 3534

Yes - the ACF Instructions setting accepts some basic HTML.

A line break can be added using <br />.

Upvotes: 5

Related Questions