Title: Agnosia Bootstrap Carousel by AuSoft
Author: Andrés Villarreal
Published: <strong>മെയ്‌ 25, 2013</strong>
Last modified: ഡിസംബർ 7, 2014

---

Search plugins

![](https://ps.w.org/agnosia-bootstrap-carousel/assets/banner-772x250.png?rev=718267)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/agnosia-bootstrap-carousel_bfb2a9.svg)

# Agnosia Bootstrap Carousel by AuSoft

 By [Andrés Villarreal](https://profiles.wordpress.org/andrezrv/)

[Download](https://downloads.wordpress.org/plugin/agnosia-bootstrap-carousel.1.1.zip)

 * [Details](https://ml.wordpress.org/plugins/agnosia-bootstrap-carousel/#description)
 * [Reviews](https://ml.wordpress.org/plugins/agnosia-bootstrap-carousel/#reviews)
 *  [Installation](https://ml.wordpress.org/plugins/agnosia-bootstrap-carousel/#installation)
 * [Development](https://ml.wordpress.org/plugins/agnosia-bootstrap-carousel/#developers)

 [Support](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/)

## Description

Agnosia Bootstrap Carousel hooks the `[gallery]` shortcode with attribute `type="
carousel"` in order to show a [Bootstrap Carousel](http://getbootstrap.com/javascript/#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.

#### Basic example:

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

#### Required attributes:

 * `type`: it needs to be `type="carousel"`.
 * `ids`: you must provide a list of `ids` corresponding to attachments, like `ids
   ="1,2,3"`.

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

#### Optional attributes:

 * `name`: any name. String will be sanitize to be used as an HTML ID. Recommended
   when you want to have more than one carousel in the same page. Default: _agnosia-
   bootstrap-carousel_. Example: `[gallery type="carousel" ids="61,60,59" name="
   myCarousel"]`
 * `indicators`: indicators position. Accepted values: _before-inner_, _after-inner_,
   _after-control_, _false_ (hides indicators). Default: _before-inner_. Example:`[
   gallery type="carousel" ids="61,60,59" indicators="after-inner"]`
 * `width`: carousel container width, in `px` or `%`. Default: not set. Example:`[
   gallery type="carousel" ids="61,60,59" width="800px"]`
 * `height`: carousel item height, in `px` or `%`. Default: not set. Example: `[
   gallery type="carousel" ids="61,60,59" height="400px"]`
 * `titletag`: define HTML tag for image title. Default: _h4_. Example: `[gallery
   type="carousel" ids="61,60,59" titletag="h2"]`
 * `wpautop`: auto-format text. Default: _true_. Example: `[gallery type="carousel"
   ids="61,60,59" wpautop="false"]`
 * `title`: show or hide image title. Set _false_ to hide. Default: _true_. Example:`[
   gallery type="carousel" ids="61,60,59" title="false"]`
 * `text`: show or hide image text. Set _false_ to hide. Default: _true_. Example:`[
   gallery type="carousel" ids="61,60,59" text="false"]`
 * `containerclass`: extra class for carousel container. Default: not set. Example:`[
   gallery type="carousel" ids="61,60,59" containerclass="container"]`
 * `itemclass`: extra class for carousel item. Default: not set. Example: `[gallery
   type="carousel" ids="61,60,59" itemclass="container"]`
 * `captionclass`: extra class for item caption. Default: not set. Example: `[gallery
   type="carousel" ids="61,60,59" captionclass="container"]`
 * `control`: control arrows display. Accepted values: _true_ (to show), _false_(
   to hide). Default: _true_. Example: `[gallery type="carousel" ids="61,60,59" 
   control="false"]`
 * `interval`: the amount of time to delay between automatically cycling an item.
   If _false_, carousel will not automatically cycle. Default: _5000_. Example: `[
   gallery type="carousel" ids="61,60,59" interval="2000"]`
 * `pause`: pauses the cycling of the carousel on mouseenter and resumes the cycling
   of the carousel on mouseleave. Default: _“hover”_. Example: `[gallery type="carousel"
   ids="61,60,59" interval="hover"]`
 * `size`: size for image attachment. Accepted values: _thumbnail_, _medium_, _large_,
   _full_. Default: _full_. See [wp_get_attachment_image_src()](https://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src)
   for further reference. Example: `[gallery type="carousel" ids="61,60,59" size
   ="full"]`

#### Native supported attributes:

 * `orderby`: Alternative order for your images. Example: `[gallery type="carousel"
   ids="61,60,59" orderby="rand"]`
 * `link`: where your image titles will link to. Accepted values: _file_, _none_
   and empty. An empty value will link to your attachment’s page. Example: `[gallery
   type="carousel" ids="61,60,59" link="file"]`

#### Extending

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

Action hooks:

 * `agnosia_bootstrap_carousel_before_init`: Do something before the carousel is
   loaded.
 * `agnosia_bootstrap_carousel_init`: Do something after the carousel is loaded.

Filter hooks:

 * `agnosia_bootstrap_carousel_attributes`: Modify the attributes passed to the 
   shortcode.
 * `agnosia_bootstrap_carousel_posts`: Modify the `$post` objects that the shortcode
   is using.
 * `agnosia_bootstrap_carousel_container_style`: Modify the carousel container style.
 * `agnosia_bootstrap_carousel_item_style`: Modify the style of the carousel items.
 * `agnosia_bootstrap_carousel_output`: Modify the full HTML output of the carousel.
 * `agnosia_bootstrap_carousel_container`: Modify the HTML output of the carousel
   container tag.
 * `agnosia_bootstrap_carousel_inner`: Modify the HTML output of the carousel inner
   tag.
 * `agnosia_bootstrap_carousel_caption_container`: Modify the HTML output of the
   caption container tag.
 * `agnosia_bootstrap_carousel_img_container`: Modify the HTML output of the image
   container tag.
 * `agnosia_bootstrap_carousel_img`: Modify the HTML output of the item image tag.
 * `agnosia_bootstrap_carousel_excerpt`: Modify the HTML output of the image caption.
 * `agnosia_bootstrap_carousel_indicators`: Modify the HTML output of the indicators
   element.
 * `agnosia_bootstrap_carousel_control`: Modify the HTML output of the control element.
 * `agnosia_bootstrap_carousel_javascript`: Modify the output of the carousel Javascript.
 * `agnosia_bootstrap_carousel_make_array`: Modify the list of `$post` IDs that 
   the carousel is using.

#### Contributing

You can make suggestions and submit your own modifications to this plugin on [Github](https://github.com/andrezrv/agnosia-bootstrap-carousel).

For more information, visit [our website](http://aufieroinformatica.com).

## Screenshots

 * [[
 * This is how you should use the shortcode.
 * [[
 * This is how it should appear in your website. Note that your theme styles may
   override Bootstrap styles.
 * [[
 * This is an approximation on how the resultant HTML code should look like.

## Installation

 1. Unzip `agnosia-bootstrap-carousel.zip` and upload the `agnosia-bootstrap-carousel`
    folder to your `/wp-content/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](http://twitter.github.io/bootstrap/javascript.html#carousel).

## Reviews

![](https://secure.gravatar.com/avatar/2c633332f94afb95146df0ee07c412fa6d35813f24ebce3416c6b3ac8563c297?
s=60&d=retro&r=g)

### 󠀁[Great carousel for Bootstrap users](https://wordpress.org/support/topic/great-carousel-for-bootstrap-users/)󠁿

 [Jason King](https://profiles.wordpress.org/jasoncharlesstuartking/) സെപ്റ്റംബർ
3, 2016

Just worked, with next to no configuration or messing around. Pleased to see so 
many good Bootstrap plugins lately. Feature suggestion: enabling fade instead of
slide.

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/)

## Contributors & Developers

“Agnosia Bootstrap Carousel by AuSoft” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Andrés Villarreal ](https://profiles.wordpress.org/andrezrv/)

[Translate “Agnosia Bootstrap Carousel by AuSoft” into your language.](https://translate.wordpress.org/projects/wp-plugins/agnosia-bootstrap-carousel)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/agnosia-bootstrap-carousel/),
check out the [SVN repository](https://plugins.svn.wordpress.org/agnosia-bootstrap-carousel/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/agnosia-bootstrap-carousel/)
by [RSS](https://plugins.trac.wordpress.org/log/agnosia-bootstrap-carousel/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Improvements on filters. See [commit](https://github.com/andrezrv/agnosia-bootstrap-carousel/commit/d94762d1)
   for details.

#### 1.0

 * Support for random order.
 * Support for link type (“attachment image”, “media file” and “none”).
 * Add “Bootstrap Carousel” option to gallery types when using Jetpack Tiled Galleries.
 * Custom filters and actions.
 * Object oriented code.
 * Better inline docs.

#### 0.3.1

Added new _size_ attribute. Thanks to [blogrammierer](https://wordpress.org/support/profile/blogrammierer)!

#### 0.3

Fixed compatibility issues.

#### 0.2

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

#### 0.1

First release!

## Meta

 *  Version **1.1**
 *  Last updated **11 വര്‍ഷങ്ങള്‍ ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0 അല്ലെങ്കില്‍ അതിലും ഉയര്‍ന്നത് **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/agnosia-bootstrap-carousel/)
 * Tags
 * [bootstrap](https://ml.wordpress.org/plugins/tags/bootstrap/)[carousel](https://ml.wordpress.org/plugins/tags/carousel/)
   [images](https://ml.wordpress.org/plugins/tags/images/)[responsive](https://ml.wordpress.org/plugins/tags/responsive/)
   [slider](https://ml.wordpress.org/plugins/tags/slider/)
 *  [Advanced View](https://ml.wordpress.org/plugins/agnosia-bootstrap-carousel/advanced/)

## Ratings

 5ൽ 4.4 നക്ഷത്രങ്ങൾ.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/reviews/)

## Contributors

 *   [ Andrés Villarreal ](https://profiles.wordpress.org/andrezrv/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/agnosia-bootstrap-carousel/)