[WordPress] 外掛分享: Shortcake (Shortcode UI)

首頁外掛目錄 › Shortcake (Shortcode UI)
WordPress 外掛 Shortcake (Shortcode UI) 的封面圖片
10,000+
安裝啟用
★★★★
4.1/5 分(24 則評價)
2618 天前
最後更新
問題解決
WordPress 4.5+ v0.7.4 上架:2015-03-17

內容簡介

Shortcake 可與 add_shortcode 搭配使用,提供使用者友善的介面來將 shortcode 加入文章中,並在內容編輯器中查看和編輯。

安裝外掛後,您需要註冊 Shortcode UI才能使用。為了啟發您,請參考使用 Shortcake 的範例。

報告錯誤或功能需求,請使用 Github issues。

執行測試

我們使用 PHPunit 進行 PHP 測試,使用 Jasmine 進行 JavaScript 測試。

在本機執行測試

可以使用 grunt jasmine 執行 Jasmine 測試,也可以在 grunt scripts 任務中執行。若要更新 Jasmine 測試套件使用的 WordPress 核心檔案,請執行 grunt updateJasmineCoreScripts --abspath="/path/to/wordpress-install"。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.7.4) 或搜尋安裝

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

原文外掛簡介

Used alongside add_shortcode, Shortcake supplies a user-friendly interface for adding a shortcode to a post, and viewing and editing it from within the content editor.
Once you’ve installed the plugin, you’ll need to register UI for your shortcodes. For inspiration, check out examples of Shortcake in the wild.
To report bugs or feature requests, please use Github issues.
Running tests
We have test coverage for PHP using PHPunit, and JavaScript using Jasmine.
Running tests locally
Jasmine tests can be run using grunt jasmine and are also run as part of the grunt scripts task. To update the core WordPress files used by the Jasmine test suite, run grunt updateJasmineCoreScripts --abspath="/path/to/wordpress-install".

延伸相關外掛

文章
Filter
Apply Filters
Mastodon