WP Bootstrap Carousel v. 0.4.0

Version 0.4.0 of the WP Bootstrap Carousel plugin is available for mass consumption. This version abandons usage of the $content_width global, optimizes script loading, and resolves some issues with the DPS addon. Also, the plugin source code has now been thoroughly documented. Full changelog here.

This version brings quite a lot of under-the-hood changes, find support here if you run into any kind of trouble, or file a report here if you’ve spotted a bug.

Note

By default, the carousel now displays the attachment caption (post excerpt) instead of the description (post content). If you’d like to revert this behavior, put the following snippet in your functions.php file:

add_filter( 'wp_bootstrap_carousel_caption_text', 'my_wp_bootstrap_carousel_caption_text', 10, 2 );
function my_wp_bootstrap_carousel_caption_text( $text, $item_id )
{
    $post    = get_post( $item_id );
    $content = $post->post_content;

    if( ! empty( $content ) )
        return wpautop( wptexturize( $content ) );

    return $text;
}