WD Instagram Feed – Instagram Gallery - Version 1.1.1

Version Description

Fixed: Bug when duplicating feeds

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 WD Instagram Feed – Instagram Gallery
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

admin-functions.php CHANGED
@@ -354,8 +354,7 @@ function wdi_install(){
354
  th_overlay_hover_transparent varchar(32) NOT NULL,
355
  th_overlay_hover_icon_color varchar(32) NOT NULL,
356
  th_overlay_hover_icon_font_size varchar(32) NOT NULL,
357
- th_thumb_user_bg_color varchar(32) NOT NULL,
358
- th_thumb_user_color varchar(32) NOT NULL,
359
  th_photo_img_hover_effect varchar(32) NOT NULL,
360
 
361
  mas_photo_wrap_padding varchar(32) NOT NULL,
@@ -376,8 +375,7 @@ function wdi_install(){
376
  mas_overlay_hover_transparent varchar(32) NOT NULL,
377
  mas_overlay_hover_icon_color varchar(32) NOT NULL,
378
  mas_overlay_hover_icon_font_size varchar(32) NOT NULL,
379
- mas_thumb_user_bg_color varchar(32) NOT NULL,
380
- mas_thumb_user_color varchar(32) NOT NULL,
381
  mas_photo_img_hover_effect varchar(32) NOT NULL,
382
 
383
  blog_style_photo_wrap_padding varchar(32) NOT NULL,
@@ -427,6 +425,14 @@ function wdi_install(){
427
  pagination_ctrl_hover_color varchar(32) NOT NULL,
428
  pagination_position varchar(32) NOT NULL,
429
  pagination_position_vert varchar(32) NOT NULL,
 
 
 
 
 
 
 
 
430
  UNIQUE KEY id (id)
431
  ) $charset_collate;";
432
  // dbDelta( $sql );
354
  th_overlay_hover_transparent varchar(32) NOT NULL,
355
  th_overlay_hover_icon_color varchar(32) NOT NULL,
356
  th_overlay_hover_icon_font_size varchar(32) NOT NULL,
357
+
 
358
  th_photo_img_hover_effect varchar(32) NOT NULL,
359
 
360
  mas_photo_wrap_padding varchar(32) NOT NULL,
375
  mas_overlay_hover_transparent varchar(32) NOT NULL,
376
  mas_overlay_hover_icon_color varchar(32) NOT NULL,
377
  mas_overlay_hover_icon_font_size varchar(32) NOT NULL,
378
+
 
379
  mas_photo_img_hover_effect varchar(32) NOT NULL,
380
 
381
  blog_style_photo_wrap_padding varchar(32) NOT NULL,
425
  pagination_ctrl_hover_color varchar(32) NOT NULL,
426
  pagination_position varchar(32) NOT NULL,
427
  pagination_position_vert varchar(32) NOT NULL,
428
+
429
+ /* since v1.0.6*/
430
+ /* keep order */
431
+ th_thumb_user_bg_color varchar(32) NOT NULL,
432
+ th_thumb_user_color varchar(32) NOT NULL,
433
+ mas_thumb_user_bg_color varchar(32) NOT NULL,
434
+ mas_thumb_user_color varchar(32) NOT NULL,
435
+
436
  UNIQUE KEY id (id)
437
  ) $charset_collate;";
438
  // dbDelta( $sql );
admin/controllers/WDIControllerFeeds_wdi.php CHANGED
@@ -42,52 +42,61 @@ class WDIControllerFeeds_wdi {
42
  '%s',/*thumb_user*/
43
  '%d',/*published*/
44
  '%d',/*theme_id*/
 
45
  '%s',/*feed_users*/
46
  '%s',/*feed_display_view*/
47
  '%s',/*sort_images_by*/
48
  '%s',/*display_order*/
49
  '%d',/*follow_on_instagram_btn*/
 
50
  '%d',/*display_header*/
51
  '%d',/*number_of_photos*/
52
  '%d',/*load_more_number*/
53
  '%d',/*'pagination_per_page_number'*/
54
  '%d',/*'pagination_preload_number'*/
 
55
  '%d',/*image_browser_preload_number*/
56
  '%d',/*image_browser_load_number*/
57
  '%d',/*number_of_columns*/
58
  '%d',/*resort_after_load_more*/
59
  '%d',/*show_likes*/
 
60
  '%d',/*show_description*/
61
  '%d',/*show_comments*/
62
- '%d',/*show_username_on_thumb*/
63
  '%d',/*show_usernames*/
64
  '%d',/*display_user_info*/
65
  '%d',//'display_user_post_follow_number'
 
66
  '%d',/*show_full_description*/
67
  '%d',/*disable_mobile_layout*/
68
  '%s',/*feed_type*/
69
  '%s',/*feed_item_onclick*/
70
  '%d',//'popup_fullscreen'=>'bool',
 
71
  '%d',//'popup_width'=>'number',
72
  '%d',//'popup_height'=>'number',
73
  '%s',//'popup_type'=>'string',
74
  '%d',//'popup_autoplay'=>'bool',
75
  '%d',//'popup_interval'=>'number',
 
76
  '%d',//'popup_enable_filmstrip'=>'bool',
77
  '%d',//'popup_filmstrip_height'=>'number',
78
  '%d',//'autohide_lightbox_navigation'=>'bool',
79
  '%d',//'popup_enable_ctrl_btn'=>'bool',
80
  '%d',//'popup_enable_fullscreen'=>'bool',
 
81
  '%d',//'popup_enable_info'=>'bool',
82
  '%d',//'popup_info_always_show'=>'bool',
83
  '%d',//'popup_info_full_width'=>'bool',
84
  '%d',//'popup_enable_comment'=>'bool',
85
  '%d',//'popup_enable_fullsize_image'=>'bool',
 
86
  '%d',//'popup_enable_download'=>'bool',
87
  '%d',//popup_enable_share_buttons=>'bool',
88
  '%d',//'popup_enable_facebook'=>'bool',
89
  '%d',//'popup_enable_twitter'=>'bool',
90
  '%d',//'popup_enable_google'=>'bool',
 
91
  '%d',//'popup_enable_pinterest'=>'bool',
92
  '%d',//'popup_enable_tumblr'=>'bool',
93
  '%d',//'show_image_counts'=>'bool',
@@ -95,8 +104,9 @@ class WDIControllerFeeds_wdi {
95
  '%d',//popup_image_right_click=>'bool'
96
 
97
  '%s',//'conditional_filters' => 'string',
98
- '%d',//'conditional_filter_enable'=>'0',
99
  '%s',//'conditional_filter_type' => 'string'
 
 
100
  );
101
  }
102
  private function display() {
42
  '%s',/*thumb_user*/
43
  '%d',/*published*/
44
  '%d',/*theme_id*/
45
+
46
  '%s',/*feed_users*/
47
  '%s',/*feed_display_view*/
48
  '%s',/*sort_images_by*/
49
  '%s',/*display_order*/
50
  '%d',/*follow_on_instagram_btn*/
51
+
52
  '%d',/*display_header*/
53
  '%d',/*number_of_photos*/
54
  '%d',/*load_more_number*/
55
  '%d',/*'pagination_per_page_number'*/
56
  '%d',/*'pagination_preload_number'*/
57
+
58
  '%d',/*image_browser_preload_number*/
59
  '%d',/*image_browser_load_number*/
60
  '%d',/*number_of_columns*/
61
  '%d',/*resort_after_load_more*/
62
  '%d',/*show_likes*/
63
+
64
  '%d',/*show_description*/
65
  '%d',/*show_comments*/
 
66
  '%d',/*show_usernames*/
67
  '%d',/*display_user_info*/
68
  '%d',//'display_user_post_follow_number'
69
+
70
  '%d',/*show_full_description*/
71
  '%d',/*disable_mobile_layout*/
72
  '%s',/*feed_type*/
73
  '%s',/*feed_item_onclick*/
74
  '%d',//'popup_fullscreen'=>'bool',
75
+
76
  '%d',//'popup_width'=>'number',
77
  '%d',//'popup_height'=>'number',
78
  '%s',//'popup_type'=>'string',
79
  '%d',//'popup_autoplay'=>'bool',
80
  '%d',//'popup_interval'=>'number',
81
+
82
  '%d',//'popup_enable_filmstrip'=>'bool',
83
  '%d',//'popup_filmstrip_height'=>'number',
84
  '%d',//'autohide_lightbox_navigation'=>'bool',
85
  '%d',//'popup_enable_ctrl_btn'=>'bool',
86
  '%d',//'popup_enable_fullscreen'=>'bool',
87
+
88
  '%d',//'popup_enable_info'=>'bool',
89
  '%d',//'popup_info_always_show'=>'bool',
90
  '%d',//'popup_info_full_width'=>'bool',
91
  '%d',//'popup_enable_comment'=>'bool',
92
  '%d',//'popup_enable_fullsize_image'=>'bool',
93
+
94
  '%d',//'popup_enable_download'=>'bool',
95
  '%d',//popup_enable_share_buttons=>'bool',
96
  '%d',//'popup_enable_facebook'=>'bool',
97
  '%d',//'popup_enable_twitter'=>'bool',
98
  '%d',//'popup_enable_google'=>'bool',
99
+
100
  '%d',//'popup_enable_pinterest'=>'bool',
101
  '%d',//'popup_enable_tumblr'=>'bool',
102
  '%d',//'show_image_counts'=>'bool',
104
  '%d',//popup_image_right_click=>'bool'
105
 
106
  '%s',//'conditional_filters' => 'string',
 
107
  '%s',//'conditional_filter_type' => 'string'
108
+ '%d',/*show_username_on_thumb*/
109
+ '%d',//'conditional_filter_enable'=>'0',
110
  );
111
  }
112
  private function display() {
admin/controllers/WDIControllerThemes_wdi.php CHANGED
@@ -220,8 +220,7 @@ class WDIControllerThemes_wdi {
220
  '%d',//'th_overlay_hover_transparent'=>'number',
221
  '%s',//'th_overlay_hover_icon_color'=>'color',
222
  '%s',//'th_overlay_hover_icon_font_size'=>'length',
223
- '%s',//'th_thumb_user_bg_color'=>'color',
224
- '%s',//'th_thumb_user_color'=>'color'
225
  '%s',//th_photo_img_hover_effect
226
 
227
  '%s',/*mas_photo_wrap_padding*/
@@ -242,8 +241,7 @@ class WDIControllerThemes_wdi {
242
  '%d',//'mas_overlay_hover_transparent'=>'number',
243
  '%s',//'mas_overlay_hover_icon_color'=>'color',
244
  '%s',//'mas_overlay_hover_icon_font_size'=>'length',
245
- '%s',//'mas_thumb_user_bg_color'=>'color',
246
- '%s',//'mas_thumb_user_color'=>'color'
247
  '%s',//mas_photo_img_hover_effect
248
 
249
  '%s',/*blog_style_photo_wrap_padding*/
@@ -294,6 +292,13 @@ class WDIControllerThemes_wdi {
294
  '%s',// 'pagination_ctrl_hover_color' => 'color'
295
  '%s',//'pagination_position'=>'position'
296
  '%s',//'pagination_position_vert'=>'position'
 
 
 
 
 
 
 
297
  );
298
  }
299
 
220
  '%d',//'th_overlay_hover_transparent'=>'number',
221
  '%s',//'th_overlay_hover_icon_color'=>'color',
222
  '%s',//'th_overlay_hover_icon_font_size'=>'length',
223
+
 
224
  '%s',//th_photo_img_hover_effect
225
 
226
  '%s',/*mas_photo_wrap_padding*/
241
  '%d',//'mas_overlay_hover_transparent'=>'number',
242
  '%s',//'mas_overlay_hover_icon_color'=>'color',
243
  '%s',//'mas_overlay_hover_icon_font_size'=>'length',
244
+
 
245
  '%s',//mas_photo_img_hover_effect
246
 
247
  '%s',/*blog_style_photo_wrap_padding*/
292
  '%s',// 'pagination_ctrl_hover_color' => 'color'
293
  '%s',//'pagination_position'=>'position'
294
  '%s',//'pagination_position_vert'=>'position'
295
+
296
+ /* since v1.0.6. keep order, defaults*/
297
+
298
+ '%s',//'th_thumb_user_bg_color'=>'color',
299
+ '%s',//'th_thumb_user_color'=>'color'
300
+ '%s',//'mas_thumb_user_bg_color'=>'color',
301
+ '%s',//'mas_thumb_user_color'=>'color'
302
  );
303
  }
304
 
admin/models/WDIModelFeeds_wdi.php CHANGED
@@ -100,7 +100,7 @@ class WDIModelFeeds_wdi {
100
  'show_likes'=> '0',
101
  'show_description'=> '0' ,
102
  'show_comments'=> '0',
103
- 'show_username_on_thumb'=>'0',
104
  'show_usernames' =>'1',
105
  'display_user_info'=>'1',
106
  'display_user_post_follow_number' => '1',
@@ -138,8 +138,9 @@ class WDIModelFeeds_wdi {
138
  'popup_image_right_click'=> '1',
139
 
140
  'conditional_filters' => '',
 
 
141
  'conditional_filter_enable'=>'0',
142
- 'conditional_filter_type' => 'none'
143
  );
144
  return $settings;
145
  }
@@ -206,7 +207,7 @@ class WDIModelFeeds_wdi {
206
  'popup_image_right_click'=>'bool',
207
 
208
  'conditional_filters' => 'string',
209
- 'conditional_filter_enable'=>'bool',
210
  'conditional_filter_type' => 'string'
211
  );
212
  return $sanitize_types;
100
  'show_likes'=> '0',
101
  'show_description'=> '0' ,
102
  'show_comments'=> '0',
103
+
104
  'show_usernames' =>'1',
105
  'display_user_info'=>'1',
106
  'display_user_post_follow_number' => '1',
138
  'popup_image_right_click'=> '1',
139
 
140
  'conditional_filters' => '',
141
+ 'conditional_filter_type' => 'none',
142
+ 'show_username_on_thumb'=>'0',
143
  'conditional_filter_enable'=>'0',
 
144
  );
145
  return $settings;
146
  }
207
  'popup_image_right_click'=>'bool',
208
 
209
  'conditional_filters' => 'string',
210
+ 'conditional_filter_enable'=>'number',
211
  'conditional_filter_type' => 'string'
212
  );
213
  return $sanitize_types;
admin/models/WDIModelThemes_wdi.php CHANGED
@@ -233,8 +233,7 @@ class WDIModelThemes_wdi {
233
  'th_overlay_hover_transparent'=>'50',
234
  'th_overlay_hover_icon_color'=>'#FFFFFF',
235
  'th_overlay_hover_icon_font_size'=>'25px',
236
- 'th_thumb_user_bg_color'=>'#429FFF',
237
- 'th_thumb_user_color'=>'#FFFFFF',
238
  'th_photo_img_hover_effect' => 'none',
239
  //////////////////////////////////////////////////////////
240
  'mas_photo_wrap_padding' => '10px',
@@ -255,8 +254,7 @@ class WDIModelThemes_wdi {
255
  'mas_overlay_hover_transparent'=>'50',
256
  'mas_overlay_hover_icon_color'=>'#FFFFFF',
257
  'mas_overlay_hover_icon_font_size'=>'25px',
258
- 'mas_thumb_user_bg_color'=>'#429FFF',
259
- 'mas_thumb_user_color'=>'#FFFFFF',
260
  'mas_photo_img_hover_effect' => 'none',
261
  /////////////////////////////////////////////////////////
262
  //////////////////////////////////////////////////////////
@@ -310,7 +308,14 @@ class WDIModelThemes_wdi {
310
  'pagination_ctrl_margin' => '15px',
311
  'pagination_ctrl_hover_color' => '#25292c',
312
  'pagination_position' => 'center',
313
- 'pagination_position_vert' => 'top'
 
 
 
 
 
 
 
314
  );
315
  return $settings;
316
  }
233
  'th_overlay_hover_transparent'=>'50',
234
  'th_overlay_hover_icon_color'=>'#FFFFFF',
235
  'th_overlay_hover_icon_font_size'=>'25px',
236
+
 
237
  'th_photo_img_hover_effect' => 'none',
238
  //////////////////////////////////////////////////////////
239
  'mas_photo_wrap_padding' => '10px',
254
  'mas_overlay_hover_transparent'=>'50',
255
  'mas_overlay_hover_icon_color'=>'#FFFFFF',
256
  'mas_overlay_hover_icon_font_size'=>'25px',
257
+
 
258
  'mas_photo_img_hover_effect' => 'none',
259
  /////////////////////////////////////////////////////////
260
  //////////////////////////////////////////////////////////
308
  'pagination_ctrl_margin' => '15px',
309
  'pagination_ctrl_hover_color' => '#25292c',
310
  'pagination_position' => 'center',
311
+ 'pagination_position_vert' => 'top',
312
+
313
+ /* since v1.0.6*/
314
+ /* keep order */
315
+ 'th_thumb_user_bg_color'=>'#429FFF',
316
+ 'th_thumb_user_color'=>'#FFFFFF',
317
+ 'mas_thumb_user_bg_color'=>'#429FFF',
318
+ 'mas_thumb_user_color'=>'#FFFFFF',
319
  );
320
  return $settings;
321
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
  Tags: : custom instagram Feed, instagram, instagram account, instagram feed, instagram photos, instagram plugin, instagram posts, instagram stream, instagram wall, mobile instagram, responsive instagram, gallery, hashtag, images, photos, shortcode, widget ,Grid instagram view, instagram gallery, instagram images, instagram page, instagram plugin, instagram responsive, instagram touch, Instagram widgets, lightbox instagram, lightbox, feed
5
  Requires at least: 3.9
6
  Tested up to: 4.5
7
- Stable tag: 1.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -107,6 +107,9 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
107
 
108
  == Changelog ==
109
 
 
 
 
110
  = 1.1.0 =
111
  **IMPORTANT: Instagram changed the API. You need to get a new access token by using "Sign in with Instagram" button on the Settings page in order to keep your Instagram Feed WD plugin functioning after June 1.**
112
  new: Instagram new API
4
  Tags: : custom instagram Feed, instagram, instagram account, instagram feed, instagram photos, instagram plugin, instagram posts, instagram stream, instagram wall, mobile instagram, responsive instagram, gallery, hashtag, images, photos, shortcode, widget ,Grid instagram view, instagram gallery, instagram images, instagram page, instagram plugin, instagram responsive, instagram touch, Instagram widgets, lightbox instagram, lightbox, feed
5
  Requires at least: 3.9
6
  Tested up to: 4.5
7
+ Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
107
 
108
  == Changelog ==
109
 
110
+ = 1.1.1 =
111
+ Fixed: Bug when duplicating feeds
112
+
113
  = 1.1.0 =
114
  **IMPORTANT: Instagram changed the API. You need to get a new access token by using "Sign in with Instagram" button on the Settings page in order to keep your Instagram Feed WD plugin functioning after June 1.**
115
  new: Instagram new API
wd-instagram-feed.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
- Version: 1.1.0
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
@@ -20,7 +20,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
- define('WDI_VERSION','1.1.0');
24
  define('WDI_IS_PRO','false');
25
 
26
 
3
  Plugin Name: Instagram Feed WD
4
  Plugin URI: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
5
  Description: WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
+ Version: 1.1.1
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
+ define('WDI_VERSION','1.1.1');
24
  define('WDI_IS_PRO','false');
25
 
26