[Plugin: Simple Fields] remove wpautop
-
I have set
remove_filter('the_content', 'wpautop');
in my functions.php and that works for my posts and pages. However my Simple FIelds HTML Editor content seems to be running wpautop still. Certainly I am getting<br/>
and<p>
inserted where I don’t want them… Is there a hook to use to remove this?I’ve actually found the code: Line 357 in function_post.php. Setting
$do_wpautop
to false solve it. However editing the plugin is a bad idea long term. Does anyone know of a “safe” way to do this?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[Plugin: Simple Fields] remove wpautop’ is closed to new replies.