Skip to content

A WordPress plugin for the jQuery plugin Booklet

Notifications You must be signed in to change notification settings

schneidr/wp-booklet

Repository files navigation

WP Booklet

This plugin adds jQuery Booklet as a shortcode to WordPress.

Install

Create the folder $wordpress/wp-content/plugins/wp-booklet and place all files in it. Activate the plugin in the WordPress plugin section.

Use

There are currently two ways to use the shortcode

[booklet]<div><img src="image1.jpg" /></div>
<div><img src="image2.jpg" /></div>
<div><img src="image3.jpg" /></div>
<div><img src="image4.jpg" /></div>
<div><img src="image5.jpg" /></div>
<div><img src="image6.jpg" /></div>[/booklet]

This is fine for a small number of images, but for a larger number it is not very userfriendly. You can place all image files into a directory on the webserver.

[booklet dir="relative/path/from/wordpress-root"]

The shortcode will use all .jpg-Files it finds in there and list them in the manner shown above.

Supported parameters

The following parameters of Booklet can be used in the shortcode.

  • id
  • closed

This list will grow in the future.

Changelog

Version 0.1 (2012-12-01)

  • initial version

Version 0.1.1

  • updated booklet.js to version 1.4.2

Credits

WP Booklet is written and maintained by Gerald Schneider.

jQuery Booklet is written and maintained by http://builtbywill.com

License

This software is published under the CC BY 3.0 licence

Booklet is available under the MIT licence

About

A WordPress plugin for the jQuery plugin Booklet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages