WordPress automatically inserts p and br tags, but disables them in shortcodes.
| Author: | ZIPANG (profile at wordpress.org) |
| WordPress version required: | 4.8.9 |
| WordPress version tested: | 6.8 |
| Plugin version: | 0.9.7 |
| Added to WordPress repository: | 26-01-2021 |
| Last updated: | 08-04-2025 |
| Rating, %: | 100 |
| Rated by: | 1 |
| Plugin URI: | |
| Total downloads: | 4 324 |
| Active installs: | 100+ |
![]() Click to start download |
|
When you enter the HTML code directly, the layout changes depending on the p and br tags that WordPress automatically inserts.
remove_filter( 'the_content', 'wpautop' );
It can be solved by adding the above code.
However, this will disable all auto-inserted p and br tags.
It is not user-friendly.
This plugin can be partially disabled.
Just enter the part you want to disable in the shortcode.
[jo]your HTML code[/jo]
The author of this plugin loves text editors.
Screenshots
ChangeLog


