Plugin / CPT Bootstrap Carousel
Phil EwelsDescription
Description
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 WordPress Theme
- Bootstrap CDN (hotlink CSS and javascript files)
- Bootstrap Carousel in action
If you’d like to contribute to this plugin, you can find it hosted on GitHub.
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″]
- Length of time for the caption to pause on each image. Time in milliseconds.
-
showcaption(default true)- Whether to display the text caption on each image or not.
trueorfalse.
[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.
trueorfalse.
[image-carousel showcontrols=”false”]
- Whether to display the control arrows or not.
-
orderbyandorder(defaultmenu_orderASC)- What order to display the posts in. Uses WP_Query terms.
[image-carousel orderby=”rand”]
[image-carousel orderby=”date” orderby=”DESC”]
- What order to display the posts in. Uses WP_Query terms.
-
category(default all)- Filter carousel items by a comma separated list of carousel category slugs.
[image-carousel category=”homepage,highlights”]
- Filter carousel items by a comma separated list of carousel category slugs.
-
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″]
- Output markup for Twitter Bootstrap Version 2 or 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
Contributing
If you would like to contribute to this plugin, please go to the GitHub repository and make a personal fork of the development version. You can then make your changes and submit a pull request. I will happily review the code and then merge when we’re both happy. You can read more details here.
Ratings
Rating breakdown
Details Information
Version
First Released
Total Downloads
Wordpress Version
Tested up to:
Require PHP Version:
Tags
Contributors
Languages
The plugin hasn't been transalated in any language other than English.
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.