このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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.

インストール

  1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the folder ‘link-preview’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

評価

2016年10月18日
I’ve made a few changes to this plugin so that the link preview looks very similar to those on Medium.com. I added a template and css to show the post image, title, description and original link in a card format (instead of just the image). I also added an extra parameter so you can paste any custom image in (if you don’t like the one attached to the link) You can see an example in the links I added for this article on my prototyping site. The only problem I had was with the lazy-loading setting, as I changed the image embed to a background image of a div so that I could centre the image If anyone is working on the plugin and wants my changes please find them here on GitHub
3件のレビューをすべて表示

貢献者と開発者

Super Link Preview はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Super Link Preview” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.1

Release date: December 3, 2014

  • Bug Fix: Rich editor shortcode button
  • Bug Fix: Removed WARNING notices when inserting new posts or broken remote images urls

1.0.0

  • Initial public release to the WordPress plugin repository