Linux 软件免费装

OnHover Link Preview

开发者
更新时间 2024年1月16日 07:42
PHP版本: 5.6 及以上
WordPress版本: 6.4.2
版权: GPLv2 or later
版权网址: 版权信息

标签

links free blog embeds link preview mshots

下载

1.0 1.0.1 1.0.2

详情介绍:

OnHover Link Preview plugin automatically adds link preview pop-ups so visitors can see the preview of the hyperlink without leaving your website, and just hovering over the link. Whether users are reading your blog or webpage, they can get a preview of the linked content and get a peak of the preview of the webpage refered. This plugin uses "mShots" as a third party service to get the previews. mshots is a Website Thumbnail/Snapshot Service from Automattic licenced GPL-2.0. No data of your's or your website, is being sent or shared with mShots. You can find it's licence and policy details from the below URL: https://github.com/Automattic/mShots/blob/master/LICENSE

安装:

From within WordPress' dashboard:
  1. Go to Plugins -> Add New
  2. Search for "OnHover Link Preview".
  3. Click "Install".
  4. Click "Activate".
  5. Now the on mouse-hover link previews will be shown.
  6. Navigate under the Link Preview menu to configure addiotional settings for the plugin.

屏幕截图:

  • Backend.

常见问题:

Can I use this plugin for free?

Yes, absolutely! You can use this plugin free of cost, without any sort of restrictions or pricing.

I am always seeing a "Generating Preview" screenshot when hovering on my links?

Well, this is a kind of limitaion from mShots. They need some time to fetch the website's screenshot for the first time, in their server. Once they have a screenshot in their server for that specific link, you will not see that "Generating preview" message anymore. So to get rid of this, after publishing any new post or page, hover on all the links you added there so that mShots generates a preview of that, and your visitors do not see that message anymore.

I don't like the current preview box's style.

You can change the styling/design of the preview box easily by applying styles in the ".on-hover-link-prev" class. You can change the background colour, padding, body-shadow etc. If even after applying styles doesn't reflect any changes, try using the "!important" property.

How can I exclude the preview from certain pages?

Currently, it's not possible to exclude the preview from certain pages. But, you can exclude the preview in specific Elements (Ex: h1, h2 ), Classes (Ex: .class1, .another-class ) or even specific IDs (Ex: #my-id, #id1).

Will this plugin's functionality slow my pages down?

Seemingly impossible! Only one JS file is being loaded on the frontend, which is a minified version, having a size of 1.13 KB. And the request to get the previews are loaded on hover, means, it will not have any impact of the TTFB or the first contentful paint. The previews are cached as well, to avoid sending multiple preview requests.

更新日志:

1.0 1.0.1