The Button shortcode creates a Bootstrap structured button. It is required that the Bootstrap CSS framework is loaded.
[button type="warning" href="/some-url" target="_blank" class="custom classes"]Text on button[/button]
Option | Required | Default |
---|---|---|
style | no | primary |
Description |
---|
Determines the color style of the button |
Values |
---|
warning , danger , info , success , primary , default |
Option | Required | Default |
---|---|---|
size | no | lg (large) |
Description |
---|
Determines the size of the button |
Values |
---|
lg , sm |
Option | Required | Default |
---|---|---|
href | no | '#' |
Description |
---|
URL (href) of the page/site to go when clicking this button |
Values |
---|
valid URL |
Option | Required | Default |
---|---|---|
target | no | _same |
Description |
---|
Determines how to open the link (href), in the same page (default) or in a new tab |
Values |
---|
_blank , _same |
Option | Required | Default |
---|---|---|
class | no | blanks |
Description |
---|
Custom classes that can be added to this shortcode |
Values |
---|
String of additional custom classes to be added to the alert. Delimited by blanks. |