Button Shortcodes

Button Shortcodes

Button

Insert a standard button.

[button_for_forms]Button Text[/button_for_forms]

Parameters

  • type: button, submit (optional)
  • title (title attribute) (optional)
  • class (class attribute) (optional)
  • id (id attribute) (optional)
  • name (forms ojbect name attribute) (optional)
  • value (forms ojbect value attribute) (optional)
  • onclick (javascript onclick functionality) (optional)

Samples

 

 

Button (with link)

Insert a button to act as a link.

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

Parameters

  • url (link to follow when clicked)
  • target: blank, parent, self, top (optional)
  • title (title attribute) (optional)
  • class (class attribute) (optional)
  • id (id attribute) (optional)
  • onclick (javascript onclick functionality) (optional)

Samples

Sample of Link Button