[WordPress] 外掛分享: Embedder

首頁外掛目錄 › Embedder
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
200+
安裝啟用
尚無評分
2832 天前
最後更新
問題解決
WordPress 2.6+ v1.3.5 上架:2010-11-08

內容簡介

如果您正在尋找一種更簡單的方式來創建和管理嵌入式 HTML 和短代碼,那麼這就是它。 Embedder 允許您創建任意數量的 HTML 嵌入式,而無需編寫一行 PHP 代碼(儘管如果您需要這樣做,Embedder 也允許您這樣做)。

通過添加一個或多個自定義字段,為博客文章創建本地 HTML 嵌入式。任何方括號 [] 括起來的自定義字段名稱在文章中使用時將被識別為嵌入式。

例如,您可以通過添加像[b],[i],[quote],[link]等自定義字段來快速創建您自己的標籤語言,用於文章(和評論)。

在幾秒鐘內嵌入 YouTube 視頻、Google 地圖、Facebook 和 Twitter 按鈕等等。

Embed 屬性使您可以更輕鬆地添加更多彈性到您的嵌入式中。例如,要突出顯示帖子(和評論)中的任何文本,只需添加以下自定義字段:

名稱:[color]
值:<span style="color:%col%">%content%</style>

然後,在您的文章中,您可以像這樣使用嵌入式:

The quick [color col="brown"]brown[color] fox
jumps over the [color col="yellow"]lazy dog[/color].

%col%屬性將被您設置的值替換,而特殊的%content%屬性將被替換為開始和結束嵌入標籤之間的文本。

如果您想在所有文章中使用嵌入式,或者在側邊欄小工具中使用它們,可以使用 Manage Embeds 設置頁面創建全局 HTML 嵌入式,並利用以下高級功能:

使用嵌入式屬性增加您的嵌入式 HTML 的靈活性。
嵌套嵌入式(包括解決 WordPress 嵌套短代碼問題的解決方案)
為您的屬性設置默認值。
在標題和評論中也可以使用嵌入式。
自動嵌入 HTML 在博客文章和頁面的頂部和底部。
基於標籤、分類或父頁面,包括或排除自動嵌入式。
將您的嵌入式包裝在 div 或 span 中,以修改嵌入式的位置或外觀。
調用用戶指定的 PHP 函數,為您生成嵌入式的 HTML。
在側邊欄小工具中使用全局嵌入式,包括小工具標題。
嵌入式組-將您的全局嵌入式分組以保持組織。
導入和導出嵌入式。與他人共享嵌入式,或進行備份以供安全使用。
支持嵌入所有 Unicode 字符(例如中文、阿拉伯文、希伯來文等)。
使用個別的 CSS 樣式包裝嵌入式。
新功能!Ajaxified Embedder 管理器讓管理您的嵌入式更加輕鬆和快速。
新功能!功能強大的新 Embedder 解析器解決了 WordPress 短代碼問題。

有關更多信息,請前往 Embedder 插件的主頁,在那裡您將找到該插件的詳細文檔和 Embedder Plugin 支持論壇。

如果您決定使用 Embedder,請通過在 Embedder 插件支持論壇中留下反饋,讓我知道您的使用體驗。您無需註冊,只需前往那裡並發布您的評論即可。

已知問題

目前沒有任何已知問題。

外掛標籤

開發者團隊

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

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

原文外掛簡介

If you are looking for an easier way to create and manage embedded HTML and shortcodes then this is it. Embedder allows you to create as many HTML embeds as you like without writing a single line of PHP code (though if you need to do it, Embedder allows you to do that too).
Create local HTML embeds for blog post simply by adding one or more custom fields. Any custom field name enclosed in square brackets [] will be recognized as an embed when used in the post.
For example, you can quickly create your own tag language for posts (and comments) by adding custom fields like [b], [i], [quote], [link], etc.
And embed YouTube videos, Google Maps, Facebook and Twitter buttons, and much more in a matter of a few seconds.
Embed attributes makes it easy to add much more flexibility to your embeds. For example, to highlight any text in your posts (and comments), just add the following custom field:
Name: [color]
Value: %content%

Then, in your posts, you can use the embed like this:
The quick [color col="brown"]brown[color] fox
jumps over the [color col="yellow"]lazy dog[/color].

The %col% attribute is replaced by the value you set, and the special %content% attribute is replaced by the text between the open and close embed tags.
If you want to use your embeds in all your posts, or use them in your sidebar widgets, you can create global HTML embeds using the Manage Embeds settings page, and take advantage of the following advanced features:

Use embed attributes to increase the flexibility of your embedded HTML.
Nested embeds (including a workaround to WordPress’s nested shortcode problems)
Set default values for your attributes.
Use embeds in titles and comments too.
Auto-embed HTML at the top and bottom of blog posts and pages.
Include or exclude auto-embeds from posts/pages based on tags, categories, or parent pages.
Wrap your embeds in a div or span to modify an embed’s position or appearance.
Call out to a user-specified PHP function to generate the embed’s HTML for you.
Use global embeds in sidebar widgets too, including widget titles.
Embed groups — group your global embeds to keep them organized
Import and export embeds. Share your embeds with others, or make backups for safekeeping.
Support for embedding all unicode characters (e.g. Chinese, Arabic, Hebrew, etc).
Wrap embeds with individual CSS styles.
NEW!! Ajaxified Embedder Manager makes managing your embeds much easier and faster.
NEW!! Powerful new Embedder parser that solves WordPress shortcode problems.

For more information, go to the Embedder Plugin’s Home Page where you will find extensive documentation for the plugin, and the Embedder Plugin Support Forum.
If you decide the Embedder a whirl, please let me know how you get on by leaving feedback in the Embedder Plugin Support Forum. There is no need to register, just go there and post your comments.
Known issues
None at the moment.

延伸相關外掛

文章
Filter
Mastodon