Text

Applies Bootstrap text utilities to inline content. Without any valid attribute the content is returned unchanged.

Text style examples
Text style examples

Examples

[bsv-text]Plain text[/bsv-text]
[bsv-text color="danger" emphasis="italic"]Important[/bsv-text]

Format

[bsv-text parameter="value" ...]your text here[/bsv-text]

Parameters

Parameter Description Default
color Text color: the eight Bootstrap styles, plus muted and white. empty
bg Background color: the eight Bootstrap styles. empty
align Text alignment: start, center, end. empty
transform Text transformation: lowercase, uppercase, capitalize. empty
weight Font weight: bold, bolder, normal, light, lighter. empty
emphasis italic, underline, line-through or strikethrough. empty

The content is passed through wp_kses_post.

Last updated: