Button Shortcodes

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. Read more about WordPress shortcodes

Basic Usage

This is how you use the basic button shortcode to set the text and the url of the button.
A simple button

[ button href="#" ]A simple button[ /button ]

Size

Change the size of the button easily by adding size="medium" or size="large" to the shortcode. The default size is small.
A medium size button A large button

[ button size="medium" ]A medium size button[ /button ]
[ button size="large" ]A large size button[ /button ]

Color

Change the size of the button easily by adding color="orange" to the shortcode.
The default color is black.
An orange colored button

[ button size="medium" color="orange" ]An orange colored button[ /button ]

All colors include:

Try them all!