[WordPress] 外掛分享: Phee’s LinkPreview

WordPress 外掛 Phee's LinkPreview 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Phee's LinkPreview」是 2015-03-10 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 600 個安裝啟用數。
  • 上一次更新是 2018-04-25,距離現在已有 2566 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

filipstepanov |

外掛標籤

url | link | preview | linkpreview | link preview |

內容簡介

這是一個簡單而輕量化的 WP(WordPress)外掛。它與 Facebook 的 URL 預覽類似,並且非常容易使用。

外掛使用位於 http://www.linkpreview.net 的免費 LinkPreview API 網路服務,並檢索基本的連結 SEO(搜尋引擎最佳化)資料。

此外,在外掛設定的儀表板中,您可以避免使用 API,直接從本地 Web 伺服器使用 CURL 或 file_get_contents 抓取連結資訊。

所有檢索到的連結資訊都可以存儲在快取中,以避免對高流量網站可能產生的性能影響。儀表板中的其他外掛設定中,有快取時間值,可以指定以分鐘為單位,將 URL 的資訊保留多長時間以供未來使用。

支援 LTR(從左到右)和 RTL(從右到左)的內容環境。

您可以使用兩種不同的外掛功能,工具提示和短代码:

工具提示

工具提示功能在內容加載時掛鉤,並掃描可能的連結匹配。每個匹配的連結都會被修改為附加屬性,因此當您將其懸停時,將顯示彈出窗口。

它使用外掛的 JavaScript 和 WordPress Ajax 在需求時提供內容。

短代码

當通過短代碼使用時,它的工作方式相同,只是不需要懸停,類似 Facebook 的 URL 預覽顯示靜態內容。

短代码使用範例:

[link_preview]http://…[/link_preview]

原文外掛簡介

This is simple and lightweight plugin for WP. It works similar to Facebook’s url preview and it’s very easy to use.
Plugin uses free LinkPreview API web-service at http://www.linkpreview.net and retrieves basic link SEO data.
Additionally, in dashboard plugin settings you can avoid using API and scrap the link information directly from local web server using CURL or file_get_contents.
All the link info retrieved can be stored in cache to avoid possible performance impact on high traffic websites. Aside other plugin’s settings in dashboard, there is Cache time value where you can specify in minutes how long to keep URL’s information for future use.
Both LTR and RTL content environments are supported.
Two different plugin features are at your disposal, tooltips and shortcode:
Tooltip
Tooltip feature hooks on content load and scans for possible link matches. Each link matched is being modified with additional attributes, so when you hover them, popup is shown.
It’s using plugin’s JavaScript and WordPress Ajax to deliver content on demand.
Shortcode
When used through shortcodes it works the same way, just no hover needed but static content like Facebook’s URL preview will be shown.
Shortcode usage example:
[link_preview]http://…[/link_preview]

各版本下載點

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

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


最新版本

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon