Just Output

描述

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.

屏幕截图

  • Code edited with a text editor contains extra tags.
  • You can use Just Output to remove extra tags.

安装

  1. Upload just-output folder into your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

2021 年 3 月 25 日 1 回复
Perfect. I found multiple plugins that deactivate wpautop globally, but this was the first that allows me to use tags in specific areas of a page.
阅读所有1条评价

贡献者及开发者

“Just Output” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Just Output」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Just Output”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.9.7

  • Released: January 24, 2024
  • fixed: for WordPress6.4 and Classic Editor.

0.9.6

  • Released: June 20, 2022
  • fixed: for WordPress6.0 and Classic Editor.

0.9.5

  • Released: January 26, 2021
  • Minor fix.
  • add Screenshots.

0.9.0

  • Released: January 26, 2021
  • New release.