Home › Forums › General Issues › Removing Paragraph Tags from WYSIWYG Fields? › Reply To: Removing Paragraph Tags from WYSIWYG Fields?
we just upgraded our website with latest ACF plugin update Version 5.3.6.1.
Our WP 4.4.2
Our font-size just changed on few pages due to ACF adding <p></p>
we have below code in the functions.php so not sure why is not working now after update.
if( function_exists('acf_add_options_page') )
{
acf_add_options_page();
acf_add_options_sub_page(' Header ');
acf_add_options_sub_page(' Footer ');
acf_add_options_sub_page(' Shortcodes ');
acf_add_options_sub_page(' Contact-PageContent ');
// remove <p></p> from acf editor
remove_filter ('acf_the_content', 'wpautop');
}
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.