Button (Bootstrap style)

The Button shortcode creates a Bootstrap structured button. It is required that the Bootstrap CSS framework is loaded.

Sample

Usage

[button type="warning" href="/some-url" target="_blank" class="custom classes"]Text on button[/button]

Options

style

Option Required Default
style no primary
Description
Determines the color style of the button
Values
warning, danger, info, success, primary, default

size

Option Required Default
size no lg (large)
Description
Determines the size of the button
Values
lg, sm

href

Option Required Default
href no '#'
Description
URL (href) of the page/site to go when clicking this button
Values
valid URL

target

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

class

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.
Last update: Tue, 13 Sep 2022 14:32:15