Buttons

A few examples of button shortcodes that you can use within any WordPress Page or Post, you can use the short code as below:

[button] Your Text [/button]

Different Sizes

Small Button Medium Button Large Button[button size="small"] Small Button [/button] [button size="medium"] Medium Button [/button] [button size="large"]Large Button[/button]

Different Colors

Black White Gray Red Blue Green Orange Yellow Magenta Pink [button style="black"] Button Text [/button]

Custom Colors

Custom Colors Custom Colors [button bgcolor='714500' textcolor='ffd99c'] Text [/button]

Options:

  • style: (default: black) » black, gray, white, blue, green, red, yellow, orange, pink, rosy, magenta
  • size: (default: small) » small, medium, large
  • align: (default: none) | optional » left, center, right
  • link: (default: #) » full page URL to follow when clicked
  • window: new | optional » open link in new window
  • bgcolor: (default: none) | optional » custom background color of the button
  • textcolor: (default: none) | optional » custom foreground color of the button
  • id: (default: none) | optional
  • class: (default: custom-button) | optional

Comments are closed.