Enjoy Instagram feed on website with WordPress Widget and Shortcode - Version 4.0.4

Version Description

  • Fix carousel auto play
Download this release

Release Info

Developer mediabeta
Plugin Icon 128x128 Enjoy Instagram feed on website with WordPress Widget and Shortcode
Version 4.0.4
Comparing to
See all releases

Code changes from version 4.0.3 to 4.0.4

enjoyinstagram.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Enjoy Plugin for Instagram
4
  Plugin URI: http://www.mediabeta.com/enjoy-instagram/
5
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
6
- Version: 4.0.3
7
  Author: Mediabeta Srl
8
  Author URI: http://www.mediabeta.com/team/
9
  */
10
 
11
- ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '4.0.3' );
12
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
13
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
14
  ! defined( 'ENJOYINSTAGRAM_DIR' ) && define( 'ENJOYINSTAGRAM_DIR', plugin_dir_path( __FILE__ ) );
3
  Plugin Name: Enjoy Plugin for Instagram
4
  Plugin URI: http://www.mediabeta.com/enjoy-instagram/
5
  Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
6
+ Version: 4.0.4
7
  Author: Mediabeta Srl
8
  Author URI: http://www.mediabeta.com/team/
9
  */
10
 
11
+ ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '4.0.4' );
12
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
13
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
14
  ! defined( 'ENJOYINSTAGRAM_DIR' ) && define( 'ENJOYINSTAGRAM_DIR', plugin_dir_path( __FILE__ ) );
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://www.google.com/url?q=https%3A%2F%2Fwww.paypal.com%2Fcgi-bin
4
  Tags: Instagram, Instagram feed, Instagram grid, Instagram carousel, Widget Instagram, Embed Instagram, Embed Instagram feed, Instagram feed on website, responsive carousel, WordPress carousel, Instagram gallery, Instagram WordPress, Instagram pictures
5
  Requires at least: 3.0.1
6
  Tested up to: 5.0
7
- Version: 4.0.3
8
- Stable tag: 4.0.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -192,6 +192,8 @@ In the Setting section yon can customize grid and/or Carousel view
192
 
193
  == Changelog ==
194
 
 
 
195
  = 4.0.3 =
196
  * Support to WordPress 5.0
197
  * Support to new Instagram API
4
  Tags: Instagram, Instagram feed, Instagram grid, Instagram carousel, Widget Instagram, Embed Instagram, Embed Instagram feed, Instagram feed on website, responsive carousel, WordPress carousel, Instagram gallery, Instagram WordPress, Instagram pictures
5
  Requires at least: 3.0.1
6
  Tested up to: 5.0
7
+ Version: 4.0.4
8
+ Stable tag: 4.0.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
192
 
193
  == Changelog ==
194
 
195
+ = 4.0.4 =
196
+ * Fix carousel auto play
197
  = 4.0.3 =
198
  * Support to WordPress 5.0
199
  * Support to new Instagram API
templates/shortcodes/carousel-widget.php CHANGED
@@ -29,6 +29,7 @@ if( ! defined( 'ABSPATH' ) ) {
29
  jQuery("#owl-<?php echo "{$id}"; ?>").owlCarousel({
30
  items: <?php echo "{$n}"; ?>,
31
  navigation: <?php echo "{$n_y_n}"; ?>,
 
32
  afterAction: callback_height
33
  });
34
  function callback_height() {
29
  jQuery("#owl-<?php echo "{$id}"; ?>").owlCarousel({
30
  items: <?php echo "{$n}"; ?>,
31
  navigation: <?php echo "{$n_y_n}"; ?>,
32
+ autoPlay: true,
33
  afterAction: callback_height
34
  });
35
  function callback_height() {
templates/shortcodes/carousel.php CHANGED
@@ -34,6 +34,7 @@ if( ! defined( 'ABSPATH' ) ) {
34
  itemsTablet: [768,<?php echo $items_num ?>],
35
  itemsMobile: [479,<?php echo $items_num ?>],
36
  stopOnHover: true,
 
37
  navigation: <?php echo $nav ?>,
38
  afterAction: callback_height
39
  });
34
  itemsTablet: [768,<?php echo $items_num ?>],
35
  itemsMobile: [479,<?php echo $items_num ?>],
36
  stopOnHover: true,
37
+ autoPlay: true,
38
  navigation: <?php echo $nav ?>,
39
  afterAction: callback_height
40
  });