Holder image placeholders for WordPress
This is WordPress plugin for convenient use of holder.js library by Ivan Malopinsky., (*1)
Holder generates customizable placeholder images right in browser, using JavaScript. You can use it both in templates (via template tag) and content (via shortcode)., (*2)
Example usage:, (*3)
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:, (*4)
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