Home › Forums › General Issues › P tags being stripped
For some reason when I create a child theme of Twentytwelve and use Advanced Custom Fields tags are replaced with tags.
http://altasurgerycenter.com/our-doctors/
Hi @JKNetDesign
tags are replaced with tags?
I think the Support forum has stripped out your html. Please remember to wrap your code.
Also, please provide the code you are using to render the value into the template
For some reason when I create a child theme of Twentytwelve and use Advanced Custom Fields the p tags are replaced with br tags.
http://altasurgerycenter.com/our-doctors/
Not sure what you mean. It’s just the WYSIWYG field in ACF. Are you regerring to the PHP statement the_field?
Hi @JKNetDesign
Yes, I am referring to the PHP code you are using.
Perhaps you have a filter that is causing p tags to turn into br tags? Have you checked your theme functions.php file?
Well, I have the main parent functions, and I have the child theme functions, and I have the page template itself. How can I get all these files to you?
Hi @JKNetDesign
I’m not hoping for you to send me a bunch of files, the ACF plugin is a developer tool and I would expect that you understand the code you have written and can debug the issue yourself.
Please search through your theme (parent and child) for any filters which could causing this issue.
The topic ‘P tags being stripped’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.