The fast and simple way to make all links pointing to images open in popup modal window.
Author: | Polkan (profile at wordpress.org) |
WordPress version required: | 3.5.0 |
WordPress version tested: | 4.3.1 |
Plugin version: | 1.3.2 |
Added to WordPress repository: | 28-01-2015 |
Last updated: | 24-10-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://p-api-shop.ru |
Total downloads: | 3 046 |
Active installs: | 60+ |
Click to start download |
Plugin uses light-weight Lytebox js-project by Markus F. Hay (http://lytebox.com, Creative Commons Attribution 3.0 License).
After activate, plugin will make modal-window-openable every link with href="...image" found in post (or page, or custom post) content.
To prevent link to be treated by plugin put "?" symbol on its end:
<a href="image.jpg">...</a> - opens in modal window
<a href="image.jpg?">...</a> - standard behaviour
You can show name and description of picture in modal window. Just put them into "title" and "data-description" attributes:
<a href="image.jpg" title="Picture name">...</a>
<a href="image.jpg" title="Picture name" data-description="This picture is...">...</a>
Settings:
- select color scheme
- disable autogroup images (Thus you can manually group images from one page to a several groups)
+++++++++++++++++++++
Находит в контенте все ссылки, которые ведут на изображения и делает их открывающимися в модальном окне
Чтобы сделать исключение, добавьте знак ? в конец адреса картинки
<a href="image.jpg">...</a> - откроется в модальном окне
<a href="image.jpg?">...</a> - откроется стандартно
Подпись и описание для изображения берутся из атрибутов title и data-description
<a href="image.jpg" title="Картинка 1">...</a>
<a href="image.jpg" title="Картинка 1" data-description="На этой картинке изображено...">...</a>
В настройках можно выбрать цветовую схему, а также отключить автогруппировку изображений (создавать группы для перехода по картинкам можно будет вручную).
Screenshots
ChangeLog