Shortcodes

With tons of shortcodes to choose from, Intense WordPress Site Builder allows you to quickly create beautiful pages. Since each shortcode comes with many options, it is simple to make the shortcodes fit the look of your website. Intense enables you to build modern layouts like the pros with little effort.

Check out the image to the right to see all of the available shortcodes with Intense.

*Click the above image to see a larger version.

What Is A Shortcode?

“A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.” – WordPress.com

“Shortcodes in WordPress are little bits of code that allow you to do various things with little effort. They were introduced in WordPress 2.5, and the reason to introduce them was to allow people to execute code inside WordPress posts, pages, and widgets without writing any code directly. This allows you to embed files or create objects that would normally require a lot of code in just one single line.” – wpbeginner.com

How To Use A Shortcode?

A shortcode is wrapped in brackets ([]). Most shortcodes have an opening and a closing shortcode. The opening shortcode will have the brackets surrounding it. The closing shortcode will have the brackets, but will also have a “/” in it as the first character inside of the brackets. Here is an example button shortcode.
shortcode:
[intense_button]Button[/intense_button]
result:
Button
The above shortcode has the opening shortcode, [intense_button], and the closing shortcode, [/intense_button]. The text “Button” in the middle is the text on the button.

Shortcodes will typically have additional options available that allow the user to tailor the result to their liking. If we use the example above and we want to change the size and color of the button and add an icon, the shortcode might look like the following.

shortcode:
[intense_button size=”large” color=”success” icon=”heart”]Button[/intense_button]
result:
Button

Example Shortcodes

//Here is an example of an Animated shortcode that uses an Image shortcode
[intense_animated type=”fadeIn” trigger=”delay” delay=”1500″]
[intense_image imageid=”9739″ size=”square75″ /]
[/intense_animated]
//Here are a few examples of Button shortcodes
[intense_button gradient=”1″ border_radius=”2″ color=”muted”]Gradient[/intense_button]
[intense_button size=”large” color=”success” icon=”heart”]Icon Left[/intense_button]
[intense_button size=”large” color=”primary” border_radius=”5″]Radius 5px[/intense_button]
//Here is an example of an Alert shortcode
[intense_alert]
This is a standard alert.
[/intense_alert]