Normal buttons

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.

[button color="blue" link="#"]Blue[/button]
[button color="primary" link="#"]Primary Color[/button]
[button color="white" link="#"]White[/button]

Customization

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.

[button color="white" link="http://google.com"]Open Google[/button]
[button color="orange" link="http://google.com" target="_blank"]New tab[/button]
[button color="black" link="#" size="small"]Small button[/button]
[button color="red" link="#" size="medium"]Medium Button[/button]
[button color="gray" link="#" size="large"]Large Button[/button]
[button color="blue" icon="twitter" link="#"]Twitter Icon[/button]
[button color="yellow" icon="music" link="#" icon_position="left"]Icon left[/button]

Aligns

Left

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Center

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Right

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

[button align="left" link="#" color="blue"]Align left[/button]
[button align="center" link="#" color="green"]Align center[/button]
[button align="right" link="#" color="gray"]Align right[/button]

Fullwidth button

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

[button fullwidth="true" link="#" color="black"]Fullwidth button[/button]

Usage

Here’re parameters of this shortcode:

  • link: The URL that button should link to
  • target_self to open link in same tab, _blank to open link in a new tab. Default is _self.
  • icon: an icon from the icon set.
  • icon_position: left or right. Default is right.
  • color: Button color. Its value can be any color: red, blue, orange… or a custom color code such as #12dada. Default is the primary color. You can also use color=”transparent” if you want it to be transparent color in a dark background. Use color=”white” for white button.
  • align: left, center or right. Default is left.
  • size: small, normal, medium or large. Default is normal.
  • fullwidth: true or false. Set true if you want the button to be fullwidth. Default is false.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です