Any issues or things to know using remove_filter for wpautop?
-
I’ve had some issues with pasting html with classes into the text tab when creating pages. When I first did it I was getting an extra paragraph that was empty which I as able to get rid of by making sure my <p> tags had classes.
Also, but I’m not sure if this is related, I’m getting user agent style sheet CSS with margin-block-start & margin-block-end which I had to set to zero to get rid of extra margins.
I’m hoping that
remove_filter( 'the_content', 'wpautop' );
will fix those issues. I wanted to know before I do it if there are any issues that will be created as a result of the remove_filter action and if the single line of code above is all I need?
- The topic ‘Any issues or things to know using remove_filter for wpautop?’ is closed to new replies.