[WordPress] 外掛分享: Simple Alert Boxes

首頁外掛目錄 › Simple Alert Boxes
WordPress 外掛 Simple Alert Boxes 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
400+
安裝啟用
★★★★
4.2/5 分(5 則評價)
2962 天前
最後更新
問題解決
WordPress 4.0+ v1.4.0 上架:2015-03-22

內容簡介

使用短代碼(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

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple Alert Boxes」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon