I have just about had it with this wpautop() function.
I’m trying to do a simple thing: insert a left-aligned image into my page. Problem is, despite my proper CSS, the image will only display in-line. A quick look at the source code reveals that wordpress is wrapping my image in
<p></p>tags and I cannot remove them for the life of me.
I’ve cleared my cash several times, tried several different wpautop removal plugins, tried to add the
remove_filter( 'the_content', 'wpautop' );(for the_excerpt as well), used the text/html tab exclusively, disabled and re-enabled TinyMCEadvanced until I’m blue in the face and I still can’t figure out what’s going on.
I’ve never had this problem before. Was there a big change in 3.5.1 that made these wpautop() removals different? Nothing I’ve tried via searching has worked. Can someone please help me out? 🙁
- The topic ‘Unwanted tags’ is closed to new replies.