Plugin Directory

Special Text Boxes

How to insert special text box to post's text?

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

How to insert special text box to theme file (not to post)?

Use function stbHighlightText:

<?php if(function_exists('stbHighlightText')) stbHighlightText('Test of function stbHighlightText.', 'warning'); ?> 

defined as

function stbHighlightText( $content = null, $id = 'warning', $caption = '', $atts = null )

Can I use Special Text widget with Wordpress 2.7?

No! Special Text widget wrote with using Wordpress Widget Factory technology and this one can work only under Wordpress 2.8 and higher!

More about Special Text Boxes usage and customising read on the plugin page

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

100%
100,1,1 100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4 ratings)