WordPress plugin intelligence profile

Agnosia Bootstrap Carousel by AuSoft

This plugin lets you use the [gallery] shortcode to show a Bootstrap Carousel.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.4
Current version1.1
WordPress coverageTested up to WordPress 4.4
Minimum stackWP 3.0 · PHP —
Directory statusactive
Last directory update7 Dec 201411y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating4.4 / 5 from 8 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Agnosia Bootstrap Carousel by AuSoft version 1.1 as active, updated 11y ago and tested up to WordPress 4.4.

Overview

About this plugin

Agnosia Bootstrap Carousel 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.

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() 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.

For more information, visit our website.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • bootstrap
  • carousel
  • images
  • responsive
  • slider
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.4

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.4.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.4
Minimum requirementsWordPress 3.0 · PHP not listed
Update activity7 Dec 201411y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.