Henrik Harju
Henrik Harju

Reputation: 95

ACF visual wysiwyg field not displaying formatting

My ACF WYSIWYG field is not displaying formatting on the front end once a post is published.

Screenshot of how it looks in wp admin: enter image description here

But once this goes live it just goes into a mush of text without spacing. Strong tags seem to stay.. enter image description here

Using this to display the WYSIWYG acf field:

<?php (the_field('description')); ?>

Upvotes: 0

Views: 6253

Answers (2)

Henrik Harju
Henrik Harju

Reputation: 95

Solved.

It was a tinyMCE setting. For others tick this:

enter image description here

The job descriptions are now formatted at https://workfromhomejobs.me/remote-developer-jobs/

Upvotes: 0

Neelesh Chakraborty
Neelesh Chakraborty

Reputation: 201

Try

the_field('description', false, false); 

The third parameter is for format value. You may also check the documentation: https://www.advancedcustomfields.com/resources/the_field/

Upvotes: 1

Related Questions