rarst/holder

This package is abandoned and no longer maintained. No replacement package was suggested.

Quick and flexible placeholders, created right in browser.

Installs: 263

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0

Type:wordpress-plugin

2.0 2014-03-20 17:15 UTC

This package is auto-updated.

Last update: 2022-02-01 12:33:03 UTC


README

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.