內容簡介
WordPress 讓你能輕易地在其他網站中嵌入你的內容,若該網站支援 oEmbed 協定更是方便。但在很多情況下,該網站並不支援 oEmbed,這時你就需要在該網站中貼上完整的嵌入代碼。此外掛可以直接在文章編輯頁面提供嵌入代碼。
你也可以選擇在前端顯示文章的嵌入代碼,以內建的短碼或內容區塊讓使用者更容易分享。短碼可以客製化預設的寬度和高度選項,並透過指定文章 ID 顯示其他文章的嵌入代碼。
功能
在文章編輯頁面找到嵌入代碼
在複製代碼之前客製化嵌入寬度和高度
透過短碼或內容區塊將嵌入代碼加入你的內容
與 5.0 版本相容的後臺顯示 and custom block type
與現行經典編輯器完全相容
如何貢獻
如果你想貢獻 Easy Post Embed Code,你可以 fork GitHub 儲存庫,所有拉取請求都會被審查,並在符合此插件目標的情況下合併。
外掛標籤
開發者團隊
原文外掛簡介
WordPress allows you to embed your content in any other site easily. This is great if the site in which you are embedding your content supports oEmbed, but in many cases it does not. In these cases you will need to paste the full embed code on the site in question. This plugin provides that embed code for you directly on the post edit screen.
You can also choose to display the post embed code on the frontend, allowing other people to share your content more easily, with the built-in shortcode or content block. The shortcode can be customised to include default width and height options, as well as show the embed code for any other post by optionally specifying the post ID.
Features
Find your embed code directly on the post edit screen
Customise the width and height of the embed before copying the code
Add the embed code to your content with a shortcode or content block
Fully 5.0 compatible with meta box and custom block type
Fully backwards compatible with the current Classic Editor
How to contribute
If you want to contribute to Easy Post Embed Code, you can fork the GitHub repository – all pull requests will be reviewed and merged if they fit into the goals for the plugin.
