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

Version Description

  • fix: removed empty avatar image with non business ig account
Download this release

Release Info

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

Code changes from version 6.1.4 to 6.1.5

enjoyinstagram.php CHANGED
@@ -11,7 +11,7 @@
11
  * Plugin Name: Enjoy Instagram
12
  * Plugin URI: https://www.mediabetaprojects.com/enjoy-instagram-premium/
13
  * Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
14
- * Version: 6.1.4
15
  * Requires at least: 4.0
16
  * Requires PHP: 7.2
17
  * Author: Mediabeta Srl
@@ -59,7 +59,7 @@ if ( ! function_exists( 'eiirigac_fs' ) ) {
59
  do_action( 'eiirigac_fs_loaded' );
60
  }
61
 
62
- ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '6.1.4' );
63
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
64
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
65
  ! defined( 'ENJOYINSTAGRAM_DIR' ) && define( 'ENJOYINSTAGRAM_DIR', plugin_dir_path( __FILE__ ) );
11
  * Plugin Name: Enjoy Instagram
12
  * Plugin URI: https://www.mediabetaprojects.com/enjoy-instagram-premium/
13
  * Description: Instagram Responsive Images Gallery and Carousel, works with Shortcodes and Widgets.
14
+ * Version: 6.1.5
15
  * Requires at least: 4.0
16
  * Requires PHP: 7.2
17
  * Author: Mediabeta Srl
59
  do_action( 'eiirigac_fs_loaded' );
60
  }
61
 
62
+ ! defined( 'ENJOYINSTAGRAM_VERSION' ) && define( 'ENJOYINSTAGRAM_VERSION', '6.1.5' );
63
  ! defined( 'ENJOYINSTAGRAM_FILE' ) && define( 'ENJOYINSTAGRAM_FILE', __FILE__ );
64
  ! defined( 'ENJOYINSTAGRAM_URL' ) && define( 'ENJOYINSTAGRAM_URL', plugin_dir_url( __FILE__ ) );
65
  ! 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 carousel, instagram, instagram feed, instagram widget, instagram grid
5
  Requires at least: 4.0
6
  Tested up to: 5.7
7
- Version: 6.1.4
8
- Stable tag: 6.1.4
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -209,7 +209,9 @@ In the Setting section yon can customize grid and/or Carousel view
209
  7. Front End View Example
210
  8. Front End View Example
211
 
212
- == Changelog ==
 
 
213
  = 6.1.4 =
214
  * fix: heart icon dimension in lightbox
215
  = 6.1.3 =
4
  Tags: instagram carousel, instagram, instagram feed, instagram widget, instagram grid
5
  Requires at least: 4.0
6
  Tested up to: 5.7
7
+ Version: 6.1.5
8
+ Stable tag: 6.1.5
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
209
  7. Front End View Example
210
  8. Front End View Example
211
 
212
+ == Changelog ==
213
+ = 6.1.5 =
214
+ * fix: removed empty avatar image with non business ig account
215
  = 6.1.4 =
216
  * fix: heart icon dimension in lightbox
217
  = 6.1.3 =
templates/shortcodes/lightbox-styles/igvertical.php CHANGED
@@ -34,9 +34,11 @@
34
  <div class="caption-container">
35
  <div class="top-caption">
36
  <div class="enjoy-instagram-username">
37
- <a href="https://instagram.com/<?php echo $entry['user']['username']; ?>" target="_blank" class="icon-ig">
38
- <img alt="" src=" <?php echo $entry['user']['profile_picture']; ?>" style="width:28px; height:28px">
39
- </a>
 
 
40
  <a href="https://instagram.com/<?php echo $entry['user']['username']; ?>" target="_blank" class="username">
41
  <?php echo ! empty( $entry['user']['username'] ) ? $entry['user']['username'] : 'Instagram.com'; ?>
42
  </a>
34
  <div class="caption-container">
35
  <div class="top-caption">
36
  <div class="enjoy-instagram-username">
37
+ <?php if ( $entry['user']['profile_picture'] ) : ?>
38
+ <a href="https://instagram.com/<?php echo $entry['user']['username']; ?>" target="_blank" class="icon-ig">
39
+ <img alt="" src=" <?php echo $entry['user']['profile_picture']; ?>" style="width:28px; height:28px">
40
+ </a>
41
+ <?php endif; ?>
42
  <a href="https://instagram.com/<?php echo $entry['user']['username']; ?>" target="_blank" class="username">
43
  <?php echo ! empty( $entry['user']['username'] ) ? $entry['user']['username'] : 'Instagram.com'; ?>
44
  </a>