A shortcode looks something like this, and can be used in the WordPress post editor:
[shortcode] Content that goes inside it! [/shortcode]
They basically act as HTML (with an opening and closing tag), but in a lot simpler form. Shortcodes generally remove the need for you to memorize any HTML.
Here are all the shortcodes in KolFolio, and how to use them:
Colored Buttons ↩
Description: Creates a different colored button in your content.
[button color="red" link="http://domain.com/"] Button text here [/button]
- color=”" changes the color of the button. The colors currently available are green, red, orange, blue, gray, dark
- link=”" sets the link the button should direct to when clicked.
Portfolio Slider ↩
Description: Easily create an image slider with your latest portfolio pieces in it.
[slider] [item image="http://imageurl.com/"] [item image="http://imageurl.com/"] [/slider]
The slider images must always be wrapped in the
[slider] shortcode. You can add as many images as you want to the slider by adding this shortcode for each instance:
- image=”" adds the image to slide. Recommended width is 360×380, and slider will crop in any images larger than that automatically.
Half Block ↩
Description: Useful for creating 2 columns of content. See the dummy about page for an idea.
Screenshot: See See dummy about page
Wrap each column of text with this shortcode:
[half] This is paragraph 1, column 1. This is paragraph 2, column 1. [/half] [half] This is paragraph 1, column 2. This is paragraph 2, column 2. [/half]