Disable wpautop Plugin

A simple plugin to disable the WordPress wpautop function. This is the function that automatically formats your posts.

Installation

Installation is just like any WordPress plugin:

  • Download disable-wpautop
  • Unzip
  • Upload to /wp-content/plugins on your server
  • Activate the plugin

You can find full details of installing a plugin on the plugin installation page.

If you find that breaks (<br/>) are being stripped from your posts then look at this WordPress support page.

123 Responses to Disable wpautop Plugin

  1. John,
    I have today installed the plugin, but WordPress is Still (gRr) formatting my HTML when i place it in using the source editor. What version was this plugin built for please?
    Thanks
    Mark

  2. Using WordPress 2.1, the one that has the p/div tag issue.
    This plugin is a godsend to me. Thanks ever so much. I have gone two nights without sleep to fix that damn bug and now I can finally get some rest.

    Cheers to you, man.

  3. Apologies: I installed 2.1.2 from scratch and all seems to be well — thanks for this plugin! I’ll report back if there’s any weirdness.

  4. I’m using WP 2.1.3. I navigated to the Code tab and placed tags After that I saved the post. Now when i open the same post and again go to the Code view, the tags aren’t there anymore?

    You can have a look at my blog, the top post is the one that doesn’t retain the p tags. I installed Ardvark extension for FF (https://addons.mozilla.org/en-US/firefox/addon/4111) to see which code was WP applying to the paragraphs. It says “p class para” I have no class by the name of para in my CSS.

    Thanks in advance.

  5. Question for you: I have been editing and re-editing fricken tags over and over because WP keeps clearing out my "style=’float:right’". It works once, but if I go to re-edit the page for any reason, it strips out the style tag.

    will this plugin stop that behavior? Yes, I know, use css.

    ps, I highly recommend you get and install the "subscribe to comments" plugin. lets users subscribe to the comments and get notified when a comment is replied to. Generates more page views as well as happy commenters getting answers to their questions

  6. Rob, are you logged in as an admin user? WP can strip certain things out if you are not admin. This plugin may solve your problem (but then it may not be the fault of th