Repeater Stripping HTML Elements #249
nickdutson
started this conversation in
Coding (HTML, PHP, CSS, JS)
Replies: 1 comment
-
|
Hi @nickdutson, Some WYSIWYG/RTF custom fields created via a custom plugin may not properly show line breaks when using Dynamic Data > Custom Field for a Text element. Displaying the field should work by wrapping the <?php
echo nl2br(get_post_meta(get_the_id(),'custom_field_name',true));
?>If you still have issues with this, please open a Support Ticket (https://oxygenbuilder.com/support) so we can investigate further. Please also provide a link to this discussion in the ticket. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a FAQ page. This page is using CPT and each FAQ is a separate post. I am using ACF for each FAQ post and the Oxygens Repeater field to display them. Everything is working great except the Answer field is stripping the HTML element tags such as paragraph, bold, ordered lists, etc. The Answer field is a WYSIWYG ACF field. Because it is stripping those elements it is just displaying the content as one large paragraph. How can I make this display the HTML elements to beautify the content within the Answers?
Beta Was this translation helpful? Give feedback.
All reactions