Developers
tallphil |
Download Stats
Today | 12 |
Yesterday | 15 |
Last Week | 99 |
All Time | 140,297 |
A custom post type for choosing images and content which outputs a carousel from Twitter Bootstrap using the shortcode [image-carousel]
.
The plugin assumes that you're already using Bootstrap, so you need to load the Bootstrap javascript and CSS separately.
- Download Twitter Bootstrap
- Bootstrap CDN (hotlink CSS and javascript files)
- Bootstrap Carousel in action
This plugin is available from the WordPress Plugins Directory: https://wordpress.org/plugins/cpt-bootstrap-carousel/. The source code is maintained on GitHub: https://github.com/ewels/cpt-bootstrap-carousel.
Shortcode Options
As of version 1.5, nearly all of these options can be set in the CPT Bootstrap Carousel Settings page. However, if you'd like different settings for different carousels, you can override these by using shortcode options...
-
interval
(default 5000)- Length of time for the caption to pause on each image. Time in milliseconds.
[image-carousel interval="12000"]
-
showcaption
(default true)- Whether to display the text caption on each image or not.
true
orfalse
. [image-carousel showcaption="false"]
- Whether to display the text caption on each image or not.
-
showcontrols
(default true)- Whether to display the control arrows or not.
true
orfalse
. [image-carousel showcontrols="false"]
- Whether to display the control arrows or not.
-
orderby
andorder
(defaultmenu_order
ASC
)- What order to display the posts in. Uses WP_Query terms.
[image-carousel orderby="rand"]
[image-carousel orderby="date" orderby="DESC"]
-
category
(default all)- Filter carousel items by a comma separated list of carousel category slugs.
[image-carousel category="homepage,highlights"]
-
id
(default all)- Specify the ID of a specific carousel post to display only one image.
- Find the image ID by looking at the edit post link, eg. post 109 would be
/wp-admin/post.php?post=109&action=edit
[image-carousel id="109"]
-
twbs
(default 2)- Output markup for Twitter Bootstrap Version 2 or 3.
[image-carousel twbs="3"]
Credits
This plugin was written by @tallphil with help and suggestions from several others including (but not limited to) @reddo, @joshgerdes, @atnon, @grahamharper, @rchq, @oheijo, @smtk, @cla63, @cookierebes and @sipman.
The Serbo-Croation translation was kindly provided by Borisa Djuraskovic from http://www.webhostinghub.com
The Spanish translation was provided by Chema Bescs from IBIDEM GROUP (https://www.ibidemgroup.com)
Contributing
If you would like to contribute to this plugin, please make a personal fork of the GitHub repository and then submit a pull request. For more details please see the contributing guide.
Releases (15 )
Version | Release Date | Change Log |
---|---|---|
1.12 | 2020-11-11 |
|
1.11 | 2020-04-17 |
|
1.10 | 2019-03-25 | |
1.9.1 | 2015-09-02 |
|
1.9 | 2015-02-09 |
|
1.8.1 | 2014-09-04 |
|
1.7 | 2014-09-04 |
|
1.8 | 2014-09-04 |
|
1.6 | 2014-03-31 |
|
1.5 | 2013-12-15 |
|
1.4 | 2013-10-25 |
|
1.3 | 2013-08-06 |
|
1.2 | 2013-07-29 |
|
1.1 | 2013-05-20 |
|
1.0 | 2013-05-20 |
|