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.
- Italian by Gianni Diurno
- Belarus by Fat Cower
- Uzbek by Alisher Safarov
- Polish by Daniel Fruzynski
- Arabic by مدونة رسين
- Dutch by Rene
- Ukrainian by official ukrainian localization team
- German by Renate
- Czech by Stanislav Čihák
- Turkish by Serhat ESEN
- Slovak by Branco
- Traditional Chinese by 断青丝
- Spanish by Andrew Kurtis
- Swahili by Andrew Mwaniki
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 provides 1 block.
- Special Text Highlights block of text as colored text block.
- Upload plugin dir to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- 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]
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')) echo stbHighlightText('Test of function stbHighlightText.', 'warning'); ?>
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
- Some improvements
- ReactJS based admin interface
- Special Text Block for Editor Page
- REST API
- WordPress 5.1 ready
- The tinyMCE dialog bug has been fixed
- WordPress 4.8 compatibility
- Some improvements on admin pages
- Removed deprecated functions
- Some changes to prevent vulnerability of plugin have been made
- WordPress 4.6 ready
- WordPress 4.5 ready
- WordPress 4.4 compatibility
- Language pack is updated. Swahili by Andrew Mwaniki is added.
- The bug of creating DB table with charset utf8mb4 is solved.
- WordPress 4.3 compatibility
- Minor bug fixed
- Conflict between STB and SAM was resolved
- Made some improvements
- Ready for WordPress 4.1
- The possibility of manipulating custom themes has been removed by request of administration of wordpress.org plugins repository.
- Minor bug of JS mode is resolved
- Dynamic CSS mode is optimized
- TinyMCE 4 compatibility bug is fixed
- NoImage bug is fixed
- WordPress 4 compatibility is tested
- TinyMCE compatibility bug is fixed
- Themes of context boxes is added
- PHP codes are improved
- Bugs are fixed
- Major bug is fixed
- 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
- Text Line Height settings are added.
- Some bugs are resolved.
- Language pack is updated. Slovak by Branco is added
- Static Style Sheet mode (CSS mode) is added
- User Level is changed to Capability
- Bug of STB output function is fixed.
- 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.
- Styles repository is added
- New Styles Editor is added
- New rules of text blocks drawing are added
- Some bugs are resolved
- Italian language pack is updated.
- Minor bug are fixed
- Language pack is updated. Turkish by Serhat ESEN is added
- 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
- 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.
- Language pack is updated. Czech by Stanislav Čihák are added.
- Tool Button bug are fixed.
- STB in STB shortcodes are added.
- Collapsed mode bug are fixed.
- Special Text Widget bug are fixed.
- Language pack is updated. Ukrainian by official ukrainian localization team is added.
- Language pack is updated. German by Renate is added.
- Language pack is updated. Dutch by Rene are added.
- Floating mode bug are fixed
- stbHighlightText function bug (collapsed option) are fixed
- CSS3 styles are fixed
- Insertion Dialog bug are fixed
- 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
- Collapsing/Expanding mode of captioned Special Text Boxes was extended
- PHP codes was optimised
- JS codes was optimised
- Collapsing/Expanding of captioned Special Text Boxes was added
- Codes was optimised
- Some admin page improvements was added
- Codes was optimised
- Special Text widget was added
- Special Text Box Float Mode was added
- Polish language pack by Daniel Fruzynski added
- Italian language pack updated
- Uzbek language pack by Alisher Safarov added
- WordPress 2.8.4 compatibility tested
- Direct output codes optimised
- Italian language pack updated
- Plugin style sheet optimised
- Big icons for simple (non-captioned) boxes added
- Short Codes Insert Dialog added
- Output function added
- Plugin codes optimised
- Belarus language by Fat Cower added
- WordPress 2.8.1 compatibility tested
- Italian language by Gianni Diurno added
- custom box added
- custom editor added
- customising «on the fly» added
- WordPress 2.8 compatibility checked
- black box margins bug fixed
- codes and variables cleanup
- admin page codes optimised
- activation codes optimised for future upgrades
- margin settings added
- Initial upload