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日
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.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.