Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

No Format Shortcode

Skildring

This plugin provides a shortcode to selectively disable WordPress» automatic formatting. Very useful for anyone looking to write some custom HTML, but doesn’t want to completely diasble wpautop.

Usage

Wrap any HTML content, or content for which you wish to disable formatting inside of the [noformat] shortcode, like this:

[noformat]
  • This content won't be formatted.
You'll notice no automatic

's or
's are added within this shortcode. [/noformat]

Installasjon

  1. Upload the no-format-shortcode folder to the /wp-content/plugins directory
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. That’s it! Start using the [noformat] shortcode.

Vanlege spm.

Installation Instructions
  1. Upload the no-format-shortcode folder to the /wp-content/plugins directory
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. That’s it! Start using the [noformat] shortcode.

Omtalar

23. april 2018
I find the ability to selectively turn of wpautop very handy. This will definitely be a plugin I keep in my toolbox just in case. Thanks!
Les 1 omtale

Bidragsytarar og utviklarar

“No Format Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0

  • Start of a simple plugin.