该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Phee's LinkPreview

描述

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]

屏幕截图

  • Shortcode screenshot
  • Tooltips screenshot

安装

  1. Upload linkpreview plugin to you WordPress blog (in the /wp-content/plugins/ directory)
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Use it as a tooltip feature, or through shortcodes
  4. Rate it if you like it 🙂

常见问题

Installation Instructions
  1. Upload linkpreview plugin to you WordPress blog (in the /wp-content/plugins/ directory)
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Use it as a tooltip feature, or through shortcodes
  4. Rate it if you like it 🙂
Is this plugin using any external javascript?
  • You can choose between included WP jquery-ui Tooltip and Tooltipster JS that comes with a plugin
Does it support RTL
  • 是的

评价

2023年9月19日
I worked on a site from a new client and clearly had some kind of malware because I couldn't install or remove plugins and in mobile ads popped up from nowhere. I then suggested to switch hosting (it was in a awful one) to siteground. And their malware system identified this plugin as malware. Removed it and showed as cleaned so... Beware!
2016年9月3日
This is unique plugin. I was searching for something like this for a year! And I finally found this. It's great.
阅读所有6条评价

贡献者及开发者

“Phee's LinkPreview” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Phee's LinkPreview”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.6.3a

  • RTL support
  • using default url length (128) if not set or 0

1.6.4

  • CURL is no more mandatory to be installed/enabled

1.6.5

  • Fix for converting HTML entities

1.6.5a

  • minor change

1.6.7

  • Proper handling of error response (do not cache)