20+
November 14, 2024
July 9, 2013
For backward compatibility:
For designers, developers and documenters [bw_css] supports echoing of the custom CSS, allowing you to document the CSS you are using.
For readability, the CSS is processed using the Generic Syntax Highlighter (GeSHi) processing.
If the oik base plugin is activated
Use the [bw_autop] shortcode to disable or re-enable WordPress’s wpautop() logic.
Use the experimental [bw_background] shortcode to display an attached image in the background.
If you want to read more about the oik plugins then please visit the
oik plugin
“OIK – OIK Information Kit”
This code is no longer dependent upon the oik base plugin; it uses shared libraries.
If you want to use the shortcodes then using oik v3.3.7 or higher is still recommended.
[bw_css] your CSS goes here [/bw_css]
Note: The ending shortcode tag [/bw_css] is required
Either
[bw_css .] your CSS goes here[/bw_css]
or
[bw_css text="Annotation to the CSS that will follow"] your CSS goes here[/bw_css]
Use the [bw_geshi] shortcode.
e.g.
[bw_geshi html]<h3>[bw_css], [bw_geshi] & [bw_background]</h3><p>Cool, lazy smart shortcodes from oik-plugins.</p>
[/bw_geshi]
Supported languages are:
If you want to display syntax highlighted CSS without affecting the current display use [bw_geshi css].
oik-css delivers a subset of GeSHi version 1.0.9.0, which was released in May 2017, with modifications to support PHP 7.2
Only a small selection of the languages are supported by oik-css. These are the languages primarily used by WordPress.
Note: oik-css will only load the GeSHi code if it is not already loaded.
| Version | Download | Type |
|---|---|---|
| 2.3.1 | Download | Stable |
| 2.3.0 | Download | Stable |
| 2.2.0 | Download | Stable |
| 2.1.3 | Download | Stable |
| 2.1.2 | Download | Stable |
| 2.1.1 | Download | Stable |
| 2.1.0 | Download | Stable |
| 2.0.1 | Download | Stable |
| 2.0.0 | Download | Stable |
| 1.1.1 | Download | Stable |
| 1.1.0 | Download | Stable |
| 1.0.0 | Download | Stable |
| 0.9.0 | Download | Stable |
| 0.8.1 | Download | Stable |
| 0.8.0 | Download | Stable |
| 0.6 | Download | Stable |
| 0.5 | Download | Stable |
| 0.4 | Download | Stable |
| 0.2 | Download | Stable |
| Development | Download | Trunk |