AccessPress Instagram Feed - Version 4.0.5

Version Description

  • Compatibility check with WordPress Version 5.9.
  • Fixed minor issue regarding expired token.
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 AccessPress Instagram Feed
Version 4.0.5
Comparing to
See all releases

Code changes from version 4.0.4 to 4.0.5

accesspress-instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin name: AccessPress iFeeds
4
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
5
  Description: Display feeds of your instagram using shortcode and widgets.
6
- Version: 4.0.4
7
  Author: AccessPress Themes
8
  Author URI: http://accesspressthemes.com
9
  Text Domain: accesspress-instagram-feed
@@ -13,7 +13,7 @@ License: GPLv2 or later
13
 
14
  //Decleration of the necessary constants for plugin
15
  if( !defined( 'APIF_VERSION' ) ) {
16
- define( 'APIF_VERSION', '4.0.4' );
17
  }
18
 
19
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
3
  Plugin name: AccessPress iFeeds
4
  Plugin URI: https://accesspressthemes.com/wordpress-plugins/accesspress-instagram-feed/
5
  Description: Display feeds of your instagram using shortcode and widgets.
6
+ Version: 4.0.5
7
  Author: AccessPress Themes
8
  Author URI: http://accesspressthemes.com
9
  Text Domain: accesspress-instagram-feed
13
 
14
  //Decleration of the necessary constants for plugin
15
  if( !defined( 'APIF_VERSION' ) ) {
16
+ define( 'APIF_VERSION', '4.0.5' );
17
  }
18
 
19
  if( !defined( 'APIF_IMAGE_DIR' ) ) {
inc/frontend/instagram-feed.php CHANGED
@@ -41,17 +41,21 @@ if ($response == NULL) {
41
  }
42
 
43
  $ins_media = $response;
 
 
 
 
44
 
45
  if ($layout == 'mosaic' || $layout == 'mosaic_lightview') {
46
  ?>
47
  <section id="apif-main-wrapper" class="thumb-view">
48
- <div class="row masonry for-mosaic isotope ifgrid">
49
  <?php
50
  $i = 1;
51
  $j = 0;
52
- if (isset($ins_media['meta']['error_message'])) {
53
  ?>
54
- <h1 class="widget-title-insta"><span><?php echo $ins_media['meta']['error_message']; ?></span></h1>
55
  <?php
56
  } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
57
  foreach ($ins_media['data'] as $vm):
@@ -154,10 +158,10 @@ if ($layout == 'mosaic' || $layout == 'mosaic_lightview') {
154
  ?>
155
  <?php
156
  $j = 0;
157
- if (isset($ins_media['meta']['error_message'])) {
158
  ?>
159
- <h1 class="widget-title-insta"><span><?php echo $ins_media['meta']['error_message']; ?></span></h1>
160
- <?php } if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
161
  ?>
162
  <div id="owl-demo" class="apif-owl-carousel owl-carousel">
163
  <?php
@@ -198,9 +202,9 @@ if ($layout == 'mosaic' || $layout == 'mosaic_lightview') {
198
 
199
  <?php } else if ($layout == 'grid_rotator') { ?>
200
  <?php
201
- if (isset($ins_media['meta']['error_message'])) {
202
  ?>
203
- <h1 class="widget-title-insta"><span><?php echo $ins_media['meta']['error_message']; ?></span></h1>
204
  <?php } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
205
  ?>
206
  <div class="ri-grid apif-ri-grid">
41
  }
42
 
43
  $ins_media = $response;
44
+ // echo('<pre>');
45
+ // print_r($ins_media);
46
+ // echo('</pre>');
47
+ // die();
48
 
49
  if ($layout == 'mosaic' || $layout == 'mosaic_lightview') {
50
  ?>
51
  <section id="apif-main-wrapper" class="thumb-view">
52
+ <div class="row masonry for-mosaic isotope ifgrid" ">
53
  <?php
54
  $i = 1;
55
  $j = 0;
56
+ if (isset($ins_media['error']['message'])) {
57
  ?>
58
+ <h1 class="widget-title-insta"><span><?php echo $ins_media['error']['message']; ?></span></h1>
59
  <?php
60
  } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
61
  foreach ($ins_media['data'] as $vm):
158
  ?>
159
  <?php
160
  $j = 0;
161
+ if (isset($ins_media['error']['message'])) {
162
  ?>
163
+ <h1 class="widget-title-insta"><span><?php echo $ins_media['error']['message']; ?></span></h1>
164
+ <?php } elseif (is_array($ins_media['data']) || is_object($ins_media['data'])) {
165
  ?>
166
  <div id="owl-demo" class="apif-owl-carousel owl-carousel">
167
  <?php
202
 
203
  <?php } else if ($layout == 'grid_rotator') { ?>
204
  <?php
205
+ if (isset($ins_media['error']['message'])) {
206
  ?>
207
+ <h1 class="widget-title-insta"><span><?php echo $ins_media['error']['message']; ?></span></h1>
208
  <?php } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
209
  ?>
210
  <div class="ri-grid apif-ri-grid">
inc/frontend/instagram-grid-rotator.php CHANGED
@@ -61,9 +61,9 @@ $ins_media = $response;
61
  });
62
  </script>
63
  <?php
64
- if (isset($ins_media['meta']['error_message'])) {
65
  ?>
66
- <h1 class="widget-title-insta"><span><?php echo $ins_media['meta']['error_message']; ?></span></h1>
67
  <?php } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
68
  ?>
69
  <div class="ri-grid ri-grid-<?php echo $rand_no; ?> apif-ri-grid">
61
  });
62
  </script>
63
  <?php
64
+ if (isset($ins_media['error']['message'])) {
65
  ?>
66
+ <h1 class="widget-title-insta"><span><?php echo $ins_media['error']['message']; ?></span></h1>
67
  <?php } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
68
  ?>
69
  <div class="ri-grid ri-grid-<?php echo $rand_no; ?> apif-ri-grid">
inc/frontend/instagram-masaic-light.php CHANGED
@@ -29,15 +29,19 @@ if ($response == NULL) {
29
  $ins_media_masaic = $response;
30
  // var_dump($response);
31
  // die();
 
 
 
 
32
  ?>
33
  <section id="apif-main-wrapper-1" class="thumb-view">
34
- <div class="row masonry for-mosaic isotope ifgrid">
35
  <?php
36
  $i = 1;
37
  $j = 0;
38
- if (isset($ins_media_masaic['meta']['error_message'])) {
39
  ?>
40
- <h1 class="widget-title-insta"><span><?php echo $ins_media_masaic['meta']['error_message']; ?></span></h1>
41
  <?php
42
  } else if (is_array($ins_media_masaic['data']) || is_object($ins_media_masaic['data'])) {
43
  foreach ($ins_media_masaic['data'] as $vm):
29
  $ins_media_masaic = $response;
30
  // var_dump($response);
31
  // die();
32
+ // echo('<pre>');
33
+ // print_r($ins_media_masaic);
34
+ // echo("</pre>");
35
+ // die();
36
  ?>
37
  <section id="apif-main-wrapper-1" class="thumb-view">
38
+ <div class="row masonry for-mosaic isotope ifgrid" >
39
  <?php
40
  $i = 1;
41
  $j = 0;
42
+ if (isset($ins_media_masaic['error']['message'])) {
43
  ?>
44
+ <h1 class="widget-title-insta"><span><?php echo $ins_media_masaic['error']['message']; ?></span></h1>
45
  <?php
46
  } else if (is_array($ins_media_masaic['data']) || is_object($ins_media_masaic['data'])) {
47
  foreach ($ins_media_masaic['data'] as $vm):
inc/frontend/instagram-slider.php CHANGED
@@ -26,9 +26,9 @@ $ins_media_slider = $response;
26
  ?>
27
  <?php
28
  $j = 0;
29
- if (isset($ins_media_slider['meta']['error_message'])) {
30
  ?>
31
- <h1 class="widget-title-insta"><span><?php echo $ins_media_slider['meta']['error_message']; ?></span></h1>
32
  <?php } else if (is_array($ins_media_slider['data']) || is_object($ins_media_slider['data'])) {
33
  ?>
34
  <div id="owl-demo" class="apif-owl-carousel owl-carousel">
26
  ?>
27
  <?php
28
  $j = 0;
29
+ if (isset($ins_media_slider['error']['message'])) {
30
  ?>
31
+ <h1 class="widget-title-insta"><span><?php echo $ins_media_slider['error']['message']; ?></span></h1>
32
  <?php } else if (is_array($ins_media_slider['data']) || is_object($ins_media_slider['data'])) {
33
  ?>
34
  <div id="owl-demo" class="apif-owl-carousel owl-carousel">
inc/frontend/instagram-widget.php CHANGED
@@ -32,9 +32,9 @@ require_once('instagram.php');
32
 
33
  $i = 1;
34
  $j = 0;
35
- if (isset($ins_media['meta']['error_message'])) {
36
  ?>
37
- <h1 class="widget-title-insta"><span><?php echo $ins_media['meta']['error_message']; ?></span></h1>
38
  <?php
39
  } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
40
  foreach ($ins_media['data'] as $vm):
32
 
33
  $i = 1;
34
  $j = 0;
35
+ if (isset($ins_media['error']['message'])) {
36
  ?>
37
+ <h1 class="widget-title-insta"><span><?php echo $ins_media['error']['message']; ?></span></h1>
38
  <?php
39
  } else if (is_array($ins_media['data']) || is_object($ins_media['data'])) {
40
  foreach ($ins_media['data'] as $vm):
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Access Keys
3
  Tags: instagram, instagram feed, instagram tag, instagram slider, instagarm mosaic view, instagarm mosaic layout, instagram lightbox, social media instagram, social network, masonry layout, masonry lightbox, instagarm masonry view, grid rotator, grid rotatory
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
- Tested up to: 5.8
7
- Stable tag: 4.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,10 @@ Once you install the plugin , you can check some general documentation about how
131
 
132
  == Changelog ==
133
 
 
 
 
 
134
  = 4.0.4 =
135
  * Compatibility check with Latest WordPress Version.
136
 
3
  Tags: instagram, instagram feed, instagram tag, instagram slider, instagarm mosaic view, instagarm mosaic layout, instagram lightbox, social media instagram, social network, masonry layout, masonry lightbox, instagarm masonry view, grid rotator, grid rotatory
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
+ Tested up to: 5.9
7
+ Stable tag: 4.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
 
132
  == Changelog ==
133
 
134
+ = 4.0.5 =
135
+ * Compatibility check with WordPress Version 5.9.
136
+ * Fixed minor issue regarding expired token.
137
+
138
  = 4.0.4 =
139
  * Compatibility check with Latest WordPress Version.
140