[WordPress] 外掛分享: CodePen Embed Block

前言介紹

  • 這款 WordPress 外掛「CodePen Embed Block」是 2020-01-16 上架。
  • 目前有 800 個安裝啟用數。
  • 上一次更新是 2024-11-13,距離現在已有 172 天。
  • 外掛最低要求 WordPress 5.1 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

andrewtaylor-1 |

外掛標籤

code | embed | codepen | gutenberg |

內容簡介

CodePen 是一個線上的前端開發程式碼編輯器。您可以使用 HTML、CSS、JavaScript 及其相關的語言和函式庫來建立一些東西(我們稱作 Pens)。任何一個 Pen 都可以嵌入到其他網站上,讓它們可以應用於部落格文章、文件、論壇等用途。

這個 Gutenberg 外掛程式讓嵌入 CodePen 變得更容易。雖然在 Gutenberg 裡 oEmbed(只需貼上 Pen 的 URL!)也適用於 CodePen 的嵌入,但這個外掛程式允許更多的控制,例如設定高度、主題和預設標籤。

原文外掛簡介

CodePen is an online code editor for front-end development. You build things (we call them Pens) with HTML, CSS, and JavaScript, and the languages and libraries that go along with those. Any Pen can be embedded on another site, making them useful for blog posts, documentation, forums, etc.
This Gutenberg block makes it easy to embed them. While oEmbed (just paste in a Pen URL!) also works for CodePen embeds in Gutenberg, this plugin allows for much more control, like setting the the height, theme, and default tabs.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CodePen Embed Block」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • CodePen oEmbed 》新增 CodePen 給可用的 oEmbed 提供者, 如果您正在使用 WP-Markdown 插件以 Markdown 方式撰寫博客,oEmbed 就無法運作,但 Jetpack 現在啟用了 Markdown 博...。
  • WP-Gistpen 》「WP-Gistpen」是一個自助式的替代方案,可將您的程式碼片段放在 Gist 上。您使用 WordPress 是因為希望能掌握自己的創作,那為什麼還要把程式碼片段交給 Gis...。
  • WordPen 》CodePen 是一個「前端網頁的遊樂場」,您可以在上面撰寫公開的 HTML/CSS/JS 演示,稱為 Pens。它是網頁設計師的靈感之泉,也是學習撰寫、組織和分享前端程式...。

文章
Filter
Apply Filters
Mastodon