WordPress automatically adding ” “?

Question

I’m not sure if is wordpress itself or Tiny MCE that’s doing it. But when switching between HTML and Visual editor it’s adding  , and adding an extra one each time I switch back and forth. I don’t even have a line break in the code, it seems to somehow be deciding where it wants to place them based on the tags in my html code.

What’s causing this and how do I fix it?

I’ve already tried this in the template functions file:

//disable auto p
remove_filter ('the_content', 'wpautop');
remove_filter ('comment_text', 'wpautop');
// Remove auto formatting
remove_filter('the_content', 'wptexturize');
remove_filter('comment_text', 'wptexturize');
remove_filter('the_title', 'wptexturize');
0
Dave 2 years 2020-01-09T08:40:12-05:00 0 Answers 86 views 0

Leave an answer

Browse
Browse