[WordPress] 外掛分享: Super Link Preview

首頁外掛目錄 › Super Link Preview
WordPress 外掛 Super Link Preview 的封面圖片
80+
安裝啟用
★★★★
4.7/5 分(3 則評價)
4124 天前
最後更新
問題解決
WordPress 3.3.0+ v1.0.1 上架:2014-12-01

內容簡介

使用 Super Link Preview 插件,你可以在你的文章中获取任何外部链接的最相关的图片、适当的嵌入式媒体播放器或该链接网页的截图(类似于在 Facebook 或 Google+ 上分享页面时的效果)。

Super Link Preview 插件支持以下几种内容:

短链接(例如 t.co 或 bit.ly 链接)
媒体内容(WordPress 原生支持的所有格式 - https://codex.wordpress.org/Embeds)
OpenGraph 图片
网页截图

如果外部链接指向支持的媒体内容,则此插件将在页面中嵌入适当的播放器(通过 WordPress 原生的 oEmbed 函数 - https://codex.wordpress.org/Embeds)。
如果未找到支持的媒体,则插件将嵌入页面元数据中指定的 og:image。
如果未找到 og:image,则插件将解析目标外部链接,查找最相关的图片,并且丢弃比指定尺寸小和标准广告横幅尺寸的图片。
如果未找到相关的图片,则插件将对链接的页面进行截图(通过位于 http://s.wordpress.com/mshots/v1 的 WordPress 公共服务进行截图)。

你可以通过 forceshot dashcode 属性覆盖此工作流程,并强制插件拍摄所链接页面的截图。

短代码预览

[link-preview url=”链接到网站的链接” forceshot=”false”]

多站点兼容性

Super Link Preview 插件与 WordPress 多站点兼容,只需使用网络激活功能,在每个站点上启用短代码即可。如果你只想为特定网站启用短代码,请仅为该网站启用插件。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Get the most relevant image, or the appropriate embedded media player, or the page screenshot of any external link in your post (similar to what you get when you share a page on Facebook or Google+).
The Super Link Preview plugin supports:

shortened links (for example t.co or bit.ly links)
media content (all formats natively supported by WordPress – https://codex.wordpress.org/Embeds)
OpenGraph images
page screenshots

If the external link points to a supported media, this plugin embeds the appropriate player in the page (through the WordPress native oEmbed function – https://codex.wordpress.org/Embeds).
If no supported media is found, the plugin embeds the og:image specified in the page’s metadata.
If the no og:image is found, the plugin parses the target external link to find the most relevant image, discarding images smaller than specified size and standard ad banner sizes.
If not a relevant image is found, the plugin takes a screenshot of the linked page (through a WordPress public service located at http://s.wordpress.com/mshots/v1).
You can overrule the workflow and force the plugin to take the linked page’s screenshot with the forceshot dashcode attribute.
Shortcode Preview
[link-preview url=”link-to-website” forceshot=”false”]
Multisite Compatibility
The Super Link Preview plugin is compatibly with WordPress Multisite, just use the Network Activate feature to enable the shortcode on every site. If you only want to enable the shortcode for a specific site, activate the plugin for that site only.

延伸相關外掛

文章
Filter
Mastodon