2017 © Pedro PelĂĄez
 

wordpress-plugin caption

WordPress plugin to override the default [caption] shortcode

image

quandigital/caption

WordPress plugin to override the default [caption] shortcode

  • Wednesday, September 16, 2015
  • by alpipego
  • Repository
  • 2 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

wp-quan-caption

WordPress plugin to override the default [caption] shortcode, (*1)

Usage

[caption src="IMAGEURL" width="WIDTH%"]CAPTION[/caption]
  • Although the width is specified in percentages, the shortcode creates a full class that is added to the container if width is 100 or a half class 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>

The Versions

16/09 2015

dev-master

9999999-dev

WordPress plugin to override the default [caption] shortcode

  Sources   Download

MIT

The Requires

 

16/09 2015

dev-dev

dev-dev

WordPress plugin to override the default [caption] shortcode

  Sources   Download

MIT

The Requires

 

16/09 2015

1.0.1

1.0.1.0

WordPress plugin to override the default [caption] shortcode

  Sources   Download

MIT

The Requires