Button Shortcode

Button Shortcode

Shortcode Usage

[button href="http://"     The URL to go to when the button is clicked
        label=""           Button label
        color=""           The preset color to use. If blank, the default color set in styles will be
                           used
        size="normal"      Size of the button. Values can be xlarge, large, normal or small
        icon=""            The icon to display inside the button
        newwindow="false"  If true, the href link will open in a new window
        highlight_color="" You can use this instead of the color parameter. This is the color of the
                           highlight top area of the button. Value should be a hex color. Use this together
                           with the dark_color parameter
        dark_color=""      You can use this instead of the color parameter. This is the color of the
                           dark bottom area of the button. Value should be a hex color. Use this together
                           with the highlight_color parameter
        text_color=""      The text color to use instead of the preset one. Value should be a hex color.
                          
]
 
Button label here
 
[/button]

Color values:
    black, blue, green, gray, orange, pink, purple, red, teal and white
Size values:
    xlarge, large, small, or leave blank for normal size
Icon values:
    buy, call, category, check, download, info, magni, music, plus, question, rss, star, tag, upload, or leave blank for no icon


Customized colors

[button highlight_color="#8b0000" dark_color="#222222" size="large"]…[/button]
I'm a button
[button highlight_color="#666666" dark_color="#222222" text_color="#dddddd" size="large"]…[/button]
I'm a button

Buttons with icons

[button icon="buy"]Buy button[/button]

I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button


Extra large buttons

[button size="xlarge" color="color"]label[/button]

I'm a button I'm a button I'm a button
I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button


Large buttons

[button size="large" color="color"]label[/button]

I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button


Normal buttons

[button color="color"]label[/button]

I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button


Small buttons

[button size="small" color="color"]label[/button]

I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button I'm a button