這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

URL-Preview-Box

外掛說明

The Plugin adds an link preview box to your post.
The link preview box will be displayed like in Facebook! 🙂

This plugin can be used for free for maximal 10 URL Preview Boxes.

Perhaps you are familiar with Facebook.
When you write a post in Facebook and you paste an URL into your text,
Facebook detects that URL and adds automatically information about that URL under your post.

This plugin does it not automatically, you have to use the extra button in the visual editor (“URL BOX”).
Or you just write [urlpreviewbox url=”\https://….”] into your text.
This plugin loads information about that URL from https://guteurls.de/ server.

  1. Title of that page
  2. Description of that page
  3. An URL of an image

And the plugin displays it below your post.

Facebook supports only one preview box per post.
This plugin supports many preview boxes within one post, if you want.

Do you want to see it live on production servers?

Look here (copy and paste the URLs into your browser):

Example web pages, who use it:

https://alien.de/news/

https://www.ufo-und-alienforum.de/index.php/Thread/30805-Verlassene-Orte-in-Baden-Württemberg/

https://hypnose54321.de/frankfurt/_news.php

:

HOW TO USE IT VIDEO:

http://www.youtube.com/watch?v=4_wIzQbPg84

Internationalization (i18n)

Currently we have the plugin configured so it can be easily translated and the following languages supported:

  • de_DE – German in Germany
  • en_US – English in the U.S.
  • zh_CN – China
  • es_ES – Spanish in Spain
  • ru_RU – Russian in the Russian Federation

If your language is not listed above, feel free to create a translation. Here are the basic steps:

  1. Copy “gurlpb-en.pot” to “gurlpb-LANG_COUNTRY.pot” – fill in LANG and COUNTRY with whatever you use for WPLANG in wp-config.php
  2. Grab a transalation editor. POedit works for us
  3. Translate each line

螢幕擷圖

  • First screen. Register to use full functionality.
  • Writing an post and adding an URL for the spacex.com career.

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • good-url-preview-box/gurlpb
  • gutenberg-boilerplate-es5/gurlpb

安裝方式

This section describes how to install the plugin and get it working.

e.g.

  1. Install the plugin through the WordPress plugins screen directly.
  2. Or (optional) unzip our archive and upload tthe plugin files to the /wp-content/plugins/plugin-name directory.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. Use the Settings->”URL Preview” screen to configure the plugin
  5. If you are a company, then please register at http://guteurls.de and paste your registration-code into the plugin setting page Settings->”URL Preview”

常見問題集

Why do I NOT see a preview box, when I write a post

This is correct. If you want to see the preview box, then you have to exit the admin area.
What you have to do is, save/update your post and then click on “View post” and then you see it.

Why does the preview box sometimes does not show up?

Sometimes there are not enough data to fill the preview box.
We do not support pdf-links, mp3-links, m4-links, …
Only html pages are supported.

Why does the preview box sometimes shows up only after reload?

It needs time to collect data from other webpages
and sometimes we have to make a screenshot from the page.
That needs some seconds.
When you click reload, then the data are available/collected/cached.

使用者評論

2019 年 8 月 18 日
After activating the plugin, the admin panel becomes unavailable - it is redirected to alien.de/news when the menu item is overloaded Add: Also plugin files in the wrong encoding.
2018 年 11 月 30 日
Advertises itself to look free, but you can only use ten boxes. What's the point? Feels like cheapo shareware to me. I'll just paste the media myself and add the link.
2017 年 9 月 14 日
Removed all the style buttons above the main text field in posts and pages edit. Problem might be related to your custom icon adding.
2016 年 11 月 25 日 1 則留言
The best preview box for WP with many adjustments
2016 年 10 月 31 日
That was really needed, because the automatic URL detection failed sometimes at very different designed WordPress templates. This is the WordPress plugin, what I exactly needed. I use it now and will use it in the next years for sure.
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈URL-Preview-Box〉的開發相關工作。

參與者

將〈URL-Preview-Box〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.20

Hot Bugfix for Gutenberg 5.3 – is_gutenberg_page() is not working in gutenberg anymore!?!?

1.19

Bugfix for user with licence-key: More then 10 preview box per post are allowed yet.

1.18

Bugfix for WordPress 4.9.9 and smaller

1.17

Support of the new WordPress Editor Gutenberg.
Plugin limit you to 10 Boxes, if you do not have purchased a licence key.

1.12

Added in admin area:
– Set maximal number of lines for a url preview box
– Change the clickable text link in an url preview box

1.11.3

Registration page added.

1.10.1

Better reset/reload of cached URL data

1.9.1

Added: Reset data for one single preview box (force reload image and description).

1.9

  • Statistics added. How many times are the preview boxed displayed. Many views in one user session is counted as one view.

1.8

Not used this version number.

1.7

  • Bugfix: Text: “Guteurls loading…” did not disapear. Now a js will hide it, after loading page.

1.6

  • Bugfix: Article title link to external URL
  • New feature: Admin settings: hide preview image

1.5

  • Excerpt: visible box in excerpt

1.4

  • bugfix: visible [urlpreviewbox url=….]

1.2

  • New feature: Now you can define manually in the text editor, which URL should have an URL preview box.

1.1

  • Minor bugfix

1.0

  • First public release.