01Jul

WordPress AFC: How to write HTML code the instruction field without rendering as HTML

The instruction field in ACF will render as HTML so you can bold elements, add line breaks, etc. What if you wish to give users instructions about HTML tags without rendering them?

Write HTML code and tags in the ACF instruction field

Instead of < use &lt; for your tags.

And this will render as:

That is it, quick and easy.

Subscribe
Notify of

0 Comments
Oldest
Newest
Inline Feedbacks
View all comments