[WordPress] 外掛分享: Extract blockquote info

首頁外掛目錄 › Extract blockquote info
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
5480 天前
最後更新
問題解決
WordPress 2.0.2+ v1.2.1 上架:2008-08-13

內容簡介

此外掛可以從引言 (<blockquote>) 中取得 cite="" 和 title="" 的詳細資訊,並顯示於引用下方的來源連結和提及。其中,cite 用來放置引用來源的網址,title 則用來放置作者姓名或來源名稱。

以下是一個引言的範例 (HTML 標記):

<blockquote cite="http://www.quotedb.com/quotes/2369" title="Mahatma Gandhi">
Live as if you were to die tomorrow. Learn as if you were to live forever.
</blockquote>

在瀏覽器中的顯示效果如下:

Live as if you were to die tomorrow. Learn as if you
were to live forever.

— Mahatma Gandhi

此外掛參考了 Dunstan Orchard 的 JavaScript 程式碼,您可以參考 Dunstan 的示範頁面 (Dunstan's Demo page) 以了解其運作方式。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin extracts cite="" and title="" details from blockquote to display with attribution and link below the quote. cite field is for the web address of source quoted from. title for the name of the author or source.
An example of a typical block quotation (html mark-up) in use would like the following:

Live as if you were to die tomorrow. Learn as if you were to live forever.

When viewed on the web, it would look like:
Live as if you were to die tomorrow. Learn as if you
were to live forever.
— Mahatma Gandhi
This plugin is based on a javascript code by Dunstan Orchard. You might want to see Dunstan’s Demo page on how it works.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon