Home

Awesome

Agnosia Bootstrap Carousel

A tool that hooks the [gallery] shortcode with attribute type="carousel" in order to show a Bootstrap Carousel based on the selected images and their titles and descriptions.

This plugin assumes either your theme includes the necessary Bootstrap javascript and CSS files to display the carousel properly, or that you have included those files on your own. It will not include the files for you, so if they are not present, the carousel will not work and you will only obtain its bare HTML.

Current stable version: 1.1

Basic examples:

[gallery type="carousel" ids="61,60,59"]

Required attributes:

Otherwise, the default [gallery] shortcode function will be processed instead of this plugin's one.

Optional attributes:

Native supported attributes:

Extending

This plugin offers hooks for actions and filters, so you can modify its functionality or add your own.

Action hooks:
Filter hooks:

Installation

  1. Run git clone git@github.com:andrezrv/agnosia-bootstrap-carousel.git into your plugins folder. You can also download the plugin in zip format either from Github and the WordPress Plugin Repository, then open the file and upload the agnosia-bootstrap-carousel folder to your plugins directory.
  2. Activate the plugin through the Plugins menu into WordPress admin area.
  3. Start using the [gallery] shortcode to show a Bootstrap Carousel.

Contributing

If you feel like you want to help this project by adding something you think useful, you can make your pull request against the master branch :)

Donating

This plugin took a lot of work. If it is helpful to you on a regular basis, you may want to consider making a donation. I'll be really thankful with that, and try my best to provide a great support for all the people who use it :). Donations are processed securely via Paypal.

Changelog

1.1

1.0

0.3.1

Added new size attribute. Thanks to blogrammierer!

0.3

Fixed compatibility issues.

0.2

New optional attributes: width, height, titletag, wpautop, title, text, itemclass, containerclass, captionclass.

0.1

First release! Only available at the WordPress Plugin Repository