Shortcodes

Theme Blvd shortcode demos and docs
  • Overview
  • Generator
  • Usage Examples
    • Alerts & Info Boxes
    • Buttons
    • Columns
    • Display Posts
    • Image Icons
    • Inline Elements
    • Small Components
    • Sliders
    • Tabs & Toggles
  • Vector Icons
  • Download Plugin
Home / Shortcodes / Small Components

Small Components

Popups

These come from the Bootstrap modal javascript plugin.

Note: Please keep in mind that this shortcode currently does not work great on small, mobile devices.

General Usage

Click me to see a popup

Title of popup

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Close

[popup text="Click me to see a popup" header="Title of popup"]
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
[/popup]

This popup will animate in

Title of popup

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Close

[popup text="This popup will animate in" header="Title of popup" animate="true"]
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
[/popup]

Contact Us!

Contact Us

This popup has a contact form inserted via Contact Form 7′s shortcode.
[contact-form 1]

Close

[popup text="Contact Us!" color="primary" icon_before="envelope" header="Contact Us" animate="true"]
This popup has a contact form inserted via Contact Form 7's shortcode.
[contact-form 1]
[/popup]

Options

Required arguments
 - text: Text of button to popup

Optional arguments
 - title: Title tag of button to popup (will default to $text)
 - color: Color of button (view button colors)
 - icon_before: Icon before text of button to popup (view icons)
 - icon_after: Icon after text of button to popup (view icons)
 - size: Size of button - mini, small, default, large
 - animate: Whether popup slides in or not - true, false
 - header: Header text for popup

Progress Bars

Get creative with this one. — We honestly couldn’t think of a whole lot of real-world uses for this shortcode, but we thought it was too cool of a Boostrap feature to leave out.

General Usage

[progress_bar percent="30"]

[progress_bar percent="60" striped="true"]

[progress_bar percent="90" striped="true" animate="true"]

Options

Required arguments
 - percent: A percentage of how far the bar is - 25, 50, 80, etc.

Optional arguments
 - color: Color of bar - default, danger, success, info, warning
 - striped: Whether the bar is striped or not - true, false
 - animate: Whether the bar is animated or not - true, false
Note: Apologies, but the striped effect and the animated effect will not work in IE. Maybe IE10 will get it right! Time will tell…
Note: For the bar to be animated, it must also be striped.

Colors

Color Example
Default
Danger
Success
Info
Warning

Icon Lists

After you’ve inserted a standard unordered list, wrap it in the [icon_list] shortcode to make it stand out a little more.

General Usage

  • List item 1
  • List item 2
  • List item 3
[icon_list]
<ul>
 <li>List item 1</li>
 <li>List item 2</li>
 <li>List item 3</li>
</ul>
[/icon_list]
  • List item 1
  • List item 2
  • List item 3
[icon_list icon="star"]
<ul>
 <li>List item 1</li>
 <li>List item 2</li>
 <li>List item 3</li>
</ul>
[/icon_list]
  • List item 1
  • List item 2
  • List item 3
[icon_list icon="star" color="#eec627"]
<ul>
 <li>List item 1</li>
 <li>List item 2</li>
 <li>List item 3</li>
</ul>
[/icon_list]

Also note that if you’re comfortable with basic HTML, you can accomplish icon lists with the following HTML markup.

  • List item 1
  • List item 2
  • List item 3

<ul class="tb-icon-list">
 <li><i class="icon-star"></i> List item 1</li>
 <li><i class="icon-star"></i> List item 2</li>
 <li><i class="icon-star"></i> List item 3</li>
</ul>

Options

Required arguments
 - icon: Icon to be used. (view icons)

Optional arguments
 - color: Color CSS value to get applied to icon, will default to current text color. Ex: #660000
  • Shortcodes
  • Alerts & Info Boxes
  • Buttons
  • Columns
  • Display Posts
  • Image Icons
  • Inline Elements
  • Sliders
  • Small Components
  • Tabs & Toggles
Theme Blvd Shortcodes - Download Plugin