Support » How-To and Troubleshooting » wordpress adding <p> tags

wordpress adding <p> tags

  • I know this has been posted before, but I am posting it again because I badly need to find a solution.

    Every time I save a page wordpress will add a <p> item </p> tag around an image or piece of code. If i delete the <p> tag’s then hit update, it will just put them back. I can mask this problem by customizing the css for p tag margin and padding set to zero but then the formatting becomes skewed.

    I have TinyMCE Advanced installed but when i put multiple
    tags to make up for the useless <p> tags it will still delete the

    I have tried installing the following plugins which have been no help:
    disable-wpautop – 2 different versions

    but wordpress still keeps adding <p> tags.

    Ridiculously annoying!

Viewing 4 replies - 1 through 4 (of 4 total)
  • So there is no solution to this problem????

    This is my thread on the same issue:


    It is truly ridiculous… and makes for invalid mark-up at the browser end. Very frustrating.

    I also tried editing in text editor and removing all line breaks and adding into WP TinyMCE .. no go there either. Seems like for every p tag i get rid of another will pop in somewhere else..
    and they are not visible at all in text editor, just view source.

    I really do hope there is some sort of solution for this.




    Forum Moderator

    And your post was answered.

    As to the idea that you cannot cut/paste valid code into the post content box of WP and have it output that code as valid, that’s rubbish. I’ve been doing it for years and I always validate my pages/posts.

    I always have done that in Movable Type as well.
    I must be doing something wrong / or not understanding the way WP code view works.
    I will keep testing this.
    From all the ?’s about p tags on here I finally just assumed it was something that I had to live with.
    This is good news!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wordpress adding <p> tags’ is closed to new replies.