Highlights any portion of text as text in the colored boxes.
Adds little style sheet file and short code to blog for highlighting some portion of text in a post as colored boxes. 7 styles are available. That may be warning, alert, info and download styled portion of the post’s text.
If you need to explore the source code of plugin, you can find it on GitHub.
Available languages:
If you have created your own language pack, or have an update of an existing one, you can send .po and .mo files to me (minimus AT simplelib.com) so that I can bundle it into Special Text Boxes.
Real examples of outputs you can see on the plugin page
Compare feature set of different editions of the STB plugin and choose exactly what you need.
/wp-content/plugins/
directoryUse short codes:
[stextbox id="ValidID"]Highlighted text here[/stextbox]
or (for captioned textbox)
[stextbox id="ValidID" caption="CaptionText"]Highlighted text here[/stextbox]
were
ValidID may be: alert, info, download, grey, black, warning, custom
CaptionText may be: any text you needed.
Use function stbHighlightText:
<?php if(function_exists('stbHighlightText')) echo stbHighlightText('Test of function stbHighlightText.', 'warning'); ?>
defined as
function stbHighlightText( $content = null, $id = 'warning', $caption = '', $atts = null )
Use stb shortcode inside stextbox shortcode
[stextbox]Some text [stb]Some text in the indoor box[/stb][/stextbox]
More about Special Text Boxes usage and customising read on the plugin page