Line breaks stripped from CPT in BeTheme template output
Hello,
I am using Betheme templates and dynamic post meta fields to display CPTs on my site. Any line breaks added to WSIWYG fields do not appear on the posts. I found a workaround by adding <br> tags with the field in text mode. However, if I toggle the field to visual, the code is stripped.
Our developer looked into a potential WordPress or ACF issue and here are his findings:
- ACF saves the value correctly in the database, including the HTML (
<br>tags). - A standard WordPress template/PHP output renders the content correctly.
- A default WordPress editor behaves as expected. https://lasbdc.jcwcreative.com/test/
- The issue only occurs when the content is rendered through the BeTheme template used for this CPT.
Comments
Hey,
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check that out.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks