Quick and flexible placeholders, created right in browser.
PHP
Latest commit 1dcc500 Apr 20, 2015 @Rarst Changed readme header
Permalink
Failed to load latest commit information.
php Updated for coding style Apr 19, 2015
.gitignore
composer.json Updated dependencies and committed lock file. Apr 19, 2015
composer.lock
holder.php
readme.md Changed readme header Apr 19, 2015

readme.md

Holder image placeholders for WordPress

This is WordPress plugin for convenient use of holder.js library by Ivan Malopinsky.

Holder generates customizable placeholder images right in browser, using JavaScript. You can use it both in templates (via template tag) and content (via shortcode).

Example usage:

holder( array( 'height' => '50', 'width' => '50', 'theme' => 'industrial' ) );
Image [holder height="50" width="100" text="thumbnail"] in content
holder_add_theme( 'wordpress', 'd54e21', '464646' );

Installation

Plugin is a Composer package and can be installed via:

composer create-project rarst/holder --no-dev

Changelog

2.0

  • Composer package and autoload
  • class renamed and namespaced
  • general cleanup and rewrite

1.1

  • (dependency update) holder.js v1.8
  • (enhancement) implemented font argument for font family of text

1.0.2

  • (docs) added Ivan Malopinsky account to contributors
  • (enhancement) added default text support for custom themes

1.0.1

  • (docs) fixed wrong function name in examples

1.0

  • Initial public release.