Button Shortcodes

Description


Insert a standard HTML submit input or button. Buttons can also be created using links with anchor tags to direct users to other pages or sites.

Buttons

Impact Button

Impact buttons are specially designed to draw attention. They are large and use the heading font to set them apart from other buttons. Impact buttons are used in the “Call to Action” shortcode.
[button style="impactBtn" onclick="alert('An impact button');"]Impact Button[/button]

Standard Button


[button]Button Text[/button]

Parameters (Standard Button)

style
(string) (Optional) The button color and size, e.g. “white large”. This may contain any combination of size and color.
Size: small, medium (default), large
Color: dark, white, gray, orange, red, blue, green, black, impactBtn
title
(string) (Optional) Title attribute.
class
(string) (Optional) Class attribute.
id
(string) (Optional) ID attribute.
onclick
(string) (Optional) JavaScript onclick functionality.
name
(string) (Optional) Forms object name attribute.
value
(string) (Optional) Forms object value attribute.

Link Button


[button_link url="http://www.mysite.com"]Button Text[/button_link]

Parameters (Link Button)

url
(string) Link to follow when clicked.
target
(string) (Optional) Link target attribute: blank, parent, self, top.
style
(string) (Optional) The button color and size, e.g. “white large”. This may contain any combination of size and color.
Size: small, medium (default), large
Color: dark, white, gray, orange, red, blue, green, black
title
(string) (Optional) Title attribute.
class
(string) (Optional) Class attribute.
id
(string) (Optional) ID attribute.
onclick
(string) (Optional) JavaScript onclick functionality.

About CampGurus

CampGurus isn’t quite home away from home… that’s what camping is for, after all! But it’s the next best thing since the discovery of a graham cracker, chocolate, and marshmallow sandwich cooked to perfection with friends and family around a nice glowing campfire.

What we’re trying to say, is… if you love camping, you have found your new online home! Find your new favorite camping spots, share with friends and family, and plan your trips. It’s all right here, waiting for you like an old friend.

What is CampGurus?

CampGurus is a camping community. Gather here and make new friends, or connect with people you already know… send messages, form groups if ya’ll have similar tastes, OR just look around to discover new camping spots and look at photos and reviews to help you plan your trips. And… it’s free to join!

Follow Us Wherever You Are:

Follow us on whatever platform you are on!

Copyright © 2011 CampGurus. All rights reserved | Privacy Policy | Contact Us