Special Text Boxes

Description

Adds little style sheet file and short code to blog for highlighting some portion of text in post as colored boxes. That may be warning, alert, info and download portion of post’s text.

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.
This plugin is using jQuery ColorPicker plugin by Stefan Petre

Screenshots

  • Examples of special text boxes
  • Special Text Boxes Parameters Page
  • Special Text Boxes Box Editor
  • Special Text Boxes Themes Selector
  • Insertion dialog. Basic Settings
  • Insertion dialog. Extended Settings
  • Special Text widget. Admin Page

Installation

  1. Upload plugin dir to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use short codes in the text of post to highlight any portion of it.

FAQ

Installation Instructions
  1. Upload plugin dir to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use short codes in the text of post to highlight any portion of it.
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 )
How to insert special text box into special text box?

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

Contributors & Developers

“Special Text Boxes” is open source software. The following people have contributed to this plugin.

Contributors

“Special Text Boxes” has been translated into Russian. Thank you to the translators for their contributions.

Translate “Special Text Boxes” into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.

Changelog

5.9.107

  • The tinyMCE dialog bug has been fixed

5.8.106

  • WordPress 4.8 compatibility

5.7.105

  • Some improvements on admin pages
  • Removed deprecated functions

5.6.103

  • Some changes to prevent vulnerability of plugin have been made

5.5.102

  • WordPress 4.6 ready

5.5.101

  • WordPress 4.5 ready

5.5.100

  • WordPress 4.4 compatibility
  • Language pack is updated. Swahili by Andrew Mwaniki is added.

5.4.98

  • The bug of creating DB table with charset utf8mb4 is solved.

5.3.97

  • WordPress 4.3 compatibility

5.3.95

  • Minor bug fixed

5.3.94

  • Conflict between STB and SAM was resolved

5.3.93

  • Made some improvements
  • Ready for WordPress 4.1

5.2.91

  • The possibility of manipulating custom themes has been removed by request of administration of wordpress.org plugins repository.

5.1.90

  • Minor bug of JS mode is resolved
  • Dynamic CSS mode is optimized

5.1.88

  • TinyMCE 4 compatibility bug is fixed
  • NoImage bug is fixed
  • WordPress 4 compatibility is tested

5.0.86

  • TinyMCE compatibility bug is fixed

5.0.85

  • Themes of context boxes is added
  • Javascript codes are improved
  • PHP codes are improved
  • Bugs are fixed

4.5.81

  • Major bug is fixed

4.5.80

  • CSS mode is optimized
  • Output codes are optimized
  • Media Loader is added
  • Language pack is updated. Spanish by Andrew Kurtis is added.
  • Some bugs are fixed

4.4.75

  • Text Line Height settings are added.
  • Some bugs are resolved.

4.3.73

  • Language pack is updated. Slovak by Branco is added

4.3.72

  • Static Style Sheet mode (CSS mode) is added
  • User Level is changed to Capability

4.2.70

  • Bug of STB output function is fixed.

4.1.69

  • Some bugs are fixed.
  • Control of block’s shadow from short codes is added.
  • Improvements in the interface of plugin are made.
  • Compatibility with “WordPress Post Tabs” plugin is added.

4.0.65

  • Styles repository is added
  • Javascript drawing mode is added
  • New Styles Editor is added
  • New rules of text blocks drawing are added
  • Some bugs are resolved

3.10.60

  • Italian language pack is updated.

3.10.59

  • Minor bug are fixed
  • Language pack is updated. Turkish by Serhat ESEN is added

3.9.57

  • The amount of the parameters adjusted “on the fly” is increased
  • The output html code meets the requirements of the markup validity of Web documents

3.8.55

  • Now the plugin codes are using WordPress 3.0+ standards (PHP5 only)
  • WordPress Settings API are used
  • Now the plugin uses “resources saving technology” for saving server resources in blog runtime mode.

3.7.52

3.7.51

  • Tool Button bug are fixed.
  • STB in STB shortcodes are added.

3.6.49

3.5.45

  • Language pack is updated. Dutch by Rene are added.

3.5.44

  • Floating mode bug are fixed
  • stbHighlightText function bug (collapsed option) are fixed
  • CSS3 styles are fixed

3.4.41

  • Insertion Dialog bug are fixed

3.4.40

  • Font size parameters are added
  • Bug of caption size is eliminated
  • Language pack is updated. Arabic language by مدونة رسين is added.
  • Support of text direction is added.
  • Codes are optimised

3.3.35

  • Collapsing/Expanding mode of captioned Special Text Boxes was extended
  • PHP codes was optimised
  • JS codes was optimised

3.2.32

  • Collapsing/Expanding of captioned Special Text Boxes was added
  • Codes was optimised

3.1.29

  • Some admin page improvements was added
  • Codes was optimised

3.0.27

  • Special Text widget was added
  • Special Text Box Float Mode was added

2.0.25

2.0.23

  • Uzbek language pack by Alisher Safarov added
  • WordPress 2.8.4 compatibility tested

2.0.22

  • Direct output codes optimised
  • Italian language pack updated

2.0.20

  • Plugin style sheet optimised
  • Big icons for simple (non-captioned) boxes added
  • Short Codes Insert Dialog added
  • Output function added
  • Plugin codes optimised

1.2.13

  • Belarus language by Fat Cower added
  • WordPress 2.8.1 compatibility tested

1.2.12

1.2.11

  • custom box added
  • custom editor added
  • customising “on the fly” added
  • WordPress 2.8 compatibility checked

1.1.7

  • black box margins bug fixed

1.1.6

  • codes and variables cleanup
    • admin page codes optimised
    • activation codes optimised for future upgrades
  • margin settings added

1.0.1

  • Initial upload