diff --git a/frontblocks.php b/frontblocks.php index 290d0eb..9ff2532 100644 --- a/frontblocks.php +++ b/frontblocks.php @@ -3,7 +3,7 @@ * Plugin Name: FrontBlocks * Plugin URI: https://github.com/closemarketing/frontblocks * Description: Blocks and helpers to facilitate GeneratePress frontend developing. - * Version: 0.2.2 + * Version: 0.2.3 * Author: Closemarketing * Author URI: https://close.marketing * Text Domain: frontblocks @@ -27,7 +27,7 @@ defined( 'ABSPATH' ) || die( 'No script kiddies please!' ); -define( 'FRBL_VERSION', '0.2.2' ); +define( 'FRBL_VERSION', '0.2.3' ); define( 'FRBL_PLUGIN', __FILE__ ); define( 'FRBL_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'FRBL_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); diff --git a/includes/carousel/frontblocks-carousel.js b/includes/carousel/frontblocks-carousel.js index 7dbb390..e340719 100644 --- a/includes/carousel/frontblocks-carousel.js +++ b/includes/carousel/frontblocks-carousel.js @@ -61,7 +61,7 @@ window.addEventListener('load', function (event) { type: carouselType, perView: carouselView, startAt: 0, - autoplay: 2000, + autoplay: carouselAutoplay === 0 ? 2500 : carouselAutoplay, gap: 0, breakpoints: { 430: { diff --git a/readme.txt b/readme.txt index d174ddd..0889e32 100644 --- a/readme.txt +++ b/readme.txt @@ -13,7 +13,7 @@ Custom enhacements for front developing. == Description == -Plugin to create custom blocks for the front of the website. It includes a carousel/slider block and an animation block. +To start using the Carousel, add the frontblocks-carousel class to the element and then, include any of the following attributes: Data Attributes for Carrousel: - data-type: slider, carousel @@ -86,6 +86,9 @@ WordPress installation and then activate the Plugin from Plugins page. [Official Repository Github](https://github.com/closemarketing/frontblocks) == Changelog == += 0.2.3 = +* Updated Glide autoplay value assignation. + = 0.2.2 = * Updated images.