[WordPress] 外掛分享: Show Hide Accordion by MediaArt

首頁 › 外掛目錄 › Show Hide Accordion by MediaArt
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
30 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.1.0 上架:2026-01-30

內容簡介

Show Hide Accordion by MediaArt 外掛提供簡單的短碼來顯示和隱藏內容,並能創建手風琴式的內容組合,提升網站的互動性和可讀性。

【主要功能】
• 提供多層次短碼支持
• 自訂按鈕樣式與顏色
• 支援手風琴分組功能
• 可選擇 jQuery UI 動畫效果
• 保留舊版短碼的相容性

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Show Hide Accordion by MediaArt」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Show Hide Accordion by MediaArt provides shortcodes for showing and hiding content and for creating accordion groups.

Native shortcode: [ma_collapse]...[/ma_collapse]
Nested native shortcodes: ma_collapse_level2 through ma_collapse_level7
Legacy compatibility: bg_collapse, legacy level shortcodes and bg_collapse_preset1
Original view styles: link, faq-link, link-inline, link-list, button-orange, button-red, button-green and button-blue
Original icon values: arrow, zoom and eye
Optional jQuery UI effects and animation speed
Optional accordion grouping
Legacy inline_css behavior is preserved for the link/button control
The unsafe legacy onclick attribute is intentionally ignored

The plugin is written to follow WordPress.org best practices, including capability checks, nonces, sanitization/escaping and translatable source strings.
Usage
Basic native shortcode:
[ma_collapse]Hidden content[/ma_collapse]
Custom labels:
[ma_collapse expand_text=”Show more” collapse_text=”Show less”]Hidden content[/ma_collapse]
Original orange button style:
[ma_collapse view=”button-orange” color=”#72777c” icon=”arrow” expand_text=”Show More” collapse_text=”Show Less”]Hidden content[/ma_collapse]
Legacy markup:
[bg_collapse view=”button-orange” color=”#72777c” icon=”arrow” expand_text=”Show More” collapse_text=”Show Less”]Hidden content[/bg_collapse]
Accordion grouping:
[ma_collapse group=”faq”]Item 1[/ma_collapse] [ma_collapse group=”faq”]Item 2[/ma_collapse]
Nested content:
[ma_collapse]Outer [ma_collapse_level2]Inner[/ma_collapse_level2][/ma_collapse]
See the Help tab in the plugin administration for all supported attributes and compatibility notes.

延伸相關外掛

文章
Filter
Mastodon