Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/quandigital/wp-quan-caption/archive/refs/heads/master.zipOn Packagist as quandigital/caption:
composer require quandigital/captionNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress plugin to override the default [caption] shortcode
Usage
[caption src="IMAGEURL" width="WIDTH%"]CAPTION[/caption]
- Although the width is specified in percentages, the shortcode creates a
fullclass that is added to the container if width is100or ahalfclass if the width is anything else. - If caption is empty (i.e. there is no content in the shortcode), only the images gets returned
Example
[caption src="http://www.quandigital.com/uploads/2014/08/3_kaufprozess.png" width="100"]Unterschiedliche Kaufentscheidungsprozesse bei Männern und Frauen (<a href="http://webmagazin.de/business/ecommerce/Webdesign-E-Commerce-Frauen-shoppen-anders-Maenner-auch-Gender-Commerce?page=2">Marti Barletta, 2006</a>)[/caption]
Output
<div class="content-image full">
<img src="http://www.quandigital.com/uploads/2014/08/3_kaufprozess.png" />
<div class="caption">
Unterschiedliche Kaufentscheidungsprozesse bei Männern und Frauen (<a href="http://webmagazin.de/business/ecommerce/Webdesign-E-Commerce-Frauen-shoppen-anders-Maenner-auch-Gender-Commerce?page=2">Marti Barletta, 2006</a>)
</div>
</div>Releases
1 release.
Tag
Published
1.0.0
latest
Jul 29, 2015 11 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.