
內容簡介
使用短代碼(shortcode)來呈現具有回應式的警告框。
非常容易,只需使用短代碼即可。
例如:要顯示資訊訊息,請使用:
[alert type=”success”]這裡填入您的文字[/alert]
您也可以更改圖示大小:
[alert type=”success” icon-size=”big”]這裡填入您的文字[/alert]
短代碼屬性:
type(定義警告框的樣式)
info(顯示資訊樣式框)
success(顯示成功樣式框)
warning(顯示警告樣式框)
danger(顯示危險樣式框)
icon_size(定義圖示大小)
normal(正常大小的圖示)
small(小型圖示)
big(大型圖示)
hide-icon(不顯示圖示)
[alert type=”type” icon-size=”icon-size”]這裡填入您的文字[/alert]
示範及範例:http://www.rafael.mardojai.com/simple-alert-boxes-plugin/
Github儲藏庫:https://github.com/mardojai/Simple-Alert-Boxes-Wordpress-Plugin
外掛標籤
開發者團隊
原文外掛簡介
Use responsives alert boxes with shortcodes.
Is easy, only use the shortcode.
Example: For a info message use:
[alert type=”success”]Your text here[/alert]
Also you can change the icon size:
[alert type=”success” icon-size=”big”]Your text here[/alert]
Shortcode attributes:
type (defines the style of the alert box):
info (display a info style box)
success (display a success style box)
warning (display a warning style box)
danger (display a danger style box)
icon_size (defines the icon size):
normal (icon normal size)
small (icon small size)
big (icon big size)
hide-icon (no display the icon)
[alert type=”type” icon-size=”icon-size”]Your text here[/alert]
Demo & Examples: http://www.rafael.mardojai.com/simple-alert-boxes-plugin/
Github repository: https://github.com/mardojai/Simple-Alert-Boxes-Wordpress-Plugin
