WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Jonathan Desrosiers v1.3.0

Toggle wpautop

Easily disable the default wpautop filter on a post by post basis.

Toggle wpautop

The facts

Rating
4.9★ from 32
Active installs
9k+
Price
Free
Last updated
7 Apr 2021
Added
Feb 2013
Requires WP
3.0
Tested up to
WP 5.7.17
Requires PHP
5.6
Downloads
110,013

Our analysis

AI-assisted

Toggle wpautop is a WordPress plugin that allows you to disable the wpautop filter for individual posts. This filter automatically converts line breaks into HTML tags, which can interfere with custom HTML markup in the post editor.

The plugin adds a checkbox in the post edit screen's publish meta box, enabling you to toggle this feature on or off for each post. It also includes a class for CSS styling related to the wpautop functionality.

Best for: This plugin is suitable for users who frequently input HTML markup in their posts and need more control over formatting.

What it does well

  • Disables wpautop filter on a per-post basis
  • Adds a checkbox in the post edit screen
  • Includes CSS class for styling

Where it falls short

  • Does not support the block editor
  • Limited information on compatibility with other plugins

Verdict

Toggle wpautop offers a straightforward solution for managing the wpautop filter, though its lack of block editor support may limit its use for some users.

From the developer

Jonathan Desrosiers's own description of Toggle wpautop, lightly tidied.

Note: This plugin does not support the block editor but should continue to work without issue when using it with custom post types and the Classic Editor Plugin.

Before WordPress displays a post’s content, the content gets passed through multiple filters to ensure that it safely appears how you enter it within the editor.

One of these filters is wpautop, which replaces double line breaks with <p> tags, and single line breaks with <br /> tags. However, this filter sometimes causes issues when you are inputting a lot of HTML markup in the post editor.

This plugin displays a checkbox in the publish meta box of the post edit screen that disables the wpautop filter for that post.

Also adds a ‘wpautop’, or ‘no-wpautop’ class to the post_class filter to help with CSS styling.

Read the full description on the official page →

Tagged as