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 comments

  1. I could cry – thank you so much for developing this – instantly the stupid I’ve been fighting with all morning has gone.

    Excellent and wish I’d looked for this years ago

    Thanks

  2. You’ve just saved me a lot of work!

    I made a script to batch import my youtube video’s and it added a in every single embedded youtube video. Thanks to this plugin it corrects those posts and shows the youtube video’s like it should do 🙂

  3. Hey John,

    Would it be possible for me to write a plugin that *modified* wpautop rather than disabling it? I only want to stop it from inserting tags inside my blockquotes, but keep the rest of the functionality.

  4. This is a marvelous plugin except for the fact that it will remove all paragraphs even those deliberately added into into the text editor.

  5. Thank you! It works! I am not still frustrated from the WordPress. It is horrible function – removing all the paragraph and break tags by the default wordpress settings. But I am still surprised, who had this stupid idea when programming the WordPress framework? Just tragedy…

Leave a comment

Your email address will not be published. Required fields are marked *