Описание
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.
Пример использования шорткода:
[link_preview]http://…[/link_preview]
Скриншоты
Установка
- Upload linkpreview plugin to you WordPress blog (in the
/wp-content/plugins/
directory) - Активируйте плагин используя меню ‘Плагины’ в WordPress
- Use it as a tooltip feature, or through shortcodes
- Rate it if you like it 🙂
Часто задаваемые вопросы
- Installation Instructions
-
- Upload linkpreview plugin to you WordPress blog (in the
/wp-content/plugins/
directory) - Активируйте плагин используя меню ‘Плагины’ в WordPress
- Use it as a tooltip feature, or through shortcodes
- Rate it if you like it 🙂
- Upload linkpreview plugin to you WordPress blog (in the
- 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
-
- да
Отзывы
Участники и разработчики
«Phee's LinkPreview» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Phee's LinkPreview» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.6.3a
- Поддержка RTL
- 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)