WD Instagram Feed – Instagram Gallery - Version 1.1.26

Version Description

Fixed: Conflict with Beaver Builder
Fixed: Frontend error messages in old Chrome and Safari browsers
Changed: Translations hosted on WordPress.org

Download this release

Release Info

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

Code changes from version 1.1.25 to 1.1.26

Files changed (41) hide show
  1. admin-functions.php +10 -10
  2. admin/controllers/WDIControllerFeeds_wdi.php +22 -22
  3. admin/controllers/WDIControllerThemes_wdi.php +9 -9
  4. admin/controllers/WDIControllerWidget.php +2 -2
  5. admin/views/WDIViewEditorShortcode.php +1 -1
  6. admin/views/WDIViewFeeds_wdi.php +93 -93
  7. admin/views/WDIViewLicensing_wdi.php +33 -33
  8. admin/views/WDIViewSettings_wdi.php +7 -7
  9. admin/views/WDIViewThemes_wdi.php +5 -5
  10. admin/views/WDIViewUninstall_wdi.php +15 -15
  11. admin/views/WDIViewWidget.php +14 -13
  12. changelog.txt +147 -0
  13. css/wdi_frontend.css +37 -5
  14. framework/WDILibrary.php +20 -20
  15. frontend/shortcode.php +34 -32
  16. frontend/views/WDIViewGalleryBox.php +51 -58
  17. frontend/views/WDIViewImageBrowser_view.php +432 -427
  18. frontend/views/WDIViewThumbnails_view.php +14 -8
  19. js/gallerybox/jquery.featureCarousel.js +0 -818
  20. js/gallerybox/wdi_embed.js +0 -357
  21. js/gallerybox/wdi_gallery_box.js +221 -1
  22. js/wdi_frontend.js +0 -1
  23. languages/{wdi-en_GB.mo → wd-instagram-feed-en_GB.mo} +0 -0
  24. languages/{wdi-en_GB.po → wd-instagram-feed-en_GB.po} +116 -111
  25. languages/{wdi-en_US.mo → wd-instagram-feed-en_US.mo} +0 -0
  26. languages/{wdi-en_US.po → wd-instagram-feed-en_US.po} +116 -111
  27. languages/wd-instagram-feed-es_ES.mo +0 -0
  28. languages/{wdi-es_ES.po → wd-instagram-feed-es_ES.po} +120 -112
  29. languages/wd-instagram-feed-fr_FR.mo +0 -0
  30. languages/{wdi-fr_FR.po → wd-instagram-feed-fr_FR.po} +120 -112
  31. languages/wd-instagram-feed-ru_RU.mo +0 -0
  32. languages/{wdi-ru_RU.po → wd-instagram-feed-ru_RU.po} +121 -113
  33. languages/wd-instagram-feed-sv_SE.mo +0 -0
  34. languages/{wdi-sv_SE.po → wd-instagram-feed-sv_SE.po} +120 -112
  35. languages/wdi-es_ES.mo +0 -0
  36. languages/wdi-fr_FR.mo +0 -0
  37. languages/wdi-ru_RU.mo +0 -0
  38. languages/wdi-sv_SE.mo +0 -0
  39. readme.txt +39 -34
  40. templates/plugin-uninstalled.php +1 -1
  41. wd-instagram-feed.php +61 -60
admin-functions.php CHANGED
@@ -34,13 +34,13 @@ function wdi_uninstall_notice($arg) {
34
  if($arg == 1){
35
  ?>
36
  <div class="updated">
37
- <p><?php _e( 'Succesfully Uninstalled!', "wdi"); ?></p>
38
  </div>
39
  <?php
40
  }else{
41
  ?>
42
  <div class="error">
43
- <p><?php _e( 'Already Unistalled', "wdi"); ?></p>
44
  </div>
45
  <?php
46
  }
@@ -483,7 +483,7 @@ function wdi_configure_section_callback(){
483
  <div class="wdi_access_token_missing"><?php
484
  $options = get_option(WDI_OPT);
485
  if(!isset($options['wdi_access_token']) || $options['wdi_access_token'] == '' || !isset($options['wdi_user_name']) || $options['wdi_user_name'] == '')
486
- _e('You need Access Token for using Instagram API. Click sign in with Instagram button above to get yours. This will not show your Instagram media. After that you may create feed with desired user or hashtag media.', "wdi");
487
  ?></div>
488
  <?php
489
  }
@@ -563,17 +563,17 @@ function wdi_sanitize_options($input){
563
  //Sets all settings for admin pages and returns associative array of settings
564
  function wdi_get_settings(){
565
  $settings = array(
566
- 'wdi_access_token' => array('name' => 'wdi_access_token','sanitize_type'=>'text', 'required' =>'required','input_size'=>'55','type'=>'input','readonly'=>'readonly','default'=>'','field_or_not'=>'field','section'=>'wdi_configure_section','title'=>__('Access Token',"wdi")),
567
- 'wdi_user_name' => array('name' => 'wdi_user_name','sanitize_type'=>'text','required' =>'required','type'=>'input','section'=>'wdi_configure_section','readonly'=>'readonly','field_or_not'=>'field','default'=>'','title'=>__('Username',"wdi")),
568
- 'wdi_feeds_min_capability' => array('name'=>'wdi_feeds_min_capability',"sanitize_type"=> "text",'title'=>__('Minimal role to add and manage Feeds or Themes',"wdi"),'type'=>'select','field_or_not'=>'field',"default"=>"manage_options",'section'=>'wdi_configure_section','valid_options'=>array('manage_options'=>__('Administrator', 'wdi'),'publish_posts'=>__('Author', 'wdi'))),
569
 
570
  'wdi_user_id' => array('name' => 'wdi_user_id','sanitize_type'=>'text','type'=>'input','section'=>'wdi_configure_section','readonly'=>'readonly','default'=>'','field_or_not'=>'no_field'),
571
- 'wdi_custom_css'=>array('name'=>'wdi_custom_css','sanitize_type'=>'css','type'=>'textarea','section'=>'wdi_customize_section','field_or_not'=>'field','default'=>'','title'=>__('Custom CSS',"wdi")),
572
- //'wdi_preserve_settings_when_remove'=>array('name'=>'wdi_preserve_settings_when_remove','field_or_not'=>'field','type'=>'checkbox','default'=>'1', 'section'=>'wdi_configure_section','title'=>__('Preserve Settings When Remove',"wdi")),
573
  'wdi_plugin_uninstalled' => array('name'=>'wdi_plugin_uninstalled','sanitize_type'=>'bool','field_or_not'=>'field','type'=>'input','input_type'=>'hidden','section'=>'wdi_customize_section','title'=>'','default'=>'false','value'=>'false'),
574
  //'wdi_version' => array('name'=>'wdi_version','field_or_not'=>'no_field','default'=>WDI_VERSION),
575
  //'wdi_first_time'=>array('name'=>'wdi_first_time','field_or_not'=>'no_field','default'=>'1')
576
- 'wdi_custom_js'=>array('name'=>'wdi_custom_js','sanitize_type'=>'css','type'=>'textarea','section'=>'wdi_customize_section','field_or_not'=>'field','default'=>'','title'=>__('Custom JavaScript',"wdi")),
577
  );
578
  return $settings;
579
  }
@@ -624,7 +624,7 @@ function wdi_get_options() {
624
  $table_name = $wpdb->prefix. WDI_THEME_TABLE;
625
  if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name) {
626
  require_once(WDI_DIR . '/framework/WDILibrary.php');
627
- echo WDILibrary::message(__('Database error, please uninstall the plugin and install again', "wdi"), 'error');
628
  }else{
629
  $wpdb->insert($table_name, $theme);
630
  }
34
  if($arg == 1){
35
  ?>
36
  <div class="updated">
37
+ <p><?php _e( 'Succesfully Uninstalled!', "wd-instagram-feed"); ?></p>
38
  </div>
39
  <?php
40
  }else{
41
  ?>
42
  <div class="error">
43
+ <p><?php _e( 'Already Unistalled', "wd-instagram-feed"); ?></p>
44
  </div>
45
  <?php
46
  }
483
  <div class="wdi_access_token_missing"><?php
484
  $options = get_option(WDI_OPT);
485
  if(!isset($options['wdi_access_token']) || $options['wdi_access_token'] == '' || !isset($options['wdi_user_name']) || $options['wdi_user_name'] == '')
486
+ _e('You need Access Token for using Instagram API. Click sign in with Instagram button above to get yours. This will not show your Instagram media. After that you may create feed with desired user or hashtag media.', "wd-instagram-feed");
487
  ?></div>
488
  <?php
489
  }
563
  //Sets all settings for admin pages and returns associative array of settings
564
  function wdi_get_settings(){
565
  $settings = array(
566
+ 'wdi_access_token' => array('name' => 'wdi_access_token','sanitize_type'=>'text', 'required' =>'required','input_size'=>'55','type'=>'input','readonly'=>'readonly','default'=>'','field_or_not'=>'field','section'=>'wdi_configure_section','title'=>__('Access Token',"wd-instagram-feed")),
567
+ 'wdi_user_name' => array('name' => 'wdi_user_name','sanitize_type'=>'text','required' =>'required','type'=>'input','section'=>'wdi_configure_section','readonly'=>'readonly','field_or_not'=>'field','default'=>'','title'=>__('Username',"wd-instagram-feed")),
568
+ 'wdi_feeds_min_capability' => array('name'=>'wdi_feeds_min_capability',"sanitize_type"=> "text",'title'=>__('Minimal role to add and manage Feeds or Themes',"wd-instagram-feed"),'type'=>'select','field_or_not'=>'field',"default"=>"manage_options",'section'=>'wdi_configure_section','valid_options'=>array('manage_options'=>__('Administrator', 'wd-instagram-feed'),'publish_posts'=>__('Author', 'wd-instagram-feed'))),
569
 
570
  'wdi_user_id' => array('name' => 'wdi_user_id','sanitize_type'=>'text','type'=>'input','section'=>'wdi_configure_section','readonly'=>'readonly','default'=>'','field_or_not'=>'no_field'),
571
+ 'wdi_custom_css'=>array('name'=>'wdi_custom_css','sanitize_type'=>'css','type'=>'textarea','section'=>'wdi_customize_section','field_or_not'=>'field','default'=>'','title'=>__('Custom CSS',"wd-instagram-feed")),
572
+ //'wdi_preserve_settings_when_remove'=>array('name'=>'wdi_preserve_settings_when_remove','field_or_not'=>'field','type'=>'checkbox','default'=>'1', 'section'=>'wdi_configure_section','title'=>__('Preserve Settings When Remove',"wd-instagram-feed")),
573
  'wdi_plugin_uninstalled' => array('name'=>'wdi_plugin_uninstalled','sanitize_type'=>'bool','field_or_not'=>'field','type'=>'input','input_type'=>'hidden','section'=>'wdi_customize_section','title'=>'','default'=>'false','value'=>'false'),
574
  //'wdi_version' => array('name'=>'wdi_version','field_or_not'=>'no_field','default'=>WDI_VERSION),
575
  //'wdi_first_time'=>array('name'=>'wdi_first_time','field_or_not'=>'no_field','default'=>'1')
576
+ 'wdi_custom_js'=>array('name'=>'wdi_custom_js','sanitize_type'=>'css','type'=>'textarea','section'=>'wdi_customize_section','field_or_not'=>'field','default'=>'','title'=>__('Custom JavaScript',"wd-instagram-feed")),
577
  );
578
  return $settings;
579
  }
624
  $table_name = $wpdb->prefix. WDI_THEME_TABLE;
625
  if($wpdb->get_var("SHOW TABLES LIKE '$table_name'") != $table_name) {
626
  require_once(WDI_DIR . '/framework/WDILibrary.php');
627
+ echo WDILibrary::message(__('Database error, please uninstall the plugin and install again', "wd-instagram-feed"), 'error');
628
  }else{
629
  $wpdb->insert($table_name, $theme);
630
  }
admin/controllers/WDIControllerFeeds_wdi.php CHANGED
@@ -178,14 +178,14 @@ class WDIControllerFeeds_wdi {
178
  if($action==''){
179
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $settings,$this->dataFormat);
180
  if($wpdb->insert_id == false){
181
- $this->message(__('Cannot Write on database. Check database permissions.',"wdi"),'error');
182
  }
183
  }else{
184
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $settings, array('id'=>$action), $this->dataFormat,array('%d'));
185
  if($msg == false){
186
- $this->message(__("You have not made new changes","wdi"),'notice');
187
  }else{
188
- $this->message(__("Successfully saved","wdi"),"updated");
189
  }
190
  }
191
  $this->display();
@@ -208,7 +208,7 @@ class WDIControllerFeeds_wdi {
208
  if($action==''){
209
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $settings,$this->dataFormat);
210
  if($wpdb->insert_id == false){
211
- $this->message(__("Cannot Write on database. Check database permissions.","wdi"),'error');
212
  $this->display();
213
  }else{
214
  $this->edit($wpdb->insert_id);
@@ -216,10 +216,10 @@ class WDIControllerFeeds_wdi {
216
  }else{
217
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $settings, array('id'=>$action), $this->dataFormat,array('%d'));
218
  if($msg == false){
219
- $this->message(__("You have not made new changes","wdi"),'notice');
220
  $this->edit();
221
  }else{
222
- $this->message(__("Changes have been successfully applied","wdi"),"updated");
223
  $this->edit();
224
  }
225
 
@@ -243,7 +243,7 @@ class WDIControllerFeeds_wdi {
243
  if($action==''){
244
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $defaults,$this->dataFormat);
245
  if($wpdb->insert_id == false){
246
- $this->message(__('Cannot Write on database. Check database permissions.',"wdi"),'error');
247
  $this->display();
248
  }else{
249
  $this->edit($wpdb->insert_id);
@@ -251,10 +251,10 @@ class WDIControllerFeeds_wdi {
251
  }else{
252
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $defaults, array('id'=>$action), $this->dataFormat,array('%d'));
253
  if($msg == false){
254
- $this->message(__("You have not made new changes","wdi"),'notice');
255
  + $this->edit();
256
  }else{
257
- $this->message(__("Feed successfully reseted","wdi"),"updated");
258
  $this->edit();
259
  }
260
  }
@@ -269,7 +269,7 @@ class WDIControllerFeeds_wdi {
269
  $this->duplicate_tabels($slider_id);
270
  }
271
  }
272
- echo WDILibrary::message(__('Item Succesfully Duplicated.', "wdi"), 'updated');
273
  $this->display();
274
  }
275
 
@@ -292,10 +292,10 @@ class WDIControllerFeeds_wdi {
292
  global $wpdb;
293
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . WDI_FEED_TABLE. ' WHERE id="%d"', $id);
294
  if ($wpdb->query($query)) {
295
- echo WDILibrary::message(__('Item Succesfully Deleted.',"wdi"), 'updated');
296
  }
297
  else {
298
- echo WDILibrary::message(__('Error. Please install plugin again.', "wdi"), 'error');
299
  }
300
  $this->display();
301
  }
@@ -312,10 +312,10 @@ class WDIControllerFeeds_wdi {
312
  }
313
  }
314
  if ($flag) {
315
- echo WDILibrary::message(__('Items Succesfully Deleted.', "wdi"), 'updated');
316
  }
317
  else {
318
- echo WDILibrary::message(__('You must select at least one item.', "wdi"), 'error');
319
  }
320
  $this->display();
321
  }
@@ -324,10 +324,10 @@ class WDIControllerFeeds_wdi {
324
  global $wpdb;
325
  $save = $wpdb->update($wpdb->prefix . WDI_FEED_TABLE, array('published' => 1), array('id' => $id));
326
  if ($save !== FALSE) {
327
- echo WDILibrary::message(__('Item Succesfully Published.', "wdi"), 'updated');
328
  }
329
  else {
330
- echo WDILibrary::message(__('Error. Please install plugin again.', "wdi"), 'error');
331
  }
332
  $this->display();
333
  }
@@ -349,10 +349,10 @@ class WDIControllerFeeds_wdi {
349
  }
350
  }
351
  if ($flag) {
352
- echo WDILibrary::message(__('Items Succesfully Published.', "wdi"), 'updated');
353
  }
354
  else {
355
- echo WDILibrary::message(__('You must select at least one item.', "wdi"), 'error');
356
  }
357
  $this->display();
358
  }
@@ -361,10 +361,10 @@ class WDIControllerFeeds_wdi {
361
  global $wpdb;
362
  $save = $wpdb->update($wpdb->prefix . WDI_FEED_TABLE, array('published' => 0), array('id' => $id));
363
  if ($save !== FALSE) {
364
- echo WDILibrary::message(__('Item Succesfully Unpublished.', "wdi"), 'updated');
365
  }
366
  else {
367
- echo WDILibrary::message(__('Error. Please install plugin again.', "wdi"), 'error');
368
  }
369
  $this->display();
370
  }
@@ -386,10 +386,10 @@ class WDIControllerFeeds_wdi {
386
  }
387
  }
388
  if ($flag) {
389
- echo WDILibrary::message(__('Items Succesfully Unpublished.', "wdi"), 'updated');
390
  }
391
  else {
392
- echo WDILibrary::message(__('You must select at least one item.', "wdi"), 'error');
393
  }
394
  $this->display();
395
  }
178
  if($action==''){
179
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $settings,$this->dataFormat);
180
  if($wpdb->insert_id == false){
181
+ $this->message(__('Cannot Write on database. Check database permissions.',"wd-instagram-feed"),'error');
182
  }
183
  }else{
184
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $settings, array('id'=>$action), $this->dataFormat,array('%d'));
185
  if($msg == false){
186
+ $this->message(__("You have not made new changes","wd-instagram-feed"),'notice');
187
  }else{
188
+ $this->message(__("Successfully saved","wd-instagram-feed"),"updated");
189
  }
190
  }
191
  $this->display();
208
  if($action==''){
209
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $settings,$this->dataFormat);
210
  if($wpdb->insert_id == false){
211
+ $this->message(__("Cannot Write on database. Check database permissions.","wd-instagram-feed"),'error');
212
  $this->display();
213
  }else{
214
  $this->edit($wpdb->insert_id);
216
  }else{
217
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $settings, array('id'=>$action), $this->dataFormat,array('%d'));
218
  if($msg == false){
219
+ $this->message(__("You have not made new changes","wd-instagram-feed"),'notice');
220
  $this->edit();
221
  }else{
222
+ $this->message(__("Changes have been successfully applied","wd-instagram-feed"),"updated");
223
  $this->edit();
224
  }
225
 
243
  if($action==''){
244
  $wpdb->insert($wpdb->prefix. WDI_FEED_TABLE, $defaults,$this->dataFormat);
245
  if($wpdb->insert_id == false){
246
+ $this->message(__('Cannot Write on database. Check database permissions.',"wd-instagram-feed"),'error');
247
  $this->display();
248
  }else{
249
  $this->edit($wpdb->insert_id);
251
  }else{
252
  $msg = $wpdb->update($wpdb->prefix. WDI_FEED_TABLE, $defaults, array('id'=>$action), $this->dataFormat,array('%d'));
253
  if($msg == false){
254
+ $this->message(__("You have not made new changes","wd-instagram-feed"),'notice');
255
  + $this->edit();
256
  }else{
257
+ $this->message(__("Feed successfully reseted","wd-instagram-feed"),"updated");
258
  $this->edit();
259
  }
260
  }
269
  $this->duplicate_tabels($slider_id);
270
  }
271
  }
272
+ echo WDILibrary::message(__('Item Succesfully Duplicated.', "wd-instagram-feed"), 'updated');
273
  $this->display();
274
  }
275
 
292
  global $wpdb;
293
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . WDI_FEED_TABLE. ' WHERE id="%d"', $id);
294
  if ($wpdb->query($query)) {
295
+ echo WDILibrary::message(__('Item Succesfully Deleted.',"wd-instagram-feed"), 'updated');
296
  }
297
  else {
298
+ echo WDILibrary::message(__('Error. Please install plugin again.', "wd-instagram-feed"), 'error');
299
  }
300
  $this->display();
301
  }
312
  }
313
  }
314
  if ($flag) {
315
+ echo WDILibrary::message(__('Items Succesfully Deleted.', "wd-instagram-feed"), 'updated');
316
  }
317
  else {
318
+ echo WDILibrary::message(__('You must select at least one item.', "wd-instagram-feed"), 'error');
319
  }
320
  $this->display();
321
  }
324
  global $wpdb;
325
  $save = $wpdb->update($wpdb->prefix . WDI_FEED_TABLE, array('published' => 1), array('id' => $id));
326
  if ($save !== FALSE) {
327
+ echo WDILibrary::message(__('Item Succesfully Published.', "wd-instagram-feed"), 'updated');
328
  }
329
  else {
330
+ echo WDILibrary::message(__('Error. Please install plugin again.', "wd-instagram-feed"), 'error');
331
  }
332
  $this->display();
333
  }
349
  }
350
  }
351
  if ($flag) {
352
+ echo WDILibrary::message(__('Items Succesfully Published.', "wd-instagram-feed"), 'updated');
353
  }
354
  else {
355
+ echo WDILibrary::message(__('You must select at least one item.', "wd-instagram-feed"), 'error');
356
  }
357
  $this->display();
358
  }
361
  global $wpdb;
362
  $save = $wpdb->update($wpdb->prefix . WDI_FEED_TABLE, array('published' => 0), array('id' => $id));
363
  if ($save !== FALSE) {
364
+ echo WDILibrary::message(__('Item Succesfully Unpublished.', "wd-instagram-feed"), 'updated');
365
  }
366
  else {
367
+ echo WDILibrary::message(__('Error. Please install plugin again.', "wd-instagram-feed"), 'error');
368
  }
369
  $this->display();
370
  }
386
  }
387
  }
388
  if ($flag) {
389
+ echo WDILibrary::message(__('Items Succesfully Unpublished.', "wd-instagram-feed"), 'updated');
390
  }
391
  else {
392
+ echo WDILibrary::message(__('You must select at least one item.', "wd-instagram-feed"), 'error');
393
  }
394
  $this->display();
395
  }
admin/controllers/WDIControllerThemes_wdi.php CHANGED
@@ -342,12 +342,12 @@ class WDIControllerThemes_wdi {
342
  }
343
  }
344
  if(!isset($msg)){
345
- echo WDILibrary::message(__('Please select at least one item',"wdi"), 'error');
346
  }
347
  elseif($msg['msg'] == false){
348
- echo WDILibrary::message(__('Cannot Write on database. Check database permissions.',"wdi"), 'error');
349
  }else{
350
- echo WDILibrary::message(__('Items Succesfully Duplicated.', "wdi"), 'updated');
351
  }
352
 
353
  $this->display();
@@ -379,13 +379,13 @@ class WDIControllerThemes_wdi {
379
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . WDI_THEME_TABLE. ' WHERE id="%d"', $id);
380
 
381
  if ($wpdb->query($query)) {
382
- echo WDILibrary::message(__('Item Succesfully Deleted.',"wdi"), 'updated');
383
  }
384
  else {
385
- echo WDILibrary::message(__('Error. Please install plugin again.',"wdi"), 'error');
386
  }
387
  }else{
388
- echo WDILibrary::message(__('You cannot delete default theme.',"wdi"), 'error');
389
  }
390
  $this->display();
391
  }
@@ -406,16 +406,16 @@ class WDIControllerThemes_wdi {
406
  $wpdb->query($query);
407
  }else{
408
  $defaulFlag = true;
409
- echo WDILibrary::message(__('You cannot delete default theme.',"wdi"), 'error');
410
  }
411
  }
412
  }
413
  if ($flag) {
414
- echo WDILibrary::message(__('Items Succesfully Deleted.',"wdi"), 'updated');
415
  }
416
  else {
417
  if($defaulFlag==false){
418
- echo WDILibrary::message(__('You must select at least one item.',"wdi"), 'error');
419
  }
420
 
421
  }
342
  }
343
  }
344
  if(!isset($msg)){
345
+ echo WDILibrary::message(__('Please select at least one item',"wd-instagram-feed"), 'error');
346
  }
347
  elseif($msg['msg'] == false){
348
+ echo WDILibrary::message(__('Cannot Write on database. Check database permissions.',"wd-instagram-feed"), 'error');
349
  }else{
350
+ echo WDILibrary::message(__('Items Succesfully Duplicated.', "wd-instagram-feed"), 'updated');
351
  }
352
 
353
  $this->display();
379
  $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . WDI_THEME_TABLE. ' WHERE id="%d"', $id);
380
 
381
  if ($wpdb->query($query)) {
382
+ echo WDILibrary::message(__('Item Succesfully Deleted.',"wd-instagram-feed"), 'updated');
383
  }
384
  else {
385
+ echo WDILibrary::message(__('Error. Please install plugin again.',"wd-instagram-feed"), 'error');
386
  }
387
  }else{
388
+ echo WDILibrary::message(__('You cannot delete default theme.',"wd-instagram-feed"), 'error');
389
  }
390
  $this->display();
391
  }
406
  $wpdb->query($query);
407
  }else{
408
  $defaulFlag = true;
409
+ echo WDILibrary::message(__('You cannot delete default theme.',"wd-instagram-feed"), 'error');
410
  }
411
  }
412
  }
413
  if ($flag) {
414
+ echo WDILibrary::message(__('Items Succesfully Deleted.',"wd-instagram-feed"), 'updated');
415
  }
416
  else {
417
  if($defaulFlag==false){
418
+ echo WDILibrary::message(__('You must select at least one item.',"wd-instagram-feed"), 'error');
419
  }
420
 
421
  }
admin/controllers/WDIControllerWidget.php CHANGED
@@ -19,12 +19,12 @@ class WDIControllerWidget extends WP_Widget {
19
 
20
  $widget_ops = array(
21
  'classname' => 'wdi_instagram_widget',
22
- 'description' => __('Show your instagram feeds in your widget area',"wdi")
23
  );
24
  // Widget Control Settings.
25
  $control_ops = array('id_base' => 'wdi_instagram_widget');
26
  // Create the widget.
27
- parent::__construct('wdi_instagram_widget', __('Instagram WD Widget',"wdi"), $widget_ops, $control_ops);
28
  require_once WDI_DIR . "/admin/models/WDIModelWidget.php";
29
  $this->model = new WDIModelWidget();
30
  require_once WDI_DIR . "/admin/views/WDIViewWidget.php";
19
 
20
  $widget_ops = array(
21
  'classname' => 'wdi_instagram_widget',
22
+ 'description' => __('Show your instagram feeds in your widget area',"wd-instagram-feed")
23
  );
24
  // Widget Control Settings.
25
  $control_ops = array('id_base' => 'wdi_instagram_widget');
26
  // Create the widget.
27
+ parent::__construct('wdi_instagram_widget', __('Instagram WD Widget',"wd-instagram-feed"), $widget_ops, $control_ops);
28
  require_once WDI_DIR . "/admin/models/WDIModelWidget.php";
29
  $this->model = new WDIModelWidget();
30
  require_once WDI_DIR . "/admin/views/WDIViewWidget.php";
admin/views/WDIViewEditorShortcode.php CHANGED
@@ -97,7 +97,7 @@ class WDIViewEditorShortcode {
97
  <div id="wdi_editor_popup">
98
  <div class="editor_popup_container styled-select">
99
  <div class="wdi_feed_select table-row">
100
- <label for="wdi_feed_select" class="wdi_editor_label table-cell"><?php _e('Select Feed:', 'wdi'); ?></label>
101
  <span class="wdi_feed_thumb table-cell"></span>
102
  <span class="table-cell"><select name="wdi_feed_select" onchange="wdi_selectChange()" id="wdi_feed_select">
103
  <?php foreach ($rows as $row) {
97
  <div id="wdi_editor_popup">
98
  <div class="editor_popup_container styled-select">
99
  <div class="wdi_feed_select table-row">
100
+ <label for="wdi_feed_select" class="wdi_editor_label table-cell"><?php _e('Select Feed:', 'wd-instagram-feed'); ?></label>
101
  <span class="wdi_feed_thumb table-cell"></span>
102
  <span class="table-cell"><select name="wdi_feed_select" onchange="wdi_selectChange()" id="wdi_feed_select">
103
  <?php foreach ($rows as $row) {
admin/views/WDIViewFeeds_wdi.php CHANGED
@@ -34,40 +34,40 @@ class WDIViewFeeds_wdi {
34
  $ids_string = '';
35
  ?>
36
  <div class="wdi_help_bar_wrap">
37
- <span class="wdi_help_bar_text"><?php _e('This section allows you to create, edit and delete Feeds', "wdi"); ?></span>
38
- <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html"><?php _e('Read More in User Guide', "wdi"); ?></a>
39
- <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wdi"); ?></a>
40
- <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wdi"); ?></span></a>
41
  </div>
42
  <form class="wrap" id="sliders_form" method="post" action="admin.php?page=wdi_feeds" style="float: left; width: 99%;">
43
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
44
  <input type="hidden" id="wdi_access_token" name="access_token" value="<?php echo isset($wdi_options['wdi_access_token'])?$wdi_options['wdi_access_token']:'';?>">
45
  <span class="slider-icon"></span>
46
  <h2>
47
- <?php _e('Feeds', "wdi"); ?>
48
  <a href="" class="add-new-h2" onclick="wdi_spider_set_input_value('task', 'add');
49
  if(document.getElementById('wdi_access_token').value!=''){
50
  wdi_spider_form_submit(event, 'sliders_form');
51
- }"><?php _e('Add new', "wdi"); ?></a>
52
  </h2>
53
  <div class="buttons_div">
54
  <span class="button-secondary non_selectable" onclick="wdi_spider_check_all_items()">
55
  <input type="checkbox" id="check_all_items" name="check_all_items" onclick="wdi_spider_check_all_items_checkbox()" style="margin: 0; vertical-align: middle;" />
56
- <span style="vertical-align: middle;"><?php _e('Select All', "wdi"); ?></span>
57
  </span>
58
- <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'publish_all')" value="<?php esc_attr_e('Publish', "wdi"); ?>" />
59
- <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'unpublish_all')" value="<?php esc_attr_e('Unpublish', "wdi"); ?>" />
60
- <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'duplicate_all')" value="<?php esc_attr_e('Duplicate', "wdi"); ?>" />
61
 
62
- <input class="button-secondary" type="submit" onclick="if (confirm('<?php esc_attr_e('Do you want to delete selected items?', "wdi"); ?>')) {
63
  wdi_spider_set_input_value('task', 'delete_all');
64
  } else {
65
  return false;
66
- }" value="<?php esc_attr_e('Delete', "wdi"); ?>" />
67
  </div>
68
  <div class="tablenav top">
69
  <?php
70
- WDILibrary::search(__('Name',"wdi"), $search_value, 'sliders_form');
71
  WDILibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'sliders_form');
72
  ?>
73
  </div>
@@ -82,27 +82,27 @@ class WDIViewFeeds_wdi {
82
  <span>ID</span><span class="sorting-indicator"></span>
83
  </a>
84
  </th>
85
- <th class="table_big_col"><?php _e("Feed","wdi")?></th>
86
  <th class="<?php if ($order_by == 'feed_name') {echo $order_class;} ?>">
87
  <a onclick="wdi_spider_set_input_value('task', '');
88
  wdi_spider_set_input_value('order_by', 'feed_name');
89
  wdi_spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'feed_name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
90
  wdi_spider_form_submit(event, 'sliders_form')" href="">
91
- <span><?php _e('Name', "wdi"); ?></span><span class="sorting-indicator"></span>
92
  </a>
93
  </th>
94
- <th class="table_big_col"><?php _e('Shortcode', "wdi"); ?></th>
95
- <th class="table_large_col"><?php _e('PHP function', "wdi"); ?></th>
96
  <th class="table_big_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
97
  <a onclick="wdi_spider_set_input_value('task', '');
98
  wdi_spider_set_input_value('order_by', 'published');
99
  wdi_spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
100
  wdi_spider_form_submit(event, 'sliders_form')" href="">
101
- <span><?php _e('Published', "wdi"); ?></span><span class="sorting-indicator"></span>
102
  </a>
103
  </th>
104
- <th class="table_big_col"><?php _e('Edit', "wdi"); ?></th>
105
- <th class="table_big_col"><?php _e('Delete', "wdi"); ?></th>
106
  </thead>
107
  <tbody id="tbody_arr">
108
  <?php
@@ -145,7 +145,7 @@ class WDIViewFeeds_wdi {
145
  wdi_spider_set_input_value('order_by', 'order');
146
  wdi_spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
147
  wdi_spider_form_submit(event, 'sliders_form')" href="">Edit</a></td>
148
- <td class="table_big_col"><a onclick="if (confirm('<?php esc_attr_e('Do you want to delete selected items?', "wdi"); ?>')){
149
  wdi_spider_set_input_value('task', 'delete');
150
  wdi_spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
151
  wdi_spider_form_submit(event, 'sliders_form');
@@ -199,66 +199,66 @@ public function getFormElements($current_id=''){
199
  require_once(WDI_DIR. '/admin/models/WDIModelThemes_wdi.php');
200
  $themes = WDIModelThemes_wdi::get_themes();
201
  $elements = array(
202
- 'feed_name' => array('name'=>'feed_name','title'=>__('Feed Name',"wdi"),'type'=>'input','tooltip'=>__('The name of your feed which can be displayed in feed\'s header section',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
203
- 'theme_id' => array('switched'=>'off','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("Changing Theme is Available Only in PRO version","wdi"),'br'=>'true'),'name' =>'theme_id', 'title'=>__('Theme',"wdi"),'valid_options'=>$themes,'type'=>'select','tooltip'=>__('The theme of your feed, you can create themes in themes menu',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
204
- 'liked_feed' => array('switched'=>'off', 'disabled_options'=>array('liked'=>__('Feed of liked media is Available in PRO version'),'br'=>'true'), 'name'=>'liked_feed','title'=>__('User/Hashtag feed or liked media',"wdi"),'type'=>'radio','valid_options'=>array('userhash'=>__('Username/Hashtag',"wdi"),'liked'=>__('Media I liked',"wdi")),'break'=>'false','hide_ids'=>array('liked'=>'feed_users,thumb_user'),'tooltip'=>__('Show the media I liked instead of showing user or hashtag feed',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
205
- 'feed_users' => array('name'=>'feed_users','title'=>__('Feed Usernames and Hashtags',"wdi"),'type'=>'input','input_type'=>'hidden','tooltip'=>__('Enter usernames or hashtags to your feed, hashtags must start with #, username\'s shouldn\'t start with @',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
206
- 'thumb_user' => array('name' =>'thumb_user', 'title'=>__('Featured Image',"wdi"),'valid_options'=>array(),'type'=>'select','tooltip'=>__('Select Featured Image For Header Section',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
207
- 'feed_display_view' => array('name'=>'feed_display_view','title'=>__('Feed Display Type',"wdi"),'type'=>'radio','valid_options'=>array('pagination'=>__('Pagination',"wdi"),'load_more_btn'=>__('Load More Button',"wdi"),'infinite_scroll'=>__('Infinite Scroll',"wdi")),'disabled_options'=>array('infinite_scroll'=>__('This Feature is Available in PRO version'),'br'=>'true'),'break'=>'true','hide_ids'=>array('pagination'=>'number_of_photos,load_more_number,resort_after_load_more','load_more_btn'=>'pagination_per_page_number,pagination_preload_number','infinite_scroll'=>'pagination_per_page_number,pagination_preload_number'),'tooltip'=>__('How to load and display new images',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
208
- 'sort_images_by' => array('name' =>'sort_images_by', 'title'=>__('Sort Images By',"wdi"),'valid_options'=>array('date'=>__('Date',"wdi"),'likes'=>__('Likes',"wdi"),'comments'=>__('Comments',"wdi"),'random'=>__('Random',"wdi")),'type'=>'select','tooltip'=>__('How to sort images',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
209
- 'display_order' => array('name' =>'display_order', 'title'=>__('Order By',"wdi"),'valid_options'=>array('asc'=>'Ascending','desc'=>'Descending '),'type'=>'select','tooltip'=>__('Sorting order either Ascending or Descending',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
210
- 'follow_on_instagram_btn' => array('name'=>'follow_on_instagram_btn','title'=>__('Follow on Instagram Button',"wdi"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
211
- 'display_header' => array('name'=>'display_header','title'=>__('Display Header',"wdi"),'type'=>'checkbox','tooltip'=>__('Displays feed\'s header, header includes feed name and feed users',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
212
- 'number_of_photos' => array('name'=>'number_of_photos','title'=>__('Number of Photos to Display',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number of images to load when page loads first time',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
213
- 'load_more_number' => array('name'=>'load_more_number','title'=>__('Number of Photos to Load',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number of images to load when clicking load more button or triggering infinite scroll',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
214
- 'pagination_per_page_number'=>array('name'=>'pagination_per_page_number','title'=>__('Number of Images Per Page',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number Of Images To Show On Each Pagination Page',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
215
- 'pagination_preload_number'=>array('name'=>'pagination_preload_number','title'=>__('Number of Pages To Preload',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('This Will Preload Images For Pagination',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
216
- 'image_browser_preload_number'=>array('name'=>'image_browser_preload_number','title'=>__('Number of Images To Preload',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('This Will Preload Images For Pagination',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'image_browser'))),
217
- 'image_browser_load_number'=>array('name'=>'image_browser_load_number','title'=>__('Number of Images To Load Each Time',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number Of Photos To Load on Each Load',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'image_browser'))),
218
- 'number_of_columns' => array('name'=>'number_of_columns','title'=>__('Number of Columns',"wdi"),'type'=>'select','valid_options'=>array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8'),'tooltip'=>__('Feed item\'s column count',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
219
- 'resort_after_load_more' => array('name'=>'resort_after_load_more','title'=>__('Sort Again Whole Feed After Loading New Images',"wdi"),'type'=>'checkbox','tooltip'=>__('Sort both newly loaded and existing images alltogether',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
220
- 'show_likes' => array('switched'=>'off','name'=>'show_likes','title'=>__('Show Likes',"wdi"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
221
- 'show_description' => array('switched'=>'off','name'=>'show_description','title'=>__('Show Description',"wdi"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
222
- 'show_comments' => array('switched'=>'off','name'=>'show_comments','title'=>__('Show Comments',"wdi"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
223
- 'show_username_on_thumb' => array('switched'=>'off','name'=>'show_username_on_thumb','title'=>__('Show Username On Image Thumb',"wdi"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
224
- 'show_usernames' => array('name'=>'show_usernames','title'=>__('Show User Data',"wdi"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
225
- 'display_user_info' => array('name'=>'display_user_info','title'=>__('Display User Bio',"wdi"),'type'=>'checkbox','tooltip'=>__('User bio will be displayed if feed has only one user',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
226
- 'display_user_post_follow_number' => array('name'=>'display_user_post_follow_number','title'=>__('Display User Posts and Followers count',"wdi"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
227
- 'show_full_description' => array('name'=>'show_full_description','title'=>__('Show Full Description',"wdi"),'type'=>'checkbox','tooltip'=>__('Discription will be shown no matter how long it is',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'masonry'))),
228
- 'disable_mobile_layout' => array('name'=>'disable_mobile_layout','title'=>__('Disable Mobile Layout',"wdi"),'type'=>'checkbox','tooltip'=>__('Column number stays the same in all screens',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
229
- 'mobile_breakpoint' => array('name'=>'mobile_breakpoint','title'=>__('Window width breakpoint for small size media',"wdi"),'type'=>'input','input_type'=>'number','tooltip'=>__('Load media of smaller size from Instagram if browser width is smaller than this value. Faster loading in mobile devices. Set the value about 320px to always load large-size media.',"wdi"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
230
- 'feed_item_onclick' => array('name'=>'feed_item_onclick','title'=>__('Image Onclick',"wdi"),'type'=>'radio','valid_options'=>array('lightbox'=>__('Open Lightbox',"wdi"),'instagram'=>__('Redirect To Instagram',"wdi"),'none'=>__('Do Nothing',"wdi")),'break'=>'true','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
231
  //lightbox settings
232
- 'popup_fullscreen' => array('name'=>'popup_fullscreen','title'=>__('Full width lightbox',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
233
- 'popup_width' => array('name'=>'popup_width','title'=>__('Lightbox Width',"wdi"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
234
- 'popup_height' => array('name'=>'popup_height','title'=>__('Lightbox Height',"wdi"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
235
- 'popup_type' => array('name' =>'popup_type', 'title'=>__('Lightbox Effect',"wdi"),'valid_options'=>array('none'=>'None','fade'=>'Fade','cubeH'=>'Cube Horizontal','cubeV'=>'Cube Vertical','sliceH'=>'Slice Horizontal','sliceV'=>'Slice Vertical','slideH'=>'Slide Horizontal','slideV'=>'Slide Vertical','scaleOut'=>'Scale Out','scaleIn'=>'Scale In','blockScale'=>'Block Scale','kaleidoscope'=>'Kaleidoscope','fan'=>'Fan','blindH'=>'Blind Horizontal','blindV'=>'Blinde Vertical','random'=>'Random'),'disabled_options'=>array('cubeH','cubeV','sliceH','sliceV','slideH','slideV','scaleOut','scaleIn','blockScale','kaleidoscope','fan','blindH','blindV','random'),'type'=>'select','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
236
- 'popup_autoplay' => array('name'=>'popup_autoplay','title'=>__('Lightbox autoplay',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'hide_ids'=>array('0'=>'popup_interval'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
237
- 'popup_interval' => array('name'=>'popup_interval','title'=>__('Time Interval',"wdi"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'sec','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
238
- 'popup_enable_filmstrip' => array('disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'name'=>'popup_enable_filmstrip','title'=>__('Enable filmstrip in lightbox',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'hide_ids'=>array('0'=>'popup_filmstrip_height'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
239
- 'popup_filmstrip_height' => array('switched'=>'off','disabled'=>array('text'=>__("This Feature is Available Only in PRO version","wdi")),'name'=>'popup_filmstrip_height','title'=>__('Filmstrip size',"wdi"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
240
- 'autohide_lightbox_navigation' => array('name'=>'autohide_lightbox_navigation','title'=>__('Show Next / Previous Buttons',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('On Hover',"wdi"),'0'=>__('Always',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
241
- 'popup_info_always_show' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_info_always_show','title'=>__('Display info by default',"wdi"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
242
- 'popup_info_full_width' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_info_full_width','title'=>__('Full width info',"wdi"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
243
- 'enable_loop' => array('name'=>'enable_loop','title'=>__('Enable Loop',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
244
- 'popup_image_right_click' => array('name'=>'popup_image_right_click','title'=>__('Enable Right Click Protection',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
245
- 'popup_enable_ctrl_btn' => array('name'=>'popup_enable_ctrl_btn','title'=>__('Enable control buttons',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'hide_ids'=>array('0'=>'popup_enable_info,popup_enable_fullscreen,popup_enable_info,popup_enable_comment,popup_enable_download,popup_enable_share_buttons,popup_enable_fullsize_image'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
246
- 'popup_enable_info' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_enable_info','title'=>__('Enable info',"wdi"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'valid_options'=>array('1'=>'Yes','0'=>'No'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
247
- 'popup_enable_fullscreen' => array('name'=>'popup_enable_fullscreen','title'=>__('Enable fullscreen',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
248
- 'popup_enable_comment' => array('switched'=>'off','disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'name'=>'popup_enable_comment','title'=>__('Enable comments',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
249
- 'popup_enable_fullsize_image' => array('name'=>'popup_enable_fullsize_image','title'=>__('Link To Instagram Button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
250
- 'popup_enable_download' => array('name'=>'popup_enable_download','title'=>__('Enable Download Button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
251
- 'popup_enable_share_buttons' => array('disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wdi"),'br'=>'true'),'name'=>'popup_enable_share_buttons','title'=>__('Enable Share Buttons',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
252
- 'popup_enable_facebook' => array('status'=>'disabled','name'=>'popup_enable_facebook','title'=>__('Enable Facebook button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
253
- 'popup_enable_twitter' => array('status'=>'disabled','name'=>'popup_enable_twitter','title'=>__('Enable Twitter button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
254
- 'popup_enable_google' => array('status'=>'disabled','name'=>'popup_enable_google','title'=>__('Enable Google+ button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
255
- 'popup_enable_pinterest' => array('status'=>'disabled','name'=>'popup_enable_pinterest','title'=>__('Enable Pinterest button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
256
- 'popup_enable_tumblr' => array('status'=>'disabled','name'=>'popup_enable_tumblr','title'=>__('Enable Tumblr button',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
257
- 'show_image_counts' => array('status'=>'disabled','name'=>'show_image_counts','title'=>__('Show Images Count',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
258
 
259
  //filters
260
- 'conditional_filter_enable' => array('name'=>'conditional_filter_enable','title'=>__('Enable Conditional Filters',"wdi"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wdi"),'0'=>__('No',"wdi")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'conditional_filters'))),
261
- 'conditional_filter_type' => array('name'=>'conditional_filter_type','title'=>__('Filter Logic',"wdi"),'type'=>'select','label'=>array('text'=>'','place'=>'after'),'valid_options'=>array('AND'=>'AND','OR'=>'OR','NOR'=>'NOR'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'conditional_filters'))),
262
  );
263
  $return = array('elements'=>$elements,'current_id'=>$current_id);
264
  return $return;
@@ -296,9 +296,9 @@ public function genarateFeedViews(){
296
  public function generateTabs(){
297
  ?>
298
  <div id="wdi_feed_tabs">
299
- <div class="wdi_feed_tabs" id="wdi_feed_settings" onclick="wdi_controller.switchFeedTabs('feed_settings');"><?php _e('Feed Settings',"wdi")?></div>
300
- <div class="wdi_feed_tabs" id="wdi_lightbox_settings" onclick="wdi_controller.switchFeedTabs('lightbox_settings');"><?php _e('Lightbox Settings',"wdi")?></div>
301
- <div class="wdi_feed_tabs" id="wdi_conditional_filters" onclick="wdi_controller.switchFeedTabs('conditional_filters');"><?php _e('Conditional Filters',"wdi")?></div>
302
  <br class="wdi_clear">
303
  </div>
304
  <?php
@@ -319,18 +319,18 @@ public function generateForm($current_id = ''){
319
  }
320
  ?>
321
  <div class="wdi_help_bar_wrap">
322
- <span class="wdi_help_bar_text"><?php _e('Here You Can Change Feed Parameters', "wdi"); ?></span>
323
- <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html"><?php _e('Read More in User Guide', "wdi"); ?></a>
324
- <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wdi"); ?></a>
325
- <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wdi"); ?></span></a>
326
  </div>
327
 
328
  <div class="wrap">
329
  <h2><?php if($edit==true && isset($feed_row['feed_name'])){
330
- echo __('Edit feed',"wdi").' <b style="font-size:23px;color:rgb(255, 97, 0);">' .$feed_row['feed_name'].'</b>';
331
  }
332
  else{
333
- _e('Add new Feed', "wdi");
334
  }?>
335
 
336
 
@@ -360,7 +360,7 @@ public function generateForm($current_id = ''){
360
  ?>
361
 
362
  <div id="wdi-conditional-filters-ui" class="wdi_demo_img">
363
- <div class="wdi_pro_notice"> <?php _e("This is FREE version, Conditional filters are available only in PRO version","wdi"); ?> </div>
364
  <div class="wdi-pro-overlay"> <img src="<?php echo WDI_URL . '/demo_images/filters.png'; ?>" alt=""></div>
365
  </div><?php
366
  continue;
@@ -384,7 +384,7 @@ public function generateForm($current_id = ''){
384
  <!-- FEED USERS -->
385
  <?php if($element['name']=='feed_users'):?>
386
  <input type="text" id="wdi_add_user_ajax_input">
387
- <div id="wdi_add_user_ajax" class="button"><?php _e('Add', "wdi"); ?></div>
388
  <div id="wdi_feed_users">
389
  <?php $this->display_feed_users($feed_row);?>
390
  </div>
@@ -400,11 +400,11 @@ public function generateForm($current_id = ''){
400
  ?>
401
  </tbody>
402
  </table>
403
- <div id="wdi_save_feed_submit" class="button button-primary"><?php _e('Save', "wdi"); ?></div>
404
 
405
- <div id="wdi_save_feed_apply" class="button button-primary"><?php _e('Apply', "wdi"); ?></div>
406
- <div id="wdi_save_feed_reset" style="display:none" class="button button-secondary"><?php _e('Reset', "wdi"); ?></div>
407
- <div id="wdi_cancel_changes" class="button button-secondary"><?php _e('Cancel', "wdi"); ?></div>
408
  </form>
409
  </div>
410
  </div>
34
  $ids_string = '';
35
  ?>
36
  <div class="wdi_help_bar_wrap">
37
+ <span class="wdi_help_bar_text"><?php _e('This section allows you to create, edit and delete Feeds', "wd-instagram-feed"); ?></span>
38
+ <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
39
+ <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wd-instagram-feed"); ?></a>
40
+ <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wd-instagram-feed"); ?></span></a>
41
  </div>
42
  <form class="wrap" id="sliders_form" method="post" action="admin.php?page=wdi_feeds" style="float: left; width: 99%;">
43
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
44
  <input type="hidden" id="wdi_access_token" name="access_token" value="<?php echo isset($wdi_options['wdi_access_token'])?$wdi_options['wdi_access_token']:'';?>">
45
  <span class="slider-icon"></span>
46
  <h2>
47
+ <?php _e('Feeds', "wd-instagram-feed"); ?>
48
  <a href="" class="add-new-h2" onclick="wdi_spider_set_input_value('task', 'add');
49
  if(document.getElementById('wdi_access_token').value!=''){
50
  wdi_spider_form_submit(event, 'sliders_form');
51
+ }"><?php _e('Add new', "wd-instagram-feed"); ?></a>
52
  </h2>
53
  <div class="buttons_div">
54
  <span class="button-secondary non_selectable" onclick="wdi_spider_check_all_items()">
55
  <input type="checkbox" id="check_all_items" name="check_all_items" onclick="wdi_spider_check_all_items_checkbox()" style="margin: 0; vertical-align: middle;" />
56
+ <span style="vertical-align: middle;"><?php _e('Select All', "wd-instagram-feed"); ?></span>
57
  </span>
58
+ <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'publish_all')" value="<?php esc_attr_e('Publish', "wd-instagram-feed"); ?>" />
59
+ <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'unpublish_all')" value="<?php esc_attr_e('Unpublish', "wd-instagram-feed"); ?>" />
60
+ <input class="button-secondary" type="submit" onclick="wdi_spider_set_input_value('task', 'duplicate_all')" value="<?php esc_attr_e('Duplicate', "wd-instagram-feed"); ?>" />
61
 
62
+ <input class="button-secondary" type="submit" onclick="if (confirm('<?php esc_attr_e('Do you want to delete selected items?', "wd-instagram-feed"); ?>')) {
63
  wdi_spider_set_input_value('task', 'delete_all');
64
  } else {
65
  return false;
66
+ }" value="<?php esc_attr_e('Delete', "wd-instagram-feed"); ?>" />
67
  </div>
68
  <div class="tablenav top">
69
  <?php
70
+ WDILibrary::search(__('Name',"wd-instagram-feed"), $search_value, 'sliders_form');
71
  WDILibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'sliders_form');
72
  ?>
73
  </div>
82
  <span>ID</span><span class="sorting-indicator"></span>
83
  </a>
84
  </th>
85
+ <th class="table_big_col"><?php _e("Feed","wd-instagram-feed")?></th>
86
  <th class="<?php if ($order_by == 'feed_name') {echo $order_class;} ?>">
87
  <a onclick="wdi_spider_set_input_value('task', '');
88
  wdi_spider_set_input_value('order_by', 'feed_name');
89
  wdi_spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'feed_name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
90
  wdi_spider_form_submit(event, 'sliders_form')" href="">
91
+ <span><?php _e('Name', "wd-instagram-feed"); ?></span><span class="sorting-indicator"></span>
92
  </a>
93
  </th>
94
+ <th class="table_big_col"><?php _e('Shortcode', "wd-instagram-feed"); ?></th>
95
+ <th class="table_large_col"><?php _e('PHP function', "wd-instagram-feed"); ?></th>
96
  <th class="table_big_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
97
  <a onclick="wdi_spider_set_input_value('task', '');
98
  wdi_spider_set_input_value('order_by', 'published');
99
  wdi_spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
100
  wdi_spider_form_submit(event, 'sliders_form')" href="">
101
+ <span><?php _e('Published', "wd-instagram-feed"); ?></span><span class="sorting-indicator"></span>
102
  </a>
103
  </th>
104
+ <th class="table_big_col"><?php _e('Edit', "wd-instagram-feed"); ?></th>
105
+ <th class="table_big_col"><?php _e('Delete', "wd-instagram-feed"); ?></th>
106
  </thead>
107
  <tbody id="tbody_arr">
108
  <?php
145
  wdi_spider_set_input_value('order_by', 'order');
146
  wdi_spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
147
  wdi_spider_form_submit(event, 'sliders_form')" href="">Edit</a></td>
148
+ <td class="table_big_col"><a onclick="if (confirm('<?php esc_attr_e('Do you want to delete selected items?', "wd-instagram-feed"); ?>')){
149
  wdi_spider_set_input_value('task', 'delete');
150
  wdi_spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
151
  wdi_spider_form_submit(event, 'sliders_form');
199
  require_once(WDI_DIR. '/admin/models/WDIModelThemes_wdi.php');
200
  $themes = WDIModelThemes_wdi::get_themes();
201
  $elements = array(
202
+ 'feed_name' => array('name'=>'feed_name','title'=>__('Feed Name',"wd-instagram-feed"),'type'=>'input','tooltip'=>__('The name of your feed which can be displayed in feed\'s header section',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
203
+ 'theme_id' => array('switched'=>'off','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("Changing Theme is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'name' =>'theme_id', 'title'=>__('Theme',"wd-instagram-feed"),'valid_options'=>$themes,'type'=>'select','tooltip'=>__('The theme of your feed, you can create themes in themes menu',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
204
+ 'liked_feed' => array('switched'=>'off', 'disabled_options'=>array('liked'=>__('Feed of liked media is Available in PRO version'),'br'=>'true'), 'name'=>'liked_feed','title'=>__('User/Hashtag feed or liked media',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('userhash'=>__('Username/Hashtag',"wd-instagram-feed"),'liked'=>__('Media I liked',"wd-instagram-feed")),'break'=>'false','hide_ids'=>array('liked'=>'feed_users,thumb_user'),'tooltip'=>__('Show the media I liked instead of showing user or hashtag feed',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
205
+ 'feed_users' => array('name'=>'feed_users','title'=>__('Feed Usernames and Hashtags',"wd-instagram-feed"),'type'=>'input','input_type'=>'hidden','tooltip'=>__('Enter usernames or hashtags to your feed, hashtags must start with #, username\'s shouldn\'t start with @',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
206
+ 'thumb_user' => array('name' =>'thumb_user', 'title'=>__('Featured Image',"wd-instagram-feed"),'valid_options'=>array(),'type'=>'select','tooltip'=>__('Select Featured Image For Header Section',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
207
+ 'feed_display_view' => array('name'=>'feed_display_view','title'=>__('Feed Display Type',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('pagination'=>__('Pagination',"wd-instagram-feed"),'load_more_btn'=>__('Load More Button',"wd-instagram-feed"),'infinite_scroll'=>__('Infinite Scroll',"wd-instagram-feed")),'disabled_options'=>array('infinite_scroll'=>__('This Feature is Available in PRO version'),'br'=>'true'),'break'=>'true','hide_ids'=>array('pagination'=>'number_of_photos,load_more_number,resort_after_load_more','load_more_btn'=>'pagination_per_page_number,pagination_preload_number','infinite_scroll'=>'pagination_per_page_number,pagination_preload_number'),'tooltip'=>__('How to load and display new images',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
208
+ 'sort_images_by' => array('name' =>'sort_images_by', 'title'=>__('Sort Images By',"wd-instagram-feed"),'valid_options'=>array('date'=>__('Date',"wd-instagram-feed"),'likes'=>__('Likes',"wd-instagram-feed"),'comments'=>__('Comments',"wd-instagram-feed"),'random'=>__('Random',"wd-instagram-feed")),'type'=>'select','tooltip'=>__('How to sort images',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
209
+ 'display_order' => array('name' =>'display_order', 'title'=>__('Order By',"wd-instagram-feed"),'valid_options'=>array('asc'=>'Ascending','desc'=>'Descending '),'type'=>'select','tooltip'=>__('Sorting order either Ascending or Descending',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
210
+ 'follow_on_instagram_btn' => array('name'=>'follow_on_instagram_btn','title'=>__('Follow on Instagram Button',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
211
+ 'display_header' => array('name'=>'display_header','title'=>__('Display Header',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>__('Displays feed\'s header, header includes feed name and feed users',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
212
+ 'number_of_photos' => array('name'=>'number_of_photos','title'=>__('Number of Photos to Display',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number of images to load when page loads first time',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
213
+ 'load_more_number' => array('name'=>'load_more_number','title'=>__('Number of Photos to Load',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number of images to load when clicking load more button or triggering infinite scroll',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
214
+ 'pagination_per_page_number'=>array('name'=>'pagination_per_page_number','title'=>__('Number of Images Per Page',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number Of Images To Show On Each Pagination Page',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
215
+ 'pagination_preload_number'=>array('name'=>'pagination_preload_number','title'=>__('Number of Pages To Preload',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('This Will Preload Images For Pagination',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
216
+ 'image_browser_preload_number'=>array('name'=>'image_browser_preload_number','title'=>__('Number of Images To Preload',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('This Will Preload Images For Pagination',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'image_browser'))),
217
+ 'image_browser_load_number'=>array('name'=>'image_browser_load_number','title'=>__('Number of Images To Load Each Time',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('Number Of Photos To Load on Each Load',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'image_browser'))),
218
+ 'number_of_columns' => array('name'=>'number_of_columns','title'=>__('Number of Columns',"wd-instagram-feed"),'type'=>'select','valid_options'=>array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8'),'tooltip'=>__('Feed item\'s column count',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
219
+ 'resort_after_load_more' => array('name'=>'resort_after_load_more','title'=>__('Sort Again Whole Feed After Loading New Images',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>__('Sort both newly loaded and existing images alltogether',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style'))),
220
+ 'show_likes' => array('switched'=>'off','name'=>'show_likes','title'=>__('Show Likes',"wd-instagram-feed"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
221
+ 'show_description' => array('switched'=>'off','name'=>'show_description','title'=>__('Show Description',"wd-instagram-feed"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
222
+ 'show_comments' => array('switched'=>'off','name'=>'show_comments','title'=>__('Show Comments',"wd-instagram-feed"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
223
+ 'show_username_on_thumb' => array('switched'=>'off','name'=>'show_username_on_thumb','title'=>__('Show Username On Image Thumb',"wd-instagram-feed"),'type'=>'checkbox','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
224
+ 'show_usernames' => array('name'=>'show_usernames','title'=>__('Show User Data',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
225
+ 'display_user_info' => array('name'=>'display_user_info','title'=>__('Display User Bio',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>__('User bio will be displayed if feed has only one user',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
226
+ 'display_user_post_follow_number' => array('name'=>'display_user_post_follow_number','title'=>__('Display User Posts and Followers count',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
227
+ 'show_full_description' => array('name'=>'show_full_description','title'=>__('Show Full Description',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>__('Discription will be shown no matter how long it is',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'masonry'))),
228
+ 'disable_mobile_layout' => array('name'=>'disable_mobile_layout','title'=>__('Disable Mobile Layout',"wd-instagram-feed"),'type'=>'checkbox','tooltip'=>__('Column number stays the same in all screens',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry'))),
229
+ 'mobile_breakpoint' => array('name'=>'mobile_breakpoint','title'=>__('Window width breakpoint for small size media',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','tooltip'=>__('Load media of smaller size from Instagram if browser width is smaller than this value. Faster loading in mobile devices. Set the value about 320px to always load large-size media.',"wd-instagram-feed"),'attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
230
+ 'feed_item_onclick' => array('name'=>'feed_item_onclick','title'=>__('Image Onclick',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('lightbox'=>__('Open Lightbox',"wd-instagram-feed"),'instagram'=>__('Redirect To Instagram',"wd-instagram-feed"),'none'=>__('Do Nothing',"wd-instagram-feed")),'break'=>'true','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'feed_settings'),array('name'=>'section','value'=>'thumbnails,masonry,blog_style,image_browser'))),
231
  //lightbox settings
232
+ 'popup_fullscreen' => array('name'=>'popup_fullscreen','title'=>__('Full width lightbox',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
233
+ 'popup_width' => array('name'=>'popup_width','title'=>__('Lightbox Width',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
234
+ 'popup_height' => array('name'=>'popup_height','title'=>__('Lightbox Height',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
235
+ 'popup_type' => array('name' =>'popup_type', 'title'=>__('Lightbox Effect',"wd-instagram-feed"),'valid_options'=>array('none'=>'None','fade'=>'Fade','cubeH'=>'Cube Horizontal','cubeV'=>'Cube Vertical','sliceH'=>'Slice Horizontal','sliceV'=>'Slice Vertical','slideH'=>'Slide Horizontal','slideV'=>'Slide Vertical','scaleOut'=>'Scale Out','scaleIn'=>'Scale In','blockScale'=>'Block Scale','kaleidoscope'=>'Kaleidoscope','fan'=>'Fan','blindH'=>'Blind Horizontal','blindV'=>'Blinde Vertical','random'=>'Random'),'disabled_options'=>array('cubeH','cubeV','sliceH','sliceV','slideH','slideV','scaleOut','scaleIn','blockScale','kaleidoscope','fan','blindH','blindV','random'),'type'=>'select','tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
236
+ 'popup_autoplay' => array('name'=>'popup_autoplay','title'=>__('Lightbox autoplay',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'hide_ids'=>array('0'=>'popup_interval'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
237
+ 'popup_interval' => array('name'=>'popup_interval','title'=>__('Time Interval',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'sec','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
238
+ 'popup_enable_filmstrip' => array('disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'name'=>'popup_enable_filmstrip','title'=>__('Enable filmstrip in lightbox',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'hide_ids'=>array('0'=>'popup_filmstrip_height'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
239
+ 'popup_filmstrip_height' => array('switched'=>'off','disabled'=>array('text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed")),'name'=>'popup_filmstrip_height','title'=>__('Filmstrip size',"wd-instagram-feed"),'type'=>'input','input_type'=>'number','label'=>array('text'=>'px','place'=>'after'),'tooltip'=>'','attr'=>array(array('name'=>'class','value'=>'small_input'),array('name'=>'tab','value'=>'lightbox_settings'))),
240
+ 'autohide_lightbox_navigation' => array('name'=>'autohide_lightbox_navigation','title'=>__('Show Next / Previous Buttons',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('On Hover',"wd-instagram-feed"),'0'=>__('Always',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
241
+ 'popup_info_always_show' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_info_always_show','title'=>__('Display info by default',"wd-instagram-feed"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
242
+ 'popup_info_full_width' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_info_full_width','title'=>__('Full width info',"wd-instagram-feed"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
243
+ 'enable_loop' => array('name'=>'enable_loop','title'=>__('Enable Loop',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
244
+ 'popup_image_right_click' => array('name'=>'popup_image_right_click','title'=>__('Enable Right Click Protection',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
245
+ 'popup_enable_ctrl_btn' => array('name'=>'popup_enable_ctrl_btn','title'=>__('Enable control buttons',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'hide_ids'=>array('0'=>'popup_enable_info,popup_enable_fullscreen,popup_enable_info,popup_enable_comment,popup_enable_download,popup_enable_share_buttons,popup_enable_fullsize_image'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
246
+ 'popup_enable_info' => array('disabled_options'=>array('1'=>'','0'=>''),'name'=>'popup_enable_info','title'=>__('Enable info',"wd-instagram-feed"),'type'=>'radio','label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'valid_options'=>array('1'=>'Yes','0'=>'No'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
247
+ 'popup_enable_fullscreen' => array('name'=>'popup_enable_fullscreen','title'=>__('Enable fullscreen',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
248
+ 'popup_enable_comment' => array('switched'=>'off','disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'name'=>'popup_enable_comment','title'=>__('Enable comments',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
249
+ 'popup_enable_fullsize_image' => array('name'=>'popup_enable_fullsize_image','title'=>__('Link To Instagram Button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
250
+ 'popup_enable_download' => array('name'=>'popup_enable_download','title'=>__('Enable Download Button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
251
+ 'popup_enable_share_buttons' => array('disabled_options'=>array('1'=>'','0'=>''),'label'=>array('place'=>'after','class'=>'wdi_pro_only','text'=>__("This Feature is Available Only in PRO version","wd-instagram-feed"),'br'=>'true'),'name'=>'popup_enable_share_buttons','title'=>__('Enable Share Buttons',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
252
+ 'popup_enable_facebook' => array('status'=>'disabled','name'=>'popup_enable_facebook','title'=>__('Enable Facebook button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
253
+ 'popup_enable_twitter' => array('status'=>'disabled','name'=>'popup_enable_twitter','title'=>__('Enable Twitter button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
254
+ 'popup_enable_google' => array('status'=>'disabled','name'=>'popup_enable_google','title'=>__('Enable Google+ button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
255
+ 'popup_enable_pinterest' => array('status'=>'disabled','name'=>'popup_enable_pinterest','title'=>__('Enable Pinterest button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
256
+ 'popup_enable_tumblr' => array('status'=>'disabled','name'=>'popup_enable_tumblr','title'=>__('Enable Tumblr button',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
257
+ 'show_image_counts' => array('status'=>'disabled','name'=>'show_image_counts','title'=>__('Show Images Count',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'lightbox_settings'))),
258
 
259
  //filters
260
+ 'conditional_filter_enable' => array('name'=>'conditional_filter_enable','title'=>__('Enable Conditional Filters',"wd-instagram-feed"),'type'=>'radio','valid_options'=>array('1'=>__('Yes',"wd-instagram-feed"),'0'=>__('No',"wd-instagram-feed")),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'conditional_filters'))),
261
+ 'conditional_filter_type' => array('name'=>'conditional_filter_type','title'=>__('Filter Logic',"wd-instagram-feed"),'type'=>'select','label'=>array('text'=>'','place'=>'after'),'valid_options'=>array('AND'=>'AND','OR'=>'OR','NOR'=>'NOR'),'tooltip'=>'','attr'=>array(array('name'=>'tab','value'=>'conditional_filters'))),
262
  );
263
  $return = array('elements'=>$elements,'current_id'=>$current_id);
264
  return $return;
296
  public function generateTabs(){
297
  ?>
298
  <div id="wdi_feed_tabs">
299
+ <div class="wdi_feed_tabs" id="wdi_feed_settings" onclick="wdi_controller.switchFeedTabs('feed_settings');"><?php _e('Feed Settings',"wd-instagram-feed")?></div>
300
+ <div class="wdi_feed_tabs" id="wdi_lightbox_settings" onclick="wdi_controller.switchFeedTabs('lightbox_settings');"><?php _e('Lightbox Settings',"wd-instagram-feed")?></div>
301
+ <div class="wdi_feed_tabs" id="wdi_conditional_filters" onclick="wdi_controller.switchFeedTabs('conditional_filters');"><?php _e('Conditional Filters',"wd-instagram-feed")?></div>
302
  <br class="wdi_clear">
303
  </div>
304
  <?php
319
  }
320
  ?>
321
  <div class="wdi_help_bar_wrap">
322
+ <span class="wdi_help_bar_text"><?php _e('Here You Can Change Feed Parameters', "wd-instagram-feed"); ?></span>
323
+ <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
324
+ <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wd-instagram-feed"); ?></a>
325
+ <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wd-instagram-feed"); ?></span></a>
326
  </div>
327
 
328
  <div class="wrap">
329
  <h2><?php if($edit==true && isset($feed_row['feed_name'])){
330
+ echo __('Edit feed',"wd-instagram-feed").' <b style="font-size:23px;color:rgb(255, 97, 0);">' .$feed_row['feed_name'].'</b>';
331
  }
332
  else{
333
+ _e('Add new Feed', "wd-instagram-feed");
334
  }?>
335
 
336
 
360
  ?>
361
 
362
  <div id="wdi-conditional-filters-ui" class="wdi_demo_img">
363
+ <div class="wdi_pro_notice"> <?php _e("This is FREE version, Conditional filters are available only in PRO version","wd-instagram-feed"); ?> </div>
364
  <div class="wdi-pro-overlay"> <img src="<?php echo WDI_URL . '/demo_images/filters.png'; ?>" alt=""></div>
365
  </div><?php
366
  continue;
384
  <!-- FEED USERS -->
385
  <?php if($element['name']=='feed_users'):?>
386
  <input type="text" id="wdi_add_user_ajax_input">
387
+ <div id="wdi_add_user_ajax" class="button"><?php _e('Add', "wd-instagram-feed"); ?></div>
388
  <div id="wdi_feed_users">
389
  <?php $this->display_feed_users($feed_row);?>
390
  </div>
400
  ?>
401
  </tbody>
402
  </table>
403
+ <div id="wdi_save_feed_submit" class="button button-primary"><?php _e('Save', "wd-instagram-feed"); ?></div>
404
 
405
+ <div id="wdi_save_feed_apply" class="button button-primary"><?php _e('Apply', "wd-instagram-feed"); ?></div>
406
+ <div id="wdi_save_feed_reset" style="display:none" class="button button-secondary"><?php _e('Reset', "wd-instagram-feed"); ?></div>
407
+ <div id="wdi_cancel_changes" class="button button-secondary"><?php _e('Cancel', "wd-instagram-feed"); ?></div>
408
  </form>
409
  </div>
410
  </div>
admin/views/WDIViewLicensing_wdi.php CHANGED
@@ -25,40 +25,40 @@ class WDIViewLicensing_wdi {
25
  public function display() {
26
  ?>
27
  <div class="wdi_help_bar_wrap">
28
- <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wdi"); ?></a>
29
  </div>
30
  <div id="featurs_tables">
31
  <div id="featurs_table1">
32
- <span>WordPress 4.0+ <?php _e("ready", 'wdi'); ?></span>
33
 
34
- <span><?php _e("Responsive Design and Layout", 'wdi'); ?></span>
35
- <span><?php _e("SEO Friendly", 'wdi'); ?></span>
36
- <span><?php _e("Thumbnails layout", 'wdi'); ?></span>
37
- <span><?php _e("Image Browser layout", 'wdi'); ?></span>
38
- <span><?php _e("Lightbox", 'wdi'); ?></span>
39
- <span><?php _e("Load More Button / Classic Pagination", 'wdi'); ?></span>
40
- <span><?php _e("Image Sorting", 'wdi'); ?></span>
41
- <span><?php _e("Widget", 'wdi'); ?></span>
42
- <span><?php _e("Slideshow/Lightbox Effects", 'wdi'); ?></span>
43
 
44
 
45
- <span><?php _e("Conditional Filters", 'wdi'); ?></span>
46
- <span><?php _e("Feed based on liked media", 'wdi'); ?></span>
47
- <span><?php _e("Image On Hover Effects", 'wdi'); ?></span>
48
- <span><?php _e("Infinite Scroll Load More", 'wdi'); ?></span>
49
- <span><?php _e("Full Style Customization With Themes", 'wdi'); ?></span>
50
- <span><?php _e("Filmstrip", 'wdi'); ?></span>
51
- <span><?php _e("Instagram Comments in Lightbox", 'wdi'); ?></span>
52
- <span><?php _e("Blog Style layout", 'wdi'); ?></span>
53
- <span><?php _e("Masonry layout", 'wdi'); ?></span>
54
- <span><?php _e("Videos in BlogStyle, ImageBrowser and Lightbox", 'wdi'); ?></span>
55
- <span><?php _e("Social Share Buttons", 'wdi'); ?></span>
56
- <span><?php _e("Multiple User/Hashtag Feeds", 'wdi'); ?></span>
57
- <span><?php _e("Filtering Images Based on Users/Hashtags", 'wdi'); ?></span>
58
- <span><?php _e("Support / Updates", 'wdi'); ?></span>
59
  </div>
60
  <div id="featurs_table2">
61
- <span style="padding-top: 18px;height: 39px;"><?php _e("Free", 'wdi'); ?></span>
62
 
63
  <span class="yes"></span>
64
  <span class="yes"></span>
@@ -83,10 +83,10 @@ class WDIViewLicensing_wdi {
83
  <span class="no"></span>
84
  <span class="no"></span>
85
  <span class="no"></span>
86
- <span> <?php _e('Only Bug Fixes',"wdi"); ?> </span>
87
  </div>
88
  <div id="featurs_table3">
89
- <span><?php _e("Pro Version", 'wdi'); ?></span>
90
 
91
  <span class="yes"></span>
92
  <span class="yes"></span>
@@ -111,7 +111,7 @@ class WDIViewLicensing_wdi {
111
  <span class="yes"></span>
112
  <span class="yes"></span>
113
  <span class="yes"></span>
114
- <span> <?php _e('Full Support',"wdi"); ?> </span>
115
  </div>
116
 
117
 
@@ -120,11 +120,11 @@ class WDIViewLicensing_wdi {
120
  </div>
121
 
122
  <div style="float: left; clear: both;">
123
- <p><?php _e("After purchasing the commercial version follow these steps:", 'wdi'); ?></p>
124
  <ol>
125
- <li><?php _e("Deactivate Instagram Feed WD plugin.", 'wdi'); ?></li>
126
- <li><?php _e("Delete Instagram Feed WD plugin.", 'wdi'); ?></li>
127
- <li><?php _e("Install the downloaded commercial version of the plugin.", 'wdi'); ?></li>
128
  </ol>
129
  </div>
130
  <?php
25
  public function display() {
26
  ?>
27
  <div class="wdi_help_bar_wrap">
28
+ <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wd-instagram-feed"); ?></a>
29
  </div>
30
  <div id="featurs_tables">
31
  <div id="featurs_table1">
32
+ <span>WordPress 4.0+ <?php _e("ready", 'wd-instagram-feed'); ?></span>
33
 
34
+ <span><?php _e("Responsive Design and Layout", 'wd-instagram-feed'); ?></span>
35
+ <span><?php _e("SEO Friendly", 'wd-instagram-feed'); ?></span>
36
+ <span><?php _e("Thumbnails layout", 'wd-instagram-feed'); ?></span>
37
+ <span><?php _e("Image Browser layout", 'wd-instagram-feed'); ?></span>
38
+ <span><?php _e("Lightbox", 'wd-instagram-feed'); ?></span>
39
+ <span><?php _e("Load More Button / Classic Pagination", 'wd-instagram-feed'); ?></span>
40
+ <span><?php _e("Image Sorting", 'wd-instagram-feed'); ?></span>
41
+ <span><?php _e("Widget", 'wd-instagram-feed'); ?></span>
42
+ <span><?php _e("Slideshow/Lightbox Effects", 'wd-instagram-feed'); ?></span>
43
 
44
 
45
+ <span><?php _e("Conditional Filters", 'wd-instagram-feed'); ?></span>
46
+ <span><?php _e("Feed based on liked media", 'wd-instagram-feed'); ?></span>
47
+ <span><?php _e("Image On Hover Effects", 'wd-instagram-feed'); ?></span>
48
+ <span><?php _e("Infinite Scroll Load More", 'wd-instagram-feed'); ?></span>
49
+ <span><?php _e("Full Style Customization With Themes", 'wd-instagram-feed'); ?></span>
50
+ <span><?php _e("Filmstrip", 'wd-instagram-feed'); ?></span>
51
+ <span><?php _e("Instagram Comments in Lightbox", 'wd-instagram-feed'); ?></span>
52
+ <span><?php _e("Blog Style layout", 'wd-instagram-feed'); ?></span>
53
+ <span><?php _e("Masonry layout", 'wd-instagram-feed'); ?></span>
54
+ <span><?php _e("Videos in BlogStyle, ImageBrowser and Lightbox", 'wd-instagram-feed'); ?></span>
55
+ <span><?php _e("Social Share Buttons", 'wd-instagram-feed'); ?></span>
56
+ <span><?php _e("Multiple User/Hashtag Feeds", 'wd-instagram-feed'); ?></span>
57
+ <span><?php _e("Filtering Images Based on Users/Hashtags", 'wd-instagram-feed'); ?></span>
58
+ <span><?php _e("Support / Updates", 'wd-instagram-feed'); ?></span>
59
  </div>
60
  <div id="featurs_table2">
61
+ <span style="padding-top: 18px;height: 39px;"><?php _e("Free", 'wd-instagram-feed'); ?></span>
62
 
63
  <span class="yes"></span>
64
  <span class="yes"></span>
83
  <span class="no"></span>
84
  <span class="no"></span>
85
  <span class="no"></span>
86
+ <span> <?php _e('Only Bug Fixes',"wd-instagram-feed"); ?> </span>
87
  </div>
88
  <div id="featurs_table3">
89
+ <span><?php _e("Pro Version", 'wd-instagram-feed'); ?></span>
90
 
91
  <span class="yes"></span>
92
  <span class="yes"></span>
111
  <span class="yes"></span>
112
  <span class="yes"></span>
113
  <span class="yes"></span>
114
+ <span> <?php _e('Full Support',"wd-instagram-feed"); ?> </span>
115
  </div>
116
 
117
 
120
  </div>
121
 
122
  <div style="float: left; clear: both;">
123
+ <p><?php _e("After purchasing the commercial version follow these steps:", 'wd-instagram-feed'); ?></p>
124
  <ol>
125
+ <li><?php _e("Deactivate Instagram Feed WD plugin.", 'wd-instagram-feed'); ?></li>
126
+ <li><?php _e("Delete Instagram Feed WD plugin.", 'wd-instagram-feed'); ?></li>
127
+ <li><?php _e("Install the downloaded commercial version of the plugin.", 'wd-instagram-feed'); ?></li>
128
  </ol>
129
  </div>
130
  <?php
admin/views/WDIViewSettings_wdi.php CHANGED
@@ -44,18 +44,18 @@ private $model;
44
  }
45
  ?>
46
  <div class="wdi_help_bar_wrap">
47
- <span class="wdi_help_bar_text"><?php _e('This section allows you to set API parameters', "wdi"); ?></span>
48
- <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/getting-access-token.html"><?php _e('Read More in User Guide', "wdi"); ?></a>
49
- <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wdi"); ?></a>
50
- <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wdi"); ?></span></a>
51
  </div>
52
 
53
- <h1 id="settings_wdi_title"><?php _e('Instagram WD Settings', "wdi"); ?></h1>
54
  <form method="post" action="options.php">
55
  <input type="hidden"id="wdi_user_id" name="<?php echo WDI_OPT.'[wdi_user_id]' ?>">
56
  <?php settings_fields('wdi_all_settings'); ?>
57
  <?php do_settings_sections('settings_wdi'); ?>
58
- <div id="wdi_reset_access_token" class="button button-secondary"><?php _e("Reset Access Token and Username","wdi")?></div>
59
  <?php submit_button(); ?>
60
  <style>
61
  p.submit{
@@ -70,7 +70,7 @@ private $model;
70
  <script>
71
  jQuery(document).ready(function(){
72
  jQuery('#wdi_reset_access_token').on('click',function(){
73
- if(confirm("<?php _e('Are you sure that you want to reset access token and username, after resetting it you will need to log in with Instagram again for using plugin','wdi')?>")){
74
  jQuery('#wdi_access_token').attr('value','');
75
  jQuery('#wdi_user_name').attr('value','');
76
  document.cookie = "wdi_autofill=false";
44
  }
45
  ?>
46
  <div class="wdi_help_bar_wrap">
47
+ <span class="wdi_help_bar_text"><?php _e('This section allows you to set API parameters', "wd-instagram-feed"); ?></span>
48
+ <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/getting-access-token.html"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
49
+ <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wd-instagram-feed"); ?></a>
50
+ <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wd-instagram-feed"); ?></span></a>
51
  </div>
52
 
53
+ <h1 id="settings_wdi_title"><?php _e('Instagram WD Settings', "wd-instagram-feed"); ?></h1>
54
  <form method="post" action="options.php">
55
  <input type="hidden"id="wdi_user_id" name="<?php echo WDI_OPT.'[wdi_user_id]' ?>">
56
  <?php settings_fields('wdi_all_settings'); ?>
57
  <?php do_settings_sections('settings_wdi'); ?>
58
+ <div id="wdi_reset_access_token" class="button button-secondary"><?php _e("Reset Access Token and Username","wd-instagram-feed")?></div>
59
  <?php submit_button(); ?>
60
  <style>
61
  p.submit{
70
  <script>
71
  jQuery(document).ready(function(){
72
  jQuery('#wdi_reset_access_token').on('click',function(){
73
+ if(confirm("<?php _e('Are you sure that you want to reset access token and username, after resetting it you will need to log in with Instagram again for using plugin','wd-instagram-feed')?>")){
74
  jQuery('#wdi_access_token').attr('value','');
75
  jQuery('#wdi_user_name').attr('value','');
76
  document.cookie = "wdi_autofill=false";
admin/views/WDIViewThemes_wdi.php CHANGED
@@ -25,12 +25,12 @@ class WDIViewThemes_wdi {
25
 
26
  ?>
27
  <div class="wdi_help_bar_wrap">
28
- <span class="wdi_help_bar_text"><?php _e('This section allows you to create, edit and delete Themes', "wdi"); ?></span>
29
- <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/editing-themes.html"><?php _e('Read More in User Guide', "wdi"); ?></a>
30
- <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wdi"); ?></a>
31
- <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wdi"); ?></span></a>
32
  </div>
33
- <div class="wdi_pro_notice"> <?php _e("This is FREE version, Customizing themes is available only in PRO version","wdi"); ?> </div>
34
 
35
 
36
  <?php
25
 
26
  ?>
27
  <div class="wdi_help_bar_wrap">
28
+ <span class="wdi_help_bar_text"><?php _e('This section allows you to create, edit and delete Themes', "wd-instagram-feed"); ?></span>
29
+ <a class="wdi_hb_t_link" target="_blank" href="https://web-dorado.com/wordpress-instagram-feed-wd/editing-themes.html"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
30
+ <a class="wdi_hb_buy_pro" target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html"><?php _e('Upgrade to Pro Version', "wd-instagram-feed"); ?></a>
31
+ <a class="wdi_hb_s_link" target="_blank" href="https://wordpress.org/support/plugin/wd-instagram-feed"><img src="<?php echo WDI_URL; ?>/images/i_support.png"><span class="wdi_hb_s_text"><?php _e('Support Forum', "wd-instagram-feed"); ?></span></a>
32
  </div>
33
+ <div class="wdi_pro_notice"> <?php _e("This is FREE version, Customizing themes is available only in PRO version","wd-instagram-feed"); ?> </div>
34
 
35
 
36
  <?php
admin/views/WDIViewUninstall_wdi.php CHANGED
@@ -23,15 +23,15 @@ class WDIViewUninstall_wdi
23
 
24
  <span class="uninstall-icon"></span>
25
  <h2 class="wdi_page_title">
26
- <?php _e('Uninstalling Instagram Feed WD', "wdi"); ?>
27
  </h2>
28
  <p
29
- style="color:red;font-size:15px"> <?php _e('Deactivating Instagram Feed WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.', 'wdi') ?>
30
  <br>
31
- <?php _e('WARNING: Once uninstalled, this can\'t be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wdi') ?>
32
  </p>
33
  <p
34
- style="color:red;margin-top:10px;font-size:13px;"> <?php _e('The following Database Tables will be deleted:', 'wdi') ?> </p>
35
  <div style="background-color:white;border:1px solid #888888">
36
  <ul style="background-color:white;margin:0">
37
  <p style="background-color:#F3EFEF;margin: 0;border-bottom: 1px solid #888888;padding:2px;font-size:20px;">
@@ -55,7 +55,7 @@ class WDIViewUninstall_wdi
55
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
56
  <input type="hidden" name="task" value="uninstall">
57
  <div style="text-align:center">
58
- <p style="margin:0;font-size:15px;"><?php _e('Are you sure you want to uninstall plugin?', 'wdi') ?></p>
59
  <input type="checkbox" style="text-align: center;" id="wdi_verify" name="wdi_verify" value="1">
60
  <label for="wdi_verify" style="vertical-align:top">Yes</label>
61
  <br>
@@ -70,7 +70,7 @@ class WDIViewUninstall_wdi
70
  {
71
  jQuery('#wdi_submit').on('click', function ()
72
  {
73
- if (confirm("<?php _e('Are you sure you want to uninstall plugin?', 'wdi') ?>")) {
74
  jQuery('#wdi_uninstall_form').submit();
75
  }
76
  });
@@ -85,15 +85,15 @@ class WDIViewUninstall_wdi
85
  ?>
86
  <span class="uninstall-icon"></span>
87
  <h2>
88
- <?php _e('Uninstalling Instagram Feed WD', "wdi"); ?>
89
  </h2>
90
- <!--<p style="color:green;font-size:15px"> <?php /*_e('Instagram Feed WD is uninstalled','wdi') */
91
  ?><a style="text-decoration:none;padding:3px;" href="<?php /*echo $deactivate_url */
92
  ?>"> <?php /*_e('Click Here') */
93
- ?> </a><?php /*_e('to deactivate it','wdi') */
94
  ?></p>-->
95
  <p><strong><a href="#" class="wdi_deactivate_link"
96
- data-uninstall="1"><?php _e("Click Here", "wdi"); ?></a><?php _e(" To Finish the Uninstallation and Instagram Feed WD will be Deactivated Automatically.", "wdi"); ?>
97
  </strong></p>
98
 
99
  <?php
@@ -106,10 +106,10 @@ class WDIViewUninstall_wdi
106
  ?>
107
  <span class="uninstall-icon"></span>
108
  <h2>
109
- <?php _e('Uninstalling Instagram Feed WD', "wdi"); ?>
110
  </h2>
111
  <p
112
- style="color:green;margin-top:10px;font-size:13px;"> <?php _e('The following Database Tables has been successfully deleted:', 'wdi') ?> </p>
113
  <div style="background-color:white;border:1px solid #888888">
114
  <ul style="background-color:white;margin:0">
115
  <p style="background-color:#F3EFEF;margin: 0;border-bottom: 1px solid #888888;padding:2px;font-size:20px;">
@@ -125,13 +125,13 @@ class WDIViewUninstall_wdi
125
  <li style="padding-bottom:5px;padding-left:5px;font-weight: bold;margin:0;">4)wdi_access_token</li>
126
  </ul>
127
  </div>
128
- <!--<p style="color:green;font-size:15px"> <?php /*_e('Instagram Feed WD is successfully uninstalled','wdi') */
129
  ?><a style="text-decoration:none;padding:3px;" href="<?php /*echo $deactivate_url */
130
  ?>"> <?php /*_e('Click Here') */
131
- ?> </a><?php /*_e('to deactivate it','wdi') */
132
  ?></p>-->
133
  <p><strong><a href="#" class="wdi_deactivate_link"
134
- data-uninstall="1"><?php _e("Click Here", "wdi"); ?></a><?php _e(" To Finish the Uninstallation and Instagram Feed WD will be Deactivated Automatically.", "wdi"); ?>
135
  </strong></p>
136
 
137
  <?php
23
 
24
  <span class="uninstall-icon"></span>
25
  <h2 class="wdi_page_title">
26
+ <?php _e('Uninstalling Instagram Feed WD', "wd-instagram-feed"); ?>
27
  </h2>
28
  <p
29
+ style="color:red;font-size:15px"> <?php _e('Deactivating Instagram Feed WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.', 'wd-instagram-feed') ?>
30
  <br>
31
+ <?php _e('WARNING: Once uninstalled, this can\'t be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wd-instagram-feed') ?>
32
  </p>
33
  <p
34
+ style="color:red;margin-top:10px;font-size:13px;"> <?php _e('The following Database Tables will be deleted:', 'wd-instagram-feed') ?> </p>
35
  <div style="background-color:white;border:1px solid #888888">
36
  <ul style="background-color:white;margin:0">
37
  <p style="background-color:#F3EFEF;margin: 0;border-bottom: 1px solid #888888;padding:2px;font-size:20px;">
55
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
56
  <input type="hidden" name="task" value="uninstall">
57
  <div style="text-align:center">
58
+ <p style="margin:0;font-size:15px;"><?php _e('Are you sure you want to uninstall plugin?', 'wd-instagram-feed') ?></p>
59
  <input type="checkbox" style="text-align: center;" id="wdi_verify" name="wdi_verify" value="1">
60
  <label for="wdi_verify" style="vertical-align:top">Yes</label>
61
  <br>
70
  {
71
  jQuery('#wdi_submit').on('click', function ()
72
  {
73
+ if (confirm("<?php _e('Are you sure you want to uninstall plugin?', 'wd-instagram-feed') ?>")) {
74
  jQuery('#wdi_uninstall_form').submit();
75
  }
76
  });
85
  ?>
86
  <span class="uninstall-icon"></span>
87
  <h2>
88
+ <?php _e('Uninstalling Instagram Feed WD', "wd-instagram-feed"); ?>
89
  </h2>
90
+ <!--<p style="color:green;font-size:15px"> <?php /*_e('Instagram Feed WD is uninstalled','wd-instagram-feed') */
91
  ?><a style="text-decoration:none;padding:3px;" href="<?php /*echo $deactivate_url */
92
  ?>"> <?php /*_e('Click Here') */
93
+ ?> </a><?php /*_e('to deactivate it','wd-instagram-feed') */
94
  ?></p>-->
95
  <p><strong><a href="#" class="wdi_deactivate_link"
96
+ data-uninstall="1"><?php _e("Click Here", "wd-instagram-feed"); ?></a><?php _e(" To Finish the Uninstallation and Instagram Feed WD will be Deactivated Automatically.", "wd-instagram-feed"); ?>
97
  </strong></p>
98
 
99
  <?php
106
  ?>
107
  <span class="uninstall-icon"></span>
108
  <h2>
109
+ <?php _e('Uninstalling Instagram Feed WD', "wd-instagram-feed"); ?>
110
  </h2>
111
  <p
112
+ style="color:green;margin-top:10px;font-size:13px;"> <?php _e('The following Database Tables has been successfully deleted:', 'wd-instagram-feed') ?> </p>
113
  <div style="background-color:white;border:1px solid #888888">
114
  <ul style="background-color:white;margin:0">
115
  <p style="background-color:#F3EFEF;margin: 0;border-bottom: 1px solid #888888;padding:2px;font-size:20px;">
125
  <li style="padding-bottom:5px;padding-left:5px;font-weight: bold;margin:0;">4)wdi_access_token</li>
126
  </ul>
127
  </div>
128
+ <!--<p style="color:green;font-size:15px"> <?php /*_e('Instagram Feed WD is successfully uninstalled','wd-instagram-feed') */
129
  ?><a style="text-decoration:none;padding:3px;" href="<?php /*echo $deactivate_url */
130
  ?>"> <?php /*_e('Click Here') */
131
+ ?> </a><?php /*_e('to deactivate it','wd-instagram-feed') */
132
  ?></p>-->
133
  <p><strong><a href="#" class="wdi_deactivate_link"
134
+ data-uninstall="1"><?php _e("Click Here", "wd-instagram-feed"); ?></a><?php _e(" To Finish the Uninstallation and Instagram Feed WD will be Deactivated Automatically.", "wd-instagram-feed"); ?>
135
  </strong></p>
136
 
137
  <?php
admin/views/WDIViewWidget.php CHANGED
@@ -75,12 +75,12 @@ class WDIViewWidget {
75
  ?>
76
 
77
  <p>
78
- <label for="<?php echo $id_title; ?>"><?php _e("Title", 'wdi'); ?></label>
79
- <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>'" type="text" value="<?php echo $instance['title']; ?>"/>
80
  </p>
81
  <p>
82
- <label for="<?php echo $id_feed_id; ?>"><?php _e("Feed", 'wdi'); ?></label>
83
- <select onchange="wdi_toggle(jQuery(this));" class="widefat" id="<?php echo $id_feed_id; ?>" name="<?php echo $name_feed_id; ?>'" type="text"?>">
84
  <?php foreach ($feeds as $feed) {
85
  ?>
86
  <option <?php if($instance['feed_id'] == $feed['id']) echo 'selected'?> value="<?php echo $feed['id'];?>"><?php echo $feed['feed_name'];?></option>
@@ -90,8 +90,8 @@ class WDIViewWidget {
90
  </p>
91
 
92
  <p class="wdi_number_of_columns">
93
- <label for="<?php echo $id_number_of_columns; ?>"><?php _e("Number of columns", 'wdi'); ?></label>
94
- <select class="widefat" id="<?php echo $id_number_of_columns; ?>" name="<?php echo $name_number_of_columns; ?>'" type="text" >
95
  <?php for ($k = 1 ;$k <= 10; $k++) {
96
  ?>
97
  <option <?php if($instance['number_of_columns'] == $k) echo 'selected'?> value="<?php echo $k?>"><?php echo $k;?></option>
@@ -102,23 +102,24 @@ class WDIViewWidget {
102
 
103
 
104
  <p>
105
- <label for="<?php echo $id_img_number; ?>"><?php _e("Number of images to show", 'wdi'); ?></label>
106
- <input class="widefat" id="<?php echo $id_img_number; ?>" name="<?php echo $name_img_number; ?>'" type="text" value="<?php echo $instance['img_number']; ?>"/>
107
  </p>
108
  <p>
109
- <input <?php if($instance['show_likes_comments']=='1') echo "checked"?> class="widefat" id="<?php echo $id_show_likes_comments; ?>" name="<?php echo $name_show_likes_comments; ?>'" type="checkbox" value="<?php echo $instance['show_likes_comments']; ?>"/>
110
- <label for="<?php echo $id_show_likes_comments; ?>"><?php _e("Show likes and comments", 'wdi'); ?></label>
111
  </p>
112
  <p>
113
- <input <?php if($instance['enable_loading_buttons']=='1') echo "checked"?> class="widefat" id="<?php echo $id_enable_loading_buttons; ?>" name="<?php echo $name_enable_loading_buttons; ?>'" type="checkbox" value="<?php echo $instance['enable_loading_buttons']; ?>"/>
114
- <label for="<?php echo $id_enable_loading_buttons; ?>"><?php _e("Enable loading new images", 'wdi'); ?></label>
115
  </p>
116
  <script>
117
  jQuery(document).ready(function(){
118
  wdi_toggle(jQuery('#<?php echo $id_feed_id; ?>'));
119
  });
120
- var feed_list = <?php echo json_encode($feeds);?>;
121
  function wdi_toggle(select){
 
122
  var id = select.val();
123
  for(var i = 0 ; i < feed_list.length; i++){
124
  if(feed_list[i]['id'] == id){
75
  ?>
76
 
77
  <p>
78
+ <label for="<?php echo $id_title; ?>"><?php _e("Title", 'wd-instagram-feed'); ?></label>
79
+ <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>" type="text" value="<?php echo $instance['title']; ?>"/>
80
  </p>
81
  <p>
82
+ <label for="<?php echo $id_feed_id; ?>"><?php _e("Feed", 'wd-instagram-feed'); ?></label>
83
+ <select onchange="wdi_toggle(jQuery(this));" class="widefat" id="<?php echo $id_feed_id; ?>" name="<?php echo $name_feed_id; ?>">
84
  <?php foreach ($feeds as $feed) {
85
  ?>
86
  <option <?php if($instance['feed_id'] == $feed['id']) echo 'selected'?> value="<?php echo $feed['id'];?>"><?php echo $feed['feed_name'];?></option>
90
  </p>
91
 
92
  <p class="wdi_number_of_columns">
93
+ <label for="<?php echo $id_number_of_columns; ?>"><?php _e("Number of columns", 'wd-instagram-feed'); ?></label>
94
+ <select class="widefat" id="<?php echo $id_number_of_columns; ?>" name="<?php echo $name_number_of_columns; ?>" >
95
  <?php for ($k = 1 ;$k <= 10; $k++) {
96
  ?>
97
  <option <?php if($instance['number_of_columns'] == $k) echo 'selected'?> value="<?php echo $k?>"><?php echo $k;?></option>
102
 
103
 
104
  <p>
105
+ <label for="<?php echo $id_img_number; ?>"><?php _e("Number of images to show", 'wd-instagram-feed'); ?></label>
106
+ <input class="widefat" id="<?php echo $id_img_number; ?>" name="<?php echo $name_img_number; ?>" type="text" value="<?php echo $instance['img_number']; ?>"/>
107
  </p>
108
  <p>
109
+ <input <?php if($instance['show_likes_comments']=='1') echo "checked"?> class="widefat" id="<?php echo $id_show_likes_comments; ?>" name="<?php echo $name_show_likes_comments; ?>" type="checkbox" value="<?php echo $instance['show_likes_comments']; ?>"/>
110
+ <label for="<?php echo $id_show_likes_comments; ?>"><?php _e("Show likes and comments", 'wd-instagram-feed'); ?></label>
111
  </p>
112
  <p>
113
+ <input <?php if($instance['enable_loading_buttons']=='1') echo "checked"?> class="widefat" id="<?php echo $id_enable_loading_buttons; ?>" name="<?php echo $name_enable_loading_buttons; ?>" type="checkbox" value="<?php echo $instance['enable_loading_buttons']; ?>"/>
114
+ <label for="<?php echo $id_enable_loading_buttons; ?>"><?php _e("Enable loading new images", 'wd-instagram-feed'); ?></label>
115
  </p>
116
  <script>
117
  jQuery(document).ready(function(){
118
  wdi_toggle(jQuery('#<?php echo $id_feed_id; ?>'));
119
  });
120
+
121
  function wdi_toggle(select){
122
+ var feed_list = <?php echo json_encode($feeds);?>;
123
  var id = select.val();
124
  for(var i = 0 ; i < feed_list.length; i++){
125
  if(feed_list[i]['id'] == id){
changelog.txt ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ = 1.1.26 =
2
+ Fixed: Conflict with Beaver Builder
3
+ Fixed: Frontend error messages in old Chrome and Safari browsers
4
+ Changed: Translations hosted on WordPress.org
5
+
6
+ = 1.1.25 =
7
+ New: UX improvements: when authorizing and editing feeds
8
+ Changed: JavaScript error notices on frontend
9
+ Fixed: Updates page restored (PRO)
10
+ Fixed: Deactivation popup in uninstall page (PRO)
11
+ Fixed: Subscribe after uninstall
12
+
13
+ = 1.1.24 =
14
+ New: Overview page
15
+ Changed: Deactivation
16
+
17
+ = 1.1.23 =
18
+ Fixed: cropping of "landscape" images in thumbnails layout
19
+
20
+ = 1.1.22 =
21
+ New: message displayed on frontend if feed has no media
22
+ Fixed: JS errors for media with Instagram's new "Slideshow" feature. This feature is not supported by Instagram's API yet.
23
+ Changed: Errors by plugin and Instagram API are alerted in frontend only for admins, otherwise output the message to the Web Console
24
+ Changed: Custom attribute "wdi_media_user" added to media containers in frontend. Useful for adding different event listeners, e.g. custom redirects for every user's media.
25
+ Changed: Minor style conflicts fixed
26
+
27
+ = 1.1.21 =
28
+ New: Three new plugins added to featured plugins list: Ad Manager WD, Youtube WD and Staff Team WD
29
+ Fixed: Colors and opacities of share buttons in lightbox (PRO)
30
+
31
+ = 1.1.20 =
32
+ New: Instagram feed displayed in AJAX-loaded content. AJAX request callback needs to call wp_footer() in the end.
33
+
34
+ = 1.1.19 =
35
+ Fixed: Strange bug in Instagram API when user feed pagination is null, causing JS errors in frontend
36
+
37
+ = 1.1.18 =
38
+ Fixed: Frontend filter colors (PRO)
39
+ Changed: Featured plugins, brand new Mailchimp Forms WD plugin added
40
+
41
+ = 1.1.17 =
42
+ New: Option in feed settings to show small size images and low-bandwidth videos when viewed in mobile devices
43
+ Fixed: Escaping in custom JS
44
+ Change: WP 4.7 compatibility - language of frontend content in AJAX response
45
+
46
+ = 1.1.16 =
47
+ Fixed: Unicode "paragraph separator" symbol in media caption crashes lightbox
48
+ Fixed: Javascript error in admin feed page and styling issue in lightbox because of some non-standard themes
49
+
50
+ = 1.1.15 =
51
+ New: Show hashtag media number in header
52
+ Fixed: Scripts dependency on underscore.js
53
+ Fixed: Compatibility issues with Yoast SEO
54
+
55
+ = 1.1.14 =
56
+ Fixed: Single user bio not shown
57
+ Changed: Plugin logo
58
+ Changed: Featured plugins logos
59
+
60
+ = 1.1.13 =
61
+ Fixed: Changes in database after plugin version update via FTP or AJAX requests with silent activation
62
+
63
+ = 1.1.12 =
64
+ New: Feed based on liked media (Pro)
65
+ Fixed: Hidden media in last page
66
+ Fixed: Minor issues
67
+
68
+ = 1.1.11 =
69
+ Added: Setting to show media descriptions in widget mode (Pro)
70
+ Fixed: Untranslatable strings in widget editor
71
+ Change: Featured plugins list
72
+
73
+ = 1.1.10 =
74
+ Added: New text in uninstall page
75
+ Added: Featured plugins admin page
76
+ Fixed: Video not centering issue on blogstyle
77
+ Added: Swedish translations
78
+
79
+ = 1.1.9 =
80
+ New: Option to set minimal user role for adding and managing feeds and themes
81
+ Fixed: Masonry feed thumbnails overlay opacity (Pro)
82
+
83
+ = 1.1.8 =
84
+ Changed: Font-Awesome updated to version 4.6.3
85
+
86
+ = 1.1.7 =
87
+ New: Featured themes admin page
88
+ Fixed: Javascript error in hashtag feed
89
+
90
+ = 1.1.6 =
91
+ Change: Added compatibility with "All in one SEO pack" and other plugins running shortcodes in page head
92
+
93
+ = 1.1.5 =
94
+ Fixed: javascript error on firefox and safari
95
+
96
+ = 1.1.4 =
97
+ Fixed: Error handling in case of wrong access_token
98
+ Fixed: Image description not opening after pagination (Pro)
99
+ Fixed: Do not show load more button if feed media are finished
100
+ Fixed: Infinite scroll triggering bug (Pro)
101
+
102
+ = 1.1.3 =
103
+ New: French translation (Thanks to Guillaume Barjou)
104
+ New: English US and UK translation files. Edit them to change default strings
105
+ Fixed: Image sizes and overwflows in thumbnails layout
106
+ Fixed: Lightbox filmstrip thumb styles (Pro)
107
+
108
+ = 1.1.2 =
109
+ Fixed: Bug when saving theme data to some MySQL 5.6 databases
110
+ Changed: Pagination of hashtag feeds restored
111
+ Changed: Check and get user id on frontend if empty for some unknown reason
112
+
113
+ = 1.1.1 =
114
+ fix: bug when duplicating feeds
115
+
116
+ = 1.1.0 =
117
+ new: Instagram new API
118
+ new: Spanish translation (Thanks to Alexandro Lacadena Gomez)
119
+
120
+ = 1.0.10 =
121
+ Temporarily disable pagination in hashtag based feeds
122
+ Updated Russian Translations ( Thanks to Alex Petrin )
123
+
124
+ = 1.0.9 =
125
+ Bug fixes
126
+
127
+ = 1.0.8 =
128
+ Show video play button when redirect is enabled
129
+
130
+ = 1.0.7 =
131
+ new: Image Hover Effects
132
+
133
+ = 1.0.6 =
134
+ new: Conditional Filters (Pro)
135
+ new: Option for displaying username in masonry/thumbnails view (Pro)
136
+ new: Russian translation (Thanks to Ruslan Tertyshny).
137
+
138
+ = 1.0.2 =
139
+ fix: PHP error after plugin update
140
+
141
+ = 1.0.1 =
142
+ fix: PHP 5.3 compatibility
143
+ fix: video redirect bug
144
+ change: user info styles
145
+
146
+ = 1.0.0 =
147
+ Initial version
css/wdi_frontend.css CHANGED
@@ -136,10 +136,10 @@
136
  top: 50%;
137
  width: 50px;
138
  z-index: 10102;
139
- animation: spin 2.5s infinite linear;
140
  -moz-animation: spin 2.5s infinite linear;
141
  -o-animation: spin 2.5s infinite linear;
142
  -webkit-animation: spin 2.5s infinite linear;
 
143
  }
144
 
145
  .wdi_spider_popup_overlay{
@@ -181,18 +181,20 @@ div[id^="wdi_container"] p {
181
  top: 50%;
182
  width: 50px;
183
  z-index: 10102;
184
- animation: spin 2.5s infinite linear;
185
  -moz-animation: spin 2.5s infinite linear;
186
  -o-animation: spin 2.5s infinite linear;
187
  -webkit-animation: spin 2.5s infinite linear;
 
188
  }
189
 
190
  .wdi_spider_ajax_loading {
191
  border: none !important;
192
- animation: spin 2.5s infinite linear;
193
  -moz-animation: spin 2.5s infinite linear;
194
  -o-animation: spin 2.5s infinite linear;
195
  -webkit-animation: spin 2.5s infinite linear;
 
196
  }
197
 
198
  .wdi_spider_popup_overlay,
@@ -316,25 +318,55 @@ div[id^="wdi_container"] p {
316
  transform: rotate(180deg);
317
  }
318
 
 
319
  .wdi_js_error{
320
  text-align: center;
 
 
 
 
321
  animation-name: wdi_js_error;
 
 
 
 
322
  animation-duration: 0.5s;
 
 
 
 
323
  animation-delay: 20s;
 
 
 
 
 
 
324
  color: #cc0000;
 
 
 
 
325
  transform: scale(0);
326
- -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
327
- animation-fill-mode: forwards;
328
  font-size: 12px;
329
  }
330
 
331
  @keyframes wdi_js_error {
332
  from {
333
  visibility: hidden;
 
 
 
 
334
  transform: scale(0);
335
  }
336
  to {
337
  visibility: visible;
 
 
 
 
338
  transform: scale(1);
339
  }
340
  }
136
  top: 50%;
137
  width: 50px;
138
  z-index: 10102;
 
139
  -moz-animation: spin 2.5s infinite linear;
140
  -o-animation: spin 2.5s infinite linear;
141
  -webkit-animation: spin 2.5s infinite linear;
142
+ animation: spin 2.5s infinite linear;
143
  }
144
 
145
  .wdi_spider_popup_overlay{
181
  top: 50%;
182
  width: 50px;
183
  z-index: 10102;
184
+
185
  -moz-animation: spin 2.5s infinite linear;
186
  -o-animation: spin 2.5s infinite linear;
187
  -webkit-animation: spin 2.5s infinite linear;
188
+ animation: spin 2.5s infinite linear;
189
  }
190
 
191
  .wdi_spider_ajax_loading {
192
  border: none !important;
193
+
194
  -moz-animation: spin 2.5s infinite linear;
195
  -o-animation: spin 2.5s infinite linear;
196
  -webkit-animation: spin 2.5s infinite linear;
197
+ animation: spin 2.5s infinite linear;
198
  }
199
 
200
  .wdi_spider_popup_overlay,
318
  transform: rotate(180deg);
319
  }
320
 
321
+
322
  .wdi_js_error{
323
  text-align: center;
324
+
325
+ -webkit-animation-name: wdi_js_error;
326
+ -moz-animation-name: wdi_js_error;
327
+ -o-animation-name: wdi_js_error;
328
  animation-name: wdi_js_error;
329
+
330
+ -webkit-animation-duration: 0.5s;
331
+ -moz-animation-duration: 0.5s;
332
+ -o-animation-duration: 0.5s;
333
  animation-duration: 0.5s;
334
+
335
+ -webkit-animation-delay: 20s;
336
+ -moz-animation-delay: 20s;
337
+ -o-animation-delay: 20s;
338
  animation-delay: 20s;
339
+
340
+ -webkit-animation-fill-mode: forwards;
341
+ -moz-animation-fill-mode: forwards;
342
+ -o-animation-fill-mode: forwards;
343
+ animation-fill-mode: forwards;
344
+
345
  color: #cc0000;
346
+ -webkit-transform: scale(0);
347
+ -moz-transform: scale(0);
348
+ -ms-transform: scale(0);
349
+ -o-transform: scale(0);
350
  transform: scale(0);
351
+
 
352
  font-size: 12px;
353
  }
354
 
355
  @keyframes wdi_js_error {
356
  from {
357
  visibility: hidden;
358
+ -webkit-transform: scale(0);
359
+ -moz-transform: scale(0);
360
+ -ms-transform: scale(0);
361
+ -o-transform: scale(0);
362
  transform: scale(0);
363
  }
364
  to {
365
  visibility: visible;
366
+ -webkit-transform: scale(1);
367
+ -moz-transform: scale(1);
368
+ -ms-transform: scale(1);
369
+ -o-transform: scale(1);
370
  transform: scale(1);
371
  }
372
  }
framework/WDILibrary.php CHANGED
@@ -185,8 +185,8 @@ class WDILibrary {
185
  <input type="text" id="search_value" name="search_value" class="wdi_spider_search_value" onkeypress="return check_search_key(event, this);" value="<?php echo esc_html($search_value); ?>" style="width: 150px;<?php echo (get_bloginfo('version') > '3.7') ? ' height: 28px;' : ''; ?>" />
186
  </div>
187
  <div class="alignleft actions">
188
- <input type="button" value="<?php _e('Search',"wdi");?>" onclick="wdi_spider_search()" class="button-secondary action">
189
- <input type="button" value="<?php _e('Reset',"wdi");?>" onclick="wdi_spider_reset()" class="button-secondary action">
190
  </div>
191
  </div>
192
  <?php
@@ -508,15 +508,15 @@ class WDILibrary {
508
  <?php
509
  if ($theme_row->page_nav_number) {
510
  ?>
511
- <span class="displaying-num_<?php echo $current_view; ?>"><?php echo $count_items . __(' item(s)', 'wdi'); ?></span>
512
  <?php
513
  }
514
  if ($count_items > $limit) {
515
  if ($theme_row->page_nav_button_text) {
516
- $first_button = __('First', 'wdi');
517
- $previous_button = __('Previous', 'wdi');
518
- $next_button = __('Next', 'wdi');
519
- $last_button = __('Last', 'wdi');
520
  }
521
  else {
522
  $first_button = '«';
@@ -534,15 +534,15 @@ class WDILibrary {
534
  }
535
  ?>
536
  <span class="pagination-links_<?php echo $current_view; ?>">
537
- <a class="<?php echo $first_page; ?>" title="<?php echo __('Go to the first page', 'wdi'); ?>"><?php echo $first_button; ?></a>
538
- <a class="<?php echo $prev_page; ?>" title="<?php echo __('Go to the previous page', 'wdi'); ?>" <?php echo $page_number > 1 && $enable_seo ? 'href="' . add_query_arg(array("page_number_" . $current_view => $page_number - 1), $_SERVER['REQUEST_URI']) . '"' : ""; ?>><?php echo $previous_button; ?></a>
539
  <span class="paging-input_<?php echo $current_view; ?>">
540
- <span class="total-pages_<?php echo $current_view; ?>"><?php echo $page_number; ?></span> <?php echo __('of', 'wdi'); ?> <span class="total-pages_<?php echo $current_view; ?>">
541
  <?php echo $items_county; ?>
542
  </span>
543
  </span>
544
- <a class="<?php echo $next_page ?>" title="<?php echo __('Go to the next page', 'wdi'); ?>" <?php echo $page_number + 1 <= $items_county && $enable_seo ? 'href="' . add_query_arg(array("page_number_" . $current_view => $page_number + 1), $_SERVER['REQUEST_URI']) . '"' : ""; ?>><?php echo $next_button; ?></a>
545
- <a class="<?php echo $last_page ?>" title="<?php echo __('Go to the last page', 'wdi'); ?>"><?php echo $last_button; ?></a>
546
  </span>
547
  <?php
548
  }
@@ -554,7 +554,7 @@ class WDILibrary {
554
  if ($count_items > $limit * $page_number) {
555
  ?>
556
  <div id="wdi_load_<?php echo $current_view; ?>" class="tablenav-pages_<?php echo $current_view; ?>">
557
- <a class="wdi_load_btn_<?php echo $current_view; ?> wdi_load_btn" href="javascript:void(0);"><?php echo __('Load More...', 'wdi'); ?></a>
558
  <input type="hidden" id="wdi_load_more_<?php echo $current_view; ?>" name="wdi_load_more_<?php echo $current_view; ?>" value="on" />
559
  </div>
560
  <?php
@@ -714,10 +714,10 @@ class WDILibrary {
714
  <div class="wdi_search_container_1" id="wdi_search_container_1_<?php echo $current_view; ?>">
715
  <div class="wdi_search_container_2" id="wdi_search_container_2_<?php echo $current_view; ?>">
716
  <span class="wdi_search_reset_container" >
717
- <i title="<?php echo __('Reset', 'wdi'); ?>" class="wdi_reset fa fa-times" onclick="clear_input_<?php echo $current_view; ?>('<?php echo $current_view; ?>'),wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1)"></i>
718
  </span>
719
  <span class="wdi_search_loupe_container" >
720
- <i title="<?php echo __('Search', 'wdi'); ?>" class="wdi_search fa fa-search" onclick="wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1)"></i>
721
  </span>
722
  <span class="wdi_search_input_container">
723
  <input id="wdi_search_input_<?php echo $current_view; ?>" class="wdi_search_input_<?php echo $current_view; ?>" type="text" onkeypress="return check_enter_key(event)" name="wdi_search_<?php echo $current_view; ?>" value="<?php echo $wdi_search; ?>" >
@@ -759,12 +759,12 @@ class WDILibrary {
759
  }
760
  </style>
761
  <div class="wdi_order_cont_<?php echo $current_view; ?>">
762
- <span class="wdi_order_label_<?php echo $current_view; ?>"><?php echo __('Order by: ', 'wdi'); ?></span>
763
  <select class="wdi_order_<?php echo $current_view; ?>" onchange="wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1, '', this.value)">
764
- <option <?php if ($sort_by == 'default') echo 'selected'; ?> value="default"><?php echo __('Default', 'wdi'); ?></option>
765
- <option <?php if ($sort_by == 'filename') echo 'selected'; ?> value="filename"><?php echo __('Filename', 'wdi'); ?></option>
766
- <option <?php if ($sort_by == 'size') echo 'selected'; ?> value="size"><?php echo __('Size', 'wdi'); ?></option>
767
- <option <?php if ($sort_by == 'RAND()') echo 'selected'; ?> value="random"><?php echo __('Random', 'wdi'); ?></option>
768
  </select>
769
  </div>
770
  <?php
185
  <input type="text" id="search_value" name="search_value" class="wdi_spider_search_value" onkeypress="return check_search_key(event, this);" value="<?php echo esc_html($search_value); ?>" style="width: 150px;<?php echo (get_bloginfo('version') > '3.7') ? ' height: 28px;' : ''; ?>" />
186
  </div>
187
  <div class="alignleft actions">
188
+ <input type="button" value="<?php _e('Search',"wd-instagram-feed");?>" onclick="wdi_spider_search()" class="button-secondary action">
189
+ <input type="button" value="<?php _e('Reset',"wd-instagram-feed");?>" onclick="wdi_spider_reset()" class="button-secondary action">
190
  </div>
191
  </div>
192
  <?php
508
  <?php
509
  if ($theme_row->page_nav_number) {
510
  ?>
511
+ <span class="displaying-num_<?php echo $current_view; ?>"><?php echo $count_items . __(' item(s)', 'wd-instagram-feed'); ?></span>
512
  <?php
513
  }
514
  if ($count_items > $limit) {
515
  if ($theme_row->page_nav_button_text) {
516
+ $first_button = __('First', 'wd-instagram-feed');
517
+ $previous_button = __('Previous', 'wd-instagram-feed');
518
+ $next_button = __('Next', 'wd-instagram-feed');
519
+ $last_button = __('Last', 'wd-instagram-feed');
520
  }
521
  else {
522
  $first_button = '«';
534
  }
535
  ?>
536
  <span class="pagination-links_<?php echo $current_view; ?>">
537
+ <a class="<?php echo $first_page; ?>" title="<?php echo __('Go to the first page', 'wd-instagram-feed'); ?>"><?php echo $first_button; ?></a>
538
+ <a class="<?php echo $prev_page; ?>" title="<?php echo __('Go to the previous page', 'wd-instagram-feed'); ?>" <?php echo $page_number > 1 && $enable_seo ? 'href="' . add_query_arg(array("page_number_" . $current_view => $page_number - 1), $_SERVER['REQUEST_URI']) . '"' : ""; ?>><?php echo $previous_button; ?></a>
539
  <span class="paging-input_<?php echo $current_view; ?>">
540
+ <span class="total-pages_<?php echo $current_view; ?>"><?php echo $page_number; ?></span> <?php echo __('of', 'wd-instagram-feed'); ?> <span class="total-pages_<?php echo $current_view; ?>">
541
  <?php echo $items_county; ?>
542
  </span>
543
  </span>
544
+ <a class="<?php echo $next_page ?>" title="<?php echo __('Go to the next page', 'wd-instagram-feed'); ?>" <?php echo $page_number + 1 <= $items_county && $enable_seo ? 'href="' . add_query_arg(array("page_number_" . $current_view => $page_number + 1), $_SERVER['REQUEST_URI']) . '"' : ""; ?>><?php echo $next_button; ?></a>
545
+ <a class="<?php echo $last_page ?>" title="<?php echo __('Go to the last page', 'wd-instagram-feed'); ?>"><?php echo $last_button; ?></a>
546
  </span>
547
  <?php
548
  }
554
  if ($count_items > $limit * $page_number) {
555
  ?>
556
  <div id="wdi_load_<?php echo $current_view; ?>" class="tablenav-pages_<?php echo $current_view; ?>">
557
+ <a class="wdi_load_btn_<?php echo $current_view; ?> wdi_load_btn" href="javascript:void(0);"><?php echo __('Load More...', 'wd-instagram-feed'); ?></a>
558
  <input type="hidden" id="wdi_load_more_<?php echo $current_view; ?>" name="wdi_load_more_<?php echo $current_view; ?>" value="on" />
559
  </div>
560
  <?php
714
  <div class="wdi_search_container_1" id="wdi_search_container_1_<?php echo $current_view; ?>">
715
  <div class="wdi_search_container_2" id="wdi_search_container_2_<?php echo $current_view; ?>">
716
  <span class="wdi_search_reset_container" >
717
+ <i title="<?php echo __('Reset', 'wd-instagram-feed'); ?>" class="wdi_reset fa fa-times" onclick="clear_input_<?php echo $current_view; ?>('<?php echo $current_view; ?>'),wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1)"></i>
718
  </span>
719
  <span class="wdi_search_loupe_container" >
720
+ <i title="<?php echo __('Search', 'wd-instagram-feed'); ?>" class="wdi_search fa fa-search" onclick="wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1)"></i>
721
  </span>
722
  <span class="wdi_search_input_container">
723
  <input id="wdi_search_input_<?php echo $current_view; ?>" class="wdi_search_input_<?php echo $current_view; ?>" type="text" onkeypress="return check_enter_key(event)" name="wdi_search_<?php echo $current_view; ?>" value="<?php echo $wdi_search; ?>" >
759
  }
760
  </style>
761
  <div class="wdi_order_cont_<?php echo $current_view; ?>">
762
+ <span class="wdi_order_label_<?php echo $current_view; ?>"><?php echo __('Order by: ', 'wd-instagram-feed'); ?></span>
763
  <select class="wdi_order_<?php echo $current_view; ?>" onchange="wdi_spider_frontend_ajax('<?php echo $form_id; ?>', '<?php echo $current_view; ?>', '<?php echo $cur_gal_id; ?>', <?php echo $album_gallery_id; ?>, '', '<?php echo $type; ?>', 1, '', this.value)">
764
+ <option <?php if ($sort_by == 'default') echo 'selected'; ?> value="default"><?php echo __('Default', 'wd-instagram-feed'); ?></option>
765
+ <option <?php if ($sort_by == 'filename') echo 'selected'; ?> value="filename"><?php echo __('Filename', 'wd-instagram-feed'); ?></option>
766
+ <option <?php if ($sort_by == 'size') echo 'selected'; ?> value="size"><?php echo __('Size', 'wd-instagram-feed'); ?></option>
767
+ <option <?php if ($sort_by == 'RAND()') echo 'selected'; ?> value="random"><?php echo __('Random', 'wd-instagram-feed'); ?></option>
768
  </select>
769
  </div>
770
  <?php
frontend/shortcode.php CHANGED
@@ -44,7 +44,7 @@ function wdi_feed($atts, $widget_params = '')
44
  ), $atts);
45
  if ($attributes['id'] == 'no_id') {
46
  ob_get_clean();
47
- return __('Invalid shortcode', "wdi");
48
  }
49
 
50
 
@@ -59,12 +59,12 @@ function wdi_feed($atts, $widget_params = '')
59
  global $wdi_options;
60
  if (!isset($wdi_options['wdi_access_token']) || $wdi_options['wdi_access_token'] == '') {
61
  ob_get_clean();
62
- return __('Access Token is invalid, please get it again ', "wdi");
63
  }
64
 
65
  if (!isset($feed_row) || $feed_row == NULL) {
66
  ob_get_clean();
67
- return __('Feed Doesn\'t exists ', "wdi");
68
  }
69
 
70
 
@@ -86,7 +86,7 @@ function wdi_feed($atts, $widget_params = '')
86
 
87
  if (isset($feed_row['published']) && $feed_row['published'] === '0') {
88
  ob_get_clean();
89
- return __('Unable to display unpublished feed ', "wdi");
90
  }
91
  //checking feed type and using proper MVC
92
  $feed_type = isset($feed_row['feed_type']) ? $feed_row['feed_type'] : '';
@@ -109,7 +109,7 @@ function wdi_feed($atts, $widget_params = '')
109
  }
110
  default: {
111
  ob_get_clean();
112
- return __('Invalid feed type', "wdi");
113
  }
114
 
115
  }
@@ -149,18 +149,14 @@ function wdi_load_frontend_scripts()
149
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
150
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
151
 
152
- $user_is_admin = false;
153
- $user = wp_get_current_user();
154
- if (in_array('administrator', (array)$user->roles)) {
155
- $user_is_admin = true;
156
- }
157
 
158
  wp_localize_script("wdi_frontend", 'wdi_front_messages',
159
- array('connection_error' => __('Connection Error, try again later :(', 'wdi'),
160
- 'user_not_found' => __('Username not found', 'wdi'),
161
- 'network_error' => __('Network error, please try again later :(', 'wdi'),
162
- 'hashtag_nodata' => __('There is no data for that hashtag', 'wdi'),
163
- 'filter_title' => __('Click to filter images by this user', 'wdi'),
164
  'show_alerts' => $user_is_admin,
165
  ), WDI_VERSION);
166
 
@@ -199,9 +195,9 @@ function wdi_front_end_scripts()
199
  /*ttt!!! gallery fullscreeni het conflict chka ?? arje stugel ete fullscreen script ka, apa el chavelacnel*/
200
  wp_enqueue_script('wdi_gallery_box', WDI_FRONT_URL . '/js/gallerybox/wdi_gallery_box.js', array('jquery'), WDI_VERSION);
201
  wp_localize_script('wdi_gallery_box', 'wdi_objectL10n', array(
202
- 'wdi_field_required' => __('Field is required.', "wdi"),
203
- 'wdi_mail_validation' => __('This is not a valid email address.', "wdi"),
204
- 'wdi_search_result' => __('There are no images matching your search.', "wdi"),
205
  ));
206
 
207
  }
@@ -228,18 +224,14 @@ function wdi_load_frontend_scripts_styles_ajax()
228
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
229
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
230
 
231
- $user_is_admin = false;
232
- $user = wp_get_current_user();
233
- if (in_array('administrator', (array)$user->roles)) {
234
- $user_is_admin = true;
235
- }
236
 
237
  wp_localize_script("wdi_frontend", 'wdi_front_messages',
238
- array('connection_error' => __('Connection Error, try again later :(', 'wdi'),
239
- 'user_not_found' => __('Username not found', 'wdi'),
240
- 'network_error' => __('Network error, please try again later :(', 'wdi'),
241
- 'hashtag_nodata' => __('There is no data for that hashtag', 'wdi'),
242
- 'filter_title' => __('Click to filter images by this user', 'wdi'),
243
  'show_alerts' => $user_is_admin,
244
  ), WDI_VERSION);
245
 
@@ -251,9 +243,9 @@ function wdi_load_frontend_scripts_styles_ajax()
251
  /*ttt!!! gallery fullscreeni het conflict chka ?? arje stugel ete fullscreen script ka, apa el chavelacnel*/
252
  wp_enqueue_script('wdi_gallery_box', WDI_FRONT_URL . '/js/gallerybox/wdi_gallery_box.js', array(), WDI_VERSION);
253
  wp_localize_script('wdi_gallery_box', 'wdi_objectL10n', array(
254
- 'wdi_field_required' => __('Field is required.', "wdi"),
255
- 'wdi_mail_validation' => __('This is not a valid email address.', "wdi"),
256
- 'wdi_search_result' => __('There are no images matching your search.', "wdi"),
257
  ));
258
 
259
 
@@ -261,4 +253,14 @@ function wdi_load_frontend_scripts_styles_ajax()
261
 
262
  }
263
 
264
- ?>
 
 
 
 
 
 
 
 
 
 
44
  ), $atts);
45
  if ($attributes['id'] == 'no_id') {
46
  ob_get_clean();
47
+ return __('Invalid shortcode', "wd-instagram-feed");
48
  }
49
 
50
 
59
  global $wdi_options;
60
  if (!isset($wdi_options['wdi_access_token']) || $wdi_options['wdi_access_token'] == '') {
61
  ob_get_clean();
62
+ return __('Access Token is invalid, please get it again ', "wd-instagram-feed");
63
  }
64
 
65
  if (!isset($feed_row) || $feed_row == NULL) {
66
  ob_get_clean();
67
+ return __('Feed with such ID does not exist', "wd-instagram-feed");
68
  }
69
 
70
 
86
 
87
  if (isset($feed_row['published']) && $feed_row['published'] === '0') {
88
  ob_get_clean();
89
+ return __('Unable to display unpublished feed ', "wd-instagram-feed");
90
  }
91
  //checking feed type and using proper MVC
92
  $feed_type = isset($feed_row['feed_type']) ? $feed_row['feed_type'] : '';
109
  }
110
  default: {
111
  ob_get_clean();
112
+ return __('Invalid feed type', "wd-instagram-feed");
113
  }
114
 
115
  }
149
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
150
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
151
 
152
+ $user_is_admin = current_user_can('manage_options');
 
 
 
 
153
 
154
  wp_localize_script("wdi_frontend", 'wdi_front_messages',
155
+ array('connection_error' => __('Connection Error, try again later :(', 'wd-instagram-feed'),
156
+ 'user_not_found' => __('Username not found', 'wd-instagram-feed'),
157
+ 'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
158
+ 'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
159
+ 'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
160
  'show_alerts' => $user_is_admin,
161
  ), WDI_VERSION);
162
 
195
  /*ttt!!! gallery fullscreeni het conflict chka ?? arje stugel ete fullscreen script ka, apa el chavelacnel*/
196
  wp_enqueue_script('wdi_gallery_box', WDI_FRONT_URL . '/js/gallerybox/wdi_gallery_box.js', array('jquery'), WDI_VERSION);
197
  wp_localize_script('wdi_gallery_box', 'wdi_objectL10n', array(
198
+ 'wdi_field_required' => __('Field is required.', "wd-instagram-feed"),
199
+ 'wdi_mail_validation' => __('This is not a valid email address.', "wd-instagram-feed"),
200
+ 'wdi_search_result' => __('There are no images matching your search.', "wd-instagram-feed"),
201
  ));
202
 
203
  }
224
  wp_localize_script("wdi_frontend", 'wdi_url', array('plugin_url' => plugin_dir_url(__FILE__),
225
  'ajax_url' => admin_url('admin-ajax.php')), WDI_VERSION);
226
 
227
+ $user_is_admin = current_user_can('manage_options');
 
 
 
 
228
 
229
  wp_localize_script("wdi_frontend", 'wdi_front_messages',
230
+ array('connection_error' => __('Connection Error, try again later :(', 'wd-instagram-feed'),
231
+ 'user_not_found' => __('Username not found', 'wd-instagram-feed'),
232
+ 'network_error' => __('Network error, please try again later :(', 'wd-instagram-feed'),
233
+ 'hashtag_nodata' => __('There is no data for that hashtag', 'wd-instagram-feed'),
234
+ 'filter_title' => __('Click to filter images by this user', 'wd-instagram-feed'),
235
  'show_alerts' => $user_is_admin,
236
  ), WDI_VERSION);
237
 
243
  /*ttt!!! gallery fullscreeni het conflict chka ?? arje stugel ete fullscreen script ka, apa el chavelacnel*/
244
  wp_enqueue_script('wdi_gallery_box', WDI_FRONT_URL . '/js/gallerybox/wdi_gallery_box.js', array(), WDI_VERSION);
245
  wp_localize_script('wdi_gallery_box', 'wdi_objectL10n', array(
246
+ 'wdi_field_required' => __('Field is required.', "wd-instagram-feed"),
247
+ 'wdi_mail_validation' => __('This is not a valid email address.', "wd-instagram-feed"),
248
+ 'wdi_search_result' => __('There are no images matching your search.', "wd-instagram-feed"),
249
  ));
250
 
251
 
253
 
254
  }
255
 
256
+
257
+ function wdi_feed_frontend_messages(){
258
+
259
+ $class = current_user_can('manage_options') ? '' : 'wdi_hidden';
260
+ $js_error_message = __("Something is wrong. Response takes too long or there is JS error. Press Ctrl+Shift+J or Cmd+Shift+J on a Mac.", "wd-instagram-feed");
261
+ $ajax_error_message = (defined('DOING_AJAX') && DOING_AJAX) ? __("Warning: Instagram Feed is loaded using AJAX request. It might not display properly.", "wd-instagram-feed") : '';
262
+
263
+ echo '<div class="wdi_js_error '.$class.'">'.
264
+ $js_error_message ."<br/>". $ajax_error_message .'</div>';
265
+
266
+ }
frontend/views/WDIViewGalleryBox.php CHANGED
@@ -1010,7 +1010,7 @@ class WDIViewGalleryBox {
1010
 
1011
  <?php
1012
  if (!$image_id_exist) {
1013
- echo WDILibrary::message(__('The image has been deleted.', "wdi"), 'error');
1014
  die();
1015
  }
1016
  ?>
@@ -1031,56 +1031,56 @@ class WDIViewGalleryBox {
1031
  <?php
1032
  }
1033
  ?>
1034
- <i title="<?php echo __('Play', "wdi"); ?>" class="wdi_ctrl_btn wdi_play_pause fa fa-play"></i>
1035
  <?php if ($enable_image_fullscreen) {
1036
  if (!$open_with_fullscreen) {
1037
  ?>
1038
- <i title="<?php echo __('Maximize', "wdi"); ?>" class="wdi_ctrl_btn wdi_resize-full fa fa-expand "></i>
1039
  <?php
1040
  }
1041
  ?>
1042
- <i title="<?php echo __('Fullscreen', "wdi"); ?>" class="wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt"></i>
1043
  <?php } if ($popup_enable_info) { ?>
1044
- <i title="<?php echo __('Show info', "wdi"); ?>" class="wdi_ctrl_btn wdi_info fa fa-info"></i>
1045
  <?php } if ($enable_comment_social) { ?>
1046
- <i title="<?php echo __('Show comments', "wdi"); ?>" class="wdi_ctrl_btn wdi_comment fa fa-comment"></i>
1047
  <?php } if ($popup_enable_rate) { ?>
1048
- <i title="<?php echo __('Show rating', "wdi"); ?>" class="wdi_ctrl_btn wdi_rate fa fa-star"></i>
1049
  <?php }
1050
  $is_embed = preg_match('/EMBED/', $current_filetype) == 1 ? TRUE : FALSE;
1051
  $share_image_url = urlencode( $is_embed ? $current_thumb_url : site_url() . '/' . $WD_WDI_UPLOAD_DIR . $current_image_url);
1052
  if ($enable_image_facebook) {
1053
  ?>
1054
- <a id="wdi_facebook_a" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Facebook', "wdi"); ?>">
1055
- <i title="<?php echo __('Share on Facebook', "wdi"); ?>" class="wdi_ctrl_btn wdi_facebook fa fa-facebook"></i>
1056
  </a>
1057
  <?php
1058
  }
1059
  if ($enable_image_twitter) {
1060
  ?>
1061
- <a id="wdi_twitter_a" href="https://twitter.com/share?url=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Twitter', "wdi"); ?>">
1062
- <i title="<?php echo __('Share on Twitter', "wdi"); ?>" class="wdi_ctrl_btn wdi_twitter fa fa-twitter"></i>
1063
  </a>
1064
  <?php
1065
  }
1066
  if ($enable_image_google) {
1067
  ?>
1068
- <a id="wdi_google_a" href="https://plus.google.com/share?url=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Google+', "wdi"); ?>">
1069
- <i title="<?php echo __('Share on Google+', "wdi"); ?>" class="wdi_ctrl_btn wdi_google fa fa-google-plus"></i>
1070
  </a>
1071
  <?php
1072
  }
1073
  if ($enable_image_pinterest) {
1074
  ?>
1075
- <a id="wdi_pinterest_a" href="http://pinterest.com/pin/create/button/?s=100&url=<?php echo urlencode($share_url); ?>&media=<?php echo $share_image_url; ?>&description=<?php echo $current_image_description; ?>" target="_blank" title="<?php echo __('Share on Pinterest', "wdi"); ?>">
1076
- <i title="<?php echo __('Share on Pinterest', "wdi"); ?>" class="wdi_ctrl_btn wdi_pinterest fa fa-pinterest"></i>
1077
  </a>
1078
  <?php
1079
  }
1080
  if ($enable_image_tumblr) {
1081
  ?>
1082
- <a id="wdi_tumblr_a" href="https://www.tumblr.com/share/photo?source=<?php echo $share_image_url; ?>&caption=<?php echo urlencode($current_image_alt); ?>&clickthru=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Tumblr', "wdi"); ?>">
1083
- <i title="<?php echo __('Share on Tumblr', "wdi"); ?>" class="wdi_ctrl_btn wdi_tumblr fa fa-tumblr"></i>
1084
  </a>
1085
  <?php
1086
  }
@@ -1088,7 +1088,7 @@ class WDIViewGalleryBox {
1088
  if ($enable_share_buttons) {
1089
  ?>
1090
  <span class="wdi_share_btns_container">
1091
- <i onclick="jQuery(this).parent().find('.wdi_share_btns').toggleClass('wdi_share_toggler');jQuery(this).parent().find('.wdi_share_caret').toggleClass('wdi_share_toggler')" title="<?php echo __('Share', "wdi"); ?>" class="wdi_ctrl_btn fa fa-share"></i>
1092
  <p class="wdi_share_btns" style="display:none">
1093
  <a id="wdi_popup_fb" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $current_image_url;?>" target="_blank" class='wdi_share_popup_btn wdi_facebook fa fa-facebook'></a>
1094
  <a id="wdi_popup_tw" href="https://twitter.com/home?status=<?php echo $current_image_url;?>" target="_blank" class='wdi_share_popup_btn wdi_twitter fa fa-twitter'></a>
@@ -1107,7 +1107,7 @@ class WDIViewGalleryBox {
1107
  if ($option_row->popup_enable_fullsize_image) {
1108
  ?>
1109
  <a id="wdi_fullsize_image" href="<?php echo !$is_embed ? site_url() . '/' . $WD_WDI_UPLOAD_DIR . $current_image_url : $current_image_url; ?>" target="_blank">
1110
- <i title="<?php echo __('Open image in Instagram.', "wdi"); ?>" class="wdi_ctrl_btn fa fa-instagram"></i>
1111
  </a>
1112
  <?php
1113
  }
@@ -1135,7 +1135,7 @@ class WDIViewGalleryBox {
1135
  }
1136
  ?>
1137
  <a id="wdi_download" href="<?php echo $download_href; ?>" target="_blank" download="<?php echo end($current_image_arr); ?>" style="display: <?php echo $style; ?>;">
1138
- <i title="<?php echo __('Download original image', "wdi"); ?>" class="wdi_ctrl_btn fa fa-download"></i>
1139
  </a>
1140
  <?php
1141
  }
@@ -1332,14 +1332,14 @@ class WDIViewGalleryBox {
1332
  @session_start();
1333
  $wdi_captcha_code = (isset($_SESSION['wdi_captcha_code']) ? esc_html(stripslashes($_SESSION['wdi_captcha_code'])) : '');
1334
  if ($wdi_captcha_input !== $wdi_captcha_code) {
1335
- $captcha_error_message = __('Error. Incorrect Verification Code.', "wdi");
1336
  $wdi_name = (isset($_POST['wdi_name']) ? esc_html(stripslashes($_POST['wdi_name'])) : '');
1337
  $wdi_comment = (isset($_POST['wdi_comment']) ? esc_html(stripslashes($_POST['wdi_comment'])) : '');
1338
  $wdi_email = (isset($_POST['wdi_email']) ? esc_html(stripslashes($_POST['wdi_email'])) : '');
1339
  }
1340
  }
1341
  if ($option_row->popup_enable_email && isset($_POST['wdi_email']) && !is_email(stripslashes($_POST['wdi_email']))) {
1342
- $email_error_message = __( 'This is not a valid email address.', "wdi" );
1343
  $wdi_name = (isset($_POST['wdi_name']) ? esc_html(stripslashes($_POST['wdi_name'])) : '');
1344
  $wdi_comment = (isset($_POST['wdi_comment']) ? esc_html(stripslashes($_POST['wdi_comment'])) : '');
1345
  $wdi_email = (isset($_POST['wdi_email']) ? esc_html(stripslashes($_POST['wdi_email'])) : '');
@@ -1347,30 +1347,30 @@ class WDIViewGalleryBox {
1347
  }
1348
  ?>
1349
  <div id="wdi_comments">
1350
- <div title="<?php echo __('Hide Comments', "wdi"); ?>" class="wdi_comments_close">
1351
  <i class="wdi_comments_close_btn fa fa-arrow-<?php echo $theme_row->lightbox_comment_pos; ?>"></i>
1352
  </div>
1353
 
1354
  <form id="wdi_comment_form" style="display:none !important;"> method="post" action="<?php echo $popup_url; ?>"><!--Deprecated-->
1355
- <p><label for="wdi_name"><?php echo __('Name', "wdi"); ?> * </label></p>
1356
  <p><input type="text" name="wdi_name" id="wdi_name" <?php echo ((get_current_user_id() != 0) ? 'readonly="readonly"' : ''); ?>
1357
  value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->display_name : $wdi_name); ?>" /></p>
1358
  <?php
1359
  if ($option_row->popup_enable_email) {
1360
  ?>
1361
- <p><label for="wdi_email"><?php echo __('Email', "wdi"); ?> * </label></p>
1362
  <p><input type="text" name="wdi_email" id="wdi_email"
1363
  value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->user_email : $wdi_email); ?>" /></p>
1364
  <p><span class="wdi_comment_error"><?php echo $email_error_message; ?></span></p>
1365
  <?php
1366
  }
1367
  ?>
1368
- <p><label for="wdi_comment"><?php echo __('Comment', "wdi"); ?> * </label></p>
1369
  <p><textarea class="wdi_comment_textarea" name="wdi_comment" id="wdi_comment"><?php echo $wdi_comment; ?></textarea></p>
1370
  <?php
1371
  if ($option_row->popup_enable_captcha) {
1372
  ?>
1373
- <p><label for="wdi_captcha_input"><?php echo __('Verification Code', "wdi"); ?></label></p>
1374
  <p>
1375
  <input id="wdi_captcha_input" name="wdi_captcha_input" class="wdi_captcha_input" type="text">
1376
  <img id="wdi_captcha_img" class="wdi_captcha_img" type="captcha" digit="6" src="<?php echo add_query_arg(array('action' => 'wdi_captcha', 'digit' => 6, 'i' => ''), admin_url('admin-ajax.php')); ?>" onclick="wdi_captcha_refresh('wdi_captcha')" ontouchend="wdi_captcha_refresh('wdi_captcha')" />
@@ -1380,28 +1380,28 @@ class WDIViewGalleryBox {
1380
  <?php
1381
  }
1382
  ?>
1383
- <p><input onclick="if (wdi_spider_check_required('wdi_name', '<?php echo __('Name', "wdi"); ?>') <?php if ($option_row->popup_enable_email) { ?> || wdi_spider_check_required('wdi_email', '<?php echo __('Email', "wdi"); ?>') || wdi_spider_check_email('wdi_email') <?php } ?> || wdi_spider_check_required('wdi_comment', '<?php echo __('Comment', "wdi"); ?>')) { return false;}
1384
  var cur_image_key = parseInt(jQuery('#wdi_current_image_key').val());
1385
  ++wdi_data[cur_image_key]['comment_count'];
1386
  wdi_spider_set_input_value('ajax_task', 'save');
1387
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));
1388
  wdi_spider_ajax_save('wdi_comment_form');
1389
  return false;"
1390
- ontouchend="if (wdi_spider_check_required('wdi_name', '<?php echo __('Name', "wdi"); ?>') <?php if ($option_row->popup_enable_email) { ?> || wdi_spider_check_required('wdi_email', '<?php echo __('Email', "wdi"); ?>') || wdi_spider_check_email('wdi_email') <?php } ?> || wdi_spider_check_required('wdi_comment', '<?php echo __('Comment', "wdi"); ?>')) {return false;}
1391
  var cur_image_key = parseInt(jQuery('#wdi_current_image_key').val());
1392
  ++wdi_data[cur_image_key]['comment_count'];
1393
  wdi_spider_set_input_value('ajax_task', 'save');
1394
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));
1395
  wdi_spider_ajax_save('wdi_comment_form');
1396
- return false;" class="wdi_submit" type="submit" name="wdi_submit" id="wdi_submit" value="<?php echo __('Submit', "wdi"); ?>" /></p>
1397
- <?php echo (!current_user_can('manage_options') && ($comment_moderation && (isset($_POST['wdi_comment']) && esc_html($_POST['wdi_comment'])))) ? __('Your comment is awaiting moderation', "wdi") : ''; ?>
1398
  <input id="ajax_task" name="ajax_task" type="hidden" value="" />
1399
  <input id="image_id" name="image_id" type="hidden" value="<?php echo $image_id; ?>" />
1400
  <input id="comment_id" name="comment_id" type="hidden" value="" />
1401
  </form>
1402
  </div>
1403
  <div id="wdi_added_comments">
1404
- <p class="wdi_no_comment"><?php _e('There are no comments to show','wdi');?></p>
1405
  </div>
1406
  </div>
1407
  </div>
@@ -1410,15 +1410,8 @@ class WDIViewGalleryBox {
1410
 
1411
  <a class="wdi_spider_popup_close" onclick="wdi_spider_destroypopup(1000); return false;" ontouchend="wdi_spider_destroypopup(1000); return false;"><span><i class="wdi_close_btn fa fa-times"></i></span></a>
1412
 
1413
- <script language="javascript" type="text/javascript" src="<?php echo WDI_URL . '/js/gallerybox/wdi_embed.js?ver=' . WDI_VERSION; ?>"></script>
1414
  <script>
1415
 
1416
-
1417
-
1418
-
1419
-
1420
-
1421
-
1422
  <?php
1423
  if ($option_row->enable_addthis && $option_row->addthis_profile_id) {
1424
  ?>
@@ -2070,7 +2063,7 @@ class WDIViewGalleryBox {
2070
  /* Load comments.*/
2071
  if (jQuery(".wdi_comment_container").hasClass("wdi_open")) {
2072
  if (wdi_data[key]["comment_count"] == 0) {
2073
- jQuery("#wdi_added_comments").html('<p class="wdi_no_comment"><?php _e('There are no comments to show','wdi');?></p>');
2074
  }
2075
  else {
2076
  jQuery("#wdi_added_comments").show();
@@ -2165,9 +2158,9 @@ class WDIViewGalleryBox {
2165
  if (!jQuery.fullscreen.isFullScreen()) {
2166
  jQuery(".wdi_resize-full").show();
2167
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2168
- jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wdi"); ?>");
2169
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt");
2170
- jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Fullscreen', "wdi"); ?>");
2171
  }
2172
  }
2173
  }
@@ -2337,7 +2330,7 @@ class WDIViewGalleryBox {
2337
  /* Set filmstrip initial position.*/
2338
  wdi_set_filmstrip_pos(jQuery(".wdi_spider_popup_wrap").width() - 40);
2339
  jQuery(".wdi_comment_container").attr("class", "wdi_comment_container wdi_close");
2340
- jQuery(".wdi_comment").attr("title", "<?php echo __('Show Comments', "wdi"); ?>");
2341
  jQuery(".wdi_spider_popup_close_fullscreen").show();
2342
  // console.log("has open:"+jQuery(".wdi_comment_container").hasClass("wdi_open"));
2343
  // console.log("has clos:"+jQuery(".wdi_comment_container").hasClass("wdi_close"));
@@ -2385,7 +2378,7 @@ class WDIViewGalleryBox {
2385
  /* Set filmstrip initial position.*/
2386
  wdi_set_filmstrip_pos(jQuery(".wdi_filmstrip_container").<?php echo $width_or_height; ?>() - 40);
2387
  jQuery(".wdi_comment_container").attr("class", "wdi_comment_container wdi_open");
2388
- jQuery(".wdi_comment").attr("title", "<?php echo __('Hide Comments', "wdi"); ?>");
2389
  /* Load comments.*/
2390
 
2391
  var cur_image_key = parseInt(jQuery("#wdi_current_image_key").val());
@@ -2395,7 +2388,7 @@ class WDIViewGalleryBox {
2395
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));/*deprecated*/
2396
  wdi_spider_ajax_save('wdi_comment_form',cur_image_key);/*deprecated*/
2397
  }else{
2398
- jQuery("#wdi_added_comments").html('<p class="wdi_no_comment"><?php _e('There are no comments to show','wdi');?></p>');
2399
  }
2400
  // console.log("has open:"+jQuery(".wdi_comment_container").hasClass("wdi_open"));
2401
  // console.log("has clos:"+jQuery(".wdi_comment_container").hasClass("wdi_close"));
@@ -2571,7 +2564,7 @@ class WDIViewGalleryBox {
2571
  jQuery(".wdi_info").on(wdi_click, function() {
2572
  if (jQuery(".wdi_image_info_container1").css("display") == 'none') {
2573
  jQuery(".wdi_image_info_container1").css("display", "table-cell");
2574
- jQuery(".wdi_info").attr("title", "<?php echo __('Hide info', "wdi"); ?>");
2575
 
2576
 
2577
 
@@ -2585,7 +2578,7 @@ class WDIViewGalleryBox {
2585
  }
2586
  else {
2587
  jQuery(".wdi_image_info_container1").css("display", "none");
2588
- jQuery(".wdi_info").attr("title", "<?php echo __('Show info', "wdi"); ?>");
2589
  }
2590
 
2591
 
@@ -2594,11 +2587,11 @@ class WDIViewGalleryBox {
2594
  jQuery(".wdi_rate").on(wdi_click, function() {
2595
  if (jQuery(".wdi_image_rate_container1").css("display") == 'none') {
2596
  jQuery(".wdi_image_rate_container1").css("display", "table-cell");
2597
- jQuery(".wdi_rate").attr("title", "<?php echo __('Hide rating', "wdi"); ?>");
2598
  }
2599
  else {
2600
  jQuery(".wdi_image_rate_container1").css("display", "none");
2601
- jQuery(".wdi_rate").attr("title", "<?php echo __('Show rating', "wdi"); ?>");
2602
  }
2603
  });
2604
  /* Open/close comments.*/
@@ -2721,7 +2714,7 @@ class WDIViewGalleryBox {
2721
  /* Set filmstrip initial position.*/
2722
  wdi_set_filmstrip_pos(wdi_popup_current_<?php echo $width_or_height; ?> - 40);
2723
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2724
- jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wdi"); ?>");
2725
  }
2726
  else {
2727
  wdi_popup_current_width = jQuery(window).width();
@@ -2758,7 +2751,7 @@ class WDIViewGalleryBox {
2758
  /* Set filmstrip initial position.*/
2759
  wdi_set_filmstrip_pos(jQuery(window).<?php echo $width_or_height; ?>() - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2760
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-compress");
2761
- jQuery(".wdi_resize-full").attr("title", "<?php echo __('Restore', "wdi"); ?>");
2762
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2763
  }
2764
  });
@@ -2818,9 +2811,9 @@ class WDIViewGalleryBox {
2818
  wdi_set_filmstrip_pos(wdi_popup_current_<?php echo $width_or_height; ?> - 40);
2819
  jQuery(".wdi_resize-full").show();
2820
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2821
- jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wdi"); ?>");
2822
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt");
2823
- jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Fullscreen', "wdi"); ?>");
2824
  if (jQuery("#wdi_spider_popup_wrap").width() < jQuery(window).width()) {
2825
  if (jQuery("#wdi_spider_popup_wrap").height() < jQuery(window).height()) {
2826
  jQuery(".wdi_spider_popup_close_fullscreen").attr("class", "wdi_spider_popup_close");
@@ -2873,7 +2866,7 @@ class WDIViewGalleryBox {
2873
  wdi_set_filmstrip_pos(screen_<?php echo $width_or_height; ?> - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2874
  jQuery(".wdi_resize-full").hide();
2875
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-compress");
2876
- jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Exit Fullscreen', "wdi"); ?>");
2877
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2878
  /*});
2879
  }*/
@@ -2888,13 +2881,13 @@ class WDIViewGalleryBox {
2888
 
2889
  /* PLay.*/
2890
  wdi_play();
2891
- jQuery(".wdi_play_pause").attr("title", "<?php echo __('Pause', "wdi"); ?>");
2892
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-pause");
2893
  }
2894
  else {
2895
  /* Pause.*/
2896
  window.clearInterval(wdi_playInterval);
2897
- jQuery(".wdi_play_pause").attr("title", "<?php echo __('Play', "wdi"); ?>");
2898
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-play");
2899
  }
2900
  });
@@ -2905,7 +2898,7 @@ class WDIViewGalleryBox {
2905
  ?>
2906
 
2907
  wdi_play();
2908
- jQuery(".wdi_play_pause").attr("title", "<?php echo __('Pause', "wdi"); ?>");
2909
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-pause");
2910
  <?php
2911
  }
@@ -2978,7 +2971,7 @@ class WDIViewGalleryBox {
2978
  wdi_set_filmstrip_pos(jQuery(window).<?php echo $width_or_height; ?>() - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2979
 
2980
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-compress");
2981
- jQuery(".wdi_resize-full").attr("title", "<?php echo __('Restore', "wdi"); ?>");
2982
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2983
  }
2984
 
1010
 
1011
  <?php
1012
  if (!$image_id_exist) {
1013
+ echo WDILibrary::message(__('The image has been deleted.', "wd-instagram-feed"), 'error');
1014
  die();
1015
  }
1016
  ?>
1031
  <?php
1032
  }
1033
  ?>
1034
+ <i title="<?php echo __('Play', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_play_pause fa fa-play"></i>
1035
  <?php if ($enable_image_fullscreen) {
1036
  if (!$open_with_fullscreen) {
1037
  ?>
1038
+ <i title="<?php echo __('Maximize', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_resize-full fa fa-expand "></i>
1039
  <?php
1040
  }
1041
  ?>
1042
+ <i title="<?php echo __('Fullscreen', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt"></i>
1043
  <?php } if ($popup_enable_info) { ?>
1044
+ <i title="<?php echo __('Show info', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_info fa fa-info"></i>
1045
  <?php } if ($enable_comment_social) { ?>
1046
+ <i title="<?php echo __('Show comments', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_comment fa fa-comment"></i>
1047
  <?php } if ($popup_enable_rate) { ?>
1048
+ <i title="<?php echo __('Show rating', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_rate fa fa-star"></i>
1049
  <?php }
1050
  $is_embed = preg_match('/EMBED/', $current_filetype) == 1 ? TRUE : FALSE;
1051
  $share_image_url = urlencode( $is_embed ? $current_thumb_url : site_url() . '/' . $WD_WDI_UPLOAD_DIR . $current_image_url);
1052
  if ($enable_image_facebook) {
1053
  ?>
1054
+ <a id="wdi_facebook_a" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Facebook', "wd-instagram-feed"); ?>">
1055
+ <i title="<?php echo __('Share on Facebook', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_facebook fa fa-facebook"></i>
1056
  </a>
1057
  <?php
1058
  }
1059
  if ($enable_image_twitter) {
1060
  ?>
1061
+ <a id="wdi_twitter_a" href="https://twitter.com/share?url=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Twitter', "wd-instagram-feed"); ?>">
1062
+ <i title="<?php echo __('Share on Twitter', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_twitter fa fa-twitter"></i>
1063
  </a>
1064
  <?php
1065
  }
1066
  if ($enable_image_google) {
1067
  ?>
1068
+ <a id="wdi_google_a" href="https://plus.google.com/share?url=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Google+', "wd-instagram-feed"); ?>">
1069
+ <i title="<?php echo __('Share on Google+', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_google fa fa-google-plus"></i>
1070
  </a>
1071
  <?php
1072
  }
1073
  if ($enable_image_pinterest) {
1074
  ?>
1075
+ <a id="wdi_pinterest_a" href="http://pinterest.com/pin/create/button/?s=100&url=<?php echo urlencode($share_url); ?>&media=<?php echo $share_image_url; ?>&description=<?php echo $current_image_description; ?>" target="_blank" title="<?php echo __('Share on Pinterest', "wd-instagram-feed"); ?>">
1076
+ <i title="<?php echo __('Share on Pinterest', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_pinterest fa fa-pinterest"></i>
1077
  </a>
1078
  <?php
1079
  }
1080
  if ($enable_image_tumblr) {
1081
  ?>
1082
+ <a id="wdi_tumblr_a" href="https://www.tumblr.com/share/photo?source=<?php echo $share_image_url; ?>&caption=<?php echo urlencode($current_image_alt); ?>&clickthru=<?php echo urlencode($share_url); ?>" target="_blank" title="<?php echo __('Share on Tumblr', "wd-instagram-feed"); ?>">
1083
+ <i title="<?php echo __('Share on Tumblr', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn wdi_tumblr fa fa-tumblr"></i>
1084
  </a>
1085
  <?php
1086
  }
1088
  if ($enable_share_buttons) {
1089
  ?>
1090
  <span class="wdi_share_btns_container">
1091
+ <i onclick="jQuery(this).parent().find('.wdi_share_btns').toggleClass('wdi_share_toggler');jQuery(this).parent().find('.wdi_share_caret').toggleClass('wdi_share_toggler')" title="<?php echo __('Share', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn fa fa-share"></i>
1092
  <p class="wdi_share_btns" style="display:none">
1093
  <a id="wdi_popup_fb" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $current_image_url;?>" target="_blank" class='wdi_share_popup_btn wdi_facebook fa fa-facebook'></a>
1094
  <a id="wdi_popup_tw" href="https://twitter.com/home?status=<?php echo $current_image_url;?>" target="_blank" class='wdi_share_popup_btn wdi_twitter fa fa-twitter'></a>
1107
  if ($option_row->popup_enable_fullsize_image) {
1108
  ?>
1109
  <a id="wdi_fullsize_image" href="<?php echo !$is_embed ? site_url() . '/' . $WD_WDI_UPLOAD_DIR . $current_image_url : $current_image_url; ?>" target="_blank">
1110
+ <i title="<?php echo __('Open image in Instagram.', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn fa fa-instagram"></i>
1111
  </a>
1112
  <?php
1113
  }
1135
  }
1136
  ?>
1137
  <a id="wdi_download" href="<?php echo $download_href; ?>" target="_blank" download="<?php echo end($current_image_arr); ?>" style="display: <?php echo $style; ?>;">
1138
+ <i title="<?php echo __('Download original image', "wd-instagram-feed"); ?>" class="wdi_ctrl_btn fa fa-download"></i>
1139
  </a>
1140
  <?php
1141
  }
1332
  @session_start();
1333
  $wdi_captcha_code = (isset($_SESSION['wdi_captcha_code']) ? esc_html(stripslashes($_SESSION['wdi_captcha_code'])) : '');
1334
  if ($wdi_captcha_input !== $wdi_captcha_code) {
1335
+ $captcha_error_message = __('Error. Incorrect Verification Code.', "wd-instagram-feed");
1336
  $wdi_name = (isset($_POST['wdi_name']) ? esc_html(stripslashes($_POST['wdi_name'])) : '');
1337
  $wdi_comment = (isset($_POST['wdi_comment']) ? esc_html(stripslashes($_POST['wdi_comment'])) : '');
1338
  $wdi_email = (isset($_POST['wdi_email']) ? esc_html(stripslashes($_POST['wdi_email'])) : '');
1339
  }
1340
  }
1341
  if ($option_row->popup_enable_email && isset($_POST['wdi_email']) && !is_email(stripslashes($_POST['wdi_email']))) {
1342
+ $email_error_message = __( 'This is not a valid email address.', "wd-instagram-feed" );
1343
  $wdi_name = (isset($_POST['wdi_name']) ? esc_html(stripslashes($_POST['wdi_name'])) : '');
1344
  $wdi_comment = (isset($_POST['wdi_comment']) ? esc_html(stripslashes($_POST['wdi_comment'])) : '');
1345
  $wdi_email = (isset($_POST['wdi_email']) ? esc_html(stripslashes($_POST['wdi_email'])) : '');
1347
  }
1348
  ?>
1349
  <div id="wdi_comments">
1350
+ <div title="<?php echo __('Hide Comments', "wd-instagram-feed"); ?>" class="wdi_comments_close">
1351
  <i class="wdi_comments_close_btn fa fa-arrow-<?php echo $theme_row->lightbox_comment_pos; ?>"></i>
1352
  </div>
1353
 
1354
  <form id="wdi_comment_form" style="display:none !important;"> method="post" action="<?php echo $popup_url; ?>"><!--Deprecated-->
1355
+ <p><label for="wdi_name"><?php echo __('Name', "wd-instagram-feed"); ?> * </label></p>
1356
  <p><input type="text" name="wdi_name" id="wdi_name" <?php echo ((get_current_user_id() != 0) ? 'readonly="readonly"' : ''); ?>
1357
  value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->display_name : $wdi_name); ?>" /></p>
1358
  <?php
1359
  if ($option_row->popup_enable_email) {
1360
  ?>
1361
+ <p><label for="wdi_email"><?php echo __('Email', "wd-instagram-feed"); ?> * </label></p>
1362
  <p><input type="text" name="wdi_email" id="wdi_email"
1363
  value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->user_email : $wdi_email); ?>" /></p>
1364
  <p><span class="wdi_comment_error"><?php echo $email_error_message; ?></span></p>
1365
  <?php
1366
  }
1367
  ?>
1368
+ <p><label for="wdi_comment"><?php echo __('Comment', "wd-instagram-feed"); ?> * </label></p>
1369
  <p><textarea class="wdi_comment_textarea" name="wdi_comment" id="wdi_comment"><?php echo $wdi_comment; ?></textarea></p>
1370
  <?php
1371
  if ($option_row->popup_enable_captcha) {
1372
  ?>
1373
+ <p><label for="wdi_captcha_input"><?php echo __('Verification Code', "wd-instagram-feed"); ?></label></p>
1374
  <p>
1375
  <input id="wdi_captcha_input" name="wdi_captcha_input" class="wdi_captcha_input" type="text">
1376
  <img id="wdi_captcha_img" class="wdi_captcha_img" type="captcha" digit="6" src="<?php echo add_query_arg(array('action' => 'wdi_captcha', 'digit' => 6, 'i' => ''), admin_url('admin-ajax.php')); ?>" onclick="wdi_captcha_refresh('wdi_captcha')" ontouchend="wdi_captcha_refresh('wdi_captcha')" />
1380
  <?php
1381
  }
1382
  ?>
1383
+ <p><input onclick="if (wdi_spider_check_required('wdi_name', '<?php echo __('Name', "wd-instagram-feed"); ?>') <?php if ($option_row->popup_enable_email) { ?> || wdi_spider_check_required('wdi_email', '<?php echo __('Email', "wd-instagram-feed"); ?>') || wdi_spider_check_email('wdi_email') <?php } ?> || wdi_spider_check_required('wdi_comment', '<?php echo __('Comment', "wd-instagram-feed"); ?>')) { return false;}
1384
  var cur_image_key = parseInt(jQuery('#wdi_current_image_key').val());
1385
  ++wdi_data[cur_image_key]['comment_count'];
1386
  wdi_spider_set_input_value('ajax_task', 'save');
1387
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));
1388
  wdi_spider_ajax_save('wdi_comment_form');
1389
  return false;"
1390
+ ontouchend="if (wdi_spider_check_required('wdi_name', '<?php echo __('Name', "wd-instagram-feed"); ?>') <?php if ($option_row->popup_enable_email) { ?> || wdi_spider_check_required('wdi_email', '<?php echo __('Email', "wd-instagram-feed"); ?>') || wdi_spider_check_email('wdi_email') <?php } ?> || wdi_spider_check_required('wdi_comment', '<?php echo __('Comment', "wd-instagram-feed"); ?>')) {return false;}
1391
  var cur_image_key = parseInt(jQuery('#wdi_current_image_key').val());
1392
  ++wdi_data[cur_image_key]['comment_count'];
1393
  wdi_spider_set_input_value('ajax_task', 'save');
1394
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));
1395
  wdi_spider_ajax_save('wdi_comment_form');
1396
+ return false;" class="wdi_submit" type="submit" name="wdi_submit" id="wdi_submit" value="<?php echo __('Submit', "wd-instagram-feed"); ?>" /></p>
1397
+ <?php echo (!current_user_can('manage_options') && ($comment_moderation && (isset($_POST['wdi_comment']) && esc_html($_POST['wdi_comment'])))) ? __('Your comment is awaiting moderation', "wd-instagram-feed") : ''; ?>
1398
  <input id="ajax_task" name="ajax_task" type="hidden" value="" />
1399
  <input id="image_id" name="image_id" type="hidden" value="<?php echo $image_id; ?>" />
1400
  <input id="comment_id" name="comment_id" type="hidden" value="" />
1401
  </form>
1402
  </div>
1403
  <div id="wdi_added_comments">
1404
+ <p class="wdi_no_comment"><?php _e('There are no comments to show','wd-instagram-feed');?></p>
1405
  </div>
1406
  </div>
1407
  </div>
1410
 
1411
  <a class="wdi_spider_popup_close" onclick="wdi_spider_destroypopup(1000); return false;" ontouchend="wdi_spider_destroypopup(1000); return false;"><span><i class="wdi_close_btn fa fa-times"></i></span></a>
1412
 
 
1413
  <script>
1414
 
 
 
 
 
 
 
1415
  <?php
1416
  if ($option_row->enable_addthis && $option_row->addthis_profile_id) {
1417
  ?>
2063
  /* Load comments.*/
2064
  if (jQuery(".wdi_comment_container").hasClass("wdi_open")) {
2065
  if (wdi_data[key]["comment_count"] == 0) {
2066
+ jQuery("#wdi_added_comments").html('<p class="wdi_no_comment"><?php _e('There are no comments to show','wd-instagram-feed');?></p>');
2067
  }
2068
  else {
2069
  jQuery("#wdi_added_comments").show();
2158
  if (!jQuery.fullscreen.isFullScreen()) {
2159
  jQuery(".wdi_resize-full").show();
2160
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2161
+ jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wd-instagram-feed"); ?>");
2162
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt");
2163
+ jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Fullscreen', "wd-instagram-feed"); ?>");
2164
  }
2165
  }
2166
  }
2330
  /* Set filmstrip initial position.*/
2331
  wdi_set_filmstrip_pos(jQuery(".wdi_spider_popup_wrap").width() - 40);
2332
  jQuery(".wdi_comment_container").attr("class", "wdi_comment_container wdi_close");
2333
+ jQuery(".wdi_comment").attr("title", "<?php echo __('Show Comments', "wd-instagram-feed"); ?>");
2334
  jQuery(".wdi_spider_popup_close_fullscreen").show();
2335
  // console.log("has open:"+jQuery(".wdi_comment_container").hasClass("wdi_open"));
2336
  // console.log("has clos:"+jQuery(".wdi_comment_container").hasClass("wdi_close"));
2378
  /* Set filmstrip initial position.*/
2379
  wdi_set_filmstrip_pos(jQuery(".wdi_filmstrip_container").<?php echo $width_or_height; ?>() - 40);
2380
  jQuery(".wdi_comment_container").attr("class", "wdi_comment_container wdi_open");
2381
+ jQuery(".wdi_comment").attr("title", "<?php echo __('Hide Comments', "wd-instagram-feed"); ?>");
2382
  /* Load comments.*/
2383
 
2384
  var cur_image_key = parseInt(jQuery("#wdi_current_image_key").val());
2388
  wdi_spider_set_input_value('image_id', jQuery('#wdi_popup_image').attr('image_id'));/*deprecated*/
2389
  wdi_spider_ajax_save('wdi_comment_form',cur_image_key);/*deprecated*/
2390
  }else{
2391
+ jQuery("#wdi_added_comments").html('<p class="wdi_no_comment"><?php _e('There are no comments to show','wd-instagram-feed');?></p>');
2392
  }
2393
  // console.log("has open:"+jQuery(".wdi_comment_container").hasClass("wdi_open"));
2394
  // console.log("has clos:"+jQuery(".wdi_comment_container").hasClass("wdi_close"));
2564
  jQuery(".wdi_info").on(wdi_click, function() {
2565
  if (jQuery(".wdi_image_info_container1").css("display") == 'none') {
2566
  jQuery(".wdi_image_info_container1").css("display", "table-cell");
2567
+ jQuery(".wdi_info").attr("title", "<?php echo __('Hide info', "wd-instagram-feed"); ?>");
2568
 
2569
 
2570
 
2578
  }
2579
  else {
2580
  jQuery(".wdi_image_info_container1").css("display", "none");
2581
+ jQuery(".wdi_info").attr("title", "<?php echo __('Show info', "wd-instagram-feed"); ?>");
2582
  }
2583
 
2584
 
2587
  jQuery(".wdi_rate").on(wdi_click, function() {
2588
  if (jQuery(".wdi_image_rate_container1").css("display") == 'none') {
2589
  jQuery(".wdi_image_rate_container1").css("display", "table-cell");
2590
+ jQuery(".wdi_rate").attr("title", "<?php echo __('Hide rating', "wd-instagram-feed"); ?>");
2591
  }
2592
  else {
2593
  jQuery(".wdi_image_rate_container1").css("display", "none");
2594
+ jQuery(".wdi_rate").attr("title", "<?php echo __('Show rating', "wd-instagram-feed"); ?>");
2595
  }
2596
  });
2597
  /* Open/close comments.*/
2714
  /* Set filmstrip initial position.*/
2715
  wdi_set_filmstrip_pos(wdi_popup_current_<?php echo $width_or_height; ?> - 40);
2716
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2717
+ jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wd-instagram-feed"); ?>");
2718
  }
2719
  else {
2720
  wdi_popup_current_width = jQuery(window).width();
2751
  /* Set filmstrip initial position.*/
2752
  wdi_set_filmstrip_pos(jQuery(window).<?php echo $width_or_height; ?>() - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2753
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-compress");
2754
+ jQuery(".wdi_resize-full").attr("title", "<?php echo __('Restore', "wd-instagram-feed"); ?>");
2755
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2756
  }
2757
  });
2811
  wdi_set_filmstrip_pos(wdi_popup_current_<?php echo $width_or_height; ?> - 40);
2812
  jQuery(".wdi_resize-full").show();
2813
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-expand");
2814
+ jQuery(".wdi_resize-full").attr("title", "<?php echo __('Maximize', "wd-instagram-feed"); ?>");
2815
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-arrows-alt");
2816
+ jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Fullscreen', "wd-instagram-feed"); ?>");
2817
  if (jQuery("#wdi_spider_popup_wrap").width() < jQuery(window).width()) {
2818
  if (jQuery("#wdi_spider_popup_wrap").height() < jQuery(window).height()) {
2819
  jQuery(".wdi_spider_popup_close_fullscreen").attr("class", "wdi_spider_popup_close");
2866
  wdi_set_filmstrip_pos(screen_<?php echo $width_or_height; ?> - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2867
  jQuery(".wdi_resize-full").hide();
2868
  jQuery(".wdi_fullscreen").attr("class", "wdi_ctrl_btn wdi_fullscreen fa fa-compress");
2869
+ jQuery(".wdi_fullscreen").attr("title", "<?php echo __('Exit Fullscreen', "wd-instagram-feed"); ?>");
2870
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2871
  /*});
2872
  }*/
2881
 
2882
  /* PLay.*/
2883
  wdi_play();
2884
+ jQuery(".wdi_play_pause").attr("title", "<?php echo __('Pause', "wd-instagram-feed"); ?>");
2885
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-pause");
2886
  }
2887
  else {
2888
  /* Pause.*/
2889
  window.clearInterval(wdi_playInterval);
2890
+ jQuery(".wdi_play_pause").attr("title", "<?php echo __('Play', "wd-instagram-feed"); ?>");
2891
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-play");
2892
  }
2893
  });
2898
  ?>
2899
 
2900
  wdi_play();
2901
+ jQuery(".wdi_play_pause").attr("title", "<?php echo __('Pause', "wd-instagram-feed"); ?>");
2902
  jQuery(".wdi_play_pause").attr("class", "wdi_ctrl_btn wdi_play_pause fa fa-pause");
2903
  <?php
2904
  }
2971
  wdi_set_filmstrip_pos(jQuery(window).<?php echo $width_or_height; ?>() - <?php echo ($filmstrip_direction == 'horizontal' ? 'comment_container_width' : 0); ?> - 40);
2972
 
2973
  jQuery(".wdi_resize-full").attr("class", "wdi_ctrl_btn wdi_resize-full fa fa-compress");
2974
+ jQuery(".wdi_resize-full").attr("title", "<?php echo __('Restore', "wd-instagram-feed"); ?>");
2975
  jQuery(".wdi_spider_popup_close").attr("class", "wdi_ctrl_btn wdi_spider_popup_close_fullscreen");
2976
  }
2977
 
frontend/views/WDIViewImageBrowser_view.php CHANGED
@@ -13,453 +13,458 @@ class WDIViewImageBrowser_view{
13
  ////////////////////////////////////////////////////////////////////////////////////////
14
  // Constructor & Destructor //
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct($model) {
17
- $this->model = $model;
18
- }
19
  ////////////////////////////////////////////////////////////////////////////////////////
20
  // Public Methods //
21
  ////////////////////////////////////////////////////////////////////////////////////////
22
- public function display(){
23
- $this->pass_feed_data_to_js();
24
- $feed_row = $this->model->get_feed_row();
25
- $wdi_feed_counter = $this->model->wdi_feed_counter;
26
- $this->generate_feed_styles($feed_row);
27
- $style = $this->model->theme_row;
28
- ?>
29
- <div id="wdi_feed_<?php echo $wdi_feed_counter?>" class="wdi_feed_main_container">
30
- <div id="wdi_spider_popup_loading_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_loading"></div>
31
- <div id="wdi_spider_popup_overlay_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_overlay" onclick="wdi_spider_destroypopup(1000)"></div>
32
- <div class="wdi_feed_container">
33
- <div class="wdi_feed_info">
34
- <div id="wdi_feed_<?php echo $wdi_feed_counter?>_header" class='wdi_feed_header'></div>
35
- <div id="wdi_feed_<?php echo $wdi_feed_counter?>_users" class='wdi_feed_users'></div>
36
- </div>
37
- <?php
 
 
 
38
  if($feed_row['feed_display_view']==='pagination' && $style['pagination_position_vert']==='top'){
39
- ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wdi")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wdi")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wdi")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wdi")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
40
  }
41
- ?>
42
- <div class="wdi_feed_wrapper <?php echo 'wdi_col_'.$feed_row['number_of_columns']?>" wdi-res='<?php echo 'wdi_col_'.$feed_row['number_of_columns']?>'></div>
43
- <div class="wdi_clear"></div>
44
- <?php switch($feed_row['feed_display_view']){
45
- case 'load_more_btn':{
46
- ?><div class="wdi_load_more"><div class="wdi_load_more_container"><div class="wdi_load_more_wrap"><div class="wdi_load_more_wrap_inner"><div class="wdi_load_more_text"><?php echo __('Load More',"wdi");?></div></div></div></div></div><?php
47
- break;
48
- }
49
- case 'pagination':{
50
- if($style['pagination_position_vert']==='bottom'){
51
- ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wdi")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wdi")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wdi")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wdi")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
 
 
 
 
 
 
 
52
  }
53
-
54
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  }
56
- case 'infinite_scroll':{
57
- ?><div id="wdi_infinite_scroll" class="wdi_infinite_scroll"></div> <?php
 
 
 
58
  }
59
- }?>
60
- <div class="wdi_js_error <?php echo is_user_logged_in() ? '' : 'wdi_hidden'; ?>"><?php _e("Something is wrong. Response takes too long or there is JS error. Press Ctrl+Shift+J or Cmd+Shift+J on a Mac.", "wdi"); ?> </div>
61
- </div>
62
- </div>
63
- <?php
64
 
65
- }
66
- public function pass_feed_data_to_js(){
67
- global $wdi_options;
68
- $feed_row = $this->model->get_feed_row();
69
- $wdi_feed_counter = $this->model->wdi_feed_counter;
70
- $feed_row['access_token'] = $wdi_options['wdi_access_token'];
71
- $feed_row['wdi_feed_counter'] = $wdi_feed_counter;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
 
 
 
 
 
 
 
73
 
74
- wp_localize_script("wdi_frontend", 'wdi_feed_'.$wdi_feed_counter,array('feed_row'=>$feed_row,'data'=>array(),'usersData'=>array(),'dataCount'=>0));
75
- wp_localize_script("wdi_frontend", 'wdi_front',array('feed_counter'=>$wdi_feed_counter));
76
- }
77
- public function generate_feed_styles($feed_row){
78
- $style = $this->model->theme_row;
79
- $colNum = (100/$feed_row['number_of_columns']);
80
- $wdi_feed_counter = $this->model->wdi_feed_counter;
81
- if($style['header_position'] == 'center'){
82
- $headerfloatPos = 'left';
83
- }else{
84
- $headerfloatPos = $style['header_position'];
85
- }
86
- ?>
87
- <style type="text/css">
88
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
89
- min-width: 160px;
90
- width: <?php echo $style['feed_container_width']?>;
91
- margin: 0 auto;
92
- background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
93
- border-bottom: 5px solid <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/;
94
- }
95
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_wrapper{
96
- width: <?php echo $style['feed_wrapper_width']?>; /*feed_wrapper_width,column number * image size*/
97
- margin: 0 auto;
98
- background-color: <?php echo $style['feed_wrapper_bg_color']?>;/*feed_wrapper_bg_color*/
99
- text-align: <?php echo $style['header_position']?>;/*header_position*/
100
- }
101
 
102
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_header{
103
- margin: <?php echo $style['header_margin']?>;/*header_margin*/
104
- padding: <?php echo $style['header_padding']?>;/*header_padding*/
105
- border: <?php echo $style['header_border_size']?> solid <?php echo $style['header_border_color']?>;/*header_border_size, header_border_color*/
106
- text-align: <?php echo $style['header_position']?>;/*header_position*/
107
- display: <?php echo ($feed_row['display_header']=='1')? 'block' : 'none'?>; /*if display-header is true display:block*/
108
- }
109
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_wrapper {
110
- display: inline-table;
111
- }
112
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_img_wrap,#wdi_feed_<?php echo $wdi_feed_counter?> .wdi_users_img_wrap{
113
- height: <?php echo $style['header_img_width']?>px;/*header_img_width*/
114
- width: <?php echo $style['header_img_width']?>px;/*header_img_width*/
115
- border-radius: <?php echo $style['header_border_radius']?>px;/*header_img_width*/
116
- overflow: hidden;
117
- }
118
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_text{
119
- display: table-cell;
120
- vertical-align: middle;
121
- font-size: <?php echo $style['header_text_font_size']?>;
122
- font-style: <?php echo $style['header_text_font_style']?>;
123
- padding: <?php echo $style['header_text_padding']?>;/*header_text_padding*/
124
- color: <?php echo $style['header_text_color']?>;/*header_text_color*/
125
- font-weight: <?php echo $style['header_font_weight']?>;/*header_font_weight*/
126
- line-height: <?php echo $style['header_img_width']?>px;/*header_img_width*/
127
- }
128
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_single_user{
129
- display: inline-block;
130
- float: left;
131
- padding-top: <?php echo $style['user_padding']?>;/*user_padding*/
132
- padding-bottom: <?php echo $style['user_padding']?>;/*user_padding*/
133
- padding-left: <?php echo $style['user_padding']?>;/*user_padding*/
134
- padding-right: <?php echo $style['user_padding']?>;/*user_padding*/
135
- }
136
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_img_wrap {
137
- display: inline-block;
138
- float: left;
139
- /*margin: 0 0 0 -100% !important;*/
140
- position: relative;
141
- }
142
- <?php
143
-
144
- if($feed_row['display_user_post_follow_number'] == '1'){
145
- $header_text_padding =(intval($style['user_img_width']) - intval($style['users_text_font_size']))/4;
146
- }else{
147
- $header_text_padding =(intval($style['user_img_width']) - intval($style['users_text_font_size']))/2;
148
- }
149
- ?>
150
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text {
151
- display: inline-block;
152
- float: left;
153
- width: 100%;
154
- padding-top: <?php echo $header_text_padding; ?>px;
155
-
156
- }
157
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3 {
158
- margin-top: <?php echo $header_text_padding ?>px;
159
- }
160
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_hashtag h3{
161
- margin-top: <?php echo (intval($style['user_img_width']) - intval($style['users_text_font_size']))/2?>px;
162
- }
163
-
164
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_followers,
165
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_posts {
166
- display: inline-block;
167
- }
168
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3{
169
- display: inline-block;
170
- text-transform: none;
171
- font-size: <?php echo $style['users_text_font_size']?>;
172
- font-style: <?php echo $style['users_text_font_style']?>;
173
- line-height: <?php echo $style['users_text_font_size']?>;
174
- color: <?php echo $style['users_text_color']?>;/*header_text_color*/;
175
- }
176
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3:hover
177
- {
178
- cursor: pointer;
179
- }
180
 
181
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_img_wrap img{
182
- height: <?php echo $style['user_img_width']?>px;
183
- width: <?php echo $style['user_img_width']?>px;
184
- border-radius: <?php echo $style['user_border_radius']?>px;
185
- overflow: hidden;
186
- display: block;
187
- }
188
-
189
-
190
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3{
191
- margin-left: 10px;
192
- margin-bottom: 0px;
193
- }
194
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_media_info{
195
- /*display: inline-block;*/
196
- margin-left: <?php echo intval($style['user_img_width']) + 10;?>px;
197
- line-height: <?php echo $style['users_text_font_size']?>;
198
- color: <?php echo $style['users_text_color']?>;/*header_text_color !mmm/ seperate*/
199
- display: <?php echo ($feed_row['display_user_post_follow_number'] == '1') ? 'block' : 'none'; ?>
200
- }
201
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_media_info p{
202
- margin-top: 0px;
203
- margin-bottom: 0px;
204
- }
205
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_controls{
206
- margin-left: 0;
207
- display: inline-block;
208
- vertical-align: middle;
209
- }
210
-
211
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_bio{
212
- color: <?php echo $style['users_text_color']?>;/*header_text_color*/
213
- font-size: <?php echo $style['user_description_font_size']?>;/*header_text_color*/
214
- float: left;
215
- }
216
 
217
-
218
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_followers{
219
- margin-left: 5px;
220
- }
221
-
222
-
223
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_follow_btn{
224
- display: inline-block;
225
- background: 0 0;
226
- border-radius: <?php echo $style['follow_btn_border_radius']?>px;
227
- border-style: solid;
228
- border-width: 1px;
229
- font-size: <?php echo $style['follow_btn_font_size']?>px;
230
- font-weight: 500;
231
- outline: none;
232
- overflow: hidden;
233
- background-color: <?php echo $style['follow_btn_bg_color']?>;
234
- text-overflow: ellipsis;
235
- white-space: nowrap;
236
- -webkit-appearance: none;
237
- border-color: <?php echo $style['follow_btn_border_color']?>;
238
- color: <?php echo $style['follow_btn_text_color']?>;
239
- margin-left: <?php echo $style['follow_btn_margin']?>px;
240
- vertical-align: text-bottom;
241
- padding: 0 <?php echo $style['follow_btn_padding']?>px;
242
- }
243
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_follow_btn:hover{
244
- border-color: <?php echo $style['follow_btn_border_hover_color']?>;
245
- color: <?php echo $style['follow_btn_text_hover_color']?>;
246
- background-color: <?php echo $style['follow_btn_background_hover_color']?>;
247
- cursor:pointer;
248
- }
249
 
250
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_overlay{
251
- position: absolute;
252
- z-index: 2;
253
- top: 0;
254
- left: 0;
255
- width: <?php echo $style['user_img_width'];?>px;/*user_img_width*/
256
- height: <?php echo $style['user_img_width'];?>px;/*user_img_width*/
257
- opacity: 0;
258
- border-radius: <?php echo $style['user_border_radius']?>px;/*user_img_width*/
259
- background-color: <?php echo $style['th_overlay_hover_color'];?>;
260
- transition: opacity 0.1s ease;
261
- }
262
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_overlay:hover{
263
- opacity: 0.9;
264
- cursor: pointer;
265
- }
266
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_icon span{
267
- display: block;
268
- width: <?php echo $style['user_img_width'];?>px;/*header_img_width*/
269
- height: <?php echo $style['user_img_width'];?>px;/*header_img_width*/
270
- font-size: 25px;
271
- color: white;
272
- }
273
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_icon span::before{
274
- width: 20px;
275
- height: 20px;
276
- position: absolute;
277
- opacity: 1;
278
- right:0;
279
- left: 0;
280
- top: 0;
281
- bottom: 0;
282
- margin: auto;
283
- }
284
 
285
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_wrap {
286
- padding: <?php echo $style['image_browser_photo_wrap_padding']?>; /*photo_wrap_padding*/
287
- box-sizing:content-box;
288
- overflow: hidden;
289
- }
290
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_wrap_inner{
291
- border: <?php echo $style['image_browser_photo_wrap_border_size']?> solid <?php echo $style['image_browser_photo_wrap_border_color']?>;/*photo_wrap_border_size,photo_wrap_border_color*/
292
- background-color: <?php echo $style['image_browser_photo_wrap_bg_color']?>;/*photo_wrap_bg_color*/
293
- }
294
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_img{
295
- border-radius: <?php echo $style['image_browser_photo_img_border_radius']?>;/*photo_img_border_radius*/
296
- }
297
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_img{
298
- width: 100%;
299
- display: block;
300
- }
301
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
302
- width: <?php echo $colNum.'%'?>;/*thumbnail_size*/
303
- display: inline-block;
304
- overflow: hidden;
305
- }
306
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_meta {
307
- background-color: <?php echo $style['image_browser_photo_meta_bg_color']?>;/*photo_meta_bg_color*/
308
- text-align: center;
309
- padding-bottom: 10px;
310
- }
311
 
312
-
 
 
313
 
314
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_likes{
315
- width: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? '50%' : '100%' ?>;/*photo_meta_one_line==false else 100%*/
316
- float: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? 'left' : 'none'?>;/*photo_meta_one_line==true else float none*/
317
- font-size: <?php echo $style['image_browser_like_comm_font_size']?>;/*photo_caption_font_size*/;
318
- color: <?php echo $style['image_browser_like_text_color']?>;/*like_text_color*/
319
-
320
- }
321
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_comments{
322
- width: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? '50%' : '100%' ?>;/*photo_meta_one_line==false else 100%*/
323
- float: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? 'left' : 'none'?>;/*photo_meta_one_line==true else float none*/
324
- font-size: <?php echo $style['image_browser_like_comm_font_size']?>;/*photo_caption_font_size*/;
325
- color: <?php echo $style['image_browser_comment_text_color']?>;/*comment_text_color*/
326
-
327
- }
328
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_comments i,#wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_likes i{
329
- width: 100%;
330
- }
331
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_title {
332
- text-overflow: ellipsis;
333
- overflow: hidden;
334
- white-space: nowrap;
335
- width: 90%;
336
- margin-left: 5%;
337
- margin-right: 5%;
338
- font-size: <?php echo $style['image_browser_photo_caption_font_size']?>;/*photo_caption_font_size*/
339
- color: <?php echo $style['image_browser_photo_caption_color']?>;/*photo_caption_color*/
340
- text-align: center;
341
- }
342
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_title:hover{
343
- color: <?php echo $style['image_browser_photo_caption_hover_color']?>;
344
- cursor: pointer;
345
- }
346
 
347
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more{
348
- padding: 10px;
349
- background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
350
- text-align: <?php echo $style['load_more_position']?>;/*load_more_position*/
351
- transition: all 0.2s ease;
352
- }
353
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap{
354
- padding: <?php echo $style['load_more_padding']?>;/*load_more_padding*/
355
- background-color: <?php echo $style['load_more_bg_color']?>;/*load_more_bg_color*/
356
- display: inline-table;
357
- border-radius: <?php echo $style['load_more_border_radius']?>;/*load_more_border_radius*/
358
- height: <?php echo $style['load_more_height']?>;/*load_more_height*/
359
- width: <?php echo $style['load_more_width']?>;/*load_more_width*/
360
- border: <?php echo $style['load_more_border_size']?> solid <?php echo $style['load_more_border_color']?>;/*load_more_border_size, load_more_border_color*/;
361
- box-sizing: border-box;
362
- }
363
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap_inner{
364
- display: table-row;
365
- text-align: center;
366
- }
367
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_text{
368
- display: table-cell;
369
- vertical-align: middle;
370
- color: <?php echo $style['load_more_text_color']?>;/*load_more_text_color*/
371
- font-size: <?php echo $style['load_more_text_font_size']?>;/*load_more_text_font_size*/
372
- }
373
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_text img{
374
- height: <?php echo $style['load_more_height']?>;/*load_more_height*/
375
- width: <?php echo $style['load_more_height']?>;/*load_more_height*/
376
- float: left;
377
- }
378
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap:hover{
379
- cursor: pointer;
380
- background-color: <?php echo $style['load_more_wrap_hover_color']?>;/*load_more_wrap_hover_color*/
381
- }
382
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination{
383
- -webkit-user-select: none; /* Chrome/Safari */
384
- -moz-user-select: none; /* Firefox */
385
- -ms-user-select: none; /* IE10+ */
386
-
387
- /* Rules below not implemented in browsers yet */
388
- -o-user-select: none;
389
- user-select: none;
390
- text-align: <?php echo $style['pagination_position']?>;/*load_more_position*/
391
- color: <?php echo $style['pagination_ctrl_color']?>;/*pagination_ctrl_color*/
392
- font-size: <?php echo $style['pagination_size']?>;/*pagination_size*/
393
- }
394
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination_ctrl{
395
- margin: <?php echo $style['pagination_ctrl_margin']?>;
396
- display: inline-block;
397
- }
398
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination_ctrl:hover{
399
- cursor: pointer;
400
- color: <?php echo $style['pagination_ctrl_hover_color']?>;
401
- }
402
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_overlay:hover{
403
- cursor: pointer;
404
- }
405
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_container{
406
- display: inline-block;
407
- }
408
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_active_bg{
409
- background-color: <?php echo $style['active_filter_bg_color'];?>;
410
- }
411
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_active_col{
412
- color: <?php echo $style['active_filter_bg_color'];?>;
413
- border-color: <?php echo $style['active_filter_bg_color'];?>;
414
- }
415
- <?php if($feed_row['disable_mobile_layout']=="0"){
416
- ?>
417
- @media screen and (min-width: 800px) and (max-width:1024px){
418
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
419
- width: <?php echo ($colNum<33.33) ? '33.333333333333%' : $colNum.'%'?>;/*thumbnail_size*/
420
- margin: 0;
421
- display: inline-block;
422
- vertical-align: top;
423
- overflow: hidden;
424
- }
425
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
426
- width: 100%;
427
- margin: 0 auto;
428
- background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
429
- }
430
-
431
- }
432
- @media screen and (min-width: 480px) and (max-width:800px){
433
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
434
- width: <?php echo ($colNum<50) ? '50%' : $colNum.'%'?>;/*thumbnail_size*/
435
- margin: 0;
436
- display: inline-block;
437
- overflow: hidden;
438
- }
439
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
440
- width: 100%;
441
- margin: 0 auto;
442
- background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
443
- }
444
- }
445
- @media screen and (max-width: 480px){
446
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
447
- width: <?php echo ($colNum<100) ? '100%' : $colNum.'%'?>;/*thumbnail_size*/
448
- margin: 0;
449
- display: inline-block;
450
- overflow: hidden;
451
- }
452
- #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
453
- width: 100%;
454
- margin: 0 auto;
455
- background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
456
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
458
- <?php
459
- }?>
460
- </style>
461
- <?php
462
- }
463
 
464
 
465
 
13
  ////////////////////////////////////////////////////////////////////////////////////////
14
  // Constructor & Destructor //
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct($model) {
17
+ $this->model = $model;
18
+ }
19
  ////////////////////////////////////////////////////////////////////////////////////////
20
  // Public Methods //
21
  ////////////////////////////////////////////////////////////////////////////////////////
22
+ public function display(){
23
+ $this->pass_feed_data_to_js();
24
+ $feed_row = $this->model->get_feed_row();
25
+ $wdi_feed_counter = $this->model->wdi_feed_counter;
26
+ $this->generate_feed_styles($feed_row);
27
+ $style = $this->model->theme_row;
28
+
29
+ $wdi_data_ajax = defined('DOING_AJAX') && DOING_AJAX ? 'data-wdi_ajax=1' : '';
30
+
31
+ ?>
32
+ <div id="wdi_feed_<?php echo $wdi_feed_counter?>" class="wdi_feed_main_container" <?php echo $wdi_data_ajax; ?> >
33
+ <div id="wdi_spider_popup_loading_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_loading"></div>
34
+ <div id="wdi_spider_popup_overlay_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_overlay" onclick="wdi_spider_destroypopup(1000)"></div>
35
+ <div class="wdi_feed_container">
36
+ <div class="wdi_feed_info">
37
+ <div id="wdi_feed_<?php echo $wdi_feed_counter?>_header" class='wdi_feed_header'></div>
38
+ <div id="wdi_feed_<?php echo $wdi_feed_counter?>_users" class='wdi_feed_users'></div>
39
+ </div>
40
+ <?php
41
  if($feed_row['feed_display_view']==='pagination' && $style['pagination_position_vert']==='top'){
42
+ ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wd-instagram-feed")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wd-instagram-feed")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wd-instagram-feed")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wd-instagram-feed")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
43
  }
44
+ ?>
45
+ <div class="wdi_feed_wrapper <?php echo 'wdi_col_'.$feed_row['number_of_columns']?>" wdi-res='<?php echo 'wdi_col_'.$feed_row['number_of_columns']?>'></div>
46
+ <div class="wdi_clear"></div>
47
+ <?php switch($feed_row['feed_display_view']){
48
+ case 'load_more_btn':{
49
+ ?><div class="wdi_load_more"><div class="wdi_load_more_container"><div class="wdi_load_more_wrap"><div class="wdi_load_more_wrap_inner"><div class="wdi_load_more_text"><?php echo __('Load More',"wd-instagram-feed");?></div></div></div></div></div><?php
50
+ break;
51
+ }
52
+ case 'pagination':{
53
+ if($style['pagination_position_vert']==='bottom'){
54
+ ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wd-instagram-feed")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wd-instagram-feed")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wd-instagram-feed")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wd-instagram-feed")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
55
+ }
56
+
57
+ break;
58
+ }
59
+ case 'infinite_scroll':{
60
+ ?><div id="wdi_infinite_scroll" class="wdi_infinite_scroll"></div> <?php
61
+ }
62
  }
63
+ wdi_feed_frontend_messages();
64
+ ?>
65
+ </div>
66
+ </div>
67
+ <?php
68
+
69
+ }
70
+ public function pass_feed_data_to_js(){
71
+ global $wdi_options;
72
+ $feed_row = $this->model->get_feed_row();
73
+ $wdi_feed_counter = $this->model->wdi_feed_counter;
74
+ $feed_row['access_token'] = $wdi_options['wdi_access_token'];
75
+ $feed_row['wdi_feed_counter'] = $wdi_feed_counter;
76
+
77
+
78
+ wp_localize_script("wdi_frontend", 'wdi_feed_'.$wdi_feed_counter,array('feed_row'=>$feed_row,'data'=>array(),'usersData'=>array(),'dataCount'=>0));
79
+ wp_localize_script("wdi_frontend", 'wdi_front',array('feed_counter'=>$wdi_feed_counter));
80
+ }
81
+ public function generate_feed_styles($feed_row){
82
+ $style = $this->model->theme_row;
83
+ $colNum = (100/$feed_row['number_of_columns']);
84
+ $wdi_feed_counter = $this->model->wdi_feed_counter;
85
+ if($style['header_position'] == 'center'){
86
+ $headerfloatPos = 'left';
87
+ }else{
88
+ $headerfloatPos = $style['header_position'];
89
+ }
90
+ ?>
91
+ <style type="text/css">
92
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
93
+ min-width: 160px;
94
+ width: <?php echo $style['feed_container_width']?>;
95
+ margin: 0 auto;
96
+ background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
97
+ border-bottom: 5px solid <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/;
98
  }
99
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_wrapper{
100
+ width: <?php echo $style['feed_wrapper_width']?>; /*feed_wrapper_width,column number * image size*/
101
+ margin: 0 auto;
102
+ background-color: <?php echo $style['feed_wrapper_bg_color']?>;/*feed_wrapper_bg_color*/
103
+ text-align: <?php echo $style['header_position']?>;/*header_position*/
104
  }
 
 
 
 
 
105
 
106
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_header{
107
+ margin: <?php echo $style['header_margin']?>;/*header_margin*/
108
+ padding: <?php echo $style['header_padding']?>;/*header_padding*/
109
+ border: <?php echo $style['header_border_size']?> solid <?php echo $style['header_border_color']?>;/*header_border_size, header_border_color*/
110
+ text-align: <?php echo $style['header_position']?>;/*header_position*/
111
+ display: <?php echo ($feed_row['display_header']=='1')? 'block' : 'none'?>; /*if display-header is true display:block*/
112
+ }
113
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_wrapper {
114
+ display: inline-table;
115
+ }
116
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_img_wrap,#wdi_feed_<?php echo $wdi_feed_counter?> .wdi_users_img_wrap{
117
+ height: <?php echo $style['header_img_width']?>px;/*header_img_width*/
118
+ width: <?php echo $style['header_img_width']?>px;/*header_img_width*/
119
+ border-radius: <?php echo $style['header_border_radius']?>px;/*header_img_width*/
120
+ overflow: hidden;
121
+ }
122
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_text{
123
+ display: table-cell;
124
+ vertical-align: middle;
125
+ font-size: <?php echo $style['header_text_font_size']?>;
126
+ font-style: <?php echo $style['header_text_font_style']?>;
127
+ padding: <?php echo $style['header_text_padding']?>;/*header_text_padding*/
128
+ color: <?php echo $style['header_text_color']?>;/*header_text_color*/
129
+ font-weight: <?php echo $style['header_font_weight']?>;/*header_font_weight*/
130
+ line-height: <?php echo $style['header_img_width']?>px;/*header_img_width*/
131
+ }
132
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_single_user{
133
+ display: inline-block;
134
+ float: left;
135
+ padding-top: <?php echo $style['user_padding']?>;/*user_padding*/
136
+ padding-bottom: <?php echo $style['user_padding']?>;/*user_padding*/
137
+ padding-left: <?php echo $style['user_padding']?>;/*user_padding*/
138
+ padding-right: <?php echo $style['user_padding']?>;/*user_padding*/
139
+ }
140
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_img_wrap {
141
+ display: inline-block;
142
+ float: left;
143
+ /*margin: 0 0 0 -100% !important;*/
144
+ position: relative;
145
+ }
146
+ <?php
147
+
148
+ if($feed_row['display_user_post_follow_number'] == '1'){
149
+ $header_text_padding =(intval($style['user_img_width']) - intval($style['users_text_font_size']))/4;
150
+ }else{
151
+ $header_text_padding =(intval($style['user_img_width']) - intval($style['users_text_font_size']))/2;
152
+ }
153
+ ?>
154
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text {
155
+ display: inline-block;
156
+ float: left;
157
+ width: 100%;
158
+ padding-top: <?php echo $header_text_padding; ?>px;
159
 
160
+ }
161
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3 {
162
+ margin-top: <?php echo $header_text_padding ?>px;
163
+ }
164
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_hashtag h3{
165
+ margin-top: <?php echo (intval($style['user_img_width']) - intval($style['users_text_font_size']))/2?>px;
166
+ }
167
 
168
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_followers,
169
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_posts {
170
+ display: inline-block;
171
+ }
172
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3{
173
+ display: inline-block;
174
+ text-transform: none;
175
+ font-size: <?php echo $style['users_text_font_size']?>;
176
+ font-style: <?php echo $style['users_text_font_style']?>;
177
+ line-height: <?php echo $style['users_text_font_size']?>;
178
+ color: <?php echo $style['users_text_color']?>;/*header_text_color*/;
179
+ }
180
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3:hover
181
+ {
182
+ cursor: pointer;
183
+ }
 
 
 
 
 
 
 
 
 
 
 
184
 
185
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_img_wrap img{
186
+ height: <?php echo $style['user_img_width']?>px;
187
+ width: <?php echo $style['user_img_width']?>px;
188
+ border-radius: <?php echo $style['user_border_radius']?>px;
189
+ overflow: hidden;
190
+ display: block;
191
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
 
194
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_header_user_text h3{
195
+ margin-left: 10px;
196
+ margin-bottom: 0;
197
+ }
198
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_media_info{
199
+ /*display: inline-block;*/
200
+ margin-left: <?php echo intval($style['user_img_width']) + 10;?>px;
201
+ line-height: <?php echo $style['users_text_font_size']?>;
202
+ color: <?php echo $style['users_text_color']?>;/*header_text_color !mmm/ seperate*/
203
+ display: <?php echo ($feed_row['display_user_post_follow_number'] == '1') ? 'block' : 'none'; ?>
204
+ }
205
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_media_info p{
206
+ margin-top: 0px;
207
+ margin-bottom: 0px;
208
+ }
209
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_user_controls{
210
+ margin-left: 0;
211
+ display: inline-block;
212
+ vertical-align: middle;
213
+ }
 
 
 
 
 
 
 
 
 
 
 
 
214
 
215
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_bio{
216
+ color: <?php echo $style['users_text_color']?>;/*header_text_color*/
217
+ font-size: <?php echo $style['user_description_font_size']?>;/*header_text_color*/
218
+ float: left;
219
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
 
222
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_followers{
223
+ margin-left: 5px;
224
+ }
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
 
227
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_follow_btn{
228
+ display: inline-block;
229
+ background: 0 0;
230
+ border-radius: <?php echo $style['follow_btn_border_radius']?>px;
231
+ border-style: solid;
232
+ border-width: 1px;
233
+ font-size: <?php echo $style['follow_btn_font_size']?>px;
234
+ font-weight: 500;
235
+ outline: none;
236
+ overflow: hidden;
237
+ background-color: <?php echo $style['follow_btn_bg_color']?>;
238
+ text-overflow: ellipsis;
239
+ white-space: nowrap;
240
+ -webkit-appearance: none;
241
+ border-color: <?php echo $style['follow_btn_border_color']?>;
242
+ color: <?php echo $style['follow_btn_text_color']?>;
243
+ margin-left: <?php echo $style['follow_btn_margin']?>px;
244
+ vertical-align: text-bottom;
245
+ padding: 0 <?php echo $style['follow_btn_padding']?>px;
246
+ }
247
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_follow_btn:hover{
248
+ border-color: <?php echo $style['follow_btn_border_hover_color']?>;
249
+ color: <?php echo $style['follow_btn_text_hover_color']?>;
250
+ background-color: <?php echo $style['follow_btn_background_hover_color']?>;
251
+ cursor:pointer;
252
+ }
253
+
254
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_overlay{
255
+ position: absolute;
256
+ z-index: 2;
257
+ top: 0;
258
+ left: 0;
259
+ width: <?php echo $style['user_img_width'];?>px;/*user_img_width*/
260
+ height: <?php echo $style['user_img_width'];?>px;/*user_img_width*/
261
+ opacity: 0;
262
+ border-radius: <?php echo $style['user_border_radius']?>px;/*user_img_width*/
263
+ background-color: <?php echo $style['th_overlay_hover_color'];?>;
264
+ transition: opacity 0.1s ease;
265
+ }
266
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_overlay:hover{
267
+ opacity: 0.9;
268
+ cursor: pointer;
269
+ }
270
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_icon span{
271
+ display: block;
272
+ width: <?php echo $style['user_img_width'];?>px;/*header_img_width*/
273
+ height: <?php echo $style['user_img_width'];?>px;/*header_img_width*/
274
+ font-size: 25px;
275
+ color: white;
276
+ }
277
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_icon span::before{
278
+ width: 20px;
279
+ height: 20px;
280
+ position: absolute;
281
+ opacity: 1;
282
+ right:0;
283
+ left: 0;
284
+ top: 0;
285
+ bottom: 0;
286
+ margin: auto;
287
+ }
288
+
289
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_wrap {
290
+ padding: <?php echo $style['image_browser_photo_wrap_padding']?>; /*photo_wrap_padding*/
291
+
292
+ overflow: hidden;
293
+ box-sizing:content-box;
294
+ }
295
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_wrap_inner{
296
+ border: <?php echo $style['image_browser_photo_wrap_border_size']?> solid <?php echo $style['image_browser_photo_wrap_border_color']?>;/*photo_wrap_border_size,photo_wrap_border_color*/
297
+ background-color: <?php echo $style['image_browser_photo_wrap_bg_color']?>;/*photo_wrap_bg_color*/
298
+ }
299
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_img{
300
+ border-radius: <?php echo $style['image_browser_photo_img_border_radius']?>;/*photo_img_border_radius*/
301
+ }
302
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_img{
303
+ width: 100%;
304
+ display: block;
305
+ }
306
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
307
+ width: <?php echo $colNum.'%'?>;/*thumbnail_size*/
308
+ display: inline-block;
309
+ overflow: hidden;
310
+ }
311
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_meta {
312
+ background-color: <?php echo $style['image_browser_photo_meta_bg_color']?>;/*photo_meta_bg_color*/
313
+ text-align: center;
314
+ padding-bottom: 10px;
315
+ }
316
+
317
+
318
+
319
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_likes{
320
+ width: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? '50%' : '100%' ?>;/*photo_meta_one_line==false else 100%*/
321
+ float: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? 'left' : 'none'?>;/*photo_meta_one_line==true else float none*/
322
+ font-size: <?php echo $style['image_browser_like_comm_font_size']?>;/*photo_caption_font_size*/;
323
+ color: <?php echo $style['image_browser_like_text_color']?>;/*like_text_color*/
324
+
325
+ }
326
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_comments{
327
+ width: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? '50%' : '100%' ?>;/*photo_meta_one_line==false else 100%*/
328
+ float: <?php echo ($style['image_browser_photo_meta_one_line']=='1')? 'left' : 'none'?>;/*photo_meta_one_line==true else float none*/
329
+ font-size: <?php echo $style['image_browser_like_comm_font_size']?>;/*photo_caption_font_size*/;
330
+ color: <?php echo $style['image_browser_comment_text_color']?>;/*comment_text_color*/
331
+
332
+ }
333
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_comments i,#wdi_feed_<?php echo $wdi_feed_counter?> .wdi_thumb_likes i{
334
+ width: 100%;
335
+ }
336
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_title {
337
+ text-overflow: ellipsis;
338
+ overflow: hidden;
339
+ white-space: nowrap;
340
+ width: 90%;
341
+ margin-left: 5%;
342
+ margin-right: 5%;
343
+ font-size: <?php echo $style['image_browser_photo_caption_font_size']?>;/*photo_caption_font_size*/
344
+ color: <?php echo $style['image_browser_photo_caption_color']?>;/*photo_caption_color*/
345
+ text-align: center;
346
+ }
347
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_title:hover{
348
+ color: <?php echo $style['image_browser_photo_caption_hover_color']?>;
349
+ cursor: pointer;
350
+ }
351
+
352
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more{
353
+ padding: 10px;
354
+ background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
355
+ text-align: <?php echo $style['load_more_position']?>;/*load_more_position*/
356
+ transition: all 0.2s ease;
357
+ }
358
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap{
359
+ padding: <?php echo $style['load_more_padding']?>;/*load_more_padding*/
360
+ background-color: <?php echo $style['load_more_bg_color']?>;/*load_more_bg_color*/
361
+ display: inline-table;
362
+ border-radius: <?php echo $style['load_more_border_radius']?>;/*load_more_border_radius*/
363
+ height: <?php echo $style['load_more_height']?>;/*load_more_height*/
364
+ width: <?php echo $style['load_more_width']?>;/*load_more_width*/
365
+ border: <?php echo $style['load_more_border_size']?> solid <?php echo $style['load_more_border_color']?>;/*load_more_border_size, load_more_border_color*/;
366
+ box-sizing: border-box;
367
+ }
368
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap_inner{
369
+ display: table-row;
370
+ text-align: center;
371
+ }
372
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_text{
373
+ display: table-cell;
374
+ vertical-align: middle;
375
+ color: <?php echo $style['load_more_text_color']?>;/*load_more_text_color*/
376
+ font-size: <?php echo $style['load_more_text_font_size']?>;/*load_more_text_font_size*/
377
+ }
378
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_text img{
379
+ height: <?php echo $style['load_more_height']?>;/*load_more_height*/
380
+ width: <?php echo $style['load_more_height']?>;/*load_more_height*/
381
+ float: left;
382
+ }
383
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_wrap:hover{
384
+ cursor: pointer;
385
+ background-color: <?php echo $style['load_more_wrap_hover_color']?>;/*load_more_wrap_hover_color*/
386
+ }
387
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination{
388
+ -webkit-user-select: none; /* Chrome/Safari */
389
+ -moz-user-select: none; /* Firefox */
390
+ -ms-user-select: none; /* IE10+ */
391
+
392
+ /* Rules below not implemented in browsers yet */
393
+ -o-user-select: none;
394
+ user-select: none;
395
+ text-align: <?php echo $style['pagination_position']?>;/*load_more_position*/
396
+ color: <?php echo $style['pagination_ctrl_color']?>;/*pagination_ctrl_color*/
397
+ font-size: <?php echo $style['pagination_size']?>;/*pagination_size*/
398
+ }
399
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination_ctrl{
400
+ margin: <?php echo $style['pagination_ctrl_margin']?>;
401
+ display: inline-block;
402
+ }
403
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_pagination_ctrl:hover{
404
+ cursor: pointer;
405
+ color: <?php echo $style['pagination_ctrl_hover_color']?>;
406
+ }
407
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_photo_overlay:hover{
408
+ cursor: pointer;
409
+ }
410
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_load_more_container{
411
+ display: inline-block;
412
+ }
413
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_active_bg{
414
+ background-color: <?php echo $style['active_filter_bg_color'];?>;
415
+ }
416
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_filter_active_col{
417
+ color: <?php echo $style['active_filter_bg_color'];?>;
418
+ border-color: <?php echo $style['active_filter_bg_color'];?>;
419
+ }
420
+ <?php if($feed_row['disable_mobile_layout']=="0"){
421
+ ?>
422
+ @media screen and (min-width: 800px) and (max-width:1024px){
423
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
424
+ width: <?php echo ($colNum<33.33) ? '33.333333333333%' : $colNum.'%'?>;/*thumbnail_size*/
425
+ margin: 0;
426
+ display: inline-block;
427
+ vertical-align: top;
428
+ overflow: hidden;
429
+ }
430
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
431
+ width: 100%;
432
+ margin: 0 auto;
433
+ background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
434
+ }
435
+
436
+ }
437
+ @media screen and (min-width: 480px) and (max-width:800px){
438
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
439
+ width: <?php echo ($colNum<50) ? '50%' : $colNum.'%'?>;/*thumbnail_size*/
440
+ margin: 0;
441
+ display: inline-block;
442
+ overflow: hidden;
443
+ }
444
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
445
+ width: 100%;
446
+ margin: 0 auto;
447
+ background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
448
+ }
449
+ }
450
+ @media screen and (max-width: 480px){
451
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_item{
452
+ width: <?php echo ($colNum<100) ? '100%' : $colNum.'%'?>;/*thumbnail_size*/
453
+ margin: 0;
454
+ display: inline-block;
455
+ overflow: hidden;
456
+ }
457
+ #wdi_feed_<?php echo $wdi_feed_counter?> .wdi_feed_container {
458
+ width: 100%;
459
+ margin: 0 auto;
460
+ background-color: <?php echo $style['feed_container_bg_color']?>;/*feed_container_bg_color*/
461
+ }
462
+ }
463
+ <?php
464
+ }?>
465
+ </style>
466
+ <?php
467
  }
 
 
 
 
 
468
 
469
 
470
 
frontend/views/WDIViewThumbnails_view.php CHANGED
@@ -26,10 +26,12 @@ public function display(){
26
  $wdi_feed_counter = $this->model->wdi_feed_counter;
27
  $this->generate_feed_styles($feed_row);
28
  $style = $this->model->theme_row;
 
 
29
 
30
  ?>
31
 
32
- <div id="wdi_feed_<?php echo $wdi_feed_counter?>" class="wdi_feed_main_container">
33
  <div id="wdi_spider_popup_loading_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_loading"></div>
34
  <div id="wdi_spider_popup_overlay_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_overlay" onclick="wdi_spider_destroypopup(1000)"></div>
35
  <div class="wdi_feed_container">
@@ -39,7 +41,7 @@ public function display(){
39
  </div>
40
  <?php
41
  if($feed_row['feed_display_view']==='pagination' && $style['pagination_position_vert']==='top'){
42
- ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wdi")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wdi")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wdi")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wdi")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
43
  }
44
  ?>
45
  <div class="wdi_feed_wrapper <?php echo 'wdi_col_'.$feed_row['number_of_columns']?>" wdi-res='<?php echo 'wdi_col_'.$feed_row['number_of_columns']?>'></div>
@@ -48,15 +50,14 @@ public function display(){
48
  <?php switch($feed_row['feed_display_view']){
49
  case 'load_more_btn':{
50
  ?>
51
- <style>.wdi_hidden{display: none;}</style>
52
- <div class="wdi_load_more wdi_hidden"><div class="wdi_load_more_container"><div class="wdi_load_more_wrap"><div class="wdi_load_more_wrap_inner"><div class="wdi_load_more_text"><?php echo __('Load More',"wdi");?></div></div></div></div></div>
53
  <div class="wdi_spinner "><div class="wdi_spinner_container"><div class="wdi_spinner_wrap"><div class="wdi_spinner_wrap_inner"><i class="wdi_load_more_spinner fa fa-spinner"></i></div></div></div></div>
54
  <?php
55
  break;
56
  }
57
  case 'pagination':{
58
  if($style['pagination_position_vert']==='bottom'){
59
- ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wdi")?>" class="fa fa-step-backward wdi_disabled wdi_pagination_ctrl"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wdi")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wdi")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wdi")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
60
  }
61
 
62
  break;
@@ -64,8 +65,9 @@ public function display(){
64
  case 'infinite_scroll':{
65
  ?><div id="wdi_infinite_scroll" class="wdi_infinite_scroll"></div> <?php
66
  }
67
- }?>
68
- <div class="wdi_js_error <?php echo is_user_logged_in() ? '' : 'wdi_hidden'; ?>"><?php _e("Something is wrong. Response takes too long or there is JS error. Press Ctrl+Shift+J or Cmd+Shift+J on a Mac.", "wdi"); ?> </div>
 
69
  </div>
70
  </div>
71
  <?php
@@ -411,7 +413,11 @@ public function generate_feed_styles($feed_row){
411
  vertical-align: middle;
412
  color: <?php echo $style['load_more_text_color']?>;/*load_more_text_color*/
413
  font-size: <?php echo intval($style['load_more_text_font_size'])*1.3?>px;/*load_more_text_font_size*/
414
- animation: wdi_rotate 1.5s infinite;
 
 
 
 
415
  }
416
 
417
 
26
  $wdi_feed_counter = $this->model->wdi_feed_counter;
27
  $this->generate_feed_styles($feed_row);
28
  $style = $this->model->theme_row;
29
+
30
+ $wdi_data_ajax = defined('DOING_AJAX') && DOING_AJAX ? 'data-wdi_ajax=1' : '';
31
 
32
  ?>
33
 
34
+ <div id="wdi_feed_<?php echo $wdi_feed_counter?>" class="wdi_feed_main_container" <?php echo $wdi_data_ajax; ?> >
35
  <div id="wdi_spider_popup_loading_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_loading"></div>
36
  <div id="wdi_spider_popup_overlay_<?php echo $wdi_feed_counter?>" class="wdi_spider_popup_overlay" onclick="wdi_spider_destroypopup(1000)"></div>
37
  <div class="wdi_feed_container">
41
  </div>
42
  <?php
43
  if($feed_row['feed_display_view']==='pagination' && $style['pagination_position_vert']==='top'){
44
+ ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wd-instagram-feed")?>" class="fa fa-step-backward wdi_pagination_ctrl wdi_disabled"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wd-instagram-feed")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wd-instagram-feed")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wd-instagram-feed")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
45
  }
46
  ?>
47
  <div class="wdi_feed_wrapper <?php echo 'wdi_col_'.$feed_row['number_of_columns']?>" wdi-res='<?php echo 'wdi_col_'.$feed_row['number_of_columns']?>'></div>
50
  <?php switch($feed_row['feed_display_view']){
51
  case 'load_more_btn':{
52
  ?>
53
+ <div class="wdi_load_more wdi_hidden"><div class="wdi_load_more_container"><div class="wdi_load_more_wrap"><div class="wdi_load_more_wrap_inner"><div class="wdi_load_more_text"><?php echo __('Load More',"wd-instagram-feed");?></div></div></div></div></div>
 
54
  <div class="wdi_spinner "><div class="wdi_spinner_container"><div class="wdi_spinner_wrap"><div class="wdi_spinner_wrap_inner"><i class="wdi_load_more_spinner fa fa-spinner"></i></div></div></div></div>
55
  <?php
56
  break;
57
  }
58
  case 'pagination':{
59
  if($style['pagination_position_vert']==='bottom'){
60
+ ?><div id="wdi_pagination" class="wdi_pagination"><div class="wdi_pagination_container"><i id="wdi_first_page" title="<?php echo __('First Page',"wd-instagram-feed")?>" class="fa fa-step-backward wdi_disabled wdi_pagination_ctrl"></i><i id="wdi_prev" title="<?php echo __('Previous Page',"wd-instagram-feed")?>" class="fa fa-arrow-left wdi_pagination_ctrl"></i><i id="wdi_current_page" class="wdi_pagination_ctrl" style="font-style:normal">1</i><i id="wdi_next" title="<?php echo __('Next Page',"wd-instagram-feed")?>" class="fa fa-arrow-right wdi_pagination_ctrl"></i> <i id="wdi_last_page" title="<?php echo __('Last Page',"wd-instagram-feed")?>" class="fa fa-step-forward wdi_pagination_ctrl wdi_disabled"></i></div></div> <?php
61
  }
62
 
63
  break;
65
  case 'infinite_scroll':{
66
  ?><div id="wdi_infinite_scroll" class="wdi_infinite_scroll"></div> <?php
67
  }
68
+ }
69
+ wdi_feed_frontend_messages();
70
+ ?>
71
  </div>
72
  </div>
73
  <?php
413
  vertical-align: middle;
414
  color: <?php echo $style['load_more_text_color']?>;/*load_more_text_color*/
415
  font-size: <?php echo intval($style['load_more_text_font_size'])*1.3?>px;/*load_more_text_font_size*/
416
+
417
+ -webkit-animation: wdi_rotate 1.5s infinite;
418
+ -moz-animation:wdi_rotate 1.5s infinite;
419
+ -o-animation:wdi_rotate 1.5s infinite;
420
+ animation:wdi_rotate 1.5s infinite;
421
  }
422
 
423
 
js/gallerybox/jquery.featureCarousel.js DELETED
@@ -1,818 +0,0 @@
1
- /*!
2
- * Feature Carousel
3
- */
4
- (function($){
5
-
6
- $.fn.featureCarousel = function (options) {
7
-
8
- // Adds support for multiple carousels on one page
9
- if (this.length > 1) {
10
- this.each(function() {
11
- $(this).featureCarousel(options);
12
- });
13
- return this;
14
- }
15
-
16
- // override the default options with user defined options
17
- options = $.extend({}, $.fn.featureCarousel.defaults, options || {});
18
-
19
- /*
20
- These are univeral values that are used throughout the plugin. Do not modify them
21
- * unless you know what you're doing. Most of them feed off the options
22
- * so most customization can be achieved by modifying the options values
23
-
24
- */
25
- var pluginData = {
26
- containerWidth: 0,
27
- containerHeight: 0,
28
- largeFeatureWidth: 0,
29
- largeFeatureHeight: 0,
30
- smallFeatureHeight: 0,
31
- smallFeatureWidth: 0,
32
- totalFeatureCount: $(this).children("div").length,
33
- featuresContainer: $(this),
34
- featuresArray: [],
35
- containerIDTag: "#"+$(this).attr("id"),
36
- timeoutVar: null,
37
- rotationsRemaining: 0,
38
- itemsToAnimate: 0,
39
- borderWidth: 0,
40
- autoTime: 0
41
- };
42
-
43
- /**
44
- * Function to preload the images in the carousel if desired.
45
- * This is not recommended if there are a lot of images in the carousel because
46
- * it may take a while. Functionality does not depend on preloading the images
47
-
48
- */
49
- var preload = function(callback) {
50
- // user may not want to preload images
51
- if (options.preload == true) {
52
- var $imageElements = pluginData.featuresContainer.find("img");
53
- var loadedImages = 0;
54
- var totalImages = $imageElements.length;
55
- $imageElements.each(function (index, element) {
56
- // Attempt to load the images
57
- var img = new Image();
58
- $(img).bind('load error', function () {
59
- // Add to number of images loaded and see if they are all done yet
60
- loadedImages++;
61
- if (loadedImages == totalImages) {
62
- // All done, perform callback
63
- callback();
64
- }
65
- });
66
- img.src = element.src;
67
- });
68
-
69
- } else {
70
- callback();
71
- // if user doesn't want preloader, then just go right to callback
72
- }
73
- }
74
-
75
- // Gets the feature container based on the number
76
- var getContainer = function(featureNum) {
77
- return pluginData.featuresArray[featureNum-1];
78
- }
79
-
80
- // get a feature given it's set position (the position that doesn't change)
81
- var getBySetPos = function(position) {
82
- $.each(pluginData.featuresArray, function () {
83
- if ($(this).data().setPosition == position)
84
- return $(this);
85
- });
86
- }
87
-
88
- // get previous feature number
89
- var getPreviousNum = function(num) {
90
- if ((num - 1) == 0) {
91
- return pluginData.totalFeatureCount;
92
- } else {
93
- return num - 1;
94
- }
95
- }
96
-
97
- // get next feature number
98
- var getNextNum = function(num) {
99
- if ((num + 1) > pluginData.totalFeatureCount) {
100
- return 1;
101
- } else {
102
- return num + 1;
103
- }
104
- }
105
-
106
- /**
107
- * Because there are several options the user can set for the width and height
108
- * of the feature images, this function is used to determine which options were set
109
- * and to set the appropriate dimensions used for a small and large feature
110
- */
111
- var setupFeatureDimensions = function() {
112
- // Set the height and width of the entire carousel container
113
- options.containerWidth = pluginData.featuresContainer.width();
114
- options.containerHeight = pluginData.featuresContainer.height();
115
-
116
- // Grab the first image for reference
117
- var $firstFeatureImage = $(pluginData.containerIDTag).find(".wdi_carousel-image" + options.wdi_number + ":first");
118
-
119
- // Large Feature Width
120
- if (options.largeFeatureWidth > 1)
121
- pluginData.largeFeatureWidth = options.largeFeatureWidth;
122
-
123
- else if (options.largeFeatureWidth > 0 && options.largeFeatureWidth < 1)
124
- pluginData.largeFeatureWidth = $firstFeatureImage.width() * options.largeFeatureWidth;
125
- else
126
- pluginData.largeFeatureWidth = $firstFeatureImage.outerWidth();
127
- // Large Feature Height
128
- if (options.largeFeatureHeight > 1)
129
- pluginData.largeFeatureHeight = options.largeFeatureHeight;
130
- else if (options.largeFeatureHeight > 0 && options.largeFeatureHeight < 1)
131
- pluginData.largeFeatureHeight = $firstFeatureImage.height() * options.largeFeatureHeight;
132
- else
133
- pluginData.largeFeatureHeight = $firstFeatureImage.outerHeight();
134
- // Small Feature Width
135
- if (options.smallFeatureWidth > 1)
136
- pluginData.smallFeatureWidth = options.smallFeatureWidth;
137
- else if (options.smallFeatureWidth > 0 && options.smallFeatureWidth < 1)
138
- pluginData.smallFeatureWidth = $firstFeatureImage.width() * options.smallFeatureWidth;
139
- else
140
- pluginData.smallFeatureWidth = $firstFeatureImage.outerWidth() / 2;
141
-
142
- }
143
-
144
- /**
145
- * Function to take care of setting up various aspects of the carousel,
146
- * most importantly the default positions for the features
147
- */
148
- var setupCarousel = function() {
149
- // Set the total feature count to the amount the user wanted to cutoff
150
- if (options.displayCutoff > 0 && options.displayCutoff < pluginData.totalFeatureCount) {
151
- pluginData.totalFeatureCount = options.displayCutoff;
152
- }
153
-
154
- // fill in the features array
155
- pluginData.featuresContainer.find(".wdi_carousel-feature" + options.wdi_number).each(function (index) {
156
- if (index < pluginData.totalFeatureCount) {
157
- pluginData.featuresArray[index] = $(this);
158
- }
159
- });
160
-
161
- // Determine the total border width around the feature if there is one
162
- if (pluginData.featuresContainer.find(".wdi_carousel-feature" + options.wdi_number).first().css("borderLeftWidth") != "medium") {
163
- pluginData.borderWidth = parseInt(pluginData.featuresContainer.find(".wdi_carousel-feature" + options.wdi_number).first().css("borderLeftWidth"));
164
- }
165
- if (options.imagecount != 1) {
166
- // Place all the features in a center hidden position to start off
167
- pluginData.featuresContainer
168
- // Have to make the container relative positioning
169
- .find(".wdi_carousel-feature" + options.wdi_number).each(function () {
170
- // Center all the features in the middle and hide them
171
- $(this).css({
172
- 'left': (options.containerWidth / 2) - (options.largeFeatureWidth * options.smallFeaturePar / 2) - (pluginData.borderWidth / 2)+ options.largeFeatureWidth / 2,
173
- 'width': options.largeFeatureWidth * options.smallFeaturePar / 100,
174
- 'height': options.largeFeatureHeight * options.smallFeaturePar / 100,
175
- 'top': options.smallFeatureOffset + options.topPadding+options.largeFeatureHeight / 2,
176
- 'opacity': 0,
177
- 'filter': 'Alpha(opacity=100)'
178
- });
179
- })
180
- }
181
- else {
182
- // Place all the features in a center hidden position to start off
183
- pluginData.featuresContainer
184
- // Have to make the container relative positioning
185
- .find(".wdi_carousel-feature" + options.wdi_number).each(function () {
186
- // Center all the features in the middle and hide them
187
- $(this).css({
188
- 'left':0 ,
189
- 'width': options.largeFeatureWidth * options.smallFeaturePar ,
190
- 'height': options.largeFeatureHeight * options.smallFeaturePar ,
191
- 'top': 0,
192
- 'opacity': 0,
193
- 'filter': 'Alpha(opacity=100)'
194
- });
195
- })
196
- }
197
-
198
- // set position to relative of captions if displaying below image
199
- if (options.captionBelow) {
200
- pluginData.featuresContainer.find(".wdi_carousel-caption" + options.wdi_number).css('position','absolute');
201
- }
202
-
203
- // figure out number of items that will rotate each time
204
- if (pluginData.totalFeatureCount < options.imagecount) {
205
- pluginData.itemsToAnimate = pluginData.totalFeatureCount;
206
- }
207
- else {
208
- pluginData.itemsToAnimate = options.imagecount + 2;
209
- }
210
-
211
- // Hide story info and set the proper positioning
212
- pluginData.featuresContainer.find(".wdi_carousel-caption" + options.wdi_number)
213
- .hide();
214
- }
215
-
216
- /**
217
- * Here all the position data is set for the features.
218
- * This is an important part of the carousel to keep track of where
219
- * each feature within the carousel is
220
- */
221
- var setupFeaturePositions = function() {
222
- // give all features a set number that won't change so they remember their
223
- // original order
224
- $.each(pluginData.featuresArray, function (i) {
225
- $(this).data('setPosition',i+1);
226
- });
227
-
228
- // Go back one - This is done because we call the move function right away, which
229
- // shifts everything to the right. So we set the current center back one, so that
230
- // it displays in the center when that happens
231
- var oneBeforeStarting = getPreviousNum(options.startingFeature);
232
- window["wdi_currentCenterNum" +options.wdi_number] = oneBeforeStarting;
233
-
234
- // Center feature will be position 1
235
- var $centerFeature = getContainer(oneBeforeStarting);
236
- $centerFeature.data('position',1);
237
-
238
- // Everything before that center feature...
239
- var $prevFeatures = $centerFeature.prevAll();
240
- $prevFeatures.each(function (i) {
241
- $(this).data('position',(pluginData.totalFeatureCount - i));
242
- });
243
-
244
- // And everything after that center feature...
245
- var $nextFeatures = $centerFeature.nextAll();
246
- $nextFeatures.each(function (i) {
247
- if ($(this).data('setPosition') != undefined) {
248
- $(this).data('position',(i + 2));
249
- }
250
- });
251
-
252
- // if the counter style is for including number tags in description...
253
- if (options.counterStyle == 'caption') {
254
- $.each(pluginData.featuresArray, function () {
255
- var pos = getPreviousNum($(this).data('position'));
256
- var $numberTag = $("<span></span>");
257
- $numberTag.addClass("numberTag");
258
- $numberTag.html("("+ pos + " of " + pluginData.totalFeatureCount + ") ");
259
- $(this).find(".wdi_carousel-caption" + options.wdi_number).prepend($numberTag);
260
- });
261
- }
262
- }
263
-
264
- // Update the tracker information with the new centered feature
265
- var updateTracker = function(oldCenter, newCenter) {
266
- if (options.trackerIndividual) {
267
- // get selectors for the two trackers
268
- var $trackerContainer = pluginData.featuresContainer.find(".tracker-individual-container");
269
- var $oldCenter = $trackerContainer.find("#tracker-"+oldCenter);
270
- var $newCenter = $trackerContainer.find("#tracker-"+newCenter);
271
-
272
- // change classes
273
-
274
- }
275
-
276
- if (options.trackerSummation) {
277
- var $trackerContainer = pluginData.featuresContainer.find('.tracker-summation-container');
278
- $trackerContainer.find('.tracker-summation-current').text(newCenter);
279
- }
280
-
281
- }
282
-
283
- /**
284
- * This function will set the autoplay for the carousel to
285
- * automatically rotate it given the time in the options
286
- * pass in TRUE to just clear the timer
287
- */
288
- var setTimer = function(stop) {
289
- // clear the timeout var if it exists
290
- clearTimeout(pluginData.timeoutVar);
291
-
292
- // set interval for moving if autoplay is set
293
- if (!stop && options.autoPlay != 0) {
294
- var autoTime = (Math.abs(options.autoPlay) < options.carouselSpeed) ? options.carouselSpeed : Math.abs(options.autoPlay);
295
- pluginData.timeoutVar = setTimeout(function () {
296
- (options.autoPlay > 0) ? initiateMove(true,1) : initiateMove(false,1);
297
- }, autoTime);
298
- }
299
- }
300
-
301
-
302
- // This is a helper function for the animateFeature function that
303
- // will update the positions of all the features based on the direction
304
- var rotatePositions = function(direction) {
305
- $.each(pluginData.featuresArray, function () {
306
- var newPos;
307
- if (direction == false) {
308
- newPos = getNextNum($(this).data().position);
309
- } else {
310
- newPos = getPreviousNum($(this).data().position);
311
- }
312
-
313
- $(this).data('position',newPos);
314
- });
315
- }
316
-
317
- /**
318
- * This function is used to animate the given feature to the given
319
- * location. Valid locations are "left", "right", "center", "hidden"
320
- */
321
- var animateFeature = function($feature, direction) {
322
-
323
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_video"]) {
324
- jQuery(".wdi_carousel-feature" + options.wdi_number).find("iframe").each(function () {
325
- jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
326
- jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*");
327
- jQuery(this)[0].contentWindow.postMessage('pause', '*');
328
- });
329
- }
330
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_instagram_post"]) {
331
- jQuery("#wdi_carousel_play_pause_" + options.wdi_number).hide();
332
- }
333
- $feature.find(".wdi_video_hide" + options.wdi_number).each(function() {
334
- jQuery(this).css({display: ''});
335
- });
336
- $feature.find(".wdi_carousel_image_container_" + options.wdi_number).each(function() {
337
- jQuery(this).hide();
338
- });
339
- $feature.find(".wdi_carousel_watermark_" + options.wdi_number).each(function() {
340
- jQuery(this).hide();
341
- });
342
-
343
- var new_width, new_height, new_top, new_left, new_zindex, new_padding, new_fade,new_fade1,new_f;
344
- // Determine the old and new positions of the feature
345
- var oldPosition = $feature.data('position');
346
- var newPosition;
347
- if (direction == true)
348
- newPosition = getPreviousNum(oldPosition);
349
- else
350
- newPosition = getNextNum(oldPosition);
351
- // callback for moving out of center pos
352
- if (oldPosition == 1) {
353
- options.leavingCenter($feature);
354
- }
355
- // Caculate new new css values depending on where the feature will be located
356
- //center
357
- if (newPosition == 1) {
358
- var title = window["data_" + options.wdi_number][$feature.attr("image_key")]["alt"];
359
- title = title.replace(/^\s+/, '').replace(/\s+$/, '');
360
-
361
- if (title === '' || !options.enable_image_title) {
362
- jQuery(".wdi_carousel_title_text_" + options.wdi_number).css({display: 'none'});
363
- }
364
- else {
365
- jQuery(".wdi_carousel_title_text_" + options.wdi_number).css({display: ''});
366
- }
367
- new_width = pluginData.largeFeatureWidth;
368
- new_height = pluginData.largeFeatureHeight;
369
- new_top =(options.containerHeight / 2 - new_height / 2 );
370
- new_zindex = $feature.css("z-index");
371
- new_left = (options.containerWidth / 2) - (pluginData.largeFeatureWidth / 2) - (pluginData.borderWidth / 2);
372
- new_fade = 1;
373
- new_fade1 = 100;
374
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_video"]) {
375
- $feature.find("#wdi_carousel_play_pause_" + options.wdi_number).each(function() {
376
- jQuery(this).css({display: 'none'});
377
- });
378
- jQuery(".wdi_carousel_image_container_" + options.wdi_number).css({display: ''});
379
- jQuery(".wdi_carousel_watermark_container_" + options.wdi_number).css({display: ''});
380
- jQuery(".wdi_carousel_watermark_spun_" + options.wdi_number).css({display: ''});
381
- jQuery(".wdi_carousel_watermark_" + options.wdi_number).css({display: ''});
382
- $feature.find(".wdi_video_hide" + options.wdi_number).each(function() {
383
- jQuery(this).hide();
384
- });
385
- }
386
- else {
387
- $feature.find(".wdi_video_hide" + options.wdi_number).each(function() {
388
- jQuery(this).hide();
389
- });
390
- $feature.find("#wdi_carousel_play_pause_" + options.wdi_number).each(function() {
391
- jQuery(this).css({display: ''});
392
- });
393
- $feature.find(".wdi_carousel_image_container_" + options.wdi_number).each(function() {
394
- jQuery(this).css({display: ''});
395
- });
396
- $feature.find(".wdi_carousel_watermark_" + options.wdi_number).each(function() {
397
- jQuery(this).css({display: ''});
398
- });
399
- }
400
- new_f = "grayscale(0%)";
401
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_instagram_post"]) {
402
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-height" ,'');
403
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-width" ,'');
404
- }
405
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_video"]) {
406
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("display" ,'inline-block');
407
- }
408
- }
409
- else {
410
- /*left*/
411
- if (newPosition <= pluginData.totalFeatureCount && newPosition > pluginData.totalFeatureCount - options.imagecount / 2 + 1) {
412
- new_width = (pluginData.largeFeatureWidth * Math.pow(options.smallFeaturePar, pluginData.totalFeatureCount - newPosition + 1));
413
- new_height = (pluginData.largeFeatureHeight * Math.pow(options.smallFeaturePar, pluginData.totalFeatureCount - newPosition + 1));
414
- new_top = (options.containerHeight / 2 - new_height / 2 ) ;
415
- new_fade = 1;
416
- new_f = "grayscale(0%)";
417
- new_fade1 = 100;
418
- new_width = (pluginData.largeFeatureWidth * Math.pow(options.smallFeaturePar, pluginData.totalFeatureCount - newPosition + 1));
419
- new_height = (pluginData.largeFeatureHeight * Math.pow(options.smallFeaturePar, pluginData.totalFeatureCount - newPosition + 1));
420
- new_top = (options.containerHeight / 2 - new_height / 2 ) ;
421
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_instagram_post"] ) {
422
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-height",'100%');
423
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-width" ,'100%');
424
- }
425
- if(options.fit_containerWidth == false && options.smallFeaturePar < 1){
426
- new_left = (options.containerWidth / 2 - pluginData.largeFeatureWidth / 2)-(pluginData.largeFeatureWidth * (1 - options.smallFeaturePar) * options.smallFeaturePar * (pluginData.totalFeatureCount - newPosition + 1));
427
- } else if(options.fit_containerWidth == false && options.smallFeaturePar == 1){
428
- new_left = (options.containerWidth / 2 - pluginData.largeFeatureWidth / 2)-(pluginData.largeFeatureWidth * ( options.smallFeaturePar) * options.smallFeaturePar * (pluginData.totalFeatureCount - newPosition + 1));
429
- } else {
430
- new_left1 = (options.containerWidth / 2 - pluginData.largeFeatureWidth / 2) / (options.imagecount / 2 - 0.5);
431
- new_left = ((options.containerWidth / 2) - (pluginData.largeFeatureWidth / 2) - (pluginData.borderWidth / 2)) - (new_left1 * (pluginData.totalFeatureCount - newPosition+1 ));
432
- }
433
- }
434
- /*right*/
435
- else if (newPosition >= 2 && newPosition <= options.imagecount / 2 + 1) {
436
- new_width = (pluginData.largeFeatureWidth * Math.pow(options.smallFeaturePar,newPosition-1));
437
- new_height =( pluginData.largeFeatureHeight * Math.pow(options.smallFeaturePar, newPosition-1) );
438
- new_top = ( options.containerHeight / 2 - new_height / 2 ) ;
439
- new_fade = 1;
440
- new_f = "grayscale(0%)";
441
- new_fade1 = 100;
442
- if(window["data_" + options.wdi_number][$feature.attr("image_key")]["is_embed_instagram_post"] ) {
443
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-height" ,'100%');
444
- $feature.find(".wdi_embed_frame_" + options.wdi_number).css("min-width" ,'100%');
445
- }
446
- if(options.fit_containerWidth == false && options.smallFeaturePar < 1){
447
- new_left = (options.containerWidth / 2 + pluginData.largeFeatureWidth / 2)+( pluginData.largeFeatureWidth * options.smallFeaturePar * (1 - options.smallFeaturePar) * (newPosition - 1)) - new_width;
448
- } else if(options.fit_containerWidth == false && options.smallFeaturePar ==1){
449
- new_left = (options.containerWidth / 2 + pluginData.largeFeatureWidth / 2)+( pluginData.largeFeatureWidth * options.smallFeaturePar * ( options.smallFeaturePar) * (newPosition - 1)) - new_width;
450
- } else {
451
- new_left1 = ( (options.containerWidth / 2 -pluginData.largeFeatureWidth / 2)) / (options.imagecount / 2 - 0.5);
452
- new_left = (options.containerWidth / 2 + pluginData.largeFeatureWidth / 2 ) - new_width + ( new_left1 * (newPosition - 1));
453
- }
454
-
455
- }
456
- //hidden
457
- else {
458
- new_left = (options.containerWidth / 2) - (pluginData.largeFeatureWidth*options.smallFeaturePar / 2) - (pluginData.borderWidth / 2);
459
- new_fade = 0;
460
- new_fade1 = 0;
461
- }
462
- }
463
- // This code block takes care of hiding the feature information if the feature is leaving the center
464
- if (oldPosition == 1) {
465
- // Slide up the story information
466
- $feature.find(".wdi_carousel-caption" + options.wdi_number)
467
- .hide();
468
- }
469
-
470
- // Animate the feature div to its new location
471
-
472
- $feature.find("div[class^='wdi_carousel-image']").css({filter:new_f, "-webkit-filter":new_f});
473
- $feature
474
- .animate(
475
- {
476
- width: new_width,
477
- height: new_height,
478
- top: new_top,
479
- left: new_left,
480
- opacity: new_fade,
481
- filter : new_fade1
482
- },
483
- options.carouselSpeed,
484
- options.animationEasing,
485
- function () {
486
- // Take feature info out of hiding if new position is center
487
- if (newPosition == 1) {
488
- // need to set the height to auto to accomodate caption if displayed below image
489
- if (options.captionBelow)
490
- $feature.css('height','auto');
491
- // fade in the feature information
492
- $feature.find(".wdi_carousel-caption" + options.wdi_number)
493
- .fadeTo("fast",0.85);
494
- // callback for moved to center
495
- options.movedToCenter($feature);
496
- }
497
- // decrement the animation queue
498
- pluginData.rotationsRemaining = pluginData.rotationsRemaining - 1;
499
- // have to change the z-index after the animation is done
500
- $feature.css("z-index", new_zindex);
501
- // change trackers if using them
502
- if (options.trackerIndividual || options.trackerSummation) {
503
- // just update the tracker once; once the new center feature has arrived in center
504
- if (newPosition == 1) {
505
- // figure out what item was just in the center, and what item is now in the center
506
- var newCenterItemNum = pluginData.featuresContainer.find(".wdi_carousel-feature" + options.wdi_number).index($feature) + 1;
507
- var oldCenterItemNum;
508
- if (direction == false)
509
- oldCenterItemNum = getNextNum(newCenterItemNum);
510
- else
511
- oldCenterItemNum = getPreviousNum(newCenterItemNum);
512
- // now update the trackers
513
- updateTracker(oldCenterItemNum, newCenterItemNum);
514
- }
515
- }
516
-
517
- // did all the the animations finish yet?
518
- var divide = pluginData.rotationsRemaining / pluginData.itemsToAnimate;
519
- if (divide % 1 == 0) {
520
- // if so, set moving to false...
521
- window["wdi_currentlyMoving" +options.wdi_number] = false;
522
- // change positions for all items...
523
- rotatePositions(direction);
524
-
525
- // and move carousel again if queue is not empty
526
- if (pluginData.rotationsRemaining > 0)
527
- move(direction);
528
- }
529
-
530
- // reset timer and auto rotate again
531
- setTimer(false);
532
- }
533
-
534
- )
535
-
536
- .end();
537
- }
538
-
539
- /**
540
- * move the carousel to the left or to the right. The features that
541
- * will move into the four positions are calculated and then animated
542
- * rotate to the RIGHT when direction is TRUE and
543
- * rotate to the LEFT when direction is FALSE
544
-
545
- */
546
-
547
- var move = function(direction)
548
- {
549
- // Set the carousel to currently moving
550
- window["wdi_currentlyMoving" +options.wdi_number] = true;
551
-
552
- // Obtain the new feature positions based on the direction that the carousel is moving
553
-
554
- var $newCenter, $newLefts, $newRights, $newHidden,$curNum;
555
-
556
- if (direction == true ) {
557
- // Shift features to the left
558
- $newCenter = getContainer(getNextNum(window["wdi_currentCenterNum" +options.wdi_number]));
559
- $newLefts = [];
560
- $curNum = window["wdi_currentCenterNum" +options.wdi_number];
561
- for(var i = 1; i <= options.imagecount / 2 + 1; ++i) {
562
- $newLefts.push(getContainer($curNum));
563
- $curNum = getPreviousNum($curNum);
564
- }
565
-
566
- $newRights = [];
567
- $curNum = getNextNum(window["wdi_currentCenterNum" +options.wdi_number]);
568
- for(var i = 1; i <= options.imagecount / 2 + 1; ++i) {
569
- $curNum = getNextNum($curNum);
570
- $newRights.push(getContainer($curNum));
571
- }
572
-
573
- window["wdi_currentCenterNum" +options.wdi_number] = getNextNum(window["wdi_currentCenterNum" +options.wdi_number]);
574
- } else {
575
- $newCenter = getContainer(getPreviousNum(window["wdi_currentCenterNum" +options.wdi_number]));
576
- $newLefts = [];
577
- $curNum = getPreviousNum(window["wdi_currentCenterNum" +options.wdi_number]);
578
- for (var i = 1; i <= options.imagecount / 2 + 1; ++i){
579
- $curNum = getPreviousNum($curNum);
580
- $newLefts.push(getContainer($curNum));
581
- }
582
- $newRights = [];
583
- $curNum = window["wdi_currentCenterNum" +options.wdi_number];
584
- for (var i = 1; i <= options.imagecount / 2 + 1; ++i){
585
- $newRights.push(getContainer($curNum));
586
- $curNum=getNextNum($curNum);
587
- }
588
- window["wdi_currentCenterNum" +options.wdi_number] = getPreviousNum(window["wdi_currentCenterNum" +options.wdi_number]);
589
- }
590
-
591
- // Animate the features into their new positions
592
- for (i = 0; i < $newLefts.length; i++) {
593
- $newLefts[i].css("z-index",$newLefts.length - i + 3);
594
- animateFeature($newLefts[i], direction);
595
- }
596
- $newCenter.css("z-index", $newLefts.length + 4);
597
- animateFeature($newCenter, direction);
598
- for (i = 0; i < $newRights.length; i++) {
599
- $newRights[i].css("z-index",$newRights.length - i + 3);
600
- animateFeature($newRights[i], direction);
601
- }
602
-
603
- // Only want to animate the "hidden" feature if there are more than three
604
- }
605
-
606
- // This is used to relegate carousel movement throughout the plugin
607
- // It will only initiate a move if the carousel isn't currently moving
608
- // It will set the animation queue to the number of rotations given
609
- var initiateMove = function(direction, rotations) {
610
- if (window["wdi_currentlyMoving" +options.wdi_number] == false ) {
611
- var queue = rotations * pluginData.itemsToAnimate ;
612
- pluginData.rotationsRemaining = queue ;
613
- window["wdi_carousel_watermark_" + options.wdi_number]();
614
- move(direction);
615
-
616
- }
617
- }
618
-
619
- /**
620
- * This will find the shortest distance to travel the carousel from
621
- * one position to another position. It will return the shortest distance
622
- * in number form, and will be positive to go to the right and negative for left
623
-
624
- */
625
-
626
-
627
- // Move to the left if left button clicked
628
- $(options.leftButtonTag).live('click',function () {
629
- initiateMove(false,1);
630
- });
631
-
632
- // Move to right if right button clicked
633
- $(options.rightButtonTag).live('click',function () {
634
- initiateMove(true,1);
635
- });
636
-
637
- // These are the click and hover events for the features
638
- pluginData.featuresContainer.find(".wdi_carousel-feature" + options.wdi_number)
639
-
640
- .mouseover(function () {
641
- if (window["wdi_currentlyMoving" +options.wdi_number] == false) {
642
- var position = $(this).data('position');
643
-
644
- if (position == 3 || position == pluginData.totalFeatureCount) {
645
- $(this).css("opacity",1);
646
- }
647
- }
648
- // pause the rotation?
649
- if (options.pauseOnHover) setTimer(true);
650
- // stop the rotation?
651
- if (options.stopOnHover) options.autoPlay = 0;
652
- })
653
- .mouseout(function () {
654
- if (window["wdi_currentlyMoving" +options.wdi_number] == false) {
655
- var position = $(this).data('position');
656
- if (position == 3 || position == pluginData.totalFeatureCount) {
657
- $(this).css("opacity",1);
658
- }
659
- }
660
- // resume the rotation
661
- if (options.pauseOnHover) {
662
- setTimer(false);
663
- }
664
- });
665
-
666
- // Add event listener to all clicks within the features container
667
- // This is done to disable any links that aren't within the center feature
668
- $("a", pluginData.containerIDTag).live("click", function (event) {
669
- // travel up to the container
670
- var $parents = $(this).parentsUntil(pluginData.containerIDTag);
671
- // now check each of the feature divs within it
672
- $parents.each(function () {
673
- var position = $(this).data('position');
674
- // if there are more than just feature divs within the container, they will
675
- // not have a position and it may come back as undefined. Throw these out
676
- if (position != undefined) {
677
- // if any of the links on a feature OTHER THAN the center feature were clicked,
678
- // initiate a carousel move but then throw the link action away
679
- if (position != 1) {
680
- if (position == pluginData.totalFeatureCount) {
681
- initiateMove(false,1);
682
- } else if (position == 2) {
683
- initiateMove(true,1);
684
- }
685
- event.preventDefault();
686
- return false;
687
- // if the position WAS the center (i.e. 1), fire callback
688
- } else {
689
- options.clickedCenter($(this));
690
- }
691
- }
692
- });
693
- });
694
-
695
- // Did someone click one of the individual trackers?
696
-
697
-
698
- /****************
699
- PUBLIC FUNCTIONS
700
- ****************/
701
- this.initialize = function () {
702
- // Call the preloader and pass in our callback, which is just a slew of function calls
703
- // that should only be executed after the images have been loaded
704
- preload(function () {
705
- setupFeatureDimensions();
706
- setupCarousel();
707
-
708
- if (window["wdi_currentlyMoving" +options.wdi_number] == false ) {
709
- setupFeaturePositions();
710
- initiateMove(true,1);
711
- }
712
-
713
- });
714
-
715
- return this;
716
- };
717
- this.shift = function (that) {
718
-
719
- var position = $(that).data('position');
720
- if (position == 1) {
721
- return;
722
- }
723
- if (position > pluginData.totalFeatureCount / 2 + 1) {
724
- initiateMove(false, pluginData.totalFeatureCount - position + 1);
725
- options.carouselSpeed = 400;
726
- options.animationEasing;
727
- }
728
- else {
729
- initiateMove(true, position - 1);
730
- options.carouselSpeed = 400;
731
- options.animationEasing;
732
- }
733
- }
734
- this.next = function() {
735
- initiateMove(true, 1);
736
- }
737
- this.prev = function () {
738
- initiateMove(false, 1);
739
- }
740
-
741
- this.pause = function () {
742
- options.autoPlay = 0;
743
- setTimer(true);
744
- }
745
- this.start = function () {
746
- options.autoPlay = options.interval;
747
- setTimer(false);
748
- }
749
-
750
- // Initialize the plugin
751
- return this.initialize();
752
- };
753
-
754
- $.fn.featureCarousel.defaults = {
755
- // If zero, take original width and height of image
756
- // If between 0 and 1, multiply by original width and height (acts as a percentage)
757
- // If greater than one, use as a forced width/height for all of the images
758
- largeFeatureWidth : 0,
759
- largeFeatureHeight: 0,
760
- smallFeatureWidth: .5,
761
- smallFeatureHeight: .5,
762
- containerWidth: 0,
763
- containerHeight: 0,
764
- fit_containerWidth: 0,
765
- wdi_number: 0,
766
- // how much to pad the top of the carousel
767
- topPadding: 20,
768
- // spacing between the sides of the container
769
- sidePadding: 50,
770
- // the additional offset to pad the side features from the top of the carousel
771
- smallFeatureOffset: 50,
772
- //smallFeature parameters
773
- smallFeaturePar: 0,
774
- // indicates which feature to start the carousel at
775
- startingFeature: 1,
776
- // speed in milliseconds it takes to rotate the carousel
777
- carouselSpeed: 300,
778
- // time in milliseconds to set interval to autorotate the carousel
779
- // set to zero to disable it, negative to go left
780
- autoPlay: 4000,
781
- //imagecounts
782
- imagecount: 7,
783
- enable_image_title: 0,
784
- // with autoplay enabled, set this option to true to have the carousel pause rotating
785
- // when a user hovers over any feature
786
- pauseOnHover: true,
787
- // with autoplay enabled, set this option to completely stop the autorotate functionality
788
- stopOnHover: false,
789
- // numbered blips can appear and be used to track the currently centered feature, as well as
790
- // allow the user to click a number to move to that feature. Set to false to not process these at all
791
- // and true to process and display them//and true to process and display them
792
- trackerIndividual: true,
793
- // a summation of the features can also be used to display an "x Of y" style of tracking
794
- // this can be combined with the above option as well
795
- trackerSummation: true,
796
- // true to preload all images in the carousel before displaying anything. If this is set to false,
797
- // you will probably need to set a fixed width/height to prevent strangeness
798
- preload: false,
799
- // Will only display this many features in the carousel
800
- // set to zero to disable
801
- displayCutoff: 0,
802
- // an easing can be specified for the animation of the carousel
803
- animationEasing: 'swing',
804
- // selector for the left arrow of the carousel
805
- leftButtonTag: '#wdi_carousel-left',
806
- // selector for the right arrow of the carousel
807
- rightButtonTag: '#wdi_carousel-right',
808
- // display captions below the image instead of on top
809
- captionBelow: false,
810
- // callback function for when a feature has animated to the center
811
- movedToCenter: $.noop,
812
- // callback function for when feature left center
813
- leavingCenter: $.noop,
814
- // callback function for when center feature was clicked
815
- clickedCenter: $.noop
816
- };
817
-
818
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/gallerybox/wdi_embed.js DELETED
@@ -1,357 +0,0 @@
1
- /*server side analogue is function display_embed in WDWLibraryEmbed*/
2
- /*params
3
- embed_type: string , one of predefined accepted types
4
- embed_id: string, id of media in corresponding host, or url if no unique id system is defined for host
5
- attrs: object with html attributes and values format e.g. {width:'100px', style:"display:inline;"}
6
- */
7
-
8
- function wdi_spider_display_embed(embed_type, embed_id, attrs){
9
-
10
- var html_to_insert = '';
11
-
12
- switch(embed_type) {
13
- case 'EMBED_OEMBED_YOUTUBE_VIDEO':
14
- var oembed_youtube_html ='<iframe ';
15
- if(embed_id!=''){
16
- oembed_youtube_html += ' src="' + '//www.youtube.com/embed/'+embed_id + '?enablejsapi=1&wmode=transparent"';
17
- }
18
- for (attr in attrs) {
19
- if(!(/src/i).test(attr)){
20
- if(attr != '' && attrs[attr] != ''){
21
- oembed_youtube_html += ' '+ attr + '="'+ attrs[attr] + '"';
22
- }
23
- }
24
- }
25
- oembed_youtube_html += " ></iframe>";
26
- html_to_insert += oembed_youtube_html;
27
-
28
- break;
29
- case 'EMBED_OEMBED_VIMEO_VIDEO':
30
- var oembed_vimeo_html ='<iframe ';
31
- if(embed_id!=''){
32
- oembed_vimeo_html += ' src="' + '//player.vimeo.com/video/'+embed_id + '?enablejsapi=1"';
33
- }
34
- for (attr in attrs) {
35
- if(!(/src/i).test(attr)){
36
- if(attr != '' && attrs[attr] != ''){
37
- oembed_vimeo_html += ' '+ attr + '="'+ attrs[attr] + '"';
38
- }
39
- }
40
- }
41
- oembed_vimeo_html += " ></iframe>";
42
- html_to_insert += oembed_vimeo_html;
43
-
44
- break;
45
- case 'EMBED_OEMBED_FLICKR_IMAGE':
46
-
47
- var oembed_flickr_html ='<div ';
48
- for (attr in attrs) {
49
- if(!(/src/i).test(attr)){
50
- if(attr != '' && attrs[attr] != ''){
51
- oembed_flickr_html += ' '+ attr + '="'+ attrs[attr] + '"';
52
- }
53
- }
54
- }
55
- oembed_flickr_html += " >";
56
- if(embed_id!=''){
57
-
58
- oembed_flickr_html += '<img src="'+embed_id+'"'+
59
- ' style="'+
60
- 'max-width:'+'100%'+" !important"+
61
- '; max-height:'+'100%'+" !important"+
62
- '; width:'+'auto !important'+
63
- '; height:'+ 'auto !important' +
64
- ';">';
65
-
66
-
67
- }
68
-
69
- oembed_flickr_html +="</div>";
70
-
71
- html_to_insert += oembed_flickr_html;
72
- break;
73
- case 'EMBED_OEMBED_FLICKR_VIDEO':
74
- /* code...*/
75
- break;
76
-
77
- case 'EMBED_OEMBED_INSTAGRAM_VIDEO':
78
- var oembed_instagram_html ='<div ';
79
- for (attr in attrs) {
80
- if(!(/src/i).test(attr)){
81
- if(attr != '' && attrs[attr] != ''){
82
- oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
83
- }
84
- }
85
- }
86
- oembed_instagram_html += " >";
87
- if(embed_id!=''){
88
-
89
- /*oembed_instagram_html += '<iframe src="'+embed_id+'"'+
90
- ' style="'+
91
- 'max-width:'+'100%'+" !important"+
92
- '; max-height:'+'100%'+" !important"+
93
- '; width:'+'auto'+
94
- '; height:'+ '100%' + " "+
95
- '; margin:0;"'+
96
- 'frameborder="0" scrolling="no" allowtransparency="false"></iframe>';
97
- */
98
- oembed_instagram_html += '<video onclick=\"wdi_play_pause(jQuery(this));\" style="width:auto !important; height:auto !important; max-width:100% !important; max-height:100% !important; margin:0 !important;" controls>'+
99
- '<source src="'+embed_id+
100
- '" type="video/mp4"> Your browser does not support the video tag. </video>';
101
-
102
- }
103
-
104
-
105
- oembed_instagram_html +="</div>";
106
-
107
- html_to_insert += oembed_instagram_html;
108
-
109
- break;
110
-
111
- case 'EMBED_OEMBED_INSTAGRAM_IMAGE':
112
- var oembed_instagram_html ='<div ';
113
- for (attr in attrs) {
114
- if(!(/src/i).test(attr)){
115
- if(attr != '' && attrs[attr] != ''){
116
- oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
117
- }
118
- }
119
- }
120
- oembed_instagram_html += " >";
121
- if(embed_id!=''){
122
-
123
- oembed_instagram_html += '<img src="//instagram.com/p/'+embed_id+'/media/?size=l"'+
124
- ' style=" '+
125
- 'max-width:'+'100%'+" !important"+
126
- '; max-height:'+'100%'+" !important"+
127
- '; width:'+'auto'+
128
- '; height:'+ 'auto' +
129
- ';">';
130
- }
131
- oembed_instagram_html +="</div>";
132
-
133
- html_to_insert += oembed_instagram_html;
134
- break;
135
- case 'EMBED_OEMBED_INSTAGRAM_POST':
136
- var oembed_instagram_html ='<div ';
137
- var id = '';
138
- for (attr in attrs) {
139
- if(!(/src/i).test(attr)){
140
- if(attr != '' && attrs[attr] != ''){
141
- oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
142
- if(attr == 'CLASS' || attr =='class' || attr =='Class'){
143
- obj_class = attrs[attr];
144
- }
145
- }
146
- }
147
- }
148
- oembed_instagram_html += " >";
149
- if(embed_id!=''){
150
-
151
- oembed_instagram_html += '<iframe class="inner_instagram_iframe_'+obj_class+'" src="//instagr.am/p/'+embed_id+'/embed/?enablejsapi=1"'+
152
- ' style="'+
153
- 'max-width:'+'100%'+" !important"+
154
- '; max-height:'+'100%'+" !important"+
155
- '; width:'+'100%'+
156
- '; height:'+ '100%' +
157
- '; margin:0'+
158
- '; display:table-cell; vertical-align:middle;"'+
159
- 'frameborder="0" scrolling="no" allowtransparency="false" allowfullscreen'+
160
- '></iframe>';
161
- }
162
-
163
- oembed_instagram_html +="</div>";
164
-
165
- html_to_insert += oembed_instagram_html;
166
-
167
- break;
168
-
169
- case 'EMBED_OEMBED_DAILYMOTION_VIDEO':
170
- var oembed_dailymotion_html ='<iframe ';
171
- if(embed_id!=''){
172
- oembed_dailymotion_html += ' src="' + '//www.dailymotion.com/embed/video/'+embed_id + '?api=postMessage"';
173
- }
174
- for (attr in attrs) {
175
- if(!(/src/i).test(attr)){
176
- if(attr != '' && attrs[attr] != ''){
177
- oembed_dailymotion_html += ' '+ attr + '="'+ attrs[attr] + '"';
178
- }
179
- }
180
- }
181
- oembed_dailymotion_html += " ></iframe>";
182
- html_to_insert += oembed_dailymotion_html;
183
-
184
- break;
185
- case 'EMBED_OEMBED_IMGUR':
186
- /*not working yet*/
187
- var oembed_imgur_html ='<div ';
188
- for (attr in attrs) {
189
- if(!(/src/i).test(attr)){
190
- if(attr != '' && attrs[attr] != ''){
191
- oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
192
- }
193
- }
194
- }
195
- oembed_imgur_html += " >";
196
- if(embed_id!=''){
197
-
198
- oembed_imgur_html += '<img src="'+embed_id+'"'+
199
- ' style="'+
200
- 'max-width:'+'100%'+" !important"+
201
- '; max-height:'+'100%'+" !important"+
202
- '; width:'+'auto'+
203
- '; height:'+ 'auto' + " !important"+
204
- ';">';
205
- }
206
- oembed_imgur_html +="</div>";
207
-
208
- html_to_insert += oembed_imgur_html;
209
-
210
- break;
211
- default:
212
- ;
213
- }
214
-
215
- return html_to_insert;
216
-
217
- }
218
- /**
219
- * @param from_popup: optional, true if from bulk embed popup, false(default) if from instagram gallery
220
- * @return "ok" if adds instagram gallery, false if any error when adding instagram gallery
221
- */
222
-
223
-
224
- function add_instagram_gallery(instagram_client_id, from_popup){
225
-
226
- from_popup = typeof from_popup !== 'undefined' ? from_popup : false;
227
-
228
- /*if bulk_embed action*/
229
- if(from_popup === true){
230
- if (wdi_check_instagram_gallery_input(instagram_client_id, from_popup)){
231
- return false;
232
- }
233
- var whole_post = '0';
234
- if(jQuery("input[name=popup_instagram_post_gallery]:checked").val() == 1){
235
- whole_post = '1';
236
- };
237
-
238
- var instagram_user = encodeURI(jQuery("#popup_instagram_gallery_source").val());
239
- var autogallery_image_number = encodeURI(jQuery("#popup_instagram_image_number").val());
240
-
241
- }
242
- else{
243
- if(!wdi_check_gallery_empty(false, true)){
244
- return false;
245
- }
246
- /*check if there is problem with input*/
247
- if (wdi_check_instagram_gallery_input(instagram_client_id, from_popup)){
248
- return false;
249
- }
250
- var whole_post = '0';
251
- if(jQuery("input[name=instagram_post_gallery]:checked").val() == 1){
252
- whole_post = '1';
253
- };
254
-
255
- var instagram_user = encodeURI(jQuery("#gallery_source").val());
256
- var update_flag = jQuery("input[name=update_flag]:checked").val();
257
- var autogallery_image_number = encodeURI(jQuery("#autogallery_image_number").val());
258
- }
259
- jQuery('#bulk_embed').hide();
260
- jQuery('#opacity_div').show();
261
- jQuery('#loading_div').show();
262
-
263
- /*prepare data for request*/
264
- var filesValid = [];
265
- var data = {
266
- 'action': 'addInstagramGallery',
267
- 'instagram_user': instagram_user,
268
- 'instagram_client_id': instagram_client_id,
269
- 'whole_post': whole_post,
270
- 'autogallery_image_number':autogallery_image_number,
271
- 'update_flag':update_flag,
272
- 'async':true
273
- };
274
-
275
- // get response data. Here we use the server as a proxy, since Cross-Origin Resource Sharing AJAX is forbidden.
276
- jQuery.post(ajax_url, data, function(response) {
277
-
278
-
279
- if(response == false){
280
-
281
- alert('Error: cannot get response from the server.');
282
- jQuery('#opacity_div').hide();
283
- jQuery('#loading_div').hide();
284
- if(from_popup){
285
- jQuery('#bulk_embed').show();
286
- }
287
- return false;
288
- }
289
- else{
290
-
291
- var index_start = response.indexOf("WD_delimiter_start");
292
- var index_end = response.indexOf("WD_delimiter_end");
293
- if(index_start == -1 || index_end == -1){
294
- jQuery('#opacity_div').hide();
295
- jQuery('#loading_div').hide();
296
- if(from_popup){
297
- jQuery('#bulk_embed').show();
298
- }
299
- return false;
300
- }
301
-
302
- /*filter out other echoed characters*/
303
- /*18 is the length of "wd_delimiter_start"*/
304
- response = response.substring(index_start+18,index_end);
305
-
306
- response_JSON = jQuery.parseJSON(response);
307
-
308
- if(!response_JSON ){
309
- alert('There is some error. Cannot add Instagram gallery.');
310
- jQuery('#opacity_div').hide();
311
- jQuery('#loading_div').hide();
312
- if(from_popup){
313
- jQuery('#bulk_embed').show();
314
- }
315
- return false;
316
- }
317
- else{
318
- if(response_JSON[0] == 'error'){
319
- alert('Error: ' + jQuery.parseJSON(response)[1]);
320
- jQuery('#opacity_div').hide();
321
- jQuery('#loading_div').hide();
322
- if(from_popup){
323
- jQuery('#bulk_embed').show();
324
- }
325
- return false;
326
- }
327
- else{
328
- var len = response_JSON.length;
329
- for (var i=1; i<=len; i++) {
330
- if(response_JSON[len-i]!= false){
331
- filesValid.push(response_JSON[len-i]);
332
- }
333
- }
334
-
335
- wdi_add_image(filesValid);
336
- if(!from_popup){
337
- wdi_gallery_update_flag();
338
- jQuery('#tr_instagram_gallery_add_button').hide();
339
- }
340
-
341
- jQuery('#opacity_div').hide();
342
- jQuery('#loading_div').hide();
343
- if(from_popup){
344
- jQuery('.opacity_bulk_embed').hide();
345
- }
346
-
347
- return "ok";
348
- }
349
-
350
- }
351
-
352
- }/*end of considering all cases*/
353
-
354
- });
355
-
356
- }
357
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/gallerybox/wdi_gallery_box.js CHANGED
@@ -471,4 +471,224 @@ function wdi_play_pause($this)
471
  }
472
 
473
 
474
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  }
472
 
473
 
474
+ }
475
+
476
+ /*server side analogue is function display_embed in WDWLibraryEmbed*/
477
+ /*params
478
+ embed_type: string , one of predefined accepted types
479
+ embed_id: string, id of media in corresponding host, or url if no unique id system is defined for host
480
+ attrs: object with html attributes and values format e.g. {width:'100px', style:"display:inline;"}
481
+ */
482
+
483
+ function wdi_spider_display_embed(embed_type, embed_id, attrs){
484
+
485
+ var html_to_insert = '';
486
+
487
+ switch(embed_type) {
488
+ case 'EMBED_OEMBED_YOUTUBE_VIDEO':
489
+ var oembed_youtube_html ='<iframe ';
490
+ if(embed_id!=''){
491
+ oembed_youtube_html += ' src="' + '//www.youtube.com/embed/'+embed_id + '?enablejsapi=1&wmode=transparent"';
492
+ }
493
+ for (attr in attrs) {
494
+ if(!(/src/i).test(attr)){
495
+ if(attr != '' && attrs[attr] != ''){
496
+ oembed_youtube_html += ' '+ attr + '="'+ attrs[attr] + '"';
497
+ }
498
+ }
499
+ }
500
+ oembed_youtube_html += " ></iframe>";
501
+ html_to_insert += oembed_youtube_html;
502
+
503
+ break;
504
+ case 'EMBED_OEMBED_VIMEO_VIDEO':
505
+ var oembed_vimeo_html ='<iframe ';
506
+ if(embed_id!=''){
507
+ oembed_vimeo_html += ' src="' + '//player.vimeo.com/video/'+embed_id + '?enablejsapi=1"';
508
+ }
509
+ for (attr in attrs) {
510
+ if(!(/src/i).test(attr)){
511
+ if(attr != '' && attrs[attr] != ''){
512
+ oembed_vimeo_html += ' '+ attr + '="'+ attrs[attr] + '"';
513
+ }
514
+ }
515
+ }
516
+ oembed_vimeo_html += " ></iframe>";
517
+ html_to_insert += oembed_vimeo_html;
518
+
519
+ break;
520
+ case 'EMBED_OEMBED_FLICKR_IMAGE':
521
+
522
+ var oembed_flickr_html ='<div ';
523
+ for (attr in attrs) {
524
+ if(!(/src/i).test(attr)){
525
+ if(attr != '' && attrs[attr] != ''){
526
+ oembed_flickr_html += ' '+ attr + '="'+ attrs[attr] + '"';
527
+ }
528
+ }
529
+ }
530
+ oembed_flickr_html += " >";
531
+ if(embed_id!=''){
532
+
533
+ oembed_flickr_html += '<img src="'+embed_id+'"'+
534
+ ' style="'+
535
+ 'max-width:'+'100%'+" !important"+
536
+ '; max-height:'+'100%'+" !important"+
537
+ '; width:'+'auto !important'+
538
+ '; height:'+ 'auto !important' +
539
+ ';">';
540
+
541
+
542
+ }
543
+
544
+ oembed_flickr_html +="</div>";
545
+
546
+ html_to_insert += oembed_flickr_html;
547
+ break;
548
+ case 'EMBED_OEMBED_FLICKR_VIDEO':
549
+ /* code...*/
550
+ break;
551
+
552
+ case 'EMBED_OEMBED_INSTAGRAM_VIDEO':
553
+ var oembed_instagram_html ='<div ';
554
+ for (attr in attrs) {
555
+ if(!(/src/i).test(attr)){
556
+ if(attr != '' && attrs[attr] != ''){
557
+ oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
558
+ }
559
+ }
560
+ }
561
+ oembed_instagram_html += " >";
562
+ if(embed_id!=''){
563
+
564
+ /*oembed_instagram_html += '<iframe src="'+embed_id+'"'+
565
+ ' style="'+
566
+ 'max-width:'+'100%'+" !important"+
567
+ '; max-height:'+'100%'+" !important"+
568
+ '; width:'+'auto'+
569
+ '; height:'+ '100%' + " "+
570
+ '; margin:0;"'+
571
+ 'frameborder="0" scrolling="no" allowtransparency="false"></iframe>';
572
+ */
573
+ oembed_instagram_html += '<video onclick=\"wdi_play_pause(jQuery(this));\" style="width:auto !important; height:auto !important; max-width:100% !important; max-height:100% !important; margin:0 !important;" controls>'+
574
+ '<source src="'+embed_id+
575
+ '" type="video/mp4"> Your browser does not support the video tag. </video>';
576
+
577
+ }
578
+
579
+
580
+ oembed_instagram_html +="</div>";
581
+
582
+ html_to_insert += oembed_instagram_html;
583
+
584
+ break;
585
+
586
+ case 'EMBED_OEMBED_INSTAGRAM_IMAGE':
587
+ var oembed_instagram_html ='<div ';
588
+ for (attr in attrs) {
589
+ if(!(/src/i).test(attr)){
590
+ if(attr != '' && attrs[attr] != ''){
591
+ oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
592
+ }
593
+ }
594
+ }
595
+ oembed_instagram_html += " >";
596
+ if(embed_id!=''){
597
+
598
+ oembed_instagram_html += '<img src="//instagram.com/p/'+embed_id+'/media/?size=l"'+
599
+ ' style=" '+
600
+ 'max-width:'+'100%'+" !important"+
601
+ '; max-height:'+'100%'+" !important"+
602
+ '; width:'+'auto'+
603
+ '; height:'+ 'auto' +
604
+ ';">';
605
+ }
606
+ oembed_instagram_html +="</div>";
607
+
608
+ html_to_insert += oembed_instagram_html;
609
+ break;
610
+ case 'EMBED_OEMBED_INSTAGRAM_POST':
611
+ var oembed_instagram_html ='<div ';
612
+ var id = '';
613
+ for (attr in attrs) {
614
+ if(!(/src/i).test(attr)){
615
+ if(attr != '' && attrs[attr] != ''){
616
+ oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
617
+ if(attr == 'CLASS' || attr =='class' || attr =='Class'){
618
+ obj_class = attrs[attr];
619
+ }
620
+ }
621
+ }
622
+ }
623
+ oembed_instagram_html += " >";
624
+ if(embed_id!=''){
625
+
626
+ oembed_instagram_html += '<iframe class="inner_instagram_iframe_'+obj_class+'" src="//instagr.am/p/'+embed_id+'/embed/?enablejsapi=1"'+
627
+ ' style="'+
628
+ 'max-width:'+'100%'+" !important"+
629
+ '; max-height:'+'100%'+" !important"+
630
+ '; width:'+'100%'+
631
+ '; height:'+ '100%' +
632
+ '; margin:0'+
633
+ '; display:table-cell; vertical-align:middle;"'+
634
+ 'frameborder="0" scrolling="no" allowtransparency="false" allowfullscreen'+
635
+ '></iframe>';
636
+ }
637
+
638
+ oembed_instagram_html +="</div>";
639
+
640
+ html_to_insert += oembed_instagram_html;
641
+
642
+ break;
643
+
644
+ case 'EMBED_OEMBED_DAILYMOTION_VIDEO':
645
+ var oembed_dailymotion_html ='<iframe ';
646
+ if(embed_id!=''){
647
+ oembed_dailymotion_html += ' src="' + '//www.dailymotion.com/embed/video/'+embed_id + '?api=postMessage"';
648
+ }
649
+ for (attr in attrs) {
650
+ if(!(/src/i).test(attr)){
651
+ if(attr != '' && attrs[attr] != ''){
652
+ oembed_dailymotion_html += ' '+ attr + '="'+ attrs[attr] + '"';
653
+ }
654
+ }
655
+ }
656
+ oembed_dailymotion_html += " ></iframe>";
657
+ html_to_insert += oembed_dailymotion_html;
658
+
659
+ break;
660
+ case 'EMBED_OEMBED_IMGUR':
661
+ /*not working yet*/
662
+ var oembed_imgur_html ='<div ';
663
+ for (attr in attrs) {
664
+ if(!(/src/i).test(attr)){
665
+ if(attr != '' && attrs[attr] != ''){
666
+ oembed_instagram_html += ' '+ attr + '="'+ attrs[attr] + '"';
667
+ }
668
+ }
669
+ }
670
+ oembed_imgur_html += " >";
671
+ if(embed_id!=''){
672
+
673
+ oembed_imgur_html += '<img src="'+embed_id+'"'+
674
+ ' style="'+
675
+ 'max-width:'+'100%'+" !important"+
676
+ '; max-height:'+'100%'+" !important"+
677
+ '; width:'+'auto'+
678
+ '; height:'+ 'auto' + " !important"+
679
+ ';">';
680
+ }
681
+ oembed_imgur_html +="</div>";
682
+
683
+ html_to_insert += oembed_imgur_html;
684
+
685
+ break;
686
+ default:
687
+ ;
688
+ }
689
+
690
+ return html_to_insert;
691
+
692
+ }
693
+
694
+
js/wdi_frontend.js CHANGED
@@ -4,7 +4,6 @@ if (typeof wdi_front == 'undefined') {
4
  };
5
  }
6
 
7
-
8
  wdi_front.detectEvent = function ()
9
  {
10
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
4
  };
5
  }
6
 
 
7
  wdi_front.detectEvent = function ()
8
  {
9
  var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
languages/{wdi-en_GB.mo → wd-instagram-feed-en_GB.mo} RENAMED
Binary file
languages/{wdi-en_GB.po → wd-instagram-feed-en_GB.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:33+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:33+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_GB\n"
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
182
  msgid "Feeds"
183
  msgstr ""
184
 
@@ -427,7 +427,7 @@ msgid "Show Description"
427
  msgstr ""
428
 
429
  #: admin/views/WDIViewFeeds_wdi.php:222
430
- #: frontend/views/WDIViewGalleryBox.php:2340
431
  msgid "Show Comments"
432
  msgstr ""
433
 
@@ -653,12 +653,12 @@ msgstr ""
653
  msgid "Feed Settings"
654
  msgstr ""
655
 
656
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
657
  msgid "Lightbox Settings"
658
  msgstr ""
659
 
660
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
661
- #: wd-instagram-feed.php:524
662
  msgid "Conditional Filters"
663
  msgstr ""
664
 
@@ -709,7 +709,7 @@ msgstr ""
709
  msgid "Responsive Design and Layout"
710
  msgstr ""
711
 
712
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
713
  msgid "SEO Friendly"
714
  msgstr ""
715
 
@@ -992,7 +992,7 @@ msgid "Access Token is invalid, please get it again "
992
  msgstr ""
993
 
994
  #: frontend/shortcode.php:67
995
- msgid "Feed Doesn't exists "
996
  msgstr ""
997
 
998
  #: frontend/shortcode.php:89
@@ -1003,63 +1003,75 @@ msgstr ""
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
  #: frontend/views/WDIViewGalleryBox.php:1013
1040
  msgid "The image has been deleted."
1041
  msgstr ""
1042
 
1043
  #: frontend/views/WDIViewGalleryBox.php:1034
1044
- #: frontend/views/WDIViewGalleryBox.php:2897
1045
  msgid "Play"
1046
  msgstr ""
1047
 
1048
  #: frontend/views/WDIViewGalleryBox.php:1038
1049
- #: frontend/views/WDIViewGalleryBox.php:2168
1050
- #: frontend/views/WDIViewGalleryBox.php:2724
1051
- #: frontend/views/WDIViewGalleryBox.php:2821
1052
  msgid "Maximize"
1053
  msgstr ""
1054
 
1055
  #: frontend/views/WDIViewGalleryBox.php:1042
1056
- #: frontend/views/WDIViewGalleryBox.php:2170
1057
- #: frontend/views/WDIViewGalleryBox.php:2823
1058
  msgid "Fullscreen"
1059
  msgstr ""
1060
 
1061
  #: frontend/views/WDIViewGalleryBox.php:1044
1062
- #: frontend/views/WDIViewGalleryBox.php:2588
1063
  msgid "Show info"
1064
  msgstr ""
1065
 
@@ -1068,7 +1080,7 @@ msgid "Show comments"
1068
  msgstr ""
1069
 
1070
  #: frontend/views/WDIViewGalleryBox.php:1048
1071
- #: frontend/views/WDIViewGalleryBox.php:2601
1072
  msgid "Show rating"
1073
  msgstr ""
1074
 
@@ -1114,7 +1126,7 @@ msgid "Error. Incorrect Verification Code."
1114
  msgstr ""
1115
 
1116
  #: frontend/views/WDIViewGalleryBox.php:1350
1117
- #: frontend/views/WDIViewGalleryBox.php:2388
1118
  msgid "Hide Comments"
1119
  msgstr ""
1120
 
@@ -1143,73 +1155,66 @@ msgid "Your comment is awaiting moderation"
1143
  msgstr ""
1144
 
1145
  #: frontend/views/WDIViewGalleryBox.php:1404
1146
- #: frontend/views/WDIViewGalleryBox.php:2073
1147
- #: frontend/views/WDIViewGalleryBox.php:2398
1148
  msgid "There are no comments to show"
1149
  msgstr ""
1150
 
1151
- #: frontend/views/WDIViewGalleryBox.php:2574
1152
  msgid "Hide info"
1153
  msgstr ""
1154
 
1155
- #: frontend/views/WDIViewGalleryBox.php:2597
1156
  msgid "Hide rating"
1157
  msgstr ""
1158
 
1159
- #: frontend/views/WDIViewGalleryBox.php:2761
1160
- #: frontend/views/WDIViewGalleryBox.php:2981
1161
  msgid "Restore"
1162
  msgstr ""
1163
 
1164
- #: frontend/views/WDIViewGalleryBox.php:2876
1165
  msgid "Exit Fullscreen"
1166
  msgstr ""
1167
 
1168
- #: frontend/views/WDIViewGalleryBox.php:2891
1169
- #: frontend/views/WDIViewGalleryBox.php:2908
1170
  msgid "Pause"
1171
  msgstr ""
1172
 
1173
- #: frontend/views/WDIViewImageBrowser_view.php:39
1174
- #: frontend/views/WDIViewImageBrowser_view.php:51
1175
- #: frontend/views/WDIViewThumbnails_view.php:42
1176
- #: frontend/views/WDIViewThumbnails_view.php:59
1177
  msgid "First Page"
1178
  msgstr ""
1179
 
1180
- #: frontend/views/WDIViewImageBrowser_view.php:39
1181
- #: frontend/views/WDIViewImageBrowser_view.php:51
1182
- #: frontend/views/WDIViewThumbnails_view.php:42
1183
- #: frontend/views/WDIViewThumbnails_view.php:59
1184
  msgid "Previous Page"
1185
  msgstr ""
1186
 
1187
- #: frontend/views/WDIViewImageBrowser_view.php:39
1188
- #: frontend/views/WDIViewImageBrowser_view.php:51
1189
- #: frontend/views/WDIViewThumbnails_view.php:42
1190
- #: frontend/views/WDIViewThumbnails_view.php:59
1191
  msgid "Next Page"
1192
  msgstr ""
1193
 
1194
- #: frontend/views/WDIViewImageBrowser_view.php:39
1195
- #: frontend/views/WDIViewImageBrowser_view.php:51
1196
- #: frontend/views/WDIViewThumbnails_view.php:42
1197
- #: frontend/views/WDIViewThumbnails_view.php:59
1198
  msgid "Last Page"
1199
  msgstr ""
1200
 
1201
- #: frontend/views/WDIViewImageBrowser_view.php:46
1202
- #: frontend/views/WDIViewThumbnails_view.php:52
1203
  msgid "Load More"
1204
  msgstr ""
1205
 
1206
- #: frontend/views/WDIViewImageBrowser_view.php:60
1207
- #: frontend/views/WDIViewThumbnails_view.php:68
1208
- msgid ""
1209
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1210
- "+Shift+J or Cmd+Shift+J on a Mac."
1211
- msgstr ""
1212
-
1213
  #: templates/plugin-uninstalled.php:28
1214
  msgid "you have uninstalled"
1215
  msgstr ""
@@ -1219,156 +1224,156 @@ msgid ""
1219
  "plugin,if you want to use it again simply deactivate and activate it again"
1220
  msgstr ""
1221
 
1222
- #: wd-instagram-feed.php:139
1223
  msgid "Configure"
1224
  msgstr ""
1225
 
1226
- #: wd-instagram-feed.php:142
1227
  msgid "Customize"
1228
  msgstr ""
1229
 
1230
- #: wd-instagram-feed.php:177
1231
  msgid "Instagram Feed WD"
1232
  msgstr ""
1233
 
1234
- #: wd-instagram-feed.php:180
1235
  msgid "Themes"
1236
  msgstr ""
1237
 
1238
- #: wd-instagram-feed.php:181
1239
  msgid "Settings"
1240
  msgstr ""
1241
 
1242
- #: wd-instagram-feed.php:184
1243
  msgid "Upgrade to Pro"
1244
  msgstr ""
1245
 
1246
- #: wd-instagram-feed.php:185
1247
  msgid "Uninstall"
1248
  msgstr ""
1249
 
1250
- #: wd-instagram-feed.php:274
1251
  msgid "All the data will be removed from the database. Continue?"
1252
  msgstr ""
1253
 
1254
- #: wd-instagram-feed.php:275
1255
  msgid "Some error with instagram servers, try agian later :("
1256
  msgstr ""
1257
 
1258
- #: wd-instagram-feed.php:276
1259
  msgid "Invalid user:"
1260
  msgstr ""
1261
 
1262
- #: wd-instagram-feed.php:277
1263
  msgid "already added!"
1264
  msgstr ""
1265
 
1266
- #: wd-instagram-feed.php:278
1267
  #, php-format
1268
  msgid "User %s does not exist."
1269
  msgstr ""
1270
 
1271
- #: wd-instagram-feed.php:279
1272
  msgid "Network Error, please try again later. :("
1273
  msgstr ""
1274
 
1275
- #: wd-instagram-feed.php:280
1276
  msgid "Invalid hashtag"
1277
  msgstr ""
1278
 
1279
- #: wd-instagram-feed.php:281
1280
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1281
  msgstr ""
1282
 
1283
- #: wd-instagram-feed.php:282
1284
  msgid "You can add only one username or hashtag in FREE Version"
1285
  msgstr ""
1286
 
1287
- #: wd-instagram-feed.php:283
1288
  msgid "Available in PRO"
1289
  msgstr ""
1290
 
1291
- #: wd-instagram-feed.php:284
1292
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1293
  msgstr ""
1294
 
1295
- #: wd-instagram-feed.php:285
1296
  msgid "Customizing Themes is available only in PRO version"
1297
  msgstr ""
1298
 
1299
- #: wd-instagram-feed.php:286
1300
  msgid "URL is not valid"
1301
  msgstr ""
1302
 
1303
- #: wd-instagram-feed.php:287
1304
  msgid "Please Select Condition Type"
1305
  msgstr ""
1306
 
1307
- #: wd-instagram-feed.php:288
1308
  msgid "Show Posts Which Have All Of The Conditions"
1309
  msgstr ""
1310
 
1311
- #: wd-instagram-feed.php:289
1312
  msgid "Show Posts Which Have At Least One Of The Conditions"
1313
  msgstr ""
1314
 
1315
- #: wd-instagram-feed.php:290
1316
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1317
  msgstr ""
1318
 
1319
- #: wd-instagram-feed.php:291
1320
  msgid "EITHER"
1321
  msgstr ""
1322
 
1323
- #: wd-instagram-feed.php:292
1324
  msgid "NEITHER"
1325
  msgstr ""
1326
 
1327
- #: wd-instagram-feed.php:293
1328
  msgid "EXCEPT"
1329
  msgstr ""
1330
 
1331
- #: wd-instagram-feed.php:294
1332
  msgid "AND"
1333
  msgstr ""
1334
 
1335
- #: wd-instagram-feed.php:295
1336
  msgid "OR"
1337
  msgstr ""
1338
 
1339
- #: wd-instagram-feed.php:296
1340
  msgid "NOR"
1341
  msgstr ""
1342
 
1343
- #: wd-instagram-feed.php:467
1344
  msgid ""
1345
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1346
  "plugin allows you to display image feeds from single or multiple Instagram "
1347
  "accounts on a WordPress site."
1348
  msgstr ""
1349
 
1350
- #: wd-instagram-feed.php:471
1351
  msgid "Responsive"
1352
  msgstr ""
1353
 
1354
- #: wd-instagram-feed.php:472
1355
  msgid ""
1356
  "Instagram feeds are not only elegantly designed to be displayed on your "
1357
  "website, but also come fully responsive for better user experience when "
1358
  "using mobile devices and tables."
1359
  msgstr ""
1360
 
1361
- #: wd-instagram-feed.php:476
1362
  msgid ""
1363
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1364
  "keep your pages and posts SEO-optimized."
1365
  msgstr ""
1366
 
1367
- #: wd-instagram-feed.php:479
1368
  msgid "4 Fully Customizable Layouts"
1369
  msgstr ""
1370
 
1371
- #: wd-instagram-feed.php:480
1372
  msgid ""
1373
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1374
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1380,11 +1385,11 @@ msgid ""
1380
  "etc."
1381
  msgstr ""
1382
 
1383
- #: wd-instagram-feed.php:483
1384
  msgid "Individual and Mixed Feeds"
1385
  msgstr ""
1386
 
1387
- #: wd-instagram-feed.php:484
1388
  msgid ""
1389
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1390
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1393,11 +1398,11 @@ msgid ""
1393
  "feed based on a single hashtag or account."
1394
  msgstr ""
1395
 
1396
- #: wd-instagram-feed.php:487
1397
  msgid "Advanced Lightbox"
1398
  msgstr ""
1399
 
1400
- #: wd-instagram-feed.php:488
1401
  msgid ""
1402
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1403
  "you will find control buttons for displaying images in larger view, read "
@@ -1407,51 +1412,51 @@ msgid ""
1407
  "within the lightbox as an HTML5 video."
1408
  msgstr ""
1409
 
1410
- #: wd-instagram-feed.php:494
1411
  msgid "Installation and configuration"
1412
  msgstr ""
1413
 
1414
- #: wd-instagram-feed.php:498
1415
  msgid "Getting Instagram Access Token"
1416
  msgstr ""
1417
 
1418
- #: wd-instagram-feed.php:504
1419
  msgid "Creating an Instagram Feed"
1420
  msgstr ""
1421
 
1422
- #: wd-instagram-feed.php:508
1423
  msgid "Thumbnails and Masonry Layouts"
1424
  msgstr ""
1425
 
1426
- #: wd-instagram-feed.php:512
1427
  msgid "Blog Style Layout"
1428
  msgstr ""
1429
 
1430
- #: wd-instagram-feed.php:516
1431
  msgid "Image Browser"
1432
  msgstr ""
1433
 
1434
- #: wd-instagram-feed.php:530
1435
  msgid "Publishing Instagram Feed"
1436
  msgstr ""
1437
 
1438
- #: wd-instagram-feed.php:534
1439
  msgid "Publishing in a Page/Post"
1440
  msgstr ""
1441
 
1442
- #: wd-instagram-feed.php:538
1443
  msgid "Publishing as a Widget"
1444
  msgstr ""
1445
 
1446
- #: wd-instagram-feed.php:542
1447
  msgid "Publishing by PHP function"
1448
  msgstr ""
1449
 
1450
- #: wd-instagram-feed.php:548
1451
  msgid "Styling with Themes"
1452
  msgstr ""
1453
 
1454
- #: wd-instagram-feed.php:553
1455
  msgid "Advanced customizing options"
1456
  msgstr ""
1457
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_GB\n"
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
182
  msgid "Feeds"
183
  msgstr ""
184
 
427
  msgstr ""
428
 
429
  #: admin/views/WDIViewFeeds_wdi.php:222
430
+ #: frontend/views/WDIViewGalleryBox.php:2333
431
  msgid "Show Comments"
432
  msgstr ""
433
 
653
  msgid "Feed Settings"
654
  msgstr ""
655
 
656
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
657
  msgid "Lightbox Settings"
658
  msgstr ""
659
 
660
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
661
+ #: wd-instagram-feed.php:525
662
  msgid "Conditional Filters"
663
  msgstr ""
664
 
709
  msgid "Responsive Design and Layout"
710
  msgstr ""
711
 
712
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
713
  msgid "SEO Friendly"
714
  msgstr ""
715
 
992
  msgstr ""
993
 
994
  #: frontend/shortcode.php:67
995
+ msgid "Feed with such ID does not exist"
996
  msgstr ""
997
 
998
  #: frontend/shortcode.php:89
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
1039
+ #: frontend/shortcode.php:260
1040
+ msgid ""
1041
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1042
+ "+Shift+J or Cmd+Shift+J on a Mac."
1043
+ msgstr ""
1044
+
1045
+ #: frontend/shortcode.php:261
1046
+ msgid ""
1047
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1048
+ "properly."
1049
+ msgstr ""
1050
+
1051
  #: frontend/views/WDIViewGalleryBox.php:1013
1052
  msgid "The image has been deleted."
1053
  msgstr ""
1054
 
1055
  #: frontend/views/WDIViewGalleryBox.php:1034
1056
+ #: frontend/views/WDIViewGalleryBox.php:2890
1057
  msgid "Play"
1058
  msgstr ""
1059
 
1060
  #: frontend/views/WDIViewGalleryBox.php:1038
1061
+ #: frontend/views/WDIViewGalleryBox.php:2161
1062
+ #: frontend/views/WDIViewGalleryBox.php:2717
1063
+ #: frontend/views/WDIViewGalleryBox.php:2814
1064
  msgid "Maximize"
1065
  msgstr ""
1066
 
1067
  #: frontend/views/WDIViewGalleryBox.php:1042
1068
+ #: frontend/views/WDIViewGalleryBox.php:2163
1069
+ #: frontend/views/WDIViewGalleryBox.php:2816
1070
  msgid "Fullscreen"
1071
  msgstr ""
1072
 
1073
  #: frontend/views/WDIViewGalleryBox.php:1044
1074
+ #: frontend/views/WDIViewGalleryBox.php:2581
1075
  msgid "Show info"
1076
  msgstr ""
1077
 
1080
  msgstr ""
1081
 
1082
  #: frontend/views/WDIViewGalleryBox.php:1048
1083
+ #: frontend/views/WDIViewGalleryBox.php:2594
1084
  msgid "Show rating"
1085
  msgstr ""
1086
 
1126
  msgstr ""
1127
 
1128
  #: frontend/views/WDIViewGalleryBox.php:1350
1129
+ #: frontend/views/WDIViewGalleryBox.php:2381
1130
  msgid "Hide Comments"
1131
  msgstr ""
1132
 
1155
  msgstr ""
1156
 
1157
  #: frontend/views/WDIViewGalleryBox.php:1404
1158
+ #: frontend/views/WDIViewGalleryBox.php:2066
1159
+ #: frontend/views/WDIViewGalleryBox.php:2391
1160
  msgid "There are no comments to show"
1161
  msgstr ""
1162
 
1163
+ #: frontend/views/WDIViewGalleryBox.php:2567
1164
  msgid "Hide info"
1165
  msgstr ""
1166
 
1167
+ #: frontend/views/WDIViewGalleryBox.php:2590
1168
  msgid "Hide rating"
1169
  msgstr ""
1170
 
1171
+ #: frontend/views/WDIViewGalleryBox.php:2754
1172
+ #: frontend/views/WDIViewGalleryBox.php:2974
1173
  msgid "Restore"
1174
  msgstr ""
1175
 
1176
+ #: frontend/views/WDIViewGalleryBox.php:2869
1177
  msgid "Exit Fullscreen"
1178
  msgstr ""
1179
 
1180
+ #: frontend/views/WDIViewGalleryBox.php:2884
1181
+ #: frontend/views/WDIViewGalleryBox.php:2901
1182
  msgid "Pause"
1183
  msgstr ""
1184
 
1185
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1186
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1187
+ #: frontend/views/WDIViewThumbnails_view.php:44
1188
+ #: frontend/views/WDIViewThumbnails_view.php:60
1189
  msgid "First Page"
1190
  msgstr ""
1191
 
1192
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1193
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1194
+ #: frontend/views/WDIViewThumbnails_view.php:44
1195
+ #: frontend/views/WDIViewThumbnails_view.php:60
1196
  msgid "Previous Page"
1197
  msgstr ""
1198
 
1199
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1200
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1201
+ #: frontend/views/WDIViewThumbnails_view.php:44
1202
+ #: frontend/views/WDIViewThumbnails_view.php:60
1203
  msgid "Next Page"
1204
  msgstr ""
1205
 
1206
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1207
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1208
+ #: frontend/views/WDIViewThumbnails_view.php:44
1209
+ #: frontend/views/WDIViewThumbnails_view.php:60
1210
  msgid "Last Page"
1211
  msgstr ""
1212
 
1213
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1214
+ #: frontend/views/WDIViewThumbnails_view.php:53
1215
  msgid "Load More"
1216
  msgstr ""
1217
 
 
 
 
 
 
 
 
1218
  #: templates/plugin-uninstalled.php:28
1219
  msgid "you have uninstalled"
1220
  msgstr ""
1224
  "plugin,if you want to use it again simply deactivate and activate it again"
1225
  msgstr ""
1226
 
1227
+ #: wd-instagram-feed.php:140
1228
  msgid "Configure"
1229
  msgstr ""
1230
 
1231
+ #: wd-instagram-feed.php:143
1232
  msgid "Customize"
1233
  msgstr ""
1234
 
1235
+ #: wd-instagram-feed.php:178
1236
  msgid "Instagram Feed WD"
1237
  msgstr ""
1238
 
1239
+ #: wd-instagram-feed.php:181
1240
  msgid "Themes"
1241
  msgstr ""
1242
 
1243
+ #: wd-instagram-feed.php:182
1244
  msgid "Settings"
1245
  msgstr ""
1246
 
1247
+ #: wd-instagram-feed.php:185
1248
  msgid "Upgrade to Pro"
1249
  msgstr ""
1250
 
1251
+ #: wd-instagram-feed.php:186
1252
  msgid "Uninstall"
1253
  msgstr ""
1254
 
1255
+ #: wd-instagram-feed.php:275
1256
  msgid "All the data will be removed from the database. Continue?"
1257
  msgstr ""
1258
 
1259
+ #: wd-instagram-feed.php:276
1260
  msgid "Some error with instagram servers, try agian later :("
1261
  msgstr ""
1262
 
1263
+ #: wd-instagram-feed.php:277
1264
  msgid "Invalid user:"
1265
  msgstr ""
1266
 
1267
+ #: wd-instagram-feed.php:278
1268
  msgid "already added!"
1269
  msgstr ""
1270
 
1271
+ #: wd-instagram-feed.php:279
1272
  #, php-format
1273
  msgid "User %s does not exist."
1274
  msgstr ""
1275
 
1276
+ #: wd-instagram-feed.php:280
1277
  msgid "Network Error, please try again later. :("
1278
  msgstr ""
1279
 
1280
+ #: wd-instagram-feed.php:281
1281
  msgid "Invalid hashtag"
1282
  msgstr ""
1283
 
1284
+ #: wd-instagram-feed.php:282
1285
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1286
  msgstr ""
1287
 
1288
+ #: wd-instagram-feed.php:283
1289
  msgid "You can add only one username or hashtag in FREE Version"
1290
  msgstr ""
1291
 
1292
+ #: wd-instagram-feed.php:284
1293
  msgid "Available in PRO"
1294
  msgstr ""
1295
 
1296
+ #: wd-instagram-feed.php:285
1297
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1298
  msgstr ""
1299
 
1300
+ #: wd-instagram-feed.php:286
1301
  msgid "Customizing Themes is available only in PRO version"
1302
  msgstr ""
1303
 
1304
+ #: wd-instagram-feed.php:287
1305
  msgid "URL is not valid"
1306
  msgstr ""
1307
 
1308
+ #: wd-instagram-feed.php:288
1309
  msgid "Please Select Condition Type"
1310
  msgstr ""
1311
 
1312
+ #: wd-instagram-feed.php:289
1313
  msgid "Show Posts Which Have All Of The Conditions"
1314
  msgstr ""
1315
 
1316
+ #: wd-instagram-feed.php:290
1317
  msgid "Show Posts Which Have At Least One Of The Conditions"
1318
  msgstr ""
1319
 
1320
+ #: wd-instagram-feed.php:291
1321
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1322
  msgstr ""
1323
 
1324
+ #: wd-instagram-feed.php:292
1325
  msgid "EITHER"
1326
  msgstr ""
1327
 
1328
+ #: wd-instagram-feed.php:293
1329
  msgid "NEITHER"
1330
  msgstr ""
1331
 
1332
+ #: wd-instagram-feed.php:294
1333
  msgid "EXCEPT"
1334
  msgstr ""
1335
 
1336
+ #: wd-instagram-feed.php:295
1337
  msgid "AND"
1338
  msgstr ""
1339
 
1340
+ #: wd-instagram-feed.php:296
1341
  msgid "OR"
1342
  msgstr ""
1343
 
1344
+ #: wd-instagram-feed.php:297
1345
  msgid "NOR"
1346
  msgstr ""
1347
 
1348
+ #: wd-instagram-feed.php:468
1349
  msgid ""
1350
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1351
  "plugin allows you to display image feeds from single or multiple Instagram "
1352
  "accounts on a WordPress site."
1353
  msgstr ""
1354
 
1355
+ #: wd-instagram-feed.php:472
1356
  msgid "Responsive"
1357
  msgstr ""
1358
 
1359
+ #: wd-instagram-feed.php:473
1360
  msgid ""
1361
  "Instagram feeds are not only elegantly designed to be displayed on your "
1362
  "website, but also come fully responsive for better user experience when "
1363
  "using mobile devices and tables."
1364
  msgstr ""
1365
 
1366
+ #: wd-instagram-feed.php:477
1367
  msgid ""
1368
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1369
  "keep your pages and posts SEO-optimized."
1370
  msgstr ""
1371
 
1372
+ #: wd-instagram-feed.php:480
1373
  msgid "4 Fully Customizable Layouts"
1374
  msgstr ""
1375
 
1376
+ #: wd-instagram-feed.php:481
1377
  msgid ""
1378
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1379
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1385
  "etc."
1386
  msgstr ""
1387
 
1388
+ #: wd-instagram-feed.php:484
1389
  msgid "Individual and Mixed Feeds"
1390
  msgstr ""
1391
 
1392
+ #: wd-instagram-feed.php:485
1393
  msgid ""
1394
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1395
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1398
  "feed based on a single hashtag or account."
1399
  msgstr ""
1400
 
1401
+ #: wd-instagram-feed.php:488
1402
  msgid "Advanced Lightbox"
1403
  msgstr ""
1404
 
1405
+ #: wd-instagram-feed.php:489
1406
  msgid ""
1407
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1408
  "you will find control buttons for displaying images in larger view, read "
1412
  "within the lightbox as an HTML5 video."
1413
  msgstr ""
1414
 
1415
+ #: wd-instagram-feed.php:495
1416
  msgid "Installation and configuration"
1417
  msgstr ""
1418
 
1419
+ #: wd-instagram-feed.php:499
1420
  msgid "Getting Instagram Access Token"
1421
  msgstr ""
1422
 
1423
+ #: wd-instagram-feed.php:505
1424
  msgid "Creating an Instagram Feed"
1425
  msgstr ""
1426
 
1427
+ #: wd-instagram-feed.php:509
1428
  msgid "Thumbnails and Masonry Layouts"
1429
  msgstr ""
1430
 
1431
+ #: wd-instagram-feed.php:513
1432
  msgid "Blog Style Layout"
1433
  msgstr ""
1434
 
1435
+ #: wd-instagram-feed.php:517
1436
  msgid "Image Browser"
1437
  msgstr ""
1438
 
1439
+ #: wd-instagram-feed.php:531
1440
  msgid "Publishing Instagram Feed"
1441
  msgstr ""
1442
 
1443
+ #: wd-instagram-feed.php:535
1444
  msgid "Publishing in a Page/Post"
1445
  msgstr ""
1446
 
1447
+ #: wd-instagram-feed.php:539
1448
  msgid "Publishing as a Widget"
1449
  msgstr ""
1450
 
1451
+ #: wd-instagram-feed.php:543
1452
  msgid "Publishing by PHP function"
1453
  msgstr ""
1454
 
1455
+ #: wd-instagram-feed.php:549
1456
  msgid "Styling with Themes"
1457
  msgstr ""
1458
 
1459
+ #: wd-instagram-feed.php:554
1460
  msgid "Advanced customizing options"
1461
  msgstr ""
1462
 
languages/{wdi-en_US.mo → wd-instagram-feed-en_US.mo} RENAMED
Binary file
languages/{wdi-en_US.po → wd-instagram-feed-en_US.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:33+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:34+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
182
  msgid "Feeds"
183
  msgstr ""
184
 
@@ -427,7 +427,7 @@ msgid "Show Description"
427
  msgstr ""
428
 
429
  #: admin/views/WDIViewFeeds_wdi.php:222
430
- #: frontend/views/WDIViewGalleryBox.php:2340
431
  msgid "Show Comments"
432
  msgstr ""
433
 
@@ -653,12 +653,12 @@ msgstr ""
653
  msgid "Feed Settings"
654
  msgstr ""
655
 
656
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
657
  msgid "Lightbox Settings"
658
  msgstr ""
659
 
660
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
661
- #: wd-instagram-feed.php:524
662
  msgid "Conditional Filters"
663
  msgstr ""
664
 
@@ -709,7 +709,7 @@ msgstr ""
709
  msgid "Responsive Design and Layout"
710
  msgstr ""
711
 
712
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
713
  msgid "SEO Friendly"
714
  msgstr ""
715
 
@@ -992,7 +992,7 @@ msgid "Access Token is invalid, please get it again "
992
  msgstr ""
993
 
994
  #: frontend/shortcode.php:67
995
- msgid "Feed Doesn't exists "
996
  msgstr ""
997
 
998
  #: frontend/shortcode.php:89
@@ -1003,63 +1003,75 @@ msgstr ""
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
  #: frontend/views/WDIViewGalleryBox.php:1013
1040
  msgid "The image has been deleted."
1041
  msgstr ""
1042
 
1043
  #: frontend/views/WDIViewGalleryBox.php:1034
1044
- #: frontend/views/WDIViewGalleryBox.php:2897
1045
  msgid "Play"
1046
  msgstr ""
1047
 
1048
  #: frontend/views/WDIViewGalleryBox.php:1038
1049
- #: frontend/views/WDIViewGalleryBox.php:2168
1050
- #: frontend/views/WDIViewGalleryBox.php:2724
1051
- #: frontend/views/WDIViewGalleryBox.php:2821
1052
  msgid "Maximize"
1053
  msgstr ""
1054
 
1055
  #: frontend/views/WDIViewGalleryBox.php:1042
1056
- #: frontend/views/WDIViewGalleryBox.php:2170
1057
- #: frontend/views/WDIViewGalleryBox.php:2823
1058
  msgid "Fullscreen"
1059
  msgstr ""
1060
 
1061
  #: frontend/views/WDIViewGalleryBox.php:1044
1062
- #: frontend/views/WDIViewGalleryBox.php:2588
1063
  msgid "Show info"
1064
  msgstr ""
1065
 
@@ -1068,7 +1080,7 @@ msgid "Show comments"
1068
  msgstr ""
1069
 
1070
  #: frontend/views/WDIViewGalleryBox.php:1048
1071
- #: frontend/views/WDIViewGalleryBox.php:2601
1072
  msgid "Show rating"
1073
  msgstr ""
1074
 
@@ -1114,7 +1126,7 @@ msgid "Error. Incorrect Verification Code."
1114
  msgstr ""
1115
 
1116
  #: frontend/views/WDIViewGalleryBox.php:1350
1117
- #: frontend/views/WDIViewGalleryBox.php:2388
1118
  msgid "Hide Comments"
1119
  msgstr ""
1120
 
@@ -1143,73 +1155,66 @@ msgid "Your comment is awaiting moderation"
1143
  msgstr ""
1144
 
1145
  #: frontend/views/WDIViewGalleryBox.php:1404
1146
- #: frontend/views/WDIViewGalleryBox.php:2073
1147
- #: frontend/views/WDIViewGalleryBox.php:2398
1148
  msgid "There are no comments to show"
1149
  msgstr ""
1150
 
1151
- #: frontend/views/WDIViewGalleryBox.php:2574
1152
  msgid "Hide info"
1153
  msgstr ""
1154
 
1155
- #: frontend/views/WDIViewGalleryBox.php:2597
1156
  msgid "Hide rating"
1157
  msgstr ""
1158
 
1159
- #: frontend/views/WDIViewGalleryBox.php:2761
1160
- #: frontend/views/WDIViewGalleryBox.php:2981
1161
  msgid "Restore"
1162
  msgstr ""
1163
 
1164
- #: frontend/views/WDIViewGalleryBox.php:2876
1165
  msgid "Exit Fullscreen"
1166
  msgstr ""
1167
 
1168
- #: frontend/views/WDIViewGalleryBox.php:2891
1169
- #: frontend/views/WDIViewGalleryBox.php:2908
1170
  msgid "Pause"
1171
  msgstr ""
1172
 
1173
- #: frontend/views/WDIViewImageBrowser_view.php:39
1174
- #: frontend/views/WDIViewImageBrowser_view.php:51
1175
- #: frontend/views/WDIViewThumbnails_view.php:42
1176
- #: frontend/views/WDIViewThumbnails_view.php:59
1177
  msgid "First Page"
1178
  msgstr ""
1179
 
1180
- #: frontend/views/WDIViewImageBrowser_view.php:39
1181
- #: frontend/views/WDIViewImageBrowser_view.php:51
1182
- #: frontend/views/WDIViewThumbnails_view.php:42
1183
- #: frontend/views/WDIViewThumbnails_view.php:59
1184
  msgid "Previous Page"
1185
  msgstr ""
1186
 
1187
- #: frontend/views/WDIViewImageBrowser_view.php:39
1188
- #: frontend/views/WDIViewImageBrowser_view.php:51
1189
- #: frontend/views/WDIViewThumbnails_view.php:42
1190
- #: frontend/views/WDIViewThumbnails_view.php:59
1191
  msgid "Next Page"
1192
  msgstr ""
1193
 
1194
- #: frontend/views/WDIViewImageBrowser_view.php:39
1195
- #: frontend/views/WDIViewImageBrowser_view.php:51
1196
- #: frontend/views/WDIViewThumbnails_view.php:42
1197
- #: frontend/views/WDIViewThumbnails_view.php:59
1198
  msgid "Last Page"
1199
  msgstr ""
1200
 
1201
- #: frontend/views/WDIViewImageBrowser_view.php:46
1202
- #: frontend/views/WDIViewThumbnails_view.php:52
1203
  msgid "Load More"
1204
  msgstr ""
1205
 
1206
- #: frontend/views/WDIViewImageBrowser_view.php:60
1207
- #: frontend/views/WDIViewThumbnails_view.php:68
1208
- msgid ""
1209
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1210
- "+Shift+J or Cmd+Shift+J on a Mac."
1211
- msgstr ""
1212
-
1213
  #: templates/plugin-uninstalled.php:28
1214
  msgid "you have uninstalled"
1215
  msgstr ""
@@ -1219,156 +1224,156 @@ msgid ""
1219
  "plugin,if you want to use it again simply deactivate and activate it again"
1220
  msgstr ""
1221
 
1222
- #: wd-instagram-feed.php:139
1223
  msgid "Configure"
1224
  msgstr ""
1225
 
1226
- #: wd-instagram-feed.php:142
1227
  msgid "Customize"
1228
  msgstr ""
1229
 
1230
- #: wd-instagram-feed.php:177
1231
  msgid "Instagram Feed WD"
1232
  msgstr ""
1233
 
1234
- #: wd-instagram-feed.php:180
1235
  msgid "Themes"
1236
  msgstr ""
1237
 
1238
- #: wd-instagram-feed.php:181
1239
  msgid "Settings"
1240
  msgstr ""
1241
 
1242
- #: wd-instagram-feed.php:184
1243
  msgid "Upgrade to Pro"
1244
  msgstr ""
1245
 
1246
- #: wd-instagram-feed.php:185
1247
  msgid "Uninstall"
1248
  msgstr ""
1249
 
1250
- #: wd-instagram-feed.php:274
1251
  msgid "All the data will be removed from the database. Continue?"
1252
  msgstr ""
1253
 
1254
- #: wd-instagram-feed.php:275
1255
  msgid "Some error with instagram servers, try agian later :("
1256
  msgstr ""
1257
 
1258
- #: wd-instagram-feed.php:276
1259
  msgid "Invalid user:"
1260
  msgstr ""
1261
 
1262
- #: wd-instagram-feed.php:277
1263
  msgid "already added!"
1264
  msgstr ""
1265
 
1266
- #: wd-instagram-feed.php:278
1267
  #, php-format
1268
  msgid "User %s does not exist."
1269
  msgstr ""
1270
 
1271
- #: wd-instagram-feed.php:279
1272
  msgid "Network Error, please try again later. :("
1273
  msgstr ""
1274
 
1275
- #: wd-instagram-feed.php:280
1276
  msgid "Invalid hashtag"
1277
  msgstr ""
1278
 
1279
- #: wd-instagram-feed.php:281
1280
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1281
  msgstr ""
1282
 
1283
- #: wd-instagram-feed.php:282
1284
  msgid "You can add only one username or hashtag in FREE Version"
1285
  msgstr ""
1286
 
1287
- #: wd-instagram-feed.php:283
1288
  msgid "Available in PRO"
1289
  msgstr ""
1290
 
1291
- #: wd-instagram-feed.php:284
1292
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1293
  msgstr ""
1294
 
1295
- #: wd-instagram-feed.php:285
1296
  msgid "Customizing Themes is available only in PRO version"
1297
  msgstr ""
1298
 
1299
- #: wd-instagram-feed.php:286
1300
  msgid "URL is not valid"
1301
  msgstr ""
1302
 
1303
- #: wd-instagram-feed.php:287
1304
  msgid "Please Select Condition Type"
1305
  msgstr ""
1306
 
1307
- #: wd-instagram-feed.php:288
1308
  msgid "Show Posts Which Have All Of The Conditions"
1309
  msgstr ""
1310
 
1311
- #: wd-instagram-feed.php:289
1312
  msgid "Show Posts Which Have At Least One Of The Conditions"
1313
  msgstr ""
1314
 
1315
- #: wd-instagram-feed.php:290
1316
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1317
  msgstr ""
1318
 
1319
- #: wd-instagram-feed.php:291
1320
  msgid "EITHER"
1321
  msgstr ""
1322
 
1323
- #: wd-instagram-feed.php:292
1324
  msgid "NEITHER"
1325
  msgstr ""
1326
 
1327
- #: wd-instagram-feed.php:293
1328
  msgid "EXCEPT"
1329
  msgstr ""
1330
 
1331
- #: wd-instagram-feed.php:294
1332
  msgid "AND"
1333
  msgstr ""
1334
 
1335
- #: wd-instagram-feed.php:295
1336
  msgid "OR"
1337
  msgstr ""
1338
 
1339
- #: wd-instagram-feed.php:296
1340
  msgid "NOR"
1341
  msgstr ""
1342
 
1343
- #: wd-instagram-feed.php:467
1344
  msgid ""
1345
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1346
  "plugin allows you to display image feeds from single or multiple Instagram "
1347
  "accounts on a WordPress site."
1348
  msgstr ""
1349
 
1350
- #: wd-instagram-feed.php:471
1351
  msgid "Responsive"
1352
  msgstr ""
1353
 
1354
- #: wd-instagram-feed.php:472
1355
  msgid ""
1356
  "Instagram feeds are not only elegantly designed to be displayed on your "
1357
  "website, but also come fully responsive for better user experience when "
1358
  "using mobile devices and tables."
1359
  msgstr ""
1360
 
1361
- #: wd-instagram-feed.php:476
1362
  msgid ""
1363
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1364
  "keep your pages and posts SEO-optimized."
1365
  msgstr ""
1366
 
1367
- #: wd-instagram-feed.php:479
1368
  msgid "4 Fully Customizable Layouts"
1369
  msgstr ""
1370
 
1371
- #: wd-instagram-feed.php:480
1372
  msgid ""
1373
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1374
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1380,11 +1385,11 @@ msgid ""
1380
  "etc."
1381
  msgstr ""
1382
 
1383
- #: wd-instagram-feed.php:483
1384
  msgid "Individual and Mixed Feeds"
1385
  msgstr ""
1386
 
1387
- #: wd-instagram-feed.php:484
1388
  msgid ""
1389
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1390
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1393,11 +1398,11 @@ msgid ""
1393
  "feed based on a single hashtag or account."
1394
  msgstr ""
1395
 
1396
- #: wd-instagram-feed.php:487
1397
  msgid "Advanced Lightbox"
1398
  msgstr ""
1399
 
1400
- #: wd-instagram-feed.php:488
1401
  msgid ""
1402
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1403
  "you will find control buttons for displaying images in larger view, read "
@@ -1407,51 +1412,51 @@ msgid ""
1407
  "within the lightbox as an HTML5 video."
1408
  msgstr ""
1409
 
1410
- #: wd-instagram-feed.php:494
1411
  msgid "Installation and configuration"
1412
  msgstr ""
1413
 
1414
- #: wd-instagram-feed.php:498
1415
  msgid "Getting Instagram Access Token"
1416
  msgstr ""
1417
 
1418
- #: wd-instagram-feed.php:504
1419
  msgid "Creating an Instagram Feed"
1420
  msgstr ""
1421
 
1422
- #: wd-instagram-feed.php:508
1423
  msgid "Thumbnails and Masonry Layouts"
1424
  msgstr ""
1425
 
1426
- #: wd-instagram-feed.php:512
1427
  msgid "Blog Style Layout"
1428
  msgstr ""
1429
 
1430
- #: wd-instagram-feed.php:516
1431
  msgid "Image Browser"
1432
  msgstr ""
1433
 
1434
- #: wd-instagram-feed.php:530
1435
  msgid "Publishing Instagram Feed"
1436
  msgstr ""
1437
 
1438
- #: wd-instagram-feed.php:534
1439
  msgid "Publishing in a Page/Post"
1440
  msgstr ""
1441
 
1442
- #: wd-instagram-feed.php:538
1443
  msgid "Publishing as a Widget"
1444
  msgstr ""
1445
 
1446
- #: wd-instagram-feed.php:542
1447
  msgid "Publishing by PHP function"
1448
  msgstr ""
1449
 
1450
- #: wd-instagram-feed.php:548
1451
  msgid "Styling with Themes"
1452
  msgstr ""
1453
 
1454
- #: wd-instagram-feed.php:553
1455
  msgid "Advanced customizing options"
1456
  msgstr ""
1457
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
182
  msgid "Feeds"
183
  msgstr ""
184
 
427
  msgstr ""
428
 
429
  #: admin/views/WDIViewFeeds_wdi.php:222
430
+ #: frontend/views/WDIViewGalleryBox.php:2333
431
  msgid "Show Comments"
432
  msgstr ""
433
 
653
  msgid "Feed Settings"
654
  msgstr ""
655
 
656
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
657
  msgid "Lightbox Settings"
658
  msgstr ""
659
 
660
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
661
+ #: wd-instagram-feed.php:525
662
  msgid "Conditional Filters"
663
  msgstr ""
664
 
709
  msgid "Responsive Design and Layout"
710
  msgstr ""
711
 
712
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
713
  msgid "SEO Friendly"
714
  msgstr ""
715
 
992
  msgstr ""
993
 
994
  #: frontend/shortcode.php:67
995
+ msgid "Feed with such ID does not exist"
996
  msgstr ""
997
 
998
  #: frontend/shortcode.php:89
1003
  msgid "Invalid feed type"
1004
  msgstr ""
1005
 
1006
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1007
  msgid "Connection Error, try again later :("
1008
  msgstr ""
1009
 
1010
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1011
  msgid "Username not found"
1012
  msgstr ""
1013
 
1014
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1015
  msgid "Network error, please try again later :("
1016
  msgstr ""
1017
 
1018
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1019
  msgid "There is no data for that hashtag"
1020
  msgstr ""
1021
 
1022
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1023
  msgid "Click to filter images by this user"
1024
  msgstr ""
1025
 
1026
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1027
  msgid "Field is required."
1028
  msgstr ""
1029
 
1030
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1031
  #: frontend/views/WDIViewGalleryBox.php:1342
1032
  msgid "This is not a valid email address."
1033
  msgstr ""
1034
 
1035
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1036
  msgid "There are no images matching your search."
1037
  msgstr ""
1038
 
1039
+ #: frontend/shortcode.php:260
1040
+ msgid ""
1041
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1042
+ "+Shift+J or Cmd+Shift+J on a Mac."
1043
+ msgstr ""
1044
+
1045
+ #: frontend/shortcode.php:261
1046
+ msgid ""
1047
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1048
+ "properly."
1049
+ msgstr ""
1050
+
1051
  #: frontend/views/WDIViewGalleryBox.php:1013
1052
  msgid "The image has been deleted."
1053
  msgstr ""
1054
 
1055
  #: frontend/views/WDIViewGalleryBox.php:1034
1056
+ #: frontend/views/WDIViewGalleryBox.php:2890
1057
  msgid "Play"
1058
  msgstr ""
1059
 
1060
  #: frontend/views/WDIViewGalleryBox.php:1038
1061
+ #: frontend/views/WDIViewGalleryBox.php:2161
1062
+ #: frontend/views/WDIViewGalleryBox.php:2717
1063
+ #: frontend/views/WDIViewGalleryBox.php:2814
1064
  msgid "Maximize"
1065
  msgstr ""
1066
 
1067
  #: frontend/views/WDIViewGalleryBox.php:1042
1068
+ #: frontend/views/WDIViewGalleryBox.php:2163
1069
+ #: frontend/views/WDIViewGalleryBox.php:2816
1070
  msgid "Fullscreen"
1071
  msgstr ""
1072
 
1073
  #: frontend/views/WDIViewGalleryBox.php:1044
1074
+ #: frontend/views/WDIViewGalleryBox.php:2581
1075
  msgid "Show info"
1076
  msgstr ""
1077
 
1080
  msgstr ""
1081
 
1082
  #: frontend/views/WDIViewGalleryBox.php:1048
1083
+ #: frontend/views/WDIViewGalleryBox.php:2594
1084
  msgid "Show rating"
1085
  msgstr ""
1086
 
1126
  msgstr ""
1127
 
1128
  #: frontend/views/WDIViewGalleryBox.php:1350
1129
+ #: frontend/views/WDIViewGalleryBox.php:2381
1130
  msgid "Hide Comments"
1131
  msgstr ""
1132
 
1155
  msgstr ""
1156
 
1157
  #: frontend/views/WDIViewGalleryBox.php:1404
1158
+ #: frontend/views/WDIViewGalleryBox.php:2066
1159
+ #: frontend/views/WDIViewGalleryBox.php:2391
1160
  msgid "There are no comments to show"
1161
  msgstr ""
1162
 
1163
+ #: frontend/views/WDIViewGalleryBox.php:2567
1164
  msgid "Hide info"
1165
  msgstr ""
1166
 
1167
+ #: frontend/views/WDIViewGalleryBox.php:2590
1168
  msgid "Hide rating"
1169
  msgstr ""
1170
 
1171
+ #: frontend/views/WDIViewGalleryBox.php:2754
1172
+ #: frontend/views/WDIViewGalleryBox.php:2974
1173
  msgid "Restore"
1174
  msgstr ""
1175
 
1176
+ #: frontend/views/WDIViewGalleryBox.php:2869
1177
  msgid "Exit Fullscreen"
1178
  msgstr ""
1179
 
1180
+ #: frontend/views/WDIViewGalleryBox.php:2884
1181
+ #: frontend/views/WDIViewGalleryBox.php:2901
1182
  msgid "Pause"
1183
  msgstr ""
1184
 
1185
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1186
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1187
+ #: frontend/views/WDIViewThumbnails_view.php:44
1188
+ #: frontend/views/WDIViewThumbnails_view.php:60
1189
  msgid "First Page"
1190
  msgstr ""
1191
 
1192
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1193
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1194
+ #: frontend/views/WDIViewThumbnails_view.php:44
1195
+ #: frontend/views/WDIViewThumbnails_view.php:60
1196
  msgid "Previous Page"
1197
  msgstr ""
1198
 
1199
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1200
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1201
+ #: frontend/views/WDIViewThumbnails_view.php:44
1202
+ #: frontend/views/WDIViewThumbnails_view.php:60
1203
  msgid "Next Page"
1204
  msgstr ""
1205
 
1206
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1207
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1208
+ #: frontend/views/WDIViewThumbnails_view.php:44
1209
+ #: frontend/views/WDIViewThumbnails_view.php:60
1210
  msgid "Last Page"
1211
  msgstr ""
1212
 
1213
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1214
+ #: frontend/views/WDIViewThumbnails_view.php:53
1215
  msgid "Load More"
1216
  msgstr ""
1217
 
 
 
 
 
 
 
 
1218
  #: templates/plugin-uninstalled.php:28
1219
  msgid "you have uninstalled"
1220
  msgstr ""
1224
  "plugin,if you want to use it again simply deactivate and activate it again"
1225
  msgstr ""
1226
 
1227
+ #: wd-instagram-feed.php:140
1228
  msgid "Configure"
1229
  msgstr ""
1230
 
1231
+ #: wd-instagram-feed.php:143
1232
  msgid "Customize"
1233
  msgstr ""
1234
 
1235
+ #: wd-instagram-feed.php:178
1236
  msgid "Instagram Feed WD"
1237
  msgstr ""
1238
 
1239
+ #: wd-instagram-feed.php:181
1240
  msgid "Themes"
1241
  msgstr ""
1242
 
1243
+ #: wd-instagram-feed.php:182
1244
  msgid "Settings"
1245
  msgstr ""
1246
 
1247
+ #: wd-instagram-feed.php:185
1248
  msgid "Upgrade to Pro"
1249
  msgstr ""
1250
 
1251
+ #: wd-instagram-feed.php:186
1252
  msgid "Uninstall"
1253
  msgstr ""
1254
 
1255
+ #: wd-instagram-feed.php:275
1256
  msgid "All the data will be removed from the database. Continue?"
1257
  msgstr ""
1258
 
1259
+ #: wd-instagram-feed.php:276
1260
  msgid "Some error with instagram servers, try agian later :("
1261
  msgstr ""
1262
 
1263
+ #: wd-instagram-feed.php:277
1264
  msgid "Invalid user:"
1265
  msgstr ""
1266
 
1267
+ #: wd-instagram-feed.php:278
1268
  msgid "already added!"
1269
  msgstr ""
1270
 
1271
+ #: wd-instagram-feed.php:279
1272
  #, php-format
1273
  msgid "User %s does not exist."
1274
  msgstr ""
1275
 
1276
+ #: wd-instagram-feed.php:280
1277
  msgid "Network Error, please try again later. :("
1278
  msgstr ""
1279
 
1280
+ #: wd-instagram-feed.php:281
1281
  msgid "Invalid hashtag"
1282
  msgstr ""
1283
 
1284
+ #: wd-instagram-feed.php:282
1285
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1286
  msgstr ""
1287
 
1288
+ #: wd-instagram-feed.php:283
1289
  msgid "You can add only one username or hashtag in FREE Version"
1290
  msgstr ""
1291
 
1292
+ #: wd-instagram-feed.php:284
1293
  msgid "Available in PRO"
1294
  msgstr ""
1295
 
1296
+ #: wd-instagram-feed.php:285
1297
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1298
  msgstr ""
1299
 
1300
+ #: wd-instagram-feed.php:286
1301
  msgid "Customizing Themes is available only in PRO version"
1302
  msgstr ""
1303
 
1304
+ #: wd-instagram-feed.php:287
1305
  msgid "URL is not valid"
1306
  msgstr ""
1307
 
1308
+ #: wd-instagram-feed.php:288
1309
  msgid "Please Select Condition Type"
1310
  msgstr ""
1311
 
1312
+ #: wd-instagram-feed.php:289
1313
  msgid "Show Posts Which Have All Of The Conditions"
1314
  msgstr ""
1315
 
1316
+ #: wd-instagram-feed.php:290
1317
  msgid "Show Posts Which Have At Least One Of The Conditions"
1318
  msgstr ""
1319
 
1320
+ #: wd-instagram-feed.php:291
1321
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1322
  msgstr ""
1323
 
1324
+ #: wd-instagram-feed.php:292
1325
  msgid "EITHER"
1326
  msgstr ""
1327
 
1328
+ #: wd-instagram-feed.php:293
1329
  msgid "NEITHER"
1330
  msgstr ""
1331
 
1332
+ #: wd-instagram-feed.php:294
1333
  msgid "EXCEPT"
1334
  msgstr ""
1335
 
1336
+ #: wd-instagram-feed.php:295
1337
  msgid "AND"
1338
  msgstr ""
1339
 
1340
+ #: wd-instagram-feed.php:296
1341
  msgid "OR"
1342
  msgstr ""
1343
 
1344
+ #: wd-instagram-feed.php:297
1345
  msgid "NOR"
1346
  msgstr ""
1347
 
1348
+ #: wd-instagram-feed.php:468
1349
  msgid ""
1350
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1351
  "plugin allows you to display image feeds from single or multiple Instagram "
1352
  "accounts on a WordPress site."
1353
  msgstr ""
1354
 
1355
+ #: wd-instagram-feed.php:472
1356
  msgid "Responsive"
1357
  msgstr ""
1358
 
1359
+ #: wd-instagram-feed.php:473
1360
  msgid ""
1361
  "Instagram feeds are not only elegantly designed to be displayed on your "
1362
  "website, but also come fully responsive for better user experience when "
1363
  "using mobile devices and tables."
1364
  msgstr ""
1365
 
1366
+ #: wd-instagram-feed.php:477
1367
  msgid ""
1368
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1369
  "keep your pages and posts SEO-optimized."
1370
  msgstr ""
1371
 
1372
+ #: wd-instagram-feed.php:480
1373
  msgid "4 Fully Customizable Layouts"
1374
  msgstr ""
1375
 
1376
+ #: wd-instagram-feed.php:481
1377
  msgid ""
1378
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1379
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1385
  "etc."
1386
  msgstr ""
1387
 
1388
+ #: wd-instagram-feed.php:484
1389
  msgid "Individual and Mixed Feeds"
1390
  msgstr ""
1391
 
1392
+ #: wd-instagram-feed.php:485
1393
  msgid ""
1394
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1395
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1398
  "feed based on a single hashtag or account."
1399
  msgstr ""
1400
 
1401
+ #: wd-instagram-feed.php:488
1402
  msgid "Advanced Lightbox"
1403
  msgstr ""
1404
 
1405
+ #: wd-instagram-feed.php:489
1406
  msgid ""
1407
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1408
  "you will find control buttons for displaying images in larger view, read "
1412
  "within the lightbox as an HTML5 video."
1413
  msgstr ""
1414
 
1415
+ #: wd-instagram-feed.php:495
1416
  msgid "Installation and configuration"
1417
  msgstr ""
1418
 
1419
+ #: wd-instagram-feed.php:499
1420
  msgid "Getting Instagram Access Token"
1421
  msgstr ""
1422
 
1423
+ #: wd-instagram-feed.php:505
1424
  msgid "Creating an Instagram Feed"
1425
  msgstr ""
1426
 
1427
+ #: wd-instagram-feed.php:509
1428
  msgid "Thumbnails and Masonry Layouts"
1429
  msgstr ""
1430
 
1431
+ #: wd-instagram-feed.php:513
1432
  msgid "Blog Style Layout"
1433
  msgstr ""
1434
 
1435
+ #: wd-instagram-feed.php:517
1436
  msgid "Image Browser"
1437
  msgstr ""
1438
 
1439
+ #: wd-instagram-feed.php:531
1440
  msgid "Publishing Instagram Feed"
1441
  msgstr ""
1442
 
1443
+ #: wd-instagram-feed.php:535
1444
  msgid "Publishing in a Page/Post"
1445
  msgstr ""
1446
 
1447
+ #: wd-instagram-feed.php:539
1448
  msgid "Publishing as a Widget"
1449
  msgstr ""
1450
 
1451
+ #: wd-instagram-feed.php:543
1452
  msgid "Publishing by PHP function"
1453
  msgstr ""
1454
 
1455
+ #: wd-instagram-feed.php:549
1456
  msgid "Styling with Themes"
1457
  msgstr ""
1458
 
1459
+ #: wd-instagram-feed.php:554
1460
  msgid "Advanced customizing options"
1461
  msgstr ""
1462
 
languages/wd-instagram-feed-es_ES.mo ADDED
Binary file
languages/{wdi-es_ES.po → wd-instagram-feed-es_ES.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:34+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:34+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es_ES\n"
@@ -180,7 +180,7 @@ msgstr ""
180
  msgid "Support Forum"
181
  msgstr ""
182
 
183
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
184
  msgid "Feeds"
185
  msgstr "Feeds"
186
 
@@ -438,7 +438,7 @@ msgid "Show Description"
438
  msgstr "Mostrar descripción"
439
 
440
  #: admin/views/WDIViewFeeds_wdi.php:222
441
- #: frontend/views/WDIViewGalleryBox.php:2340
442
  msgid "Show Comments"
443
  msgstr "Mostrar comentarios"
444
 
@@ -664,12 +664,12 @@ msgstr ""
664
  msgid "Feed Settings"
665
  msgstr "Ajustes del feed"
666
 
667
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
668
  msgid "Lightbox Settings"
669
  msgstr "Ajustes del lightbox"
670
 
671
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
672
- #: wd-instagram-feed.php:524
673
  msgid "Conditional Filters"
674
  msgstr "Filtros condicionales"
675
 
@@ -720,7 +720,7 @@ msgstr ""
720
  msgid "Responsive Design and Layout"
721
  msgstr ""
722
 
723
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
724
  msgid "SEO Friendly"
725
  msgstr ""
726
 
@@ -1013,8 +1013,8 @@ msgid "Access Token is invalid, please get it again "
1013
  msgstr "El Token de Acceso es inválido, por favor obtenlo de nuevo."
1014
 
1015
  #: frontend/shortcode.php:67
1016
- msgid "Feed Doesn't exists "
1017
- msgstr "No existe el feed"
1018
 
1019
  #: frontend/shortcode.php:89
1020
  msgid "Unable to display unpublished feed "
@@ -1024,63 +1024,75 @@ msgstr "Imposible mostrar un feed no publicado."
1024
  msgid "Invalid feed type"
1025
  msgstr "Tipo de feed inválido"
1026
 
1027
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1028
  msgid "Connection Error, try again later :("
1029
  msgstr "Error de conexión, inténtalo de nuevo más adelante :("
1030
 
1031
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1032
  msgid "Username not found"
1033
  msgstr "Nombre de usuario no encontrado"
1034
 
1035
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1036
  msgid "Network error, please try again later :("
1037
  msgstr "Error de red, por favor inténtalo de nuevo después :("
1038
 
1039
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1040
  msgid "There is no data for that hashtag"
1041
  msgstr "No hay datos para ese hashtag"
1042
 
1043
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1044
  msgid "Click to filter images by this user"
1045
  msgstr "Haz clic para filtrar las imágenes de este usuario"
1046
 
1047
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1048
  msgid "Field is required."
1049
  msgstr "El campo es obligatorio."
1050
 
1051
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1052
  #: frontend/views/WDIViewGalleryBox.php:1342
1053
  msgid "This is not a valid email address."
1054
  msgstr "No es una dirección de correo electrónico correcta."
1055
 
1056
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1057
  msgid "There are no images matching your search."
1058
  msgstr "No hay ninguna imagen que coincida con tu búsqueda."
1059
 
 
 
 
 
 
 
 
 
 
 
 
 
1060
  #: frontend/views/WDIViewGalleryBox.php:1013
1061
  msgid "The image has been deleted."
1062
  msgstr "La imagen ha sido borrada."
1063
 
1064
  #: frontend/views/WDIViewGalleryBox.php:1034
1065
- #: frontend/views/WDIViewGalleryBox.php:2897
1066
  msgid "Play"
1067
  msgstr "Reproducir"
1068
 
1069
  #: frontend/views/WDIViewGalleryBox.php:1038
1070
- #: frontend/views/WDIViewGalleryBox.php:2168
1071
- #: frontend/views/WDIViewGalleryBox.php:2724
1072
- #: frontend/views/WDIViewGalleryBox.php:2821
1073
  msgid "Maximize"
1074
  msgstr "Maximizar"
1075
 
1076
  #: frontend/views/WDIViewGalleryBox.php:1042
1077
- #: frontend/views/WDIViewGalleryBox.php:2170
1078
- #: frontend/views/WDIViewGalleryBox.php:2823
1079
  msgid "Fullscreen"
1080
  msgstr "Pantalla completa"
1081
 
1082
  #: frontend/views/WDIViewGalleryBox.php:1044
1083
- #: frontend/views/WDIViewGalleryBox.php:2588
1084
  msgid "Show info"
1085
  msgstr "Mostrar información"
1086
 
@@ -1089,7 +1101,7 @@ msgid "Show comments"
1089
  msgstr "Mostrar los comentarios"
1090
 
1091
  #: frontend/views/WDIViewGalleryBox.php:1048
1092
- #: frontend/views/WDIViewGalleryBox.php:2601
1093
  msgid "Show rating"
1094
  msgstr "Mostrar puntuación"
1095
 
@@ -1135,7 +1147,7 @@ msgid "Error. Incorrect Verification Code."
1135
  msgstr "Error. Código de verificación incorrecto."
1136
 
1137
  #: frontend/views/WDIViewGalleryBox.php:1350
1138
- #: frontend/views/WDIViewGalleryBox.php:2388
1139
  msgid "Hide Comments"
1140
  msgstr "Ocultar comentarios"
1141
 
@@ -1164,73 +1176,66 @@ msgid "Your comment is awaiting moderation"
1164
  msgstr "Tu comentario está esperando ser aprobado"
1165
 
1166
  #: frontend/views/WDIViewGalleryBox.php:1404
1167
- #: frontend/views/WDIViewGalleryBox.php:2073
1168
- #: frontend/views/WDIViewGalleryBox.php:2398
1169
  msgid "There are no comments to show"
1170
  msgstr "No hay comentarios para mostrar"
1171
 
1172
- #: frontend/views/WDIViewGalleryBox.php:2574
1173
  msgid "Hide info"
1174
  msgstr "Ocultar información"
1175
 
1176
- #: frontend/views/WDIViewGalleryBox.php:2597
1177
  msgid "Hide rating"
1178
  msgstr "Ocultar puntuación"
1179
 
1180
- #: frontend/views/WDIViewGalleryBox.php:2761
1181
- #: frontend/views/WDIViewGalleryBox.php:2981
1182
  msgid "Restore"
1183
  msgstr "Restaurar"
1184
 
1185
- #: frontend/views/WDIViewGalleryBox.php:2876
1186
  msgid "Exit Fullscreen"
1187
  msgstr "Salir de la pantalla completa"
1188
 
1189
- #: frontend/views/WDIViewGalleryBox.php:2891
1190
- #: frontend/views/WDIViewGalleryBox.php:2908
1191
  msgid "Pause"
1192
  msgstr "Pausar"
1193
 
1194
- #: frontend/views/WDIViewImageBrowser_view.php:39
1195
- #: frontend/views/WDIViewImageBrowser_view.php:51
1196
- #: frontend/views/WDIViewThumbnails_view.php:42
1197
- #: frontend/views/WDIViewThumbnails_view.php:59
1198
  msgid "First Page"
1199
  msgstr "Primera página"
1200
 
1201
- #: frontend/views/WDIViewImageBrowser_view.php:39
1202
- #: frontend/views/WDIViewImageBrowser_view.php:51
1203
- #: frontend/views/WDIViewThumbnails_view.php:42
1204
- #: frontend/views/WDIViewThumbnails_view.php:59
1205
  msgid "Previous Page"
1206
  msgstr "Página anterior"
1207
 
1208
- #: frontend/views/WDIViewImageBrowser_view.php:39
1209
- #: frontend/views/WDIViewImageBrowser_view.php:51
1210
- #: frontend/views/WDIViewThumbnails_view.php:42
1211
- #: frontend/views/WDIViewThumbnails_view.php:59
1212
  msgid "Next Page"
1213
  msgstr "Siguiente página"
1214
 
1215
- #: frontend/views/WDIViewImageBrowser_view.php:39
1216
- #: frontend/views/WDIViewImageBrowser_view.php:51
1217
- #: frontend/views/WDIViewThumbnails_view.php:42
1218
- #: frontend/views/WDIViewThumbnails_view.php:59
1219
  msgid "Last Page"
1220
  msgstr "Última página"
1221
 
1222
- #: frontend/views/WDIViewImageBrowser_view.php:46
1223
- #: frontend/views/WDIViewThumbnails_view.php:52
1224
  msgid "Load More"
1225
  msgstr "Cargar más"
1226
 
1227
- #: frontend/views/WDIViewImageBrowser_view.php:60
1228
- #: frontend/views/WDIViewThumbnails_view.php:68
1229
- msgid ""
1230
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1231
- "+Shift+J or Cmd+Shift+J on a Mac."
1232
- msgstr ""
1233
-
1234
  #: templates/plugin-uninstalled.php:28
1235
  msgid "you have uninstalled"
1236
  msgstr "has desinstalado"
@@ -1242,160 +1247,160 @@ msgstr ""
1242
  "plugin, si quieres usarlo de nuevo simplemente desactívalo y actívalo de "
1243
  "nuevo"
1244
 
1245
- #: wd-instagram-feed.php:139
1246
  msgid "Configure"
1247
  msgstr "Configurar"
1248
 
1249
- #: wd-instagram-feed.php:142
1250
  msgid "Customize"
1251
  msgstr "Personalizar"
1252
 
1253
- #: wd-instagram-feed.php:177
1254
  msgid "Instagram Feed WD"
1255
  msgstr "Instagram Feed WD"
1256
 
1257
- #: wd-instagram-feed.php:180
1258
  msgid "Themes"
1259
  msgstr "Temas"
1260
 
1261
- #: wd-instagram-feed.php:181
1262
  msgid "Settings"
1263
  msgstr "Ajustes"
1264
 
1265
- #: wd-instagram-feed.php:184
1266
  msgid "Upgrade to Pro"
1267
  msgstr ""
1268
 
1269
- #: wd-instagram-feed.php:185
1270
  msgid "Uninstall"
1271
  msgstr "Desinstalar"
1272
 
1273
- #: wd-instagram-feed.php:274
1274
  msgid "All the data will be removed from the database. Continue?"
1275
  msgstr "Toda la información se borrará de la base de datos. ¿Continuar?"
1276
 
1277
- #: wd-instagram-feed.php:275
1278
  msgid "Some error with instagram servers, try agian later :("
1279
  msgstr ""
1280
  "Hubo un error con los servidores de Instagram, inténtalo de nuevo más "
1281
  "adelante :("
1282
 
1283
- #: wd-instagram-feed.php:276
1284
  msgid "Invalid user:"
1285
  msgstr "Usuario incorrecto:"
1286
 
1287
- #: wd-instagram-feed.php:277
1288
  msgid "already added!"
1289
  msgstr "¡Ya se ha añadido!"
1290
 
1291
- #: wd-instagram-feed.php:278
1292
  #, php-format
1293
  msgid "User %s does not exist."
1294
  msgstr ""
1295
 
1296
- #: wd-instagram-feed.php:279
1297
  msgid "Network Error, please try again later. :("
1298
  msgstr "Error de red, por favor inténtalo de nuevo más adelante. :("
1299
 
1300
- #: wd-instagram-feed.php:280
1301
  msgid "Invalid hashtag"
1302
  msgstr "Hashtag inválido"
1303
 
1304
- #: wd-instagram-feed.php:281
1305
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1306
  msgstr ""
1307
  "Este hashtag no tiene ningún post en este momento. ¿Seguro que quieres "
1308
  "añadirlo?"
1309
 
1310
- #: wd-instagram-feed.php:282
1311
  msgid "You can add only one username or hashtag in FREE Version"
1312
  msgstr ""
1313
 
1314
- #: wd-instagram-feed.php:283
1315
  msgid "Available in PRO"
1316
  msgstr ""
1317
 
1318
- #: wd-instagram-feed.php:284
1319
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1320
  msgstr ""
1321
 
1322
- #: wd-instagram-feed.php:285
1323
  msgid "Customizing Themes is available only in PRO version"
1324
  msgstr ""
1325
 
1326
- #: wd-instagram-feed.php:286
1327
  msgid "URL is not valid"
1328
  msgstr "La URL no es válida"
1329
 
1330
- #: wd-instagram-feed.php:287
1331
  msgid "Please Select Condition Type"
1332
  msgstr "Por favor selecciona el tipo de condición"
1333
 
1334
- #: wd-instagram-feed.php:288
1335
  msgid "Show Posts Which Have All Of The Conditions"
1336
  msgstr "Mostrar posts que tengan todas las condiciones"
1337
 
1338
- #: wd-instagram-feed.php:289
1339
  msgid "Show Posts Which Have At Least One Of The Conditions"
1340
  msgstr "Mostrar posts que tengan al menos una de las condiciones"
1341
 
1342
- #: wd-instagram-feed.php:290
1343
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1344
  msgstr "Esconder posts que tengan al menos una de las condiciones"
1345
 
1346
- #: wd-instagram-feed.php:291
1347
  msgid "EITHER"
1348
  msgstr "UNO U OTRO"
1349
 
1350
- #: wd-instagram-feed.php:292
1351
  msgid "NEITHER"
1352
  msgstr "NINGUNO"
1353
 
1354
- #: wd-instagram-feed.php:293
1355
  msgid "EXCEPT"
1356
  msgstr "EXCEPTO"
1357
 
1358
- #: wd-instagram-feed.php:294
1359
  msgid "AND"
1360
  msgstr "Y"
1361
 
1362
- #: wd-instagram-feed.php:295
1363
  msgid "OR"
1364
  msgstr "O"
1365
 
1366
- #: wd-instagram-feed.php:296
1367
  msgid "NOR"
1368
  msgstr "NI"
1369
 
1370
- #: wd-instagram-feed.php:467
1371
  msgid ""
1372
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1373
  "plugin allows you to display image feeds from single or multiple Instagram "
1374
  "accounts on a WordPress site."
1375
  msgstr ""
1376
 
1377
- #: wd-instagram-feed.php:471
1378
  msgid "Responsive"
1379
  msgstr ""
1380
 
1381
- #: wd-instagram-feed.php:472
1382
  msgid ""
1383
  "Instagram feeds are not only elegantly designed to be displayed on your "
1384
  "website, but also come fully responsive for better user experience when "
1385
  "using mobile devices and tables."
1386
  msgstr ""
1387
 
1388
- #: wd-instagram-feed.php:476
1389
  msgid ""
1390
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1391
  "keep your pages and posts SEO-optimized."
1392
  msgstr ""
1393
 
1394
- #: wd-instagram-feed.php:479
1395
  msgid "4 Fully Customizable Layouts"
1396
  msgstr ""
1397
 
1398
- #: wd-instagram-feed.php:480
1399
  msgid ""
1400
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1401
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1407,11 +1412,11 @@ msgid ""
1407
  "etc."
1408
  msgstr ""
1409
 
1410
- #: wd-instagram-feed.php:483
1411
  msgid "Individual and Mixed Feeds"
1412
  msgstr ""
1413
 
1414
- #: wd-instagram-feed.php:484
1415
  msgid ""
1416
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1417
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1420,11 +1425,11 @@ msgid ""
1420
  "feed based on a single hashtag or account."
1421
  msgstr ""
1422
 
1423
- #: wd-instagram-feed.php:487
1424
  msgid "Advanced Lightbox"
1425
  msgstr ""
1426
 
1427
- #: wd-instagram-feed.php:488
1428
  msgid ""
1429
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1430
  "you will find control buttons for displaying images in larger view, read "
@@ -1434,51 +1439,51 @@ msgid ""
1434
  "within the lightbox as an HTML5 video."
1435
  msgstr ""
1436
 
1437
- #: wd-instagram-feed.php:494
1438
  msgid "Installation and configuration"
1439
  msgstr ""
1440
 
1441
- #: wd-instagram-feed.php:498
1442
  msgid "Getting Instagram Access Token"
1443
  msgstr ""
1444
 
1445
- #: wd-instagram-feed.php:504
1446
  msgid "Creating an Instagram Feed"
1447
  msgstr ""
1448
 
1449
- #: wd-instagram-feed.php:508
1450
  msgid "Thumbnails and Masonry Layouts"
1451
  msgstr ""
1452
 
1453
- #: wd-instagram-feed.php:512
1454
  msgid "Blog Style Layout"
1455
  msgstr ""
1456
 
1457
- #: wd-instagram-feed.php:516
1458
  msgid "Image Browser"
1459
  msgstr ""
1460
 
1461
- #: wd-instagram-feed.php:530
1462
  msgid "Publishing Instagram Feed"
1463
  msgstr ""
1464
 
1465
- #: wd-instagram-feed.php:534
1466
  msgid "Publishing in a Page/Post"
1467
  msgstr ""
1468
 
1469
- #: wd-instagram-feed.php:538
1470
  msgid "Publishing as a Widget"
1471
  msgstr ""
1472
 
1473
- #: wd-instagram-feed.php:542
1474
  msgid "Publishing by PHP function"
1475
  msgstr ""
1476
 
1477
- #: wd-instagram-feed.php:548
1478
  msgid "Styling with Themes"
1479
  msgstr ""
1480
 
1481
- #: wd-instagram-feed.php:553
1482
  msgid "Advanced customizing options"
1483
  msgstr ""
1484
 
@@ -1824,3 +1829,6 @@ msgstr ""
1824
  #: wd/wd.php:74
1825
  msgid "Overview"
1826
  msgstr ""
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es_ES\n"
180
  msgid "Support Forum"
181
  msgstr ""
182
 
183
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
184
  msgid "Feeds"
185
  msgstr "Feeds"
186
 
438
  msgstr "Mostrar descripción"
439
 
440
  #: admin/views/WDIViewFeeds_wdi.php:222
441
+ #: frontend/views/WDIViewGalleryBox.php:2333
442
  msgid "Show Comments"
443
  msgstr "Mostrar comentarios"
444
 
664
  msgid "Feed Settings"
665
  msgstr "Ajustes del feed"
666
 
667
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
668
  msgid "Lightbox Settings"
669
  msgstr "Ajustes del lightbox"
670
 
671
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
672
+ #: wd-instagram-feed.php:525
673
  msgid "Conditional Filters"
674
  msgstr "Filtros condicionales"
675
 
720
  msgid "Responsive Design and Layout"
721
  msgstr ""
722
 
723
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
724
  msgid "SEO Friendly"
725
  msgstr ""
726
 
1013
  msgstr "El Token de Acceso es inválido, por favor obtenlo de nuevo."
1014
 
1015
  #: frontend/shortcode.php:67
1016
+ msgid "Feed with such ID does not exist"
1017
+ msgstr ""
1018
 
1019
  #: frontend/shortcode.php:89
1020
  msgid "Unable to display unpublished feed "
1024
  msgid "Invalid feed type"
1025
  msgstr "Tipo de feed inválido"
1026
 
1027
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1028
  msgid "Connection Error, try again later :("
1029
  msgstr "Error de conexión, inténtalo de nuevo más adelante :("
1030
 
1031
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1032
  msgid "Username not found"
1033
  msgstr "Nombre de usuario no encontrado"
1034
 
1035
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1036
  msgid "Network error, please try again later :("
1037
  msgstr "Error de red, por favor inténtalo de nuevo después :("
1038
 
1039
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1040
  msgid "There is no data for that hashtag"
1041
  msgstr "No hay datos para ese hashtag"
1042
 
1043
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1044
  msgid "Click to filter images by this user"
1045
  msgstr "Haz clic para filtrar las imágenes de este usuario"
1046
 
1047
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1048
  msgid "Field is required."
1049
  msgstr "El campo es obligatorio."
1050
 
1051
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1052
  #: frontend/views/WDIViewGalleryBox.php:1342
1053
  msgid "This is not a valid email address."
1054
  msgstr "No es una dirección de correo electrónico correcta."
1055
 
1056
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1057
  msgid "There are no images matching your search."
1058
  msgstr "No hay ninguna imagen que coincida con tu búsqueda."
1059
 
1060
+ #: frontend/shortcode.php:260
1061
+ msgid ""
1062
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1063
+ "+Shift+J or Cmd+Shift+J on a Mac."
1064
+ msgstr ""
1065
+
1066
+ #: frontend/shortcode.php:261
1067
+ msgid ""
1068
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1069
+ "properly."
1070
+ msgstr ""
1071
+
1072
  #: frontend/views/WDIViewGalleryBox.php:1013
1073
  msgid "The image has been deleted."
1074
  msgstr "La imagen ha sido borrada."
1075
 
1076
  #: frontend/views/WDIViewGalleryBox.php:1034
1077
+ #: frontend/views/WDIViewGalleryBox.php:2890
1078
  msgid "Play"
1079
  msgstr "Reproducir"
1080
 
1081
  #: frontend/views/WDIViewGalleryBox.php:1038
1082
+ #: frontend/views/WDIViewGalleryBox.php:2161
1083
+ #: frontend/views/WDIViewGalleryBox.php:2717
1084
+ #: frontend/views/WDIViewGalleryBox.php:2814
1085
  msgid "Maximize"
1086
  msgstr "Maximizar"
1087
 
1088
  #: frontend/views/WDIViewGalleryBox.php:1042
1089
+ #: frontend/views/WDIViewGalleryBox.php:2163
1090
+ #: frontend/views/WDIViewGalleryBox.php:2816
1091
  msgid "Fullscreen"
1092
  msgstr "Pantalla completa"
1093
 
1094
  #: frontend/views/WDIViewGalleryBox.php:1044
1095
+ #: frontend/views/WDIViewGalleryBox.php:2581
1096
  msgid "Show info"
1097
  msgstr "Mostrar información"
1098
 
1101
  msgstr "Mostrar los comentarios"
1102
 
1103
  #: frontend/views/WDIViewGalleryBox.php:1048
1104
+ #: frontend/views/WDIViewGalleryBox.php:2594
1105
  msgid "Show rating"
1106
  msgstr "Mostrar puntuación"
1107
 
1147
  msgstr "Error. Código de verificación incorrecto."
1148
 
1149
  #: frontend/views/WDIViewGalleryBox.php:1350
1150
+ #: frontend/views/WDIViewGalleryBox.php:2381
1151
  msgid "Hide Comments"
1152
  msgstr "Ocultar comentarios"
1153
 
1176
  msgstr "Tu comentario está esperando ser aprobado"
1177
 
1178
  #: frontend/views/WDIViewGalleryBox.php:1404
1179
+ #: frontend/views/WDIViewGalleryBox.php:2066
1180
+ #: frontend/views/WDIViewGalleryBox.php:2391
1181
  msgid "There are no comments to show"
1182
  msgstr "No hay comentarios para mostrar"
1183
 
1184
+ #: frontend/views/WDIViewGalleryBox.php:2567
1185
  msgid "Hide info"
1186
  msgstr "Ocultar información"
1187
 
1188
+ #: frontend/views/WDIViewGalleryBox.php:2590
1189
  msgid "Hide rating"
1190
  msgstr "Ocultar puntuación"
1191
 
1192
+ #: frontend/views/WDIViewGalleryBox.php:2754
1193
+ #: frontend/views/WDIViewGalleryBox.php:2974
1194
  msgid "Restore"
1195
  msgstr "Restaurar"
1196
 
1197
+ #: frontend/views/WDIViewGalleryBox.php:2869
1198
  msgid "Exit Fullscreen"
1199
  msgstr "Salir de la pantalla completa"
1200
 
1201
+ #: frontend/views/WDIViewGalleryBox.php:2884
1202
+ #: frontend/views/WDIViewGalleryBox.php:2901
1203
  msgid "Pause"
1204
  msgstr "Pausar"
1205
 
1206
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1207
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1208
+ #: frontend/views/WDIViewThumbnails_view.php:44
1209
+ #: frontend/views/WDIViewThumbnails_view.php:60
1210
  msgid "First Page"
1211
  msgstr "Primera página"
1212
 
1213
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1214
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1215
+ #: frontend/views/WDIViewThumbnails_view.php:44
1216
+ #: frontend/views/WDIViewThumbnails_view.php:60
1217
  msgid "Previous Page"
1218
  msgstr "Página anterior"
1219
 
1220
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1221
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1222
+ #: frontend/views/WDIViewThumbnails_view.php:44
1223
+ #: frontend/views/WDIViewThumbnails_view.php:60
1224
  msgid "Next Page"
1225
  msgstr "Siguiente página"
1226
 
1227
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1228
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1229
+ #: frontend/views/WDIViewThumbnails_view.php:44
1230
+ #: frontend/views/WDIViewThumbnails_view.php:60
1231
  msgid "Last Page"
1232
  msgstr "Última página"
1233
 
1234
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1235
+ #: frontend/views/WDIViewThumbnails_view.php:53
1236
  msgid "Load More"
1237
  msgstr "Cargar más"
1238
 
 
 
 
 
 
 
 
1239
  #: templates/plugin-uninstalled.php:28
1240
  msgid "you have uninstalled"
1241
  msgstr "has desinstalado"
1247
  "plugin, si quieres usarlo de nuevo simplemente desactívalo y actívalo de "
1248
  "nuevo"
1249
 
1250
+ #: wd-instagram-feed.php:140
1251
  msgid "Configure"
1252
  msgstr "Configurar"
1253
 
1254
+ #: wd-instagram-feed.php:143
1255
  msgid "Customize"
1256
  msgstr "Personalizar"
1257
 
1258
+ #: wd-instagram-feed.php:178
1259
  msgid "Instagram Feed WD"
1260
  msgstr "Instagram Feed WD"
1261
 
1262
+ #: wd-instagram-feed.php:181
1263
  msgid "Themes"
1264
  msgstr "Temas"
1265
 
1266
+ #: wd-instagram-feed.php:182
1267
  msgid "Settings"
1268
  msgstr "Ajustes"
1269
 
1270
+ #: wd-instagram-feed.php:185
1271
  msgid "Upgrade to Pro"
1272
  msgstr ""
1273
 
1274
+ #: wd-instagram-feed.php:186
1275
  msgid "Uninstall"
1276
  msgstr "Desinstalar"
1277
 
1278
+ #: wd-instagram-feed.php:275
1279
  msgid "All the data will be removed from the database. Continue?"
1280
  msgstr "Toda la información se borrará de la base de datos. ¿Continuar?"
1281
 
1282
+ #: wd-instagram-feed.php:276
1283
  msgid "Some error with instagram servers, try agian later :("
1284
  msgstr ""
1285
  "Hubo un error con los servidores de Instagram, inténtalo de nuevo más "
1286
  "adelante :("
1287
 
1288
+ #: wd-instagram-feed.php:277
1289
  msgid "Invalid user:"
1290
  msgstr "Usuario incorrecto:"
1291
 
1292
+ #: wd-instagram-feed.php:278
1293
  msgid "already added!"
1294
  msgstr "¡Ya se ha añadido!"
1295
 
1296
+ #: wd-instagram-feed.php:279
1297
  #, php-format
1298
  msgid "User %s does not exist."
1299
  msgstr ""
1300
 
1301
+ #: wd-instagram-feed.php:280
1302
  msgid "Network Error, please try again later. :("
1303
  msgstr "Error de red, por favor inténtalo de nuevo más adelante. :("
1304
 
1305
+ #: wd-instagram-feed.php:281
1306
  msgid "Invalid hashtag"
1307
  msgstr "Hashtag inválido"
1308
 
1309
+ #: wd-instagram-feed.php:282
1310
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1311
  msgstr ""
1312
  "Este hashtag no tiene ningún post en este momento. ¿Seguro que quieres "
1313
  "añadirlo?"
1314
 
1315
+ #: wd-instagram-feed.php:283
1316
  msgid "You can add only one username or hashtag in FREE Version"
1317
  msgstr ""
1318
 
1319
+ #: wd-instagram-feed.php:284
1320
  msgid "Available in PRO"
1321
  msgstr ""
1322
 
1323
+ #: wd-instagram-feed.php:285
1324
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1325
  msgstr ""
1326
 
1327
+ #: wd-instagram-feed.php:286
1328
  msgid "Customizing Themes is available only in PRO version"
1329
  msgstr ""
1330
 
1331
+ #: wd-instagram-feed.php:287
1332
  msgid "URL is not valid"
1333
  msgstr "La URL no es válida"
1334
 
1335
+ #: wd-instagram-feed.php:288
1336
  msgid "Please Select Condition Type"
1337
  msgstr "Por favor selecciona el tipo de condición"
1338
 
1339
+ #: wd-instagram-feed.php:289
1340
  msgid "Show Posts Which Have All Of The Conditions"
1341
  msgstr "Mostrar posts que tengan todas las condiciones"
1342
 
1343
+ #: wd-instagram-feed.php:290
1344
  msgid "Show Posts Which Have At Least One Of The Conditions"
1345
  msgstr "Mostrar posts que tengan al menos una de las condiciones"
1346
 
1347
+ #: wd-instagram-feed.php:291
1348
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1349
  msgstr "Esconder posts que tengan al menos una de las condiciones"
1350
 
1351
+ #: wd-instagram-feed.php:292
1352
  msgid "EITHER"
1353
  msgstr "UNO U OTRO"
1354
 
1355
+ #: wd-instagram-feed.php:293
1356
  msgid "NEITHER"
1357
  msgstr "NINGUNO"
1358
 
1359
+ #: wd-instagram-feed.php:294
1360
  msgid "EXCEPT"
1361
  msgstr "EXCEPTO"
1362
 
1363
+ #: wd-instagram-feed.php:295
1364
  msgid "AND"
1365
  msgstr "Y"
1366
 
1367
+ #: wd-instagram-feed.php:296
1368
  msgid "OR"
1369
  msgstr "O"
1370
 
1371
+ #: wd-instagram-feed.php:297
1372
  msgid "NOR"
1373
  msgstr "NI"
1374
 
1375
+ #: wd-instagram-feed.php:468
1376
  msgid ""
1377
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1378
  "plugin allows you to display image feeds from single or multiple Instagram "
1379
  "accounts on a WordPress site."
1380
  msgstr ""
1381
 
1382
+ #: wd-instagram-feed.php:472
1383
  msgid "Responsive"
1384
  msgstr ""
1385
 
1386
+ #: wd-instagram-feed.php:473
1387
  msgid ""
1388
  "Instagram feeds are not only elegantly designed to be displayed on your "
1389
  "website, but also come fully responsive for better user experience when "
1390
  "using mobile devices and tables."
1391
  msgstr ""
1392
 
1393
+ #: wd-instagram-feed.php:477
1394
  msgid ""
1395
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1396
  "keep your pages and posts SEO-optimized."
1397
  msgstr ""
1398
 
1399
+ #: wd-instagram-feed.php:480
1400
  msgid "4 Fully Customizable Layouts"
1401
  msgstr ""
1402
 
1403
+ #: wd-instagram-feed.php:481
1404
  msgid ""
1405
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1406
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1412
  "etc."
1413
  msgstr ""
1414
 
1415
+ #: wd-instagram-feed.php:484
1416
  msgid "Individual and Mixed Feeds"
1417
  msgstr ""
1418
 
1419
+ #: wd-instagram-feed.php:485
1420
  msgid ""
1421
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1422
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1425
  "feed based on a single hashtag or account."
1426
  msgstr ""
1427
 
1428
+ #: wd-instagram-feed.php:488
1429
  msgid "Advanced Lightbox"
1430
  msgstr ""
1431
 
1432
+ #: wd-instagram-feed.php:489
1433
  msgid ""
1434
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1435
  "you will find control buttons for displaying images in larger view, read "
1439
  "within the lightbox as an HTML5 video."
1440
  msgstr ""
1441
 
1442
+ #: wd-instagram-feed.php:495
1443
  msgid "Installation and configuration"
1444
  msgstr ""
1445
 
1446
+ #: wd-instagram-feed.php:499
1447
  msgid "Getting Instagram Access Token"
1448
  msgstr ""
1449
 
1450
+ #: wd-instagram-feed.php:505
1451
  msgid "Creating an Instagram Feed"
1452
  msgstr ""
1453
 
1454
+ #: wd-instagram-feed.php:509
1455
  msgid "Thumbnails and Masonry Layouts"
1456
  msgstr ""
1457
 
1458
+ #: wd-instagram-feed.php:513
1459
  msgid "Blog Style Layout"
1460
  msgstr ""
1461
 
1462
+ #: wd-instagram-feed.php:517
1463
  msgid "Image Browser"
1464
  msgstr ""
1465
 
1466
+ #: wd-instagram-feed.php:531
1467
  msgid "Publishing Instagram Feed"
1468
  msgstr ""
1469
 
1470
+ #: wd-instagram-feed.php:535
1471
  msgid "Publishing in a Page/Post"
1472
  msgstr ""
1473
 
1474
+ #: wd-instagram-feed.php:539
1475
  msgid "Publishing as a Widget"
1476
  msgstr ""
1477
 
1478
+ #: wd-instagram-feed.php:543
1479
  msgid "Publishing by PHP function"
1480
  msgstr ""
1481
 
1482
+ #: wd-instagram-feed.php:549
1483
  msgid "Styling with Themes"
1484
  msgstr ""
1485
 
1486
+ #: wd-instagram-feed.php:554
1487
  msgid "Advanced customizing options"
1488
  msgstr ""
1489
 
1829
  #: wd/wd.php:74
1830
  msgid "Overview"
1831
  msgstr ""
1832
+
1833
+ #~ msgid "Feed Doesn't exists "
1834
+ #~ msgstr "No existe el feed"
languages/wd-instagram-feed-fr_FR.mo ADDED
Binary file
languages/{wdi-fr_FR.po → wd-instagram-feed-fr_FR.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:34+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:34+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
@@ -179,7 +179,7 @@ msgstr ""
179
  msgid "Support Forum"
180
  msgstr ""
181
 
182
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
183
  msgid "Feeds"
184
  msgstr "Flux"
185
 
@@ -435,7 +435,7 @@ msgid "Show Description"
435
  msgstr "Voir Description"
436
 
437
  #: admin/views/WDIViewFeeds_wdi.php:222
438
- #: frontend/views/WDIViewGalleryBox.php:2340
439
  msgid "Show Comments"
440
  msgstr "Voir Commentaires"
441
 
@@ -661,12 +661,12 @@ msgstr "Disponible en version PRO"
661
  msgid "Feed Settings"
662
  msgstr "Réglages du flux"
663
 
664
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
665
  msgid "Lightbox Settings"
666
  msgstr "Réglages Lightbox"
667
 
668
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
669
- #: wd-instagram-feed.php:524
670
  msgid "Conditional Filters"
671
  msgstr "Filtres Conditionnels"
672
 
@@ -719,7 +719,7 @@ msgstr "prêt"
719
  msgid "Responsive Design and Layout"
720
  msgstr "Responsive Design and Mise en page"
721
 
722
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
723
  msgid "SEO Friendly"
724
  msgstr "Optimisé pour le référencement"
725
 
@@ -1011,8 +1011,8 @@ msgid "Access Token is invalid, please get it again "
1011
  msgstr "Access Token incorrect, veuillez le vérifier"
1012
 
1013
  #: frontend/shortcode.php:67
1014
- msgid "Feed Doesn't exists "
1015
- msgstr "Flux non existant"
1016
 
1017
  #: frontend/shortcode.php:89
1018
  msgid "Unable to display unpublished feed "
@@ -1022,63 +1022,75 @@ msgstr "Impossible d'afficher un flux non publié"
1022
  msgid "Invalid feed type"
1023
  msgstr "Type de flux invalide"
1024
 
1025
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1026
  msgid "Connection Error, try again later :("
1027
  msgstr "Erreur de connexion, ré-essayez plus tard :("
1028
 
1029
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1030
  msgid "Username not found"
1031
  msgstr "Nom d'utilisateur non trouvé"
1032
 
1033
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1034
  msgid "Network error, please try again later :("
1035
  msgstr "Erreur réseau, ré-essayez plus tard :("
1036
 
1037
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1038
  msgid "There is no data for that hashtag"
1039
  msgstr "Pas de données pour ce hashtag"
1040
 
1041
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1042
  msgid "Click to filter images by this user"
1043
  msgstr "Cliquer pour filtrer les images de cet utilisateur"
1044
 
1045
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1046
  msgid "Field is required."
1047
  msgstr "Champ requis."
1048
 
1049
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1050
  #: frontend/views/WDIViewGalleryBox.php:1342
1051
  msgid "This is not a valid email address."
1052
  msgstr "Adresse email invalide."
1053
 
1054
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1055
  msgid "There are no images matching your search."
1056
  msgstr "Aucune image correspondant à votre recherche."
1057
 
 
 
 
 
 
 
 
 
 
 
 
 
1058
  #: frontend/views/WDIViewGalleryBox.php:1013
1059
  msgid "The image has been deleted."
1060
  msgstr "Image supprimée."
1061
 
1062
  #: frontend/views/WDIViewGalleryBox.php:1034
1063
- #: frontend/views/WDIViewGalleryBox.php:2897
1064
  msgid "Play"
1065
  msgstr "Lire"
1066
 
1067
  #: frontend/views/WDIViewGalleryBox.php:1038
1068
- #: frontend/views/WDIViewGalleryBox.php:2168
1069
- #: frontend/views/WDIViewGalleryBox.php:2724
1070
- #: frontend/views/WDIViewGalleryBox.php:2821
1071
  msgid "Maximize"
1072
  msgstr "Agrandir"
1073
 
1074
  #: frontend/views/WDIViewGalleryBox.php:1042
1075
- #: frontend/views/WDIViewGalleryBox.php:2170
1076
- #: frontend/views/WDIViewGalleryBox.php:2823
1077
  msgid "Fullscreen"
1078
  msgstr "Plein Écran"
1079
 
1080
  #: frontend/views/WDIViewGalleryBox.php:1044
1081
- #: frontend/views/WDIViewGalleryBox.php:2588
1082
  msgid "Show info"
1083
  msgstr "Voir l'information"
1084
 
@@ -1087,7 +1099,7 @@ msgid "Show comments"
1087
  msgstr "Voir les commentaires"
1088
 
1089
  #: frontend/views/WDIViewGalleryBox.php:1048
1090
- #: frontend/views/WDIViewGalleryBox.php:2601
1091
  msgid "Show rating"
1092
  msgstr "Voir le score"
1093
 
@@ -1133,7 +1145,7 @@ msgid "Error. Incorrect Verification Code."
1133
  msgstr "Erreur. Code de vérification incorrect."
1134
 
1135
  #: frontend/views/WDIViewGalleryBox.php:1350
1136
- #: frontend/views/WDIViewGalleryBox.php:2388
1137
  msgid "Hide Comments"
1138
  msgstr "Masquer les commentaires"
1139
 
@@ -1162,73 +1174,66 @@ msgid "Your comment is awaiting moderation"
1162
  msgstr "Votre commentaire est en attente de modération"
1163
 
1164
  #: frontend/views/WDIViewGalleryBox.php:1404
1165
- #: frontend/views/WDIViewGalleryBox.php:2073
1166
- #: frontend/views/WDIViewGalleryBox.php:2398
1167
  msgid "There are no comments to show"
1168
  msgstr "Aucun commentaire à afficher"
1169
 
1170
- #: frontend/views/WDIViewGalleryBox.php:2574
1171
  msgid "Hide info"
1172
  msgstr "Masquer l'information"
1173
 
1174
- #: frontend/views/WDIViewGalleryBox.php:2597
1175
  msgid "Hide rating"
1176
  msgstr "Masquer le score"
1177
 
1178
- #: frontend/views/WDIViewGalleryBox.php:2761
1179
- #: frontend/views/WDIViewGalleryBox.php:2981
1180
  msgid "Restore"
1181
  msgstr "Restaurer"
1182
 
1183
- #: frontend/views/WDIViewGalleryBox.php:2876
1184
  msgid "Exit Fullscreen"
1185
  msgstr "Sortir du mode Plein-Écran"
1186
 
1187
- #: frontend/views/WDIViewGalleryBox.php:2891
1188
- #: frontend/views/WDIViewGalleryBox.php:2908
1189
  msgid "Pause"
1190
  msgstr "Pause"
1191
 
1192
- #: frontend/views/WDIViewImageBrowser_view.php:39
1193
- #: frontend/views/WDIViewImageBrowser_view.php:51
1194
- #: frontend/views/WDIViewThumbnails_view.php:42
1195
- #: frontend/views/WDIViewThumbnails_view.php:59
1196
  msgid "First Page"
1197
  msgstr "Première page"
1198
 
1199
- #: frontend/views/WDIViewImageBrowser_view.php:39
1200
- #: frontend/views/WDIViewImageBrowser_view.php:51
1201
- #: frontend/views/WDIViewThumbnails_view.php:42
1202
- #: frontend/views/WDIViewThumbnails_view.php:59
1203
  msgid "Previous Page"
1204
  msgstr "Page Précédente"
1205
 
1206
- #: frontend/views/WDIViewImageBrowser_view.php:39
1207
- #: frontend/views/WDIViewImageBrowser_view.php:51
1208
- #: frontend/views/WDIViewThumbnails_view.php:42
1209
- #: frontend/views/WDIViewThumbnails_view.php:59
1210
  msgid "Next Page"
1211
  msgstr "Page Suivante"
1212
 
1213
- #: frontend/views/WDIViewImageBrowser_view.php:39
1214
- #: frontend/views/WDIViewImageBrowser_view.php:51
1215
- #: frontend/views/WDIViewThumbnails_view.php:42
1216
- #: frontend/views/WDIViewThumbnails_view.php:59
1217
  msgid "Last Page"
1218
  msgstr "Dernière Page"
1219
 
1220
- #: frontend/views/WDIViewImageBrowser_view.php:46
1221
- #: frontend/views/WDIViewThumbnails_view.php:52
1222
  msgid "Load More"
1223
  msgstr "Voir Plus"
1224
 
1225
- #: frontend/views/WDIViewImageBrowser_view.php:60
1226
- #: frontend/views/WDIViewThumbnails_view.php:68
1227
- msgid ""
1228
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1229
- "+Shift+J or Cmd+Shift+J on a Mac."
1230
- msgstr ""
1231
-
1232
  #: templates/plugin-uninstalled.php:28
1233
  msgid "you have uninstalled"
1234
  msgstr "vous avez désinstallé"
@@ -1240,160 +1245,160 @@ msgstr ""
1240
  "extention, si vous voulez l'utiliser à nouveau, il suffit de la désactiver "
1241
  "et de la réactiver"
1242
 
1243
- #: wd-instagram-feed.php:139
1244
  msgid "Configure"
1245
  msgstr "Configurer"
1246
 
1247
- #: wd-instagram-feed.php:142
1248
  msgid "Customize"
1249
  msgstr "Personnaliser"
1250
 
1251
- #: wd-instagram-feed.php:177
1252
  msgid "Instagram Feed WD"
1253
  msgstr "Instagram Feed WD"
1254
 
1255
- #: wd-instagram-feed.php:180
1256
  msgid "Themes"
1257
  msgstr "Thèmes"
1258
 
1259
- #: wd-instagram-feed.php:181
1260
  msgid "Settings"
1261
  msgstr "Réglages"
1262
 
1263
- #: wd-instagram-feed.php:184
1264
  msgid "Upgrade to Pro"
1265
  msgstr ""
1266
 
1267
- #: wd-instagram-feed.php:185
1268
  msgid "Uninstall"
1269
  msgstr "Désinstaller"
1270
 
1271
- #: wd-instagram-feed.php:274
1272
  msgid "All the data will be removed from the database. Continue?"
1273
  msgstr ""
1274
  "Toutes les données seront supprimées de la base de données. Continuer ?"
1275
 
1276
- #: wd-instagram-feed.php:275
1277
  msgid "Some error with instagram servers, try agian later :("
1278
  msgstr "Erreur avec les serveurs Instagram, veuillez ré-essayer plus tard :("
1279
 
1280
- #: wd-instagram-feed.php:276
1281
  msgid "Invalid user:"
1282
  msgstr "Utilisateur incorrect :"
1283
 
1284
- #: wd-instagram-feed.php:277
1285
  msgid "already added!"
1286
  msgstr "déjà ajouté!"
1287
 
1288
- #: wd-instagram-feed.php:278
1289
  #, php-format
1290
  msgid "User %s does not exist."
1291
  msgstr ""
1292
 
1293
- #: wd-instagram-feed.php:279
1294
  msgid "Network Error, please try again later. :("
1295
  msgstr "Erreur réseau, veuillez ré-essayer plus tard :("
1296
 
1297
- #: wd-instagram-feed.php:280
1298
  msgid "Invalid hashtag"
1299
  msgstr "Hashtag invalide"
1300
 
1301
- #: wd-instagram-feed.php:281
1302
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1303
  msgstr ""
1304
  "Ce hashtag ne contient aucun post. Êtes-vous sûr de vouloir l'ajouter ?"
1305
 
1306
- #: wd-instagram-feed.php:282
1307
  msgid "You can add only one username or hashtag in FREE Version"
1308
  msgstr ""
1309
  "Vous ne pouvez ajouter qu'un nom d'utilisateur ou hastag en version gratuite"
1310
 
1311
- #: wd-instagram-feed.php:283
1312
  msgid "Available in PRO"
1313
  msgstr "Disponible en version PRO"
1314
 
1315
- #: wd-instagram-feed.php:284
1316
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1317
  msgstr ""
1318
  "Combinaisons de nom d'utilisateur et hastags disponibles en version PRO"
1319
 
1320
- #: wd-instagram-feed.php:285
1321
  msgid "Customizing Themes is available only in PRO version"
1322
  msgstr "Personnalisation des thèmes disponible en version PRO"
1323
 
1324
- #: wd-instagram-feed.php:286
1325
  msgid "URL is not valid"
1326
  msgstr "URL non valide"
1327
 
1328
- #: wd-instagram-feed.php:287
1329
  msgid "Please Select Condition Type"
1330
  msgstr "Veuillez sélectionner le type de condition"
1331
 
1332
- #: wd-instagram-feed.php:288
1333
  msgid "Show Posts Which Have All Of The Conditions"
1334
  msgstr "Montrer les posts qui répondent à toutes les conditions"
1335
 
1336
- #: wd-instagram-feed.php:289
1337
  msgid "Show Posts Which Have At Least One Of The Conditions"
1338
  msgstr "Montrer les posts qui répondent au moins à une condition"
1339
 
1340
- #: wd-instagram-feed.php:290
1341
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1342
  msgstr "Masquer les posts qui répondent au mois à une condition"
1343
 
1344
- #: wd-instagram-feed.php:291
1345
  msgid "EITHER"
1346
  msgstr "OU"
1347
 
1348
- #: wd-instagram-feed.php:292
1349
  msgid "NEITHER"
1350
  msgstr "AUCUN"
1351
 
1352
- #: wd-instagram-feed.php:293
1353
  msgid "EXCEPT"
1354
  msgstr "SAUF"
1355
 
1356
- #: wd-instagram-feed.php:294
1357
  msgid "AND"
1358
  msgstr "ET"
1359
 
1360
- #: wd-instagram-feed.php:295
1361
  msgid "OR"
1362
  msgstr "OU"
1363
 
1364
- #: wd-instagram-feed.php:296
1365
  msgid "NOR"
1366
  msgstr "NI"
1367
 
1368
- #: wd-instagram-feed.php:467
1369
  msgid ""
1370
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1371
  "plugin allows you to display image feeds from single or multiple Instagram "
1372
  "accounts on a WordPress site."
1373
  msgstr ""
1374
 
1375
- #: wd-instagram-feed.php:471
1376
  msgid "Responsive"
1377
  msgstr ""
1378
 
1379
- #: wd-instagram-feed.php:472
1380
  msgid ""
1381
  "Instagram feeds are not only elegantly designed to be displayed on your "
1382
  "website, but also come fully responsive for better user experience when "
1383
  "using mobile devices and tables."
1384
  msgstr ""
1385
 
1386
- #: wd-instagram-feed.php:476
1387
  msgid ""
1388
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1389
  "keep your pages and posts SEO-optimized."
1390
  msgstr ""
1391
 
1392
- #: wd-instagram-feed.php:479
1393
  msgid "4 Fully Customizable Layouts"
1394
  msgstr ""
1395
 
1396
- #: wd-instagram-feed.php:480
1397
  msgid ""
1398
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1399
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1405,11 +1410,11 @@ msgid ""
1405
  "etc."
1406
  msgstr ""
1407
 
1408
- #: wd-instagram-feed.php:483
1409
  msgid "Individual and Mixed Feeds"
1410
  msgstr ""
1411
 
1412
- #: wd-instagram-feed.php:484
1413
  msgid ""
1414
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1415
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1418,11 +1423,11 @@ msgid ""
1418
  "feed based on a single hashtag or account."
1419
  msgstr ""
1420
 
1421
- #: wd-instagram-feed.php:487
1422
  msgid "Advanced Lightbox"
1423
  msgstr ""
1424
 
1425
- #: wd-instagram-feed.php:488
1426
  msgid ""
1427
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1428
  "you will find control buttons for displaying images in larger view, read "
@@ -1432,51 +1437,51 @@ msgid ""
1432
  "within the lightbox as an HTML5 video."
1433
  msgstr ""
1434
 
1435
- #: wd-instagram-feed.php:494
1436
  msgid "Installation and configuration"
1437
  msgstr ""
1438
 
1439
- #: wd-instagram-feed.php:498
1440
  msgid "Getting Instagram Access Token"
1441
  msgstr ""
1442
 
1443
- #: wd-instagram-feed.php:504
1444
  msgid "Creating an Instagram Feed"
1445
  msgstr ""
1446
 
1447
- #: wd-instagram-feed.php:508
1448
  msgid "Thumbnails and Masonry Layouts"
1449
  msgstr ""
1450
 
1451
- #: wd-instagram-feed.php:512
1452
  msgid "Blog Style Layout"
1453
  msgstr ""
1454
 
1455
- #: wd-instagram-feed.php:516
1456
  msgid "Image Browser"
1457
  msgstr ""
1458
 
1459
- #: wd-instagram-feed.php:530
1460
  msgid "Publishing Instagram Feed"
1461
  msgstr ""
1462
 
1463
- #: wd-instagram-feed.php:534
1464
  msgid "Publishing in a Page/Post"
1465
  msgstr ""
1466
 
1467
- #: wd-instagram-feed.php:538
1468
  msgid "Publishing as a Widget"
1469
  msgstr ""
1470
 
1471
- #: wd-instagram-feed.php:542
1472
  msgid "Publishing by PHP function"
1473
  msgstr ""
1474
 
1475
- #: wd-instagram-feed.php:548
1476
  msgid "Styling with Themes"
1477
  msgstr ""
1478
 
1479
- #: wd-instagram-feed.php:553
1480
  msgid "Advanced customizing options"
1481
  msgstr ""
1482
 
@@ -1822,3 +1827,6 @@ msgstr ""
1822
  #: wd/wd.php:74
1823
  msgid "Overview"
1824
  msgstr ""
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr\n"
179
  msgid "Support Forum"
180
  msgstr ""
181
 
182
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
183
  msgid "Feeds"
184
  msgstr "Flux"
185
 
435
  msgstr "Voir Description"
436
 
437
  #: admin/views/WDIViewFeeds_wdi.php:222
438
+ #: frontend/views/WDIViewGalleryBox.php:2333
439
  msgid "Show Comments"
440
  msgstr "Voir Commentaires"
441
 
661
  msgid "Feed Settings"
662
  msgstr "Réglages du flux"
663
 
664
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
665
  msgid "Lightbox Settings"
666
  msgstr "Réglages Lightbox"
667
 
668
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
669
+ #: wd-instagram-feed.php:525
670
  msgid "Conditional Filters"
671
  msgstr "Filtres Conditionnels"
672
 
719
  msgid "Responsive Design and Layout"
720
  msgstr "Responsive Design and Mise en page"
721
 
722
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
723
  msgid "SEO Friendly"
724
  msgstr "Optimisé pour le référencement"
725
 
1011
  msgstr "Access Token incorrect, veuillez le vérifier"
1012
 
1013
  #: frontend/shortcode.php:67
1014
+ msgid "Feed with such ID does not exist"
1015
+ msgstr ""
1016
 
1017
  #: frontend/shortcode.php:89
1018
  msgid "Unable to display unpublished feed "
1022
  msgid "Invalid feed type"
1023
  msgstr "Type de flux invalide"
1024
 
1025
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1026
  msgid "Connection Error, try again later :("
1027
  msgstr "Erreur de connexion, ré-essayez plus tard :("
1028
 
1029
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1030
  msgid "Username not found"
1031
  msgstr "Nom d'utilisateur non trouvé"
1032
 
1033
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1034
  msgid "Network error, please try again later :("
1035
  msgstr "Erreur réseau, ré-essayez plus tard :("
1036
 
1037
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1038
  msgid "There is no data for that hashtag"
1039
  msgstr "Pas de données pour ce hashtag"
1040
 
1041
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1042
  msgid "Click to filter images by this user"
1043
  msgstr "Cliquer pour filtrer les images de cet utilisateur"
1044
 
1045
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1046
  msgid "Field is required."
1047
  msgstr "Champ requis."
1048
 
1049
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1050
  #: frontend/views/WDIViewGalleryBox.php:1342
1051
  msgid "This is not a valid email address."
1052
  msgstr "Adresse email invalide."
1053
 
1054
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1055
  msgid "There are no images matching your search."
1056
  msgstr "Aucune image correspondant à votre recherche."
1057
 
1058
+ #: frontend/shortcode.php:260
1059
+ msgid ""
1060
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1061
+ "+Shift+J or Cmd+Shift+J on a Mac."
1062
+ msgstr ""
1063
+
1064
+ #: frontend/shortcode.php:261
1065
+ msgid ""
1066
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1067
+ "properly."
1068
+ msgstr ""
1069
+
1070
  #: frontend/views/WDIViewGalleryBox.php:1013
1071
  msgid "The image has been deleted."
1072
  msgstr "Image supprimée."
1073
 
1074
  #: frontend/views/WDIViewGalleryBox.php:1034
1075
+ #: frontend/views/WDIViewGalleryBox.php:2890
1076
  msgid "Play"
1077
  msgstr "Lire"
1078
 
1079
  #: frontend/views/WDIViewGalleryBox.php:1038
1080
+ #: frontend/views/WDIViewGalleryBox.php:2161
1081
+ #: frontend/views/WDIViewGalleryBox.php:2717
1082
+ #: frontend/views/WDIViewGalleryBox.php:2814
1083
  msgid "Maximize"
1084
  msgstr "Agrandir"
1085
 
1086
  #: frontend/views/WDIViewGalleryBox.php:1042
1087
+ #: frontend/views/WDIViewGalleryBox.php:2163
1088
+ #: frontend/views/WDIViewGalleryBox.php:2816
1089
  msgid "Fullscreen"
1090
  msgstr "Plein Écran"
1091
 
1092
  #: frontend/views/WDIViewGalleryBox.php:1044
1093
+ #: frontend/views/WDIViewGalleryBox.php:2581
1094
  msgid "Show info"
1095
  msgstr "Voir l'information"
1096
 
1099
  msgstr "Voir les commentaires"
1100
 
1101
  #: frontend/views/WDIViewGalleryBox.php:1048
1102
+ #: frontend/views/WDIViewGalleryBox.php:2594
1103
  msgid "Show rating"
1104
  msgstr "Voir le score"
1105
 
1145
  msgstr "Erreur. Code de vérification incorrect."
1146
 
1147
  #: frontend/views/WDIViewGalleryBox.php:1350
1148
+ #: frontend/views/WDIViewGalleryBox.php:2381
1149
  msgid "Hide Comments"
1150
  msgstr "Masquer les commentaires"
1151
 
1174
  msgstr "Votre commentaire est en attente de modération"
1175
 
1176
  #: frontend/views/WDIViewGalleryBox.php:1404
1177
+ #: frontend/views/WDIViewGalleryBox.php:2066
1178
+ #: frontend/views/WDIViewGalleryBox.php:2391
1179
  msgid "There are no comments to show"
1180
  msgstr "Aucun commentaire à afficher"
1181
 
1182
+ #: frontend/views/WDIViewGalleryBox.php:2567
1183
  msgid "Hide info"
1184
  msgstr "Masquer l'information"
1185
 
1186
+ #: frontend/views/WDIViewGalleryBox.php:2590
1187
  msgid "Hide rating"
1188
  msgstr "Masquer le score"
1189
 
1190
+ #: frontend/views/WDIViewGalleryBox.php:2754
1191
+ #: frontend/views/WDIViewGalleryBox.php:2974
1192
  msgid "Restore"
1193
  msgstr "Restaurer"
1194
 
1195
+ #: frontend/views/WDIViewGalleryBox.php:2869
1196
  msgid "Exit Fullscreen"
1197
  msgstr "Sortir du mode Plein-Écran"
1198
 
1199
+ #: frontend/views/WDIViewGalleryBox.php:2884
1200
+ #: frontend/views/WDIViewGalleryBox.php:2901
1201
  msgid "Pause"
1202
  msgstr "Pause"
1203
 
1204
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1205
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1206
+ #: frontend/views/WDIViewThumbnails_view.php:44
1207
+ #: frontend/views/WDIViewThumbnails_view.php:60
1208
  msgid "First Page"
1209
  msgstr "Première page"
1210
 
1211
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1212
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1213
+ #: frontend/views/WDIViewThumbnails_view.php:44
1214
+ #: frontend/views/WDIViewThumbnails_view.php:60
1215
  msgid "Previous Page"
1216
  msgstr "Page Précédente"
1217
 
1218
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1219
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1220
+ #: frontend/views/WDIViewThumbnails_view.php:44
1221
+ #: frontend/views/WDIViewThumbnails_view.php:60
1222
  msgid "Next Page"
1223
  msgstr "Page Suivante"
1224
 
1225
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1226
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1227
+ #: frontend/views/WDIViewThumbnails_view.php:44
1228
+ #: frontend/views/WDIViewThumbnails_view.php:60
1229
  msgid "Last Page"
1230
  msgstr "Dernière Page"
1231
 
1232
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1233
+ #: frontend/views/WDIViewThumbnails_view.php:53
1234
  msgid "Load More"
1235
  msgstr "Voir Plus"
1236
 
 
 
 
 
 
 
 
1237
  #: templates/plugin-uninstalled.php:28
1238
  msgid "you have uninstalled"
1239
  msgstr "vous avez désinstallé"
1245
  "extention, si vous voulez l'utiliser à nouveau, il suffit de la désactiver "
1246
  "et de la réactiver"
1247
 
1248
+ #: wd-instagram-feed.php:140
1249
  msgid "Configure"
1250
  msgstr "Configurer"
1251
 
1252
+ #: wd-instagram-feed.php:143
1253
  msgid "Customize"
1254
  msgstr "Personnaliser"
1255
 
1256
+ #: wd-instagram-feed.php:178
1257
  msgid "Instagram Feed WD"
1258
  msgstr "Instagram Feed WD"
1259
 
1260
+ #: wd-instagram-feed.php:181
1261
  msgid "Themes"
1262
  msgstr "Thèmes"
1263
 
1264
+ #: wd-instagram-feed.php:182
1265
  msgid "Settings"
1266
  msgstr "Réglages"
1267
 
1268
+ #: wd-instagram-feed.php:185
1269
  msgid "Upgrade to Pro"
1270
  msgstr ""
1271
 
1272
+ #: wd-instagram-feed.php:186
1273
  msgid "Uninstall"
1274
  msgstr "Désinstaller"
1275
 
1276
+ #: wd-instagram-feed.php:275
1277
  msgid "All the data will be removed from the database. Continue?"
1278
  msgstr ""
1279
  "Toutes les données seront supprimées de la base de données. Continuer ?"
1280
 
1281
+ #: wd-instagram-feed.php:276
1282
  msgid "Some error with instagram servers, try agian later :("
1283
  msgstr "Erreur avec les serveurs Instagram, veuillez ré-essayer plus tard :("
1284
 
1285
+ #: wd-instagram-feed.php:277
1286
  msgid "Invalid user:"
1287
  msgstr "Utilisateur incorrect :"
1288
 
1289
+ #: wd-instagram-feed.php:278
1290
  msgid "already added!"
1291
  msgstr "déjà ajouté!"
1292
 
1293
+ #: wd-instagram-feed.php:279
1294
  #, php-format
1295
  msgid "User %s does not exist."
1296
  msgstr ""
1297
 
1298
+ #: wd-instagram-feed.php:280
1299
  msgid "Network Error, please try again later. :("
1300
  msgstr "Erreur réseau, veuillez ré-essayer plus tard :("
1301
 
1302
+ #: wd-instagram-feed.php:281
1303
  msgid "Invalid hashtag"
1304
  msgstr "Hashtag invalide"
1305
 
1306
+ #: wd-instagram-feed.php:282
1307
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1308
  msgstr ""
1309
  "Ce hashtag ne contient aucun post. Êtes-vous sûr de vouloir l'ajouter ?"
1310
 
1311
+ #: wd-instagram-feed.php:283
1312
  msgid "You can add only one username or hashtag in FREE Version"
1313
  msgstr ""
1314
  "Vous ne pouvez ajouter qu'un nom d'utilisateur ou hastag en version gratuite"
1315
 
1316
+ #: wd-instagram-feed.php:284
1317
  msgid "Available in PRO"
1318
  msgstr "Disponible en version PRO"
1319
 
1320
+ #: wd-instagram-feed.php:285
1321
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1322
  msgstr ""
1323
  "Combinaisons de nom d'utilisateur et hastags disponibles en version PRO"
1324
 
1325
+ #: wd-instagram-feed.php:286
1326
  msgid "Customizing Themes is available only in PRO version"
1327
  msgstr "Personnalisation des thèmes disponible en version PRO"
1328
 
1329
+ #: wd-instagram-feed.php:287
1330
  msgid "URL is not valid"
1331
  msgstr "URL non valide"
1332
 
1333
+ #: wd-instagram-feed.php:288
1334
  msgid "Please Select Condition Type"
1335
  msgstr "Veuillez sélectionner le type de condition"
1336
 
1337
+ #: wd-instagram-feed.php:289
1338
  msgid "Show Posts Which Have All Of The Conditions"
1339
  msgstr "Montrer les posts qui répondent à toutes les conditions"
1340
 
1341
+ #: wd-instagram-feed.php:290
1342
  msgid "Show Posts Which Have At Least One Of The Conditions"
1343
  msgstr "Montrer les posts qui répondent au moins à une condition"
1344
 
1345
+ #: wd-instagram-feed.php:291
1346
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1347
  msgstr "Masquer les posts qui répondent au mois à une condition"
1348
 
1349
+ #: wd-instagram-feed.php:292
1350
  msgid "EITHER"
1351
  msgstr "OU"
1352
 
1353
+ #: wd-instagram-feed.php:293
1354
  msgid "NEITHER"
1355
  msgstr "AUCUN"
1356
 
1357
+ #: wd-instagram-feed.php:294
1358
  msgid "EXCEPT"
1359
  msgstr "SAUF"
1360
 
1361
+ #: wd-instagram-feed.php:295
1362
  msgid "AND"
1363
  msgstr "ET"
1364
 
1365
+ #: wd-instagram-feed.php:296
1366
  msgid "OR"
1367
  msgstr "OU"
1368
 
1369
+ #: wd-instagram-feed.php:297
1370
  msgid "NOR"
1371
  msgstr "NI"
1372
 
1373
+ #: wd-instagram-feed.php:468
1374
  msgid ""
1375
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1376
  "plugin allows you to display image feeds from single or multiple Instagram "
1377
  "accounts on a WordPress site."
1378
  msgstr ""
1379
 
1380
+ #: wd-instagram-feed.php:472
1381
  msgid "Responsive"
1382
  msgstr ""
1383
 
1384
+ #: wd-instagram-feed.php:473
1385
  msgid ""
1386
  "Instagram feeds are not only elegantly designed to be displayed on your "
1387
  "website, but also come fully responsive for better user experience when "
1388
  "using mobile devices and tables."
1389
  msgstr ""
1390
 
1391
+ #: wd-instagram-feed.php:477
1392
  msgid ""
1393
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1394
  "keep your pages and posts SEO-optimized."
1395
  msgstr ""
1396
 
1397
+ #: wd-instagram-feed.php:480
1398
  msgid "4 Fully Customizable Layouts"
1399
  msgstr ""
1400
 
1401
+ #: wd-instagram-feed.php:481
1402
  msgid ""
1403
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1404
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1410
  "etc."
1411
  msgstr ""
1412
 
1413
+ #: wd-instagram-feed.php:484
1414
  msgid "Individual and Mixed Feeds"
1415
  msgstr ""
1416
 
1417
+ #: wd-instagram-feed.php:485
1418
  msgid ""
1419
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1420
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1423
  "feed based on a single hashtag or account."
1424
  msgstr ""
1425
 
1426
+ #: wd-instagram-feed.php:488
1427
  msgid "Advanced Lightbox"
1428
  msgstr ""
1429
 
1430
+ #: wd-instagram-feed.php:489
1431
  msgid ""
1432
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1433
  "you will find control buttons for displaying images in larger view, read "
1437
  "within the lightbox as an HTML5 video."
1438
  msgstr ""
1439
 
1440
+ #: wd-instagram-feed.php:495
1441
  msgid "Installation and configuration"
1442
  msgstr ""
1443
 
1444
+ #: wd-instagram-feed.php:499
1445
  msgid "Getting Instagram Access Token"
1446
  msgstr ""
1447
 
1448
+ #: wd-instagram-feed.php:505
1449
  msgid "Creating an Instagram Feed"
1450
  msgstr ""
1451
 
1452
+ #: wd-instagram-feed.php:509
1453
  msgid "Thumbnails and Masonry Layouts"
1454
  msgstr ""
1455
 
1456
+ #: wd-instagram-feed.php:513
1457
  msgid "Blog Style Layout"
1458
  msgstr ""
1459
 
1460
+ #: wd-instagram-feed.php:517
1461
  msgid "Image Browser"
1462
  msgstr ""
1463
 
1464
+ #: wd-instagram-feed.php:531
1465
  msgid "Publishing Instagram Feed"
1466
  msgstr ""
1467
 
1468
+ #: wd-instagram-feed.php:535
1469
  msgid "Publishing in a Page/Post"
1470
  msgstr ""
1471
 
1472
+ #: wd-instagram-feed.php:539
1473
  msgid "Publishing as a Widget"
1474
  msgstr ""
1475
 
1476
+ #: wd-instagram-feed.php:543
1477
  msgid "Publishing by PHP function"
1478
  msgstr ""
1479
 
1480
+ #: wd-instagram-feed.php:549
1481
  msgid "Styling with Themes"
1482
  msgstr ""
1483
 
1484
+ #: wd-instagram-feed.php:554
1485
  msgid "Advanced customizing options"
1486
  msgstr ""
1487
 
1827
  #: wd/wd.php:74
1828
  msgid "Overview"
1829
  msgstr ""
1830
+
1831
+ #~ msgid "Feed Doesn't exists "
1832
+ #~ msgstr "Flux non existant"
languages/wd-instagram-feed-ru_RU.mo ADDED
Binary file
languages/{wdi-ru_RU.po → wd-instagram-feed-ru_RU.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:34+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:34+0400\n"
6
  "Last-Translator: Alex Petrin <shoroop.spb@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
@@ -179,7 +179,7 @@ msgstr ""
179
  msgid "Support Forum"
180
  msgstr ""
181
 
182
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
183
  msgid "Feeds"
184
  msgstr "Фиды"
185
 
@@ -437,7 +437,7 @@ msgid "Show Description"
437
  msgstr "Показать описание"
438
 
439
  #: admin/views/WDIViewFeeds_wdi.php:222
440
- #: frontend/views/WDIViewGalleryBox.php:2340
441
  msgid "Show Comments"
442
  msgstr "Показать комментарии"
443
 
@@ -665,12 +665,12 @@ msgstr "Доступно в PRO-версии"
665
  msgid "Feed Settings"
666
  msgstr "Настройки фида"
667
 
668
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
669
  msgid "Lightbox Settings"
670
  msgstr "Настройки лайтбокса"
671
 
672
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
673
- #: wd-instagram-feed.php:524
674
  msgid "Conditional Filters"
675
  msgstr "Фильтры по содержимому"
676
 
@@ -721,7 +721,7 @@ msgstr "Готово"
721
  msgid "Responsive Design and Layout"
722
  msgstr "\"Резиновые\" дизайн и разметка"
723
 
724
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
725
  msgid "SEO Friendly"
726
  msgstr "Готово для SEO"
727
 
@@ -843,7 +843,7 @@ msgstr ""
843
 
844
  #: admin/views/WDIViewSettings_wdi.php:53
845
  msgid "Instagram WD Settings"
846
- msgstr "Instagram WD Widget"
847
 
848
  #: admin/views/WDIViewSettings_wdi.php:58
849
  msgid "Reset Access Token and Username"
@@ -1012,8 +1012,8 @@ msgid "Access Token is invalid, please get it again "
1012
  msgstr "Токен авторизации недействителен. Пожалуйста, получите новый токен"
1013
 
1014
  #: frontend/shortcode.php:67
1015
- msgid "Feed Doesn't exists "
1016
- msgstr "Фид не существует"
1017
 
1018
  #: frontend/shortcode.php:89
1019
  msgid "Unable to display unpublished feed "
@@ -1023,63 +1023,75 @@ msgstr "Отображение неопубликованного фида не
1023
  msgid "Invalid feed type"
1024
  msgstr "Неверный тип фида"
1025
 
1026
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1027
  msgid "Connection Error, try again later :("
1028
  msgstr "Ошибка соединения. Пожалуйста, попробуйте позднее :С"
1029
 
1030
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1031
  msgid "Username not found"
1032
  msgstr "Пользователь не найден"
1033
 
1034
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1035
  msgid "Network error, please try again later :("
1036
  msgstr "Ошибка соединения с Сетью. Пожалуйста, попробуйте позднее :С"
1037
 
1038
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1039
  msgid "There is no data for that hashtag"
1040
  msgstr "По этому хэштегу нет данных"
1041
 
1042
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1043
  msgid "Click to filter images by this user"
1044
  msgstr "Кликните для фильтрации изображений по этому имени пользователя"
1045
 
1046
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1047
  msgid "Field is required."
1048
  msgstr "Поле обязательно для заполнения."
1049
 
1050
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1051
  #: frontend/views/WDIViewGalleryBox.php:1342
1052
  msgid "This is not a valid email address."
1053
  msgstr "Это неправильный адрес электронной почты."
1054
 
1055
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1056
  msgid "There are no images matching your search."
1057
  msgstr "По вашему поиску изображений не найдено"
1058
 
 
 
 
 
 
 
 
 
 
 
 
 
1059
  #: frontend/views/WDIViewGalleryBox.php:1013
1060
  msgid "The image has been deleted."
1061
  msgstr "Изображение было удалено."
1062
 
1063
  #: frontend/views/WDIViewGalleryBox.php:1034
1064
- #: frontend/views/WDIViewGalleryBox.php:2897
1065
  msgid "Play"
1066
  msgstr "Старт"
1067
 
1068
  #: frontend/views/WDIViewGalleryBox.php:1038
1069
- #: frontend/views/WDIViewGalleryBox.php:2168
1070
- #: frontend/views/WDIViewGalleryBox.php:2724
1071
- #: frontend/views/WDIViewGalleryBox.php:2821
1072
  msgid "Maximize"
1073
  msgstr "Увеличить"
1074
 
1075
  #: frontend/views/WDIViewGalleryBox.php:1042
1076
- #: frontend/views/WDIViewGalleryBox.php:2170
1077
- #: frontend/views/WDIViewGalleryBox.php:2823
1078
  msgid "Fullscreen"
1079
  msgstr "Во весь экран"
1080
 
1081
  #: frontend/views/WDIViewGalleryBox.php:1044
1082
- #: frontend/views/WDIViewGalleryBox.php:2588
1083
  msgid "Show info"
1084
  msgstr "Показать информацию"
1085
 
@@ -1088,7 +1100,7 @@ msgid "Show comments"
1088
  msgstr "Показать комментарии"
1089
 
1090
  #: frontend/views/WDIViewGalleryBox.php:1048
1091
- #: frontend/views/WDIViewGalleryBox.php:2601
1092
  msgid "Show rating"
1093
  msgstr "Показать рейтинг"
1094
 
@@ -1134,7 +1146,7 @@ msgid "Error. Incorrect Verification Code."
1134
  msgstr "Ошибка. Неправильный код подтверждения."
1135
 
1136
  #: frontend/views/WDIViewGalleryBox.php:1350
1137
- #: frontend/views/WDIViewGalleryBox.php:2388
1138
  msgid "Hide Comments"
1139
  msgstr "Скрыть комментарии"
1140
 
@@ -1163,73 +1175,66 @@ msgid "Your comment is awaiting moderation"
1163
  msgstr "Ваш комментарий на модерации"
1164
 
1165
  #: frontend/views/WDIViewGalleryBox.php:1404
1166
- #: frontend/views/WDIViewGalleryBox.php:2073
1167
- #: frontend/views/WDIViewGalleryBox.php:2398
1168
  msgid "There are no comments to show"
1169
  msgstr "Комменты для отображения отсутствуют"
1170
 
1171
- #: frontend/views/WDIViewGalleryBox.php:2574
1172
  msgid "Hide info"
1173
  msgstr "Скрыть информацию"
1174
 
1175
- #: frontend/views/WDIViewGalleryBox.php:2597
1176
  msgid "Hide rating"
1177
  msgstr "Скрыть рейтинг"
1178
 
1179
- #: frontend/views/WDIViewGalleryBox.php:2761
1180
- #: frontend/views/WDIViewGalleryBox.php:2981
1181
  msgid "Restore"
1182
  msgstr "Восстановить"
1183
 
1184
- #: frontend/views/WDIViewGalleryBox.php:2876
1185
  msgid "Exit Fullscreen"
1186
  msgstr "Выход из полноэкранного вида"
1187
 
1188
- #: frontend/views/WDIViewGalleryBox.php:2891
1189
- #: frontend/views/WDIViewGalleryBox.php:2908
1190
  msgid "Pause"
1191
  msgstr "Пауза"
1192
 
1193
- #: frontend/views/WDIViewImageBrowser_view.php:39
1194
- #: frontend/views/WDIViewImageBrowser_view.php:51
1195
- #: frontend/views/WDIViewThumbnails_view.php:42
1196
- #: frontend/views/WDIViewThumbnails_view.php:59
1197
  msgid "First Page"
1198
  msgstr "Первая страница"
1199
 
1200
- #: frontend/views/WDIViewImageBrowser_view.php:39
1201
- #: frontend/views/WDIViewImageBrowser_view.php:51
1202
- #: frontend/views/WDIViewThumbnails_view.php:42
1203
- #: frontend/views/WDIViewThumbnails_view.php:59
1204
  msgid "Previous Page"
1205
  msgstr "Предыдущая страница"
1206
 
1207
- #: frontend/views/WDIViewImageBrowser_view.php:39
1208
- #: frontend/views/WDIViewImageBrowser_view.php:51
1209
- #: frontend/views/WDIViewThumbnails_view.php:42
1210
- #: frontend/views/WDIViewThumbnails_view.php:59
1211
  msgid "Next Page"
1212
  msgstr "Следующая страница"
1213
 
1214
- #: frontend/views/WDIViewImageBrowser_view.php:39
1215
- #: frontend/views/WDIViewImageBrowser_view.php:51
1216
- #: frontend/views/WDIViewThumbnails_view.php:42
1217
- #: frontend/views/WDIViewThumbnails_view.php:59
1218
  msgid "Last Page"
1219
  msgstr "Последняя страница"
1220
 
1221
- #: frontend/views/WDIViewImageBrowser_view.php:46
1222
- #: frontend/views/WDIViewThumbnails_view.php:52
1223
  msgid "Load More"
1224
  msgstr "Еще..."
1225
 
1226
- #: frontend/views/WDIViewImageBrowser_view.php:60
1227
- #: frontend/views/WDIViewThumbnails_view.php:68
1228
- msgid ""
1229
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1230
- "+Shift+J or Cmd+Shift+J on a Mac."
1231
- msgstr ""
1232
-
1233
  #: templates/plugin-uninstalled.php:28
1234
  msgid "you have uninstalled"
1235
  msgstr "вы удалили"
@@ -1241,160 +1246,160 @@ msgstr ""
1241
  "плагин, если Вы хотите его использовать снова - просто деактивируйте и "
1242
  "активируйте его заново"
1243
 
1244
- #: wd-instagram-feed.php:139
1245
  msgid "Configure"
1246
  msgstr "Настройка"
1247
 
1248
- #: wd-instagram-feed.php:142
1249
  msgid "Customize"
1250
  msgstr "Кастомизация"
1251
 
1252
- #: wd-instagram-feed.php:177
1253
  msgid "Instagram Feed WD"
1254
  msgstr "WD Instagram Feed"
1255
 
1256
- #: wd-instagram-feed.php:180
1257
  msgid "Themes"
1258
  msgstr "Темы"
1259
 
1260
- #: wd-instagram-feed.php:181
1261
  msgid "Settings"
1262
  msgstr "Настройки"
1263
 
1264
- #: wd-instagram-feed.php:184
1265
  msgid "Upgrade to Pro"
1266
  msgstr ""
1267
 
1268
- #: wd-instagram-feed.php:185
1269
  msgid "Uninstall"
1270
  msgstr "Удалить"
1271
 
1272
- #: wd-instagram-feed.php:274
1273
  msgid "All the data will be removed from the database. Continue?"
1274
  msgstr "Все данные будут удалены из базы данных. Продолжить?"
1275
 
1276
- #: wd-instagram-feed.php:275
1277
  msgid "Some error with instagram servers, try agian later :("
1278
  msgstr "Ошибка сервера Инстаграма. Пожалуйста, попробуйте позже :("
1279
 
1280
- #: wd-instagram-feed.php:276
1281
  msgid "Invalid user:"
1282
  msgstr "Неверное имя пользователя"
1283
 
1284
- #: wd-instagram-feed.php:277
1285
  msgid "already added!"
1286
  msgstr "уже добавлено!"
1287
 
1288
- #: wd-instagram-feed.php:278
1289
  #, php-format
1290
  msgid "User %s does not exist."
1291
  msgstr ""
1292
 
1293
- #: wd-instagram-feed.php:279
1294
  msgid "Network Error, please try again later. :("
1295
  msgstr "Ошибка сети. Пожалуйста, попробуйте позже :("
1296
 
1297
- #: wd-instagram-feed.php:280
1298
  msgid "Invalid hashtag"
1299
  msgstr "Неверный хештег"
1300
 
1301
- #: wd-instagram-feed.php:281
1302
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1303
  msgstr "По этому хэштегу нет постов. Вы все равно хотите его добавить?"
1304
 
1305
- #: wd-instagram-feed.php:282
1306
  msgid "You can add only one username or hashtag in FREE Version"
1307
  msgstr ""
1308
  "В бесплатной версии можно добавить только одно имя пользователя или один "
1309
  "хэштег"
1310
 
1311
- #: wd-instagram-feed.php:283
1312
  msgid "Available in PRO"
1313
  msgstr "Доступно в PRO-версии"
1314
 
1315
- #: wd-instagram-feed.php:284
1316
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1317
  msgstr "Выбор нескольких пользователей/хэштегов доступен только в PRO-версии"
1318
 
1319
- #: wd-instagram-feed.php:285
1320
  msgid "Customizing Themes is available only in PRO version"
1321
  msgstr "Кастомизация тем доступна только в PRO-версии"
1322
 
1323
- #: wd-instagram-feed.php:286
1324
  msgid "URL is not valid"
1325
  msgstr "URL задан некорректно"
1326
 
1327
- #: wd-instagram-feed.php:287
1328
  msgid "Please Select Condition Type"
1329
  msgstr "Пожалуйста, выберите тип содержимого"
1330
 
1331
- #: wd-instagram-feed.php:288
1332
  msgid "Show Posts Which Have All Of The Conditions"
1333
  msgstr "Показывать посты, которые соответствуют всем фильтрам содержимого"
1334
 
1335
- #: wd-instagram-feed.php:289
1336
  msgid "Show Posts Which Have At Least One Of The Conditions"
1337
  msgstr ""
1338
  "Показывать посты, которые соответствуют хотя бы одному фильтру содержимого"
1339
 
1340
- #: wd-instagram-feed.php:290
1341
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1342
  msgstr ""
1343
  "Не показывать посты, которые соответствуют хотя бы одному фильтру содержимого"
1344
 
1345
- #: wd-instagram-feed.php:291
1346
  msgid "EITHER"
1347
  msgstr "ИЛИ"
1348
 
1349
- #: wd-instagram-feed.php:292
1350
  msgid "NEITHER"
1351
  msgstr "НИ"
1352
 
1353
- #: wd-instagram-feed.php:293
1354
  msgid "EXCEPT"
1355
  msgstr "КРОМЕ"
1356
 
1357
- #: wd-instagram-feed.php:294
1358
  msgid "AND"
1359
  msgstr "И"
1360
 
1361
- #: wd-instagram-feed.php:295
1362
  msgid "OR"
1363
  msgstr "ИЛИ"
1364
 
1365
- #: wd-instagram-feed.php:296
1366
  msgid "NOR"
1367
  msgstr "НИ"
1368
 
1369
- #: wd-instagram-feed.php:467
1370
  msgid ""
1371
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1372
  "plugin allows you to display image feeds from single or multiple Instagram "
1373
  "accounts on a WordPress site."
1374
  msgstr ""
1375
 
1376
- #: wd-instagram-feed.php:471
1377
  msgid "Responsive"
1378
  msgstr ""
1379
 
1380
- #: wd-instagram-feed.php:472
1381
  msgid ""
1382
  "Instagram feeds are not only elegantly designed to be displayed on your "
1383
  "website, but also come fully responsive for better user experience when "
1384
  "using mobile devices and tables."
1385
  msgstr ""
1386
 
1387
- #: wd-instagram-feed.php:476
1388
  msgid ""
1389
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1390
  "keep your pages and posts SEO-optimized."
1391
  msgstr ""
1392
 
1393
- #: wd-instagram-feed.php:479
1394
  msgid "4 Fully Customizable Layouts"
1395
  msgstr ""
1396
 
1397
- #: wd-instagram-feed.php:480
1398
  msgid ""
1399
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1400
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1406,11 +1411,11 @@ msgid ""
1406
  "etc."
1407
  msgstr ""
1408
 
1409
- #: wd-instagram-feed.php:483
1410
  msgid "Individual and Mixed Feeds"
1411
  msgstr ""
1412
 
1413
- #: wd-instagram-feed.php:484
1414
  msgid ""
1415
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1416
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1419,11 +1424,11 @@ msgid ""
1419
  "feed based on a single hashtag or account."
1420
  msgstr ""
1421
 
1422
- #: wd-instagram-feed.php:487
1423
  msgid "Advanced Lightbox"
1424
  msgstr ""
1425
 
1426
- #: wd-instagram-feed.php:488
1427
  msgid ""
1428
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1429
  "you will find control buttons for displaying images in larger view, read "
@@ -1433,51 +1438,51 @@ msgid ""
1433
  "within the lightbox as an HTML5 video."
1434
  msgstr ""
1435
 
1436
- #: wd-instagram-feed.php:494
1437
  msgid "Installation and configuration"
1438
  msgstr ""
1439
 
1440
- #: wd-instagram-feed.php:498
1441
  msgid "Getting Instagram Access Token"
1442
  msgstr ""
1443
 
1444
- #: wd-instagram-feed.php:504
1445
  msgid "Creating an Instagram Feed"
1446
  msgstr ""
1447
 
1448
- #: wd-instagram-feed.php:508
1449
  msgid "Thumbnails and Masonry Layouts"
1450
  msgstr ""
1451
 
1452
- #: wd-instagram-feed.php:512
1453
  msgid "Blog Style Layout"
1454
  msgstr ""
1455
 
1456
- #: wd-instagram-feed.php:516
1457
  msgid "Image Browser"
1458
  msgstr ""
1459
 
1460
- #: wd-instagram-feed.php:530
1461
  msgid "Publishing Instagram Feed"
1462
  msgstr ""
1463
 
1464
- #: wd-instagram-feed.php:534
1465
  msgid "Publishing in a Page/Post"
1466
  msgstr ""
1467
 
1468
- #: wd-instagram-feed.php:538
1469
  msgid "Publishing as a Widget"
1470
  msgstr ""
1471
 
1472
- #: wd-instagram-feed.php:542
1473
  msgid "Publishing by PHP function"
1474
  msgstr ""
1475
 
1476
- #: wd-instagram-feed.php:548
1477
  msgid "Styling with Themes"
1478
  msgstr ""
1479
 
1480
- #: wd-instagram-feed.php:553
1481
  msgid "Advanced customizing options"
1482
  msgstr ""
1483
 
@@ -1823,3 +1828,6 @@ msgstr ""
1823
  #: wd/wd.php:74
1824
  msgid "Overview"
1825
  msgstr ""
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: Alex Petrin <shoroop.spb@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: ru\n"
179
  msgid "Support Forum"
180
  msgstr ""
181
 
182
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
183
  msgid "Feeds"
184
  msgstr "Фиды"
185
 
437
  msgstr "Показать описание"
438
 
439
  #: admin/views/WDIViewFeeds_wdi.php:222
440
+ #: frontend/views/WDIViewGalleryBox.php:2333
441
  msgid "Show Comments"
442
  msgstr "Показать комментарии"
443
 
665
  msgid "Feed Settings"
666
  msgstr "Настройки фида"
667
 
668
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
669
  msgid "Lightbox Settings"
670
  msgstr "Настройки лайтбокса"
671
 
672
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
673
+ #: wd-instagram-feed.php:525
674
  msgid "Conditional Filters"
675
  msgstr "Фильтры по содержимому"
676
 
721
  msgid "Responsive Design and Layout"
722
  msgstr "\"Резиновые\" дизайн и разметка"
723
 
724
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
725
  msgid "SEO Friendly"
726
  msgstr "Готово для SEO"
727
 
843
 
844
  #: admin/views/WDIViewSettings_wdi.php:53
845
  msgid "Instagram WD Settings"
846
+ msgstr "Настройки Instagram WD"
847
 
848
  #: admin/views/WDIViewSettings_wdi.php:58
849
  msgid "Reset Access Token and Username"
1012
  msgstr "Токен авторизации недействителен. Пожалуйста, получите новый токен"
1013
 
1014
  #: frontend/shortcode.php:67
1015
+ msgid "Feed with such ID does not exist"
1016
+ msgstr ""
1017
 
1018
  #: frontend/shortcode.php:89
1019
  msgid "Unable to display unpublished feed "
1023
  msgid "Invalid feed type"
1024
  msgstr "Неверный тип фида"
1025
 
1026
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1027
  msgid "Connection Error, try again later :("
1028
  msgstr "Ошибка соединения. Пожалуйста, попробуйте позднее :С"
1029
 
1030
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1031
  msgid "Username not found"
1032
  msgstr "Пользователь не найден"
1033
 
1034
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1035
  msgid "Network error, please try again later :("
1036
  msgstr "Ошибка соединения с Сетью. Пожалуйста, попробуйте позднее :С"
1037
 
1038
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1039
  msgid "There is no data for that hashtag"
1040
  msgstr "По этому хэштегу нет данных"
1041
 
1042
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1043
  msgid "Click to filter images by this user"
1044
  msgstr "Кликните для фильтрации изображений по этому имени пользователя"
1045
 
1046
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1047
  msgid "Field is required."
1048
  msgstr "Поле обязательно для заполнения."
1049
 
1050
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1051
  #: frontend/views/WDIViewGalleryBox.php:1342
1052
  msgid "This is not a valid email address."
1053
  msgstr "Это неправильный адрес электронной почты."
1054
 
1055
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1056
  msgid "There are no images matching your search."
1057
  msgstr "По вашему поиску изображений не найдено"
1058
 
1059
+ #: frontend/shortcode.php:260
1060
+ msgid ""
1061
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1062
+ "+Shift+J or Cmd+Shift+J on a Mac."
1063
+ msgstr ""
1064
+
1065
+ #: frontend/shortcode.php:261
1066
+ msgid ""
1067
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1068
+ "properly."
1069
+ msgstr ""
1070
+
1071
  #: frontend/views/WDIViewGalleryBox.php:1013
1072
  msgid "The image has been deleted."
1073
  msgstr "Изображение было удалено."
1074
 
1075
  #: frontend/views/WDIViewGalleryBox.php:1034
1076
+ #: frontend/views/WDIViewGalleryBox.php:2890
1077
  msgid "Play"
1078
  msgstr "Старт"
1079
 
1080
  #: frontend/views/WDIViewGalleryBox.php:1038
1081
+ #: frontend/views/WDIViewGalleryBox.php:2161
1082
+ #: frontend/views/WDIViewGalleryBox.php:2717
1083
+ #: frontend/views/WDIViewGalleryBox.php:2814
1084
  msgid "Maximize"
1085
  msgstr "Увеличить"
1086
 
1087
  #: frontend/views/WDIViewGalleryBox.php:1042
1088
+ #: frontend/views/WDIViewGalleryBox.php:2163
1089
+ #: frontend/views/WDIViewGalleryBox.php:2816
1090
  msgid "Fullscreen"
1091
  msgstr "Во весь экран"
1092
 
1093
  #: frontend/views/WDIViewGalleryBox.php:1044
1094
+ #: frontend/views/WDIViewGalleryBox.php:2581
1095
  msgid "Show info"
1096
  msgstr "Показать информацию"
1097
 
1100
  msgstr "Показать комментарии"
1101
 
1102
  #: frontend/views/WDIViewGalleryBox.php:1048
1103
+ #: frontend/views/WDIViewGalleryBox.php:2594
1104
  msgid "Show rating"
1105
  msgstr "Показать рейтинг"
1106
 
1146
  msgstr "Ошибка. Неправильный код подтверждения."
1147
 
1148
  #: frontend/views/WDIViewGalleryBox.php:1350
1149
+ #: frontend/views/WDIViewGalleryBox.php:2381
1150
  msgid "Hide Comments"
1151
  msgstr "Скрыть комментарии"
1152
 
1175
  msgstr "Ваш комментарий на модерации"
1176
 
1177
  #: frontend/views/WDIViewGalleryBox.php:1404
1178
+ #: frontend/views/WDIViewGalleryBox.php:2066
1179
+ #: frontend/views/WDIViewGalleryBox.php:2391
1180
  msgid "There are no comments to show"
1181
  msgstr "Комменты для отображения отсутствуют"
1182
 
1183
+ #: frontend/views/WDIViewGalleryBox.php:2567
1184
  msgid "Hide info"
1185
  msgstr "Скрыть информацию"
1186
 
1187
+ #: frontend/views/WDIViewGalleryBox.php:2590
1188
  msgid "Hide rating"
1189
  msgstr "Скрыть рейтинг"
1190
 
1191
+ #: frontend/views/WDIViewGalleryBox.php:2754
1192
+ #: frontend/views/WDIViewGalleryBox.php:2974
1193
  msgid "Restore"
1194
  msgstr "Восстановить"
1195
 
1196
+ #: frontend/views/WDIViewGalleryBox.php:2869
1197
  msgid "Exit Fullscreen"
1198
  msgstr "Выход из полноэкранного вида"
1199
 
1200
+ #: frontend/views/WDIViewGalleryBox.php:2884
1201
+ #: frontend/views/WDIViewGalleryBox.php:2901
1202
  msgid "Pause"
1203
  msgstr "Пауза"
1204
 
1205
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1206
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1207
+ #: frontend/views/WDIViewThumbnails_view.php:44
1208
+ #: frontend/views/WDIViewThumbnails_view.php:60
1209
  msgid "First Page"
1210
  msgstr "Первая страница"
1211
 
1212
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1213
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1214
+ #: frontend/views/WDIViewThumbnails_view.php:44
1215
+ #: frontend/views/WDIViewThumbnails_view.php:60
1216
  msgid "Previous Page"
1217
  msgstr "Предыдущая страница"
1218
 
1219
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1220
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1221
+ #: frontend/views/WDIViewThumbnails_view.php:44
1222
+ #: frontend/views/WDIViewThumbnails_view.php:60
1223
  msgid "Next Page"
1224
  msgstr "Следующая страница"
1225
 
1226
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1227
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1228
+ #: frontend/views/WDIViewThumbnails_view.php:44
1229
+ #: frontend/views/WDIViewThumbnails_view.php:60
1230
  msgid "Last Page"
1231
  msgstr "Последняя страница"
1232
 
1233
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1234
+ #: frontend/views/WDIViewThumbnails_view.php:53
1235
  msgid "Load More"
1236
  msgstr "Еще..."
1237
 
 
 
 
 
 
 
 
1238
  #: templates/plugin-uninstalled.php:28
1239
  msgid "you have uninstalled"
1240
  msgstr "вы удалили"
1246
  "плагин, если Вы хотите его использовать снова - просто деактивируйте и "
1247
  "активируйте его заново"
1248
 
1249
+ #: wd-instagram-feed.php:140
1250
  msgid "Configure"
1251
  msgstr "Настройка"
1252
 
1253
+ #: wd-instagram-feed.php:143
1254
  msgid "Customize"
1255
  msgstr "Кастомизация"
1256
 
1257
+ #: wd-instagram-feed.php:178
1258
  msgid "Instagram Feed WD"
1259
  msgstr "WD Instagram Feed"
1260
 
1261
+ #: wd-instagram-feed.php:181
1262
  msgid "Themes"
1263
  msgstr "Темы"
1264
 
1265
+ #: wd-instagram-feed.php:182
1266
  msgid "Settings"
1267
  msgstr "Настройки"
1268
 
1269
+ #: wd-instagram-feed.php:185
1270
  msgid "Upgrade to Pro"
1271
  msgstr ""
1272
 
1273
+ #: wd-instagram-feed.php:186
1274
  msgid "Uninstall"
1275
  msgstr "Удалить"
1276
 
1277
+ #: wd-instagram-feed.php:275
1278
  msgid "All the data will be removed from the database. Continue?"
1279
  msgstr "Все данные будут удалены из базы данных. Продолжить?"
1280
 
1281
+ #: wd-instagram-feed.php:276
1282
  msgid "Some error with instagram servers, try agian later :("
1283
  msgstr "Ошибка сервера Инстаграма. Пожалуйста, попробуйте позже :("
1284
 
1285
+ #: wd-instagram-feed.php:277
1286
  msgid "Invalid user:"
1287
  msgstr "Неверное имя пользователя"
1288
 
1289
+ #: wd-instagram-feed.php:278
1290
  msgid "already added!"
1291
  msgstr "уже добавлено!"
1292
 
1293
+ #: wd-instagram-feed.php:279
1294
  #, php-format
1295
  msgid "User %s does not exist."
1296
  msgstr ""
1297
 
1298
+ #: wd-instagram-feed.php:280
1299
  msgid "Network Error, please try again later. :("
1300
  msgstr "Ошибка сети. Пожалуйста, попробуйте позже :("
1301
 
1302
+ #: wd-instagram-feed.php:281
1303
  msgid "Invalid hashtag"
1304
  msgstr "Неверный хештег"
1305
 
1306
+ #: wd-instagram-feed.php:282
1307
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1308
  msgstr "По этому хэштегу нет постов. Вы все равно хотите его добавить?"
1309
 
1310
+ #: wd-instagram-feed.php:283
1311
  msgid "You can add only one username or hashtag in FREE Version"
1312
  msgstr ""
1313
  "В бесплатной версии можно добавить только одно имя пользователя или один "
1314
  "хэштег"
1315
 
1316
+ #: wd-instagram-feed.php:284
1317
  msgid "Available in PRO"
1318
  msgstr "Доступно в PRO-версии"
1319
 
1320
+ #: wd-instagram-feed.php:285
1321
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1322
  msgstr "Выбор нескольких пользователей/хэштегов доступен только в PRO-версии"
1323
 
1324
+ #: wd-instagram-feed.php:286
1325
  msgid "Customizing Themes is available only in PRO version"
1326
  msgstr "Кастомизация тем доступна только в PRO-версии"
1327
 
1328
+ #: wd-instagram-feed.php:287
1329
  msgid "URL is not valid"
1330
  msgstr "URL задан некорректно"
1331
 
1332
+ #: wd-instagram-feed.php:288
1333
  msgid "Please Select Condition Type"
1334
  msgstr "Пожалуйста, выберите тип содержимого"
1335
 
1336
+ #: wd-instagram-feed.php:289
1337
  msgid "Show Posts Which Have All Of The Conditions"
1338
  msgstr "Показывать посты, которые соответствуют всем фильтрам содержимого"
1339
 
1340
+ #: wd-instagram-feed.php:290
1341
  msgid "Show Posts Which Have At Least One Of The Conditions"
1342
  msgstr ""
1343
  "Показывать посты, которые соответствуют хотя бы одному фильтру содержимого"
1344
 
1345
+ #: wd-instagram-feed.php:291
1346
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1347
  msgstr ""
1348
  "Не показывать посты, которые соответствуют хотя бы одному фильтру содержимого"
1349
 
1350
+ #: wd-instagram-feed.php:292
1351
  msgid "EITHER"
1352
  msgstr "ИЛИ"
1353
 
1354
+ #: wd-instagram-feed.php:293
1355
  msgid "NEITHER"
1356
  msgstr "НИ"
1357
 
1358
+ #: wd-instagram-feed.php:294
1359
  msgid "EXCEPT"
1360
  msgstr "КРОМЕ"
1361
 
1362
+ #: wd-instagram-feed.php:295
1363
  msgid "AND"
1364
  msgstr "И"
1365
 
1366
+ #: wd-instagram-feed.php:296
1367
  msgid "OR"
1368
  msgstr "ИЛИ"
1369
 
1370
+ #: wd-instagram-feed.php:297
1371
  msgid "NOR"
1372
  msgstr "НИ"
1373
 
1374
+ #: wd-instagram-feed.php:468
1375
  msgid ""
1376
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1377
  "plugin allows you to display image feeds from single or multiple Instagram "
1378
  "accounts on a WordPress site."
1379
  msgstr ""
1380
 
1381
+ #: wd-instagram-feed.php:472
1382
  msgid "Responsive"
1383
  msgstr ""
1384
 
1385
+ #: wd-instagram-feed.php:473
1386
  msgid ""
1387
  "Instagram feeds are not only elegantly designed to be displayed on your "
1388
  "website, but also come fully responsive for better user experience when "
1389
  "using mobile devices and tables."
1390
  msgstr ""
1391
 
1392
+ #: wd-instagram-feed.php:477
1393
  msgid ""
1394
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1395
  "keep your pages and posts SEO-optimized."
1396
  msgstr ""
1397
 
1398
+ #: wd-instagram-feed.php:480
1399
  msgid "4 Fully Customizable Layouts"
1400
  msgstr ""
1401
 
1402
+ #: wd-instagram-feed.php:481
1403
  msgid ""
1404
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1405
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1411
  "etc."
1412
  msgstr ""
1413
 
1414
+ #: wd-instagram-feed.php:484
1415
  msgid "Individual and Mixed Feeds"
1416
  msgstr ""
1417
 
1418
+ #: wd-instagram-feed.php:485
1419
  msgid ""
1420
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1421
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1424
  "feed based on a single hashtag or account."
1425
  msgstr ""
1426
 
1427
+ #: wd-instagram-feed.php:488
1428
  msgid "Advanced Lightbox"
1429
  msgstr ""
1430
 
1431
+ #: wd-instagram-feed.php:489
1432
  msgid ""
1433
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1434
  "you will find control buttons for displaying images in larger view, read "
1438
  "within the lightbox as an HTML5 video."
1439
  msgstr ""
1440
 
1441
+ #: wd-instagram-feed.php:495
1442
  msgid "Installation and configuration"
1443
  msgstr ""
1444
 
1445
+ #: wd-instagram-feed.php:499
1446
  msgid "Getting Instagram Access Token"
1447
  msgstr ""
1448
 
1449
+ #: wd-instagram-feed.php:505
1450
  msgid "Creating an Instagram Feed"
1451
  msgstr ""
1452
 
1453
+ #: wd-instagram-feed.php:509
1454
  msgid "Thumbnails and Masonry Layouts"
1455
  msgstr ""
1456
 
1457
+ #: wd-instagram-feed.php:513
1458
  msgid "Blog Style Layout"
1459
  msgstr ""
1460
 
1461
+ #: wd-instagram-feed.php:517
1462
  msgid "Image Browser"
1463
  msgstr ""
1464
 
1465
+ #: wd-instagram-feed.php:531
1466
  msgid "Publishing Instagram Feed"
1467
  msgstr ""
1468
 
1469
+ #: wd-instagram-feed.php:535
1470
  msgid "Publishing in a Page/Post"
1471
  msgstr ""
1472
 
1473
+ #: wd-instagram-feed.php:539
1474
  msgid "Publishing as a Widget"
1475
  msgstr ""
1476
 
1477
+ #: wd-instagram-feed.php:543
1478
  msgid "Publishing by PHP function"
1479
  msgstr ""
1480
 
1481
+ #: wd-instagram-feed.php:549
1482
  msgid "Styling with Themes"
1483
  msgstr ""
1484
 
1485
+ #: wd-instagram-feed.php:554
1486
  msgid "Advanced customizing options"
1487
  msgstr ""
1488
 
1828
  #: wd/wd.php:74
1829
  msgid "Overview"
1830
  msgstr ""
1831
+
1832
+ #~ msgid "Feed Doesn't exists "
1833
+ #~ msgstr "Фид не существует"
languages/wd-instagram-feed-sv_SE.mo ADDED
Binary file
languages/{wdi-sv_SE.po → wd-instagram-feed-sv_SE.po} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2017-03-30 18:34+0400\n"
5
- "PO-Revision-Date: 2017-03-30 18:35+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: sv_SE\n"
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
- #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:179
182
  msgid "Feeds"
183
  msgstr "Feeds"
184
 
@@ -431,7 +431,7 @@ msgid "Show Description"
431
  msgstr "Visa beskrivning"
432
 
433
  #: admin/views/WDIViewFeeds_wdi.php:222
434
- #: frontend/views/WDIViewGalleryBox.php:2340
435
  msgid "Show Comments"
436
  msgstr "Visa kommentarer"
437
 
@@ -657,12 +657,12 @@ msgstr "Tillgängliga till PRO-versionen"
657
  msgid "Feed Settings"
658
  msgstr "Feed-inställningar"
659
 
660
- #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:520
661
  msgid "Lightbox Settings"
662
  msgstr "Lightbox-inställningar"
663
 
664
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
665
- #: wd-instagram-feed.php:524
666
  msgid "Conditional Filters"
667
  msgstr "Villkorsfilter"
668
 
@@ -715,7 +715,7 @@ msgstr "redo"
715
  msgid "Responsive Design and Layout"
716
  msgstr "Responsiv Design och Layout"
717
 
718
- #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:475
719
  msgid "SEO Friendly"
720
  msgstr "SEO-anpassad"
721
 
@@ -1007,8 +1007,8 @@ msgid "Access Token is invalid, please get it again "
1007
  msgstr "Ogilitg åtkomsttoken. Försök igen"
1008
 
1009
  #: frontend/shortcode.php:67
1010
- msgid "Feed Doesn't exists "
1011
- msgstr "Feed existerar inte"
1012
 
1013
  #: frontend/shortcode.php:89
1014
  msgid "Unable to display unpublished feed "
@@ -1018,63 +1018,75 @@ msgstr "Kan ej visa opublicerad feed"
1018
  msgid "Invalid feed type"
1019
  msgstr "Ogiltig feed-typ"
1020
 
1021
- #: frontend/shortcode.php:159 frontend/shortcode.php:238
1022
  msgid "Connection Error, try again later :("
1023
  msgstr "Anslutningsfel. Vänligen försök senare :("
1024
 
1025
- #: frontend/shortcode.php:160 frontend/shortcode.php:239
1026
  msgid "Username not found"
1027
  msgstr "Användarnamn hittas inte"
1028
 
1029
- #: frontend/shortcode.php:161 frontend/shortcode.php:240
1030
  msgid "Network error, please try again later :("
1031
  msgstr "Anslutningsfel. Vänligen försök senare :("
1032
 
1033
- #: frontend/shortcode.php:162 frontend/shortcode.php:241
1034
  msgid "There is no data for that hashtag"
1035
  msgstr "Data saknas för den hashtagen"
1036
 
1037
- #: frontend/shortcode.php:163 frontend/shortcode.php:242
1038
  msgid "Click to filter images by this user"
1039
  msgstr "Klicka för att filtrera bilder från denna användare"
1040
 
1041
- #: frontend/shortcode.php:202 frontend/shortcode.php:254
1042
  msgid "Field is required."
1043
  msgstr "Fält obligatoriskt"
1044
 
1045
- #: frontend/shortcode.php:203 frontend/shortcode.php:255
1046
  #: frontend/views/WDIViewGalleryBox.php:1342
1047
  msgid "This is not a valid email address."
1048
  msgstr "Ogiltig emailadress."
1049
 
1050
- #: frontend/shortcode.php:204 frontend/shortcode.php:256
1051
  msgid "There are no images matching your search."
1052
  msgstr "Det finns inga matchande bilder"
1053
 
 
 
 
 
 
 
 
 
 
 
 
 
1054
  #: frontend/views/WDIViewGalleryBox.php:1013
1055
  msgid "The image has been deleted."
1056
  msgstr "Bilden har raderats"
1057
 
1058
  #: frontend/views/WDIViewGalleryBox.php:1034
1059
- #: frontend/views/WDIViewGalleryBox.php:2897
1060
  msgid "Play"
1061
  msgstr "Spela upp"
1062
 
1063
  #: frontend/views/WDIViewGalleryBox.php:1038
1064
- #: frontend/views/WDIViewGalleryBox.php:2168
1065
- #: frontend/views/WDIViewGalleryBox.php:2724
1066
- #: frontend/views/WDIViewGalleryBox.php:2821
1067
  msgid "Maximize"
1068
  msgstr "Maximera"
1069
 
1070
  #: frontend/views/WDIViewGalleryBox.php:1042
1071
- #: frontend/views/WDIViewGalleryBox.php:2170
1072
- #: frontend/views/WDIViewGalleryBox.php:2823
1073
  msgid "Fullscreen"
1074
  msgstr "Fullskärm"
1075
 
1076
  #: frontend/views/WDIViewGalleryBox.php:1044
1077
- #: frontend/views/WDIViewGalleryBox.php:2588
1078
  msgid "Show info"
1079
  msgstr "Visa information"
1080
 
@@ -1083,7 +1095,7 @@ msgid "Show comments"
1083
  msgstr "Visa kommentarer"
1084
 
1085
  #: frontend/views/WDIViewGalleryBox.php:1048
1086
- #: frontend/views/WDIViewGalleryBox.php:2601
1087
  msgid "Show rating"
1088
  msgstr "Visa betyg"
1089
 
@@ -1129,7 +1141,7 @@ msgid "Error. Incorrect Verification Code."
1129
  msgstr "Felaktig Verifikationskod"
1130
 
1131
  #: frontend/views/WDIViewGalleryBox.php:1350
1132
- #: frontend/views/WDIViewGalleryBox.php:2388
1133
  msgid "Hide Comments"
1134
  msgstr "Dölj kommentarer"
1135
 
@@ -1158,73 +1170,66 @@ msgid "Your comment is awaiting moderation"
1158
  msgstr "Din kommentar inväntar moderering"
1159
 
1160
  #: frontend/views/WDIViewGalleryBox.php:1404
1161
- #: frontend/views/WDIViewGalleryBox.php:2073
1162
- #: frontend/views/WDIViewGalleryBox.php:2398
1163
  msgid "There are no comments to show"
1164
  msgstr "Det finns inga kommentarer"
1165
 
1166
- #: frontend/views/WDIViewGalleryBox.php:2574
1167
  msgid "Hide info"
1168
  msgstr "Dölj info"
1169
 
1170
- #: frontend/views/WDIViewGalleryBox.php:2597
1171
  msgid "Hide rating"
1172
  msgstr "Dölj betyg"
1173
 
1174
- #: frontend/views/WDIViewGalleryBox.php:2761
1175
- #: frontend/views/WDIViewGalleryBox.php:2981
1176
  msgid "Restore"
1177
  msgstr "Återställ"
1178
 
1179
- #: frontend/views/WDIViewGalleryBox.php:2876
1180
  msgid "Exit Fullscreen"
1181
  msgstr "Avsluta fullskärmsläge"
1182
 
1183
- #: frontend/views/WDIViewGalleryBox.php:2891
1184
- #: frontend/views/WDIViewGalleryBox.php:2908
1185
  msgid "Pause"
1186
  msgstr "Paus"
1187
 
1188
- #: frontend/views/WDIViewImageBrowser_view.php:39
1189
- #: frontend/views/WDIViewImageBrowser_view.php:51
1190
- #: frontend/views/WDIViewThumbnails_view.php:42
1191
- #: frontend/views/WDIViewThumbnails_view.php:59
1192
  msgid "First Page"
1193
  msgstr "Första sidan"
1194
 
1195
- #: frontend/views/WDIViewImageBrowser_view.php:39
1196
- #: frontend/views/WDIViewImageBrowser_view.php:51
1197
- #: frontend/views/WDIViewThumbnails_view.php:42
1198
- #: frontend/views/WDIViewThumbnails_view.php:59
1199
  msgid "Previous Page"
1200
  msgstr "Nästa sida"
1201
 
1202
- #: frontend/views/WDIViewImageBrowser_view.php:39
1203
- #: frontend/views/WDIViewImageBrowser_view.php:51
1204
- #: frontend/views/WDIViewThumbnails_view.php:42
1205
- #: frontend/views/WDIViewThumbnails_view.php:59
1206
  msgid "Next Page"
1207
  msgstr "Nästa sida"
1208
 
1209
- #: frontend/views/WDIViewImageBrowser_view.php:39
1210
- #: frontend/views/WDIViewImageBrowser_view.php:51
1211
- #: frontend/views/WDIViewThumbnails_view.php:42
1212
- #: frontend/views/WDIViewThumbnails_view.php:59
1213
  msgid "Last Page"
1214
  msgstr "Sista sidan"
1215
 
1216
- #: frontend/views/WDIViewImageBrowser_view.php:46
1217
- #: frontend/views/WDIViewThumbnails_view.php:52
1218
  msgid "Load More"
1219
  msgstr "Hämta fler"
1220
 
1221
- #: frontend/views/WDIViewImageBrowser_view.php:60
1222
- #: frontend/views/WDIViewThumbnails_view.php:68
1223
- msgid ""
1224
- "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1225
- "+Shift+J or Cmd+Shift+J on a Mac."
1226
- msgstr ""
1227
-
1228
  #: templates/plugin-uninstalled.php:28
1229
  msgid "you have uninstalled"
1230
  msgstr "du har avinstallerat"
@@ -1236,156 +1241,156 @@ msgstr ""
1236
  "plugin. Om du vill använda den igen krävs endast att du deaktiverar och "
1237
  "aktiverar den"
1238
 
1239
- #: wd-instagram-feed.php:139
1240
  msgid "Configure"
1241
  msgstr "Konfigurera"
1242
 
1243
- #: wd-instagram-feed.php:142
1244
  msgid "Customize"
1245
  msgstr "Anpassa"
1246
 
1247
- #: wd-instagram-feed.php:177
1248
  msgid "Instagram Feed WD"
1249
  msgstr "Instagram Feed WD"
1250
 
1251
- #: wd-instagram-feed.php:180
1252
  msgid "Themes"
1253
  msgstr "Teman"
1254
 
1255
- #: wd-instagram-feed.php:181
1256
  msgid "Settings"
1257
  msgstr "Inställningar"
1258
 
1259
- #: wd-instagram-feed.php:184
1260
  msgid "Upgrade to Pro"
1261
  msgstr ""
1262
 
1263
- #: wd-instagram-feed.php:185
1264
  msgid "Uninstall"
1265
  msgstr "Avinstallera"
1266
 
1267
- #: wd-instagram-feed.php:274
1268
  msgid "All the data will be removed from the database. Continue?"
1269
  msgstr "Alla data kommer att raderas från databasen. Fortsätta?"
1270
 
1271
- #: wd-instagram-feed.php:275
1272
  msgid "Some error with instagram servers, try agian later :("
1273
  msgstr "Fel hos Instragram-servrarna. Vänligen försök senare :("
1274
 
1275
- #: wd-instagram-feed.php:276
1276
  msgid "Invalid user:"
1277
  msgstr "Ogiltig användare:"
1278
 
1279
- #: wd-instagram-feed.php:277
1280
  msgid "already added!"
1281
  msgstr "redan tillagd"
1282
 
1283
- #: wd-instagram-feed.php:278
1284
  #, php-format
1285
  msgid "User %s does not exist."
1286
  msgstr ""
1287
 
1288
- #: wd-instagram-feed.php:279
1289
  msgid "Network Error, please try again later. :("
1290
  msgstr "Nätverksfel. Försök senare :("
1291
 
1292
- #: wd-instagram-feed.php:280
1293
  msgid "Invalid hashtag"
1294
  msgstr "Ogiltig hashtag"
1295
 
1296
- #: wd-instagram-feed.php:281
1297
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1298
  msgstr "Hashtagen saknar poster. Är du säker på att du vill lägga till den?"
1299
 
1300
- #: wd-instagram-feed.php:282
1301
  msgid "You can add only one username or hashtag in FREE Version"
1302
  msgstr "Du kan endast lägga till en användare eller hashtag i Gratisversionen"
1303
 
1304
- #: wd-instagram-feed.php:283
1305
  msgid "Available in PRO"
1306
  msgstr "Tillgänglig i PRO"
1307
 
1308
- #: wd-instagram-feed.php:284
1309
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1310
  msgstr "Kombinerade Användar/Hashtag är endast möjligt i PRO-versionen"
1311
 
1312
- #: wd-instagram-feed.php:285
1313
  msgid "Customizing Themes is available only in PRO version"
1314
  msgstr "Anpassning av Tema är endast möjligt i PRO-versionen"
1315
 
1316
- #: wd-instagram-feed.php:286
1317
  msgid "URL is not valid"
1318
  msgstr "Ogiltig URL"
1319
 
1320
- #: wd-instagram-feed.php:287
1321
  msgid "Please Select Condition Type"
1322
  msgstr "Välj Villkorstyp"
1323
 
1324
- #: wd-instagram-feed.php:288
1325
  msgid "Show Posts Which Have All Of The Conditions"
1326
  msgstr "Visa poster som uppyller samtliga Villkor"
1327
 
1328
- #: wd-instagram-feed.php:289
1329
  msgid "Show Posts Which Have At Least One Of The Conditions"
1330
  msgstr "Visa poster som uppyller minst ett Villkor"
1331
 
1332
- #: wd-instagram-feed.php:290
1333
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1334
  msgstr "Dölj poster som uppyller minst ett Villkor"
1335
 
1336
- #: wd-instagram-feed.php:291
1337
  msgid "EITHER"
1338
  msgstr "HELLER"
1339
 
1340
- #: wd-instagram-feed.php:292
1341
  msgid "NEITHER"
1342
  msgstr "INTE HELLER"
1343
 
1344
- #: wd-instagram-feed.php:293
1345
  msgid "EXCEPT"
1346
  msgstr "FÖRUTOM"
1347
 
1348
- #: wd-instagram-feed.php:294
1349
  msgid "AND"
1350
  msgstr "OCH"
1351
 
1352
- #: wd-instagram-feed.php:295
1353
  msgid "OR"
1354
  msgstr "ELLER"
1355
 
1356
- #: wd-instagram-feed.php:296
1357
  msgid "NOR"
1358
  msgstr "INTE HELLER"
1359
 
1360
- #: wd-instagram-feed.php:467
1361
  msgid ""
1362
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1363
  "plugin allows you to display image feeds from single or multiple Instagram "
1364
  "accounts on a WordPress site."
1365
  msgstr ""
1366
 
1367
- #: wd-instagram-feed.php:471
1368
  msgid "Responsive"
1369
  msgstr ""
1370
 
1371
- #: wd-instagram-feed.php:472
1372
  msgid ""
1373
  "Instagram feeds are not only elegantly designed to be displayed on your "
1374
  "website, but also come fully responsive for better user experience when "
1375
  "using mobile devices and tables."
1376
  msgstr ""
1377
 
1378
- #: wd-instagram-feed.php:476
1379
  msgid ""
1380
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1381
  "keep your pages and posts SEO-optimized."
1382
  msgstr ""
1383
 
1384
- #: wd-instagram-feed.php:479
1385
  msgid "4 Fully Customizable Layouts"
1386
  msgstr ""
1387
 
1388
- #: wd-instagram-feed.php:480
1389
  msgid ""
1390
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1391
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
@@ -1397,11 +1402,11 @@ msgid ""
1397
  "etc."
1398
  msgstr ""
1399
 
1400
- #: wd-instagram-feed.php:483
1401
  msgid "Individual and Mixed Feeds"
1402
  msgstr ""
1403
 
1404
- #: wd-instagram-feed.php:484
1405
  msgid ""
1406
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1407
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
@@ -1410,11 +1415,11 @@ msgid ""
1410
  "feed based on a single hashtag or account."
1411
  msgstr ""
1412
 
1413
- #: wd-instagram-feed.php:487
1414
  msgid "Advanced Lightbox"
1415
  msgstr ""
1416
 
1417
- #: wd-instagram-feed.php:488
1418
  msgid ""
1419
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1420
  "you will find control buttons for displaying images in larger view, read "
@@ -1424,51 +1429,51 @@ msgid ""
1424
  "within the lightbox as an HTML5 video."
1425
  msgstr ""
1426
 
1427
- #: wd-instagram-feed.php:494
1428
  msgid "Installation and configuration"
1429
  msgstr ""
1430
 
1431
- #: wd-instagram-feed.php:498
1432
  msgid "Getting Instagram Access Token"
1433
  msgstr ""
1434
 
1435
- #: wd-instagram-feed.php:504
1436
  msgid "Creating an Instagram Feed"
1437
  msgstr ""
1438
 
1439
- #: wd-instagram-feed.php:508
1440
  msgid "Thumbnails and Masonry Layouts"
1441
  msgstr ""
1442
 
1443
- #: wd-instagram-feed.php:512
1444
  msgid "Blog Style Layout"
1445
  msgstr ""
1446
 
1447
- #: wd-instagram-feed.php:516
1448
  msgid "Image Browser"
1449
  msgstr ""
1450
 
1451
- #: wd-instagram-feed.php:530
1452
  msgid "Publishing Instagram Feed"
1453
  msgstr ""
1454
 
1455
- #: wd-instagram-feed.php:534
1456
  msgid "Publishing in a Page/Post"
1457
  msgstr ""
1458
 
1459
- #: wd-instagram-feed.php:538
1460
  msgid "Publishing as a Widget"
1461
  msgstr ""
1462
 
1463
- #: wd-instagram-feed.php:542
1464
  msgid "Publishing by PHP function"
1465
  msgstr ""
1466
 
1467
- #: wd-instagram-feed.php:548
1468
  msgid "Styling with Themes"
1469
  msgstr ""
1470
 
1471
- #: wd-instagram-feed.php:553
1472
  msgid "Advanced customizing options"
1473
  msgstr ""
1474
 
@@ -1814,3 +1819,6 @@ msgstr ""
1814
  #: wd/wd.php:74
1815
  msgid "Overview"
1816
  msgstr ""
 
 
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-04-03 18:30+0400\n"
5
+ "PO-Revision-Date: 2017-04-03 18:30+0400\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: sv_SE\n"
178
  msgid "Support Forum"
179
  msgstr ""
180
 
181
+ #: admin/views/WDIViewFeeds_wdi.php:47 wd-instagram-feed.php:180
182
  msgid "Feeds"
183
  msgstr "Feeds"
184
 
431
  msgstr "Visa beskrivning"
432
 
433
  #: admin/views/WDIViewFeeds_wdi.php:222
434
+ #: frontend/views/WDIViewGalleryBox.php:2333
435
  msgid "Show Comments"
436
  msgstr "Visa kommentarer"
437
 
657
  msgid "Feed Settings"
658
  msgstr "Feed-inställningar"
659
 
660
+ #: admin/views/WDIViewFeeds_wdi.php:300 wd-instagram-feed.php:521
661
  msgid "Lightbox Settings"
662
  msgstr "Lightbox-inställningar"
663
 
664
  #: admin/views/WDIViewFeeds_wdi.php:301 admin/views/WDIViewLicensing_wdi.php:45
665
+ #: wd-instagram-feed.php:525
666
  msgid "Conditional Filters"
667
  msgstr "Villkorsfilter"
668
 
715
  msgid "Responsive Design and Layout"
716
  msgstr "Responsiv Design och Layout"
717
 
718
+ #: admin/views/WDIViewLicensing_wdi.php:35 wd-instagram-feed.php:476
719
  msgid "SEO Friendly"
720
  msgstr "SEO-anpassad"
721
 
1007
  msgstr "Ogilitg åtkomsttoken. Försök igen"
1008
 
1009
  #: frontend/shortcode.php:67
1010
+ msgid "Feed with such ID does not exist"
1011
+ msgstr ""
1012
 
1013
  #: frontend/shortcode.php:89
1014
  msgid "Unable to display unpublished feed "
1018
  msgid "Invalid feed type"
1019
  msgstr "Ogiltig feed-typ"
1020
 
1021
+ #: frontend/shortcode.php:155 frontend/shortcode.php:230
1022
  msgid "Connection Error, try again later :("
1023
  msgstr "Anslutningsfel. Vänligen försök senare :("
1024
 
1025
+ #: frontend/shortcode.php:156 frontend/shortcode.php:231
1026
  msgid "Username not found"
1027
  msgstr "Användarnamn hittas inte"
1028
 
1029
+ #: frontend/shortcode.php:157 frontend/shortcode.php:232
1030
  msgid "Network error, please try again later :("
1031
  msgstr "Anslutningsfel. Vänligen försök senare :("
1032
 
1033
+ #: frontend/shortcode.php:158 frontend/shortcode.php:233
1034
  msgid "There is no data for that hashtag"
1035
  msgstr "Data saknas för den hashtagen"
1036
 
1037
+ #: frontend/shortcode.php:159 frontend/shortcode.php:234
1038
  msgid "Click to filter images by this user"
1039
  msgstr "Klicka för att filtrera bilder från denna användare"
1040
 
1041
+ #: frontend/shortcode.php:198 frontend/shortcode.php:246
1042
  msgid "Field is required."
1043
  msgstr "Fält obligatoriskt"
1044
 
1045
+ #: frontend/shortcode.php:199 frontend/shortcode.php:247
1046
  #: frontend/views/WDIViewGalleryBox.php:1342
1047
  msgid "This is not a valid email address."
1048
  msgstr "Ogiltig emailadress."
1049
 
1050
+ #: frontend/shortcode.php:200 frontend/shortcode.php:248
1051
  msgid "There are no images matching your search."
1052
  msgstr "Det finns inga matchande bilder"
1053
 
1054
+ #: frontend/shortcode.php:260
1055
+ msgid ""
1056
+ "Something is wrong. Response takes too long or there is JS error. Press Ctrl"
1057
+ "+Shift+J or Cmd+Shift+J on a Mac."
1058
+ msgstr ""
1059
+
1060
+ #: frontend/shortcode.php:261
1061
+ msgid ""
1062
+ "Warning: Instagram Feed is loaded using AJAX request. It might not display "
1063
+ "properly."
1064
+ msgstr ""
1065
+
1066
  #: frontend/views/WDIViewGalleryBox.php:1013
1067
  msgid "The image has been deleted."
1068
  msgstr "Bilden har raderats"
1069
 
1070
  #: frontend/views/WDIViewGalleryBox.php:1034
1071
+ #: frontend/views/WDIViewGalleryBox.php:2890
1072
  msgid "Play"
1073
  msgstr "Spela upp"
1074
 
1075
  #: frontend/views/WDIViewGalleryBox.php:1038
1076
+ #: frontend/views/WDIViewGalleryBox.php:2161
1077
+ #: frontend/views/WDIViewGalleryBox.php:2717
1078
+ #: frontend/views/WDIViewGalleryBox.php:2814
1079
  msgid "Maximize"
1080
  msgstr "Maximera"
1081
 
1082
  #: frontend/views/WDIViewGalleryBox.php:1042
1083
+ #: frontend/views/WDIViewGalleryBox.php:2163
1084
+ #: frontend/views/WDIViewGalleryBox.php:2816
1085
  msgid "Fullscreen"
1086
  msgstr "Fullskärm"
1087
 
1088
  #: frontend/views/WDIViewGalleryBox.php:1044
1089
+ #: frontend/views/WDIViewGalleryBox.php:2581
1090
  msgid "Show info"
1091
  msgstr "Visa information"
1092
 
1095
  msgstr "Visa kommentarer"
1096
 
1097
  #: frontend/views/WDIViewGalleryBox.php:1048
1098
+ #: frontend/views/WDIViewGalleryBox.php:2594
1099
  msgid "Show rating"
1100
  msgstr "Visa betyg"
1101
 
1141
  msgstr "Felaktig Verifikationskod"
1142
 
1143
  #: frontend/views/WDIViewGalleryBox.php:1350
1144
+ #: frontend/views/WDIViewGalleryBox.php:2381
1145
  msgid "Hide Comments"
1146
  msgstr "Dölj kommentarer"
1147
 
1170
  msgstr "Din kommentar inväntar moderering"
1171
 
1172
  #: frontend/views/WDIViewGalleryBox.php:1404
1173
+ #: frontend/views/WDIViewGalleryBox.php:2066
1174
+ #: frontend/views/WDIViewGalleryBox.php:2391
1175
  msgid "There are no comments to show"
1176
  msgstr "Det finns inga kommentarer"
1177
 
1178
+ #: frontend/views/WDIViewGalleryBox.php:2567
1179
  msgid "Hide info"
1180
  msgstr "Dölj info"
1181
 
1182
+ #: frontend/views/WDIViewGalleryBox.php:2590
1183
  msgid "Hide rating"
1184
  msgstr "Dölj betyg"
1185
 
1186
+ #: frontend/views/WDIViewGalleryBox.php:2754
1187
+ #: frontend/views/WDIViewGalleryBox.php:2974
1188
  msgid "Restore"
1189
  msgstr "Återställ"
1190
 
1191
+ #: frontend/views/WDIViewGalleryBox.php:2869
1192
  msgid "Exit Fullscreen"
1193
  msgstr "Avsluta fullskärmsläge"
1194
 
1195
+ #: frontend/views/WDIViewGalleryBox.php:2884
1196
+ #: frontend/views/WDIViewGalleryBox.php:2901
1197
  msgid "Pause"
1198
  msgstr "Paus"
1199
 
1200
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1201
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1202
+ #: frontend/views/WDIViewThumbnails_view.php:44
1203
+ #: frontend/views/WDIViewThumbnails_view.php:60
1204
  msgid "First Page"
1205
  msgstr "Första sidan"
1206
 
1207
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1208
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1209
+ #: frontend/views/WDIViewThumbnails_view.php:44
1210
+ #: frontend/views/WDIViewThumbnails_view.php:60
1211
  msgid "Previous Page"
1212
  msgstr "Nästa sida"
1213
 
1214
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1215
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1216
+ #: frontend/views/WDIViewThumbnails_view.php:44
1217
+ #: frontend/views/WDIViewThumbnails_view.php:60
1218
  msgid "Next Page"
1219
  msgstr "Nästa sida"
1220
 
1221
+ #: frontend/views/WDIViewImageBrowser_view.php:42
1222
+ #: frontend/views/WDIViewImageBrowser_view.php:54
1223
+ #: frontend/views/WDIViewThumbnails_view.php:44
1224
+ #: frontend/views/WDIViewThumbnails_view.php:60
1225
  msgid "Last Page"
1226
  msgstr "Sista sidan"
1227
 
1228
+ #: frontend/views/WDIViewImageBrowser_view.php:49
1229
+ #: frontend/views/WDIViewThumbnails_view.php:53
1230
  msgid "Load More"
1231
  msgstr "Hämta fler"
1232
 
 
 
 
 
 
 
 
1233
  #: templates/plugin-uninstalled.php:28
1234
  msgid "you have uninstalled"
1235
  msgstr "du har avinstallerat"
1241
  "plugin. Om du vill använda den igen krävs endast att du deaktiverar och "
1242
  "aktiverar den"
1243
 
1244
+ #: wd-instagram-feed.php:140
1245
  msgid "Configure"
1246
  msgstr "Konfigurera"
1247
 
1248
+ #: wd-instagram-feed.php:143
1249
  msgid "Customize"
1250
  msgstr "Anpassa"
1251
 
1252
+ #: wd-instagram-feed.php:178
1253
  msgid "Instagram Feed WD"
1254
  msgstr "Instagram Feed WD"
1255
 
1256
+ #: wd-instagram-feed.php:181
1257
  msgid "Themes"
1258
  msgstr "Teman"
1259
 
1260
+ #: wd-instagram-feed.php:182
1261
  msgid "Settings"
1262
  msgstr "Inställningar"
1263
 
1264
+ #: wd-instagram-feed.php:185
1265
  msgid "Upgrade to Pro"
1266
  msgstr ""
1267
 
1268
+ #: wd-instagram-feed.php:186
1269
  msgid "Uninstall"
1270
  msgstr "Avinstallera"
1271
 
1272
+ #: wd-instagram-feed.php:275
1273
  msgid "All the data will be removed from the database. Continue?"
1274
  msgstr "Alla data kommer att raderas från databasen. Fortsätta?"
1275
 
1276
+ #: wd-instagram-feed.php:276
1277
  msgid "Some error with instagram servers, try agian later :("
1278
  msgstr "Fel hos Instragram-servrarna. Vänligen försök senare :("
1279
 
1280
+ #: wd-instagram-feed.php:277
1281
  msgid "Invalid user:"
1282
  msgstr "Ogiltig användare:"
1283
 
1284
+ #: wd-instagram-feed.php:278
1285
  msgid "already added!"
1286
  msgstr "redan tillagd"
1287
 
1288
+ #: wd-instagram-feed.php:279
1289
  #, php-format
1290
  msgid "User %s does not exist."
1291
  msgstr ""
1292
 
1293
+ #: wd-instagram-feed.php:280
1294
  msgid "Network Error, please try again later. :("
1295
  msgstr "Nätverksfel. Försök senare :("
1296
 
1297
+ #: wd-instagram-feed.php:281
1298
  msgid "Invalid hashtag"
1299
  msgstr "Ogiltig hashtag"
1300
 
1301
+ #: wd-instagram-feed.php:282
1302
  msgid "This hashtag currently has no posts. Are you sure you want to add it?"
1303
  msgstr "Hashtagen saknar poster. Är du säker på att du vill lägga till den?"
1304
 
1305
+ #: wd-instagram-feed.php:283
1306
  msgid "You can add only one username or hashtag in FREE Version"
1307
  msgstr "Du kan endast lägga till en användare eller hashtag i Gratisversionen"
1308
 
1309
+ #: wd-instagram-feed.php:284
1310
  msgid "Available in PRO"
1311
  msgstr "Tillgänglig i PRO"
1312
 
1313
+ #: wd-instagram-feed.php:285
1314
  msgid "Combined Usernames/Hashtags are available only in PRO version"
1315
  msgstr "Kombinerade Användar/Hashtag är endast möjligt i PRO-versionen"
1316
 
1317
+ #: wd-instagram-feed.php:286
1318
  msgid "Customizing Themes is available only in PRO version"
1319
  msgstr "Anpassning av Tema är endast möjligt i PRO-versionen"
1320
 
1321
+ #: wd-instagram-feed.php:287
1322
  msgid "URL is not valid"
1323
  msgstr "Ogiltig URL"
1324
 
1325
+ #: wd-instagram-feed.php:288
1326
  msgid "Please Select Condition Type"
1327
  msgstr "Välj Villkorstyp"
1328
 
1329
+ #: wd-instagram-feed.php:289
1330
  msgid "Show Posts Which Have All Of The Conditions"
1331
  msgstr "Visa poster som uppyller samtliga Villkor"
1332
 
1333
+ #: wd-instagram-feed.php:290
1334
  msgid "Show Posts Which Have At Least One Of The Conditions"
1335
  msgstr "Visa poster som uppyller minst ett Villkor"
1336
 
1337
+ #: wd-instagram-feed.php:291
1338
  msgid "Hide Posts Which Have At Least One Of The Conditions"
1339
  msgstr "Dölj poster som uppyller minst ett Villkor"
1340
 
1341
+ #: wd-instagram-feed.php:292
1342
  msgid "EITHER"
1343
  msgstr "HELLER"
1344
 
1345
+ #: wd-instagram-feed.php:293
1346
  msgid "NEITHER"
1347
  msgstr "INTE HELLER"
1348
 
1349
+ #: wd-instagram-feed.php:294
1350
  msgid "EXCEPT"
1351
  msgstr "FÖRUTOM"
1352
 
1353
+ #: wd-instagram-feed.php:295
1354
  msgid "AND"
1355
  msgstr "OCH"
1356
 
1357
+ #: wd-instagram-feed.php:296
1358
  msgid "OR"
1359
  msgstr "ELLER"
1360
 
1361
+ #: wd-instagram-feed.php:297
1362
  msgid "NOR"
1363
  msgstr "INTE HELLER"
1364
 
1365
+ #: wd-instagram-feed.php:468
1366
  msgid ""
1367
  "The most advanced and user-friendly Instagram plugin. Instagram Feed WD "
1368
  "plugin allows you to display image feeds from single or multiple Instagram "
1369
  "accounts on a WordPress site."
1370
  msgstr ""
1371
 
1372
+ #: wd-instagram-feed.php:472
1373
  msgid "Responsive"
1374
  msgstr ""
1375
 
1376
+ #: wd-instagram-feed.php:473
1377
  msgid ""
1378
  "Instagram feeds are not only elegantly designed to be displayed on your "
1379
  "website, but also come fully responsive for better user experience when "
1380
  "using mobile devices and tables."
1381
  msgstr ""
1382
 
1383
+ #: wd-instagram-feed.php:477
1384
  msgid ""
1385
  "Instagram Feed WD uses clean coding and latest SEO techniques necessary to "
1386
  "keep your pages and posts SEO-optimized."
1387
  msgstr ""
1388
 
1389
+ #: wd-instagram-feed.php:480
1390
  msgid "4 Fully Customizable Layouts"
1391
  msgstr ""
1392
 
1393
+ #: wd-instagram-feed.php:481
1394
  msgid ""
1395
  "There are four layout options for Instagram feeds: Thumbnails, Image "
1396
  "Browser, Blog Style and Masonry. Display a feed as a simply arranged "
1402
  "etc."
1403
  msgstr ""
1404
 
1405
+ #: wd-instagram-feed.php:484
1406
  msgid "Individual and Mixed Feeds"
1407
  msgstr ""
1408
 
1409
+ #: wd-instagram-feed.php:485
1410
  msgid ""
1411
  "Create mixed and single feeds of Instagram posts. Single feeds can be based "
1412
  "on public Instagram accounts and single Instagram hashtag. Mixed feeds can "
1415
  "feed based on a single hashtag or account."
1416
  msgstr ""
1417
 
1418
+ #: wd-instagram-feed.php:488
1419
  msgid "Advanced Lightbox"
1420
  msgstr ""
1421
 
1422
+ #: wd-instagram-feed.php:489
1423
  msgid ""
1424
  "Upon clicking on image thumbnails an elegant lightbox will be opened, where "
1425
  "you will find control buttons for displaying images in larger view, read "
1429
  "within the lightbox as an HTML5 video."
1430
  msgstr ""
1431
 
1432
+ #: wd-instagram-feed.php:495
1433
  msgid "Installation and configuration"
1434
  msgstr ""
1435
 
1436
+ #: wd-instagram-feed.php:499
1437
  msgid "Getting Instagram Access Token"
1438
  msgstr ""
1439
 
1440
+ #: wd-instagram-feed.php:505
1441
  msgid "Creating an Instagram Feed"
1442
  msgstr ""
1443
 
1444
+ #: wd-instagram-feed.php:509
1445
  msgid "Thumbnails and Masonry Layouts"
1446
  msgstr ""
1447
 
1448
+ #: wd-instagram-feed.php:513
1449
  msgid "Blog Style Layout"
1450
  msgstr ""
1451
 
1452
+ #: wd-instagram-feed.php:517
1453
  msgid "Image Browser"
1454
  msgstr ""
1455
 
1456
+ #: wd-instagram-feed.php:531
1457
  msgid "Publishing Instagram Feed"
1458
  msgstr ""
1459
 
1460
+ #: wd-instagram-feed.php:535
1461
  msgid "Publishing in a Page/Post"
1462
  msgstr ""
1463
 
1464
+ #: wd-instagram-feed.php:539
1465
  msgid "Publishing as a Widget"
1466
  msgstr ""
1467
 
1468
+ #: wd-instagram-feed.php:543
1469
  msgid "Publishing by PHP function"
1470
  msgstr ""
1471
 
1472
+ #: wd-instagram-feed.php:549
1473
  msgid "Styling with Themes"
1474
  msgstr ""
1475
 
1476
+ #: wd-instagram-feed.php:554
1477
  msgid "Advanced customizing options"
1478
  msgstr ""
1479
 
1819
  #: wd/wd.php:74
1820
  msgid "Overview"
1821
  msgstr ""
1822
+
1823
+ #~ msgid "Feed Doesn't exists "
1824
+ #~ msgstr "Feed existerar inte"
languages/wdi-es_ES.mo DELETED
Binary file
languages/wdi-fr_FR.mo DELETED
Binary file
languages/wdi-ru_RU.mo DELETED
Binary file
languages/wdi-sv_SE.mo DELETED
Binary file
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Instagram Feed WD - Instagram Gallery for WordPress ===
2
  Contributors: webdorado, progmastery
3
  Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
- Tags: : custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, Instagram wall, lightbox, photos
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 1.1.25
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,8 +12,6 @@ Instagram Feed WD is a user-friendly plugin to display user or hashtag-based Ins
12
 
13
  == Description ==
14
 
15
- **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.**
16
-
17
  [WordPress WD Instagram Feed ](https://web-dorado.com/products/wordpress-instagram-feed-wd.html)
18
  [Demo](http://wpdemo.web-dorado.com/instagram-wd/)
19
  [User Guide](https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/installation.html)
@@ -21,26 +19,31 @@ Instagram Feed WD is a user-friendly plugin to display user or hashtag-based Ins
21
 
22
  https://www.youtube.com/watch?v=ijdrpkVAfEw
23
 
24
- Have you ever wanted to display images from Instagram on your webpages? Is simple integration not enough for your WordPress website? Do you want to display composite feeds of hashtags and users? Do you prefer to show instagram gallery with your custom styling? Have you ever thought it will be cool to repost your Instagram feed to WP blog? Instagram Feed WD is your best solution with its user-friendly management and easy set up. It is simply the most useful and functional WordPress Instagram plugin.
 
 
 
25
 
26
- Instagram Feed WD allows displaying Instagram feeds based on public Instagram accounts and hashtags. You can create mixed feeds based on multiple accounts, multiple hashtags or any combination of both with Pro version. WordPress Instagram plugin uses 4 layouts - 2 layouts for smaller thumbnail display (Thumbnail and Masonry) and 2 for larger images (Blog Style and Image Browser). Thumbnail view displays images with their metadata (Pro): caption, number of likes and comments. Image Browser displays single image with navigation possibility, metadata (Pro): image caption, number of likes and comments. Masonry (Pro) layout displays images in beautiful masonry view combining the image and its metadata (Pro). Blog Style (Pro) layout combines large image with its data similar creating a blog style display. All the layouts can display feed username and its metadata (bio, number of posts and followers).
27
 
28
- Use Conditional Filters to display filtered feeds (Pro). Set up a filter logic (to hide or display posts), choose condition type (username, hashtag, mention,description, Instagram media link), fill in condition and display filtered feeds. Feeds can have multiple filters.
29
 
30
- Images can be redirected to Instagram or opened in a lightbox. You can set sorting for the images (date, likes, comments, random) as well as define the order (ascending/descending). In case of combined feeds you can use front-end filtering by clicking on specific hashtag or username. The lightbox display images as a slideshow with different transition effects (Pro). In Pro version of this Instagram plugin media caption, comments, social share buttons and filmstrip also can be shown in the lightbox, making it an elegant advanced tool for viewing Instagram feed.
31
 
32
  Theme section (available with Pro version) allows to customize colors, sizes and display styles. Each layout uses its own theme which makes this section even more compelling.
33
 
 
 
34
  No feed data is stored in the database. All the images, videos (Pro), captions and comments are retrieved directly from the Instagram in the front-end, which makes this WordPress Instagram gallery plugin fast and very easy to use.
35
 
36
 
37
  ###IMPORTANT:
38
- If you think you found a bug in Instagram Feed WD or have any problem/question concerning this Instagram plugin, please check out [Support Forum](https://web-dorado.com/forum/wordpress-instagram-feed-wd.html) in our website. If you do not find a solution here, do not hesitate to [click here to contact us](https://web-dorado.com/support/contact-us.html).
39
 
40
 
41
  = Instagram Feed main features include: =
42
 
43
- * Responsive
44
  * SEO-friendly
45
  * Unlimited Instagram feeds
46
  * Hashtag-based Instagram feed
@@ -53,7 +56,7 @@ If you think you found a bug in Instagram Feed WD or have any problem/question c
53
  * Elegant lightbox with media captions
54
  * 1 Lightbox transition effect
55
  * Instagram icon for redirecting to Instagram account/Instagram hashtag feed
56
- * Simple Instagram WD shortcode
57
  * Instagram WD PHP shortcode support
58
  * Instagram redirection possibility
59
  * Instagram Feed WD Widget
@@ -63,7 +66,7 @@ Upgrade to [Instagram Feed Pro](https://web-dorado.com/products/wordpress-instag
63
 
64
  * Masonry Layout Instagram feeds
65
  * Blog Style Layout Instagram feeds
66
- * Image meta data (Instagram image caption, comments, like) display
67
  * Mixed and multiple feeds (several Instagram hashtags and Instagram public accounts)
68
  * Fully Customizable Themes
69
  * Vertical/horizontal filmstrip in lightbox
@@ -106,6 +109,10 @@ After downloading the ZIP file of the Instagram Feed WD plugin,
106
  5. WordPress Instagram Feed WD - Theme Settings
107
 
108
  == Changelog ==
 
 
 
 
109
 
110
  = 1.1.25 =
111
  New: UX improvements: when authorizing and editing feeds
@@ -277,7 +284,7 @@ Click Activate button.
277
  Installing via FTP
278
  Login to your hosting space via an FTP software, e.g. FileZilla.
279
  Unzip the downloaded Instagram Feed WD plugin folder without making any changes to the folder.
280
- Upload the plugin into the following location wp-content>wp-plugins.
281
  Login to the WordPress Administrator Panel.
282
  Activate Instagram Feed WD by going to Plugins and pressing Activate button.
283
 
@@ -289,16 +296,15 @@ To start using Instagram Feed you will be required to first fill in Settings sec
289
  Reset access token and username button resets default user data in plugin. Use that button to get access token for other Instagram user.
290
 
291
  = Creating an Instagram Feed =
292
- Go to Instagram Feed WD > Feed and press Add New. Here you can choose Instagram feed layout and manage lightbox options.
 
293
 
294
  Create an Instagram feed based on one of the available layouts- Thumbnail, Masonry, Blog Style, Image Browser.
295
 
296
  = Thumbnails and Masonry Layouts =
297
- Since Thumbnails and Masonry Layout Instagram Feeds use identical set of properties we will discuss them jointly. When using Thumbnail view Instagram images get identical dimensions, whereas with Masonry view Instagram images and their properties (description, caption, hashtags) get displayed as a masonry feed.
298
-
299
- Feed Name. Provide a title for the Instagram feed. It will be useful to provide unique title since you will need it when inserting the Instagram feed into a page or post.
300
  Theme. Select one of the existing themes for the Instagram feed. All theme styling parameters will be applied.
301
- Feed Usernames and Hashtags. Provide all Instagram usernames and hashtags you want to use within the Instagram feed. All all them using add button. Instagram Usernames should be provided within the following format: “webdorado”, whereas for Instagram hashtags you need to use the following format: #webdorado.
302
  Featured Image. One of the Instagram user avatars can be used as a featured image, select the relevant Instagram user in case you have more than one image. If you use Instagram hashtag feeds, you can set hashtag image as featured image.
303
  Feed Display Type. Select the pagination style.
304
  Pagination. Uses standard pagination with “next” and “previous” buttons with the styles set in corresponding theme.
@@ -324,10 +330,9 @@ Show User info. Check to display a block with Instagram user information (userna
324
  Display User Bio. Check to display Instagram account-related bio.
325
  Display User Posts and Followers count. Check to display the number of Instagram posts and follower for each used Instagram account.
326
  Disable Mobile Layout. If you disable mobile layout the images will be displayed with defined number of columns regardless of the device in use. Otherwise the feed column number will be decreased for the smaller screen devices.
327
- Image Onclick. Select the action type when hitting the Instagram image. It can be redirected to Instagram or opened with a lightbox.
328
 
329
- = Blog Style Layout =
330
- Blog style layout is perfect options if you want to post in Instagram and repost the content to WordPress website as a photo blog. The images get displayed with larger dimension with their captions, descriptions and Instagram hashtags below.
331
  Feed Name. Provide a title for the Instagram feed. It will be useful to provide unique title since you will need it when inserting the feed within a page or post.
332
  Theme. Select one of the existing themes for the feed. All theme styling parameters will be applied.
333
  Feed Usernames and Hashtags. Provide all Instagram usernames and Instagram hashtags you want to use within the feed. All all them using add button. Usernames should be provided within the following format: “webdorado”, whereas for hashtags you need to use the following format: #webdorado.
@@ -345,7 +350,7 @@ Order By. Choose between ascending and descending options.
345
  Follow on Instagram Button. Choose whether to display follow button next to Instagram usernames or not.
346
  Display Header. Displays featured image and feed title.
347
  Number of Photos to Display. Define the number of images which will be displayed before using loading/pagination options.
348
- Number of Photos to Load. Define the number of images which will be displayed with each load/page.
349
  Resort After Loading New Images (Load More and Infinite Scroll only). If this option is disabled, only newly loaded images will be sorted according to the value of Sort Images By field. If enabled, both newly loaded and already shown images will be resorted together.
350
  Show Likes. Choose whether to display the number of Instagram likes or not.
351
  Show Description. Check to display image descriptions.
@@ -353,7 +358,7 @@ Show Comments. Check to display Instagram image comments.
353
  Show User info. Check to display a block with Instagram user information (username, profile image, etc.).
354
  Display User Bio. Check to display Instagram account-related bio.
355
  Display User Posts and Followers count. Check to display the number of Instagram posts and follower for each used Instagram account.
356
- Image Onclick. Select the action type when hitting the image. It can be redirected to Instagram or opened with a lightbox.
357
 
358
  = Image Browser =
359
  Image Browser displays a single large Instagram image with navigation buttons. You can display image properties below or above the image.
@@ -368,7 +373,7 @@ Likes- number of Instagram likes
368
  Comments- number of Instagram comments
369
  Random- randomizes displayed Instagram images.
370
  Order By. Choose between ascending and descending options.
371
- Follow on Instagram Button. Choose whether to display follow button next to Instagram usernames or not.
372
 
373
  Display Header. Displays featured image and feed title.
374
  Number of Images To Preload. Define the number of images which will be preloaded for this view.
@@ -382,18 +387,18 @@ Display User Posts and Followers count. Check to display the number of Instagram
382
  Image Onclick. Select the action type when hitting the image. It can be redirected to Instagram or opened with a lightbox.
383
 
384
  = Lightbox Settings =
385
- Note: Lightbox shows only already loaded images. For viewing entire Instagram Feed, you need to load all images included within the Instagram Feed.
386
 
387
  Full width lightbox. Check to enable full width button.
388
  Lightbox Width. Set the lightbox width. Note that it will be used for the entire display, thus when you press to view the comment image will be resized to fit this width.
389
  Lightbox Height. Set the lightbox height.
390
- Lightbox Effect. Select a lightbox slide transition effect. Each lightbox can use only one effect. Or choose random to display random effect for every transition.
391
  Lightbox autoplay. Choose whether use slideshow autoplay or not. If you decide not to use, you can instead set up control buttons.
392
  Time Interval. Define the time interval between each slide when autoplay is turned on.
393
  Enable filmstrip in lightbox. Choose whether to enable filmstrip within the lightbox or not. Filmstrip alignment and styling can be edited in Themes section.
394
  Filmstrip size. Define the filmstrip height/width (depending whether you have horizontal or vertical view, the stated dimension will be applied to one property only).
395
  Show Next / Previous Buttons. Choose whether to display Next/Previous buttons for the slideshow or not.
396
- Display info by default. Choose whether to display image/video caption and author profile by default or not.
397
  Full width info. Enable the option to display image/video information within entire width of the lightbox otherwise it will be displayed based on the image container width.
398
  Enable Loop. When loop is enabled the user the slideshow will continue to the first image/video when pressing Next button.
399
  Enable Right Click Protection. When enabled user will not be able to Save images or videos using Right-click and pressing Save as button.
@@ -406,20 +411,21 @@ Enable Download Button. Enable direct image/video download from lightbox.
406
  Enable Share Buttons. Enable social sharing buttons (Google+, Twitter, Facebook, Pinterest).
407
 
408
  = Publishing in a Page/Post =
409
- To use the created Instagram feeds within a page or post you should use shortcode. Open the page/post from the back end. Press on the Add Instagram Feed button within the editor. Then select the Instagram feed and press Insert button.
410
-
411
- An alternative will be copying the shortcode from Instagram Feed WD> Feeds toolbar and pasting it within post/page.
 
412
 
413
  = Publishing as a Widget =
414
  Go to Appearance > Widgets toolbar.
415
 
416
- Find Instagram Feed WD widget and assign it to a custom widget position. Fill in the details below:
417
 
418
  Title. Provide a title for your Instagram Feed.
419
- Feed. Select the Instagram feed which will be displayed as a widget.
420
  Number of Columns. Set the number of Instagram image columns (for thumbnail and masonry view).
421
  Number of images to display. Set a constant number of Instagram images which will be displayed with widget.
422
- Show Likes and Comments. Check the box to display Instagram likes and comments below view thumbnails.
423
 
424
  = Publishing by PHP function =
425
  It is also possible to insert the created Instagram feeds into the theme by calling it with PHP function. This feature is commonly used for adding the code to header.php for displaying Instagram feeds within header or footer position of the website. You can find the function located in Instagram Feed>Feeds section under PHP function column.
@@ -455,4 +461,3 @@ jQuery('#wdi_feed_0').on('wdi_feed_loaded',function(){
455
 
456
 
457
 
458
-
1
  === Instagram Feed WD - Instagram Gallery for WordPress ===
2
  Contributors: webdorado, progmastery
3
  Donate link: https://web-dorado.com/products/wordpress-instagram-feed-wd.html
4
+ Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 1.1.26
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
 
 
15
  [WordPress WD Instagram Feed ](https://web-dorado.com/products/wordpress-instagram-feed-wd.html)
16
  [Demo](http://wpdemo.web-dorado.com/instagram-wd/)
17
  [User Guide](https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/installation.html)
19
 
20
  https://www.youtube.com/watch?v=ijdrpkVAfEw
21
 
22
+ Are you looking for a free Instagram feed plugin for WordPress ? Do you want to show Instagram posts, photos and images on your WordPress website? Do you want a simple integration, responsive Instagram gallery, beautiful and custom-styled feeds?
23
+ Instagram Feed WD is the best Instagram plugin for WordPress to go with. It is a simple Instagram plugin that comes with a user-friendly management and easy setup, and lets you embed custom Instagram feeds of hashtags and users to your website in just a couple of minutes. You can embed Instagram galleries and entire timelines to your posts using a shortcode or using the plugin’s Instagram widget on your sidebar. You don’t need to install Instagram widget, or add any Instagram code. 0ur plugin comes with a free Instagram widget letting you display Instagram social feeds, photos, images as well as Instagram video feeds.
24
+
25
+ It’s fully customizable and the most feature-packed simple Instagram feed plugin for WordPress . It’s a simple WordPress plugin for Instagram designed for users who want to bring this widely popular social network to their websites and share Instagram pics with their visitors.
26
 
27
+ Instagram Feed WD allows displaying custom feeds based on public Instagram accounts and hashtags. You can create mixed feeds based on multiple accounts, multiple hashtags or any combination of both with the Pro version. This WordPress Instagram plugin uses 4 layouts 2 layouts for smaller thumbnail display (Thumbnail and Masonry views) and 2 for larger images (Blog Style and Image Browser views). Thumbnail view displays images with their metadata (Pro): caption, number of likes and comments. Image Browser displays single image with navigation possibility, metadata (Pro): image caption, number of likes and comments. Masonry layout (Pro) displays images in beautiful Instagram masonry view combining the image and its metadata (Pro). Blog Style layout (Pro)combines large image with its data similar creating a blog style display. All the layouts can display feed username and its metadata (bio, number of posts and followers).Also the plugin supports Instagram grid view which will give a distinct style to your website. It would be a perfect fit for photography websites, and for users who want to showcase beautiful Instagram galleries ,latest images and videos in their posts and pages.
28
 
29
+ Use Conditional Filters to display filtered feeds (Pro). This feature will let you filter out images and photos from the feeds based on the conditions you specify. Setting a filter is simple.Set up a filter logic (to hide or display posts), choose condition type (username, hashtag, mention,description, Instagram media link), fill in the condition and display filtered feeds. Feeds can have multiple filters. It’s a great way to show only those Instagram posts and images that your visitors would like to scroll through.
30
 
31
+ Images can be redirected to Instagram page or opened in a lightbox. You can set sorting for the images (date, likes, comments, random) as well as define the order (ascending/descending). In case of combined feeds you can use front-end filtering by clicking on specific hashtag or username. The lightbox displays Instagram pictures as a slideshow with different transition effects (Pro). In the Pro version of the plugin its Instagram lightbox also supports media caption, comments, social share buttons and filmstrip,making it an elegant advanced tool for viewing Instagram feed.
32
 
33
  Theme section (available with Pro version) allows to customize colors, sizes and display styles. Each layout uses its own theme which makes this section even more compelling.
34
 
35
+ The plugin is responsive and scales perfectly for mobile Instagram users.
36
+
37
  No feed data is stored in the database. All the images, videos (Pro), captions and comments are retrieved directly from the Instagram in the front-end, which makes this WordPress Instagram gallery plugin fast and very easy to use.
38
 
39
 
40
  ###IMPORTANT:
41
+ If you think you found a bug in Instagram Feed WD or wonder how to add Instagram to your website, or how to get Instagram plugin up and running, please check out [Support Forum](https://web-dorado.com/forum/wordpress-instagram-feed-wd.html) on our website. Additional information on how to download Instagram plugin to your website you can find in our user manual If you do not find a solution in the forum, do not hesitate to [click here to contact us](https://web-dorado.com/support/contact-us.html).
42
 
43
 
44
  = Instagram Feed main features include: =
45
 
46
+ * Responsive Instagram feeds
47
  * SEO-friendly
48
  * Unlimited Instagram feeds
49
  * Hashtag-based Instagram feed
56
  * Elegant lightbox with media captions
57
  * 1 Lightbox transition effect
58
  * Instagram icon for redirecting to Instagram account/Instagram hashtag feed
59
+ * Simple Instagram WordPress shortcode
60
  * Instagram WD PHP shortcode support
61
  * Instagram redirection possibility
62
  * Instagram Feed WD Widget
66
 
67
  * Masonry Layout Instagram feeds
68
  * Blog Style Layout Instagram feeds
69
+ * Image meta data (Instagram tag,image caption, comments, like) display
70
  * Mixed and multiple feeds (several Instagram hashtags and Instagram public accounts)
71
  * Fully Customizable Themes
72
  * Vertical/horizontal filmstrip in lightbox
109
  5. WordPress Instagram Feed WD - Theme Settings
110
 
111
  == Changelog ==
112
+ = 1.1.26 =
113
+ Fixed: Conflict with Beaver Builder
114
+ Fixed: Frontend error messages in old Chrome and Safari browsers
115
+ Changed: Translations hosted on WordPress.org
116
 
117
  = 1.1.25 =
118
  New: UX improvements: when authorizing and editing feeds
284
  Installing via FTP
285
  Login to your hosting space via an FTP software, e.g. FileZilla.
286
  Unzip the downloaded Instagram Feed WD plugin folder without making any changes to the folder.
287
+ Upload the Instagram plugin into the following location wp-content>wp-plugins.
288
  Login to the WordPress Administrator Panel.
289
  Activate Instagram Feed WD by going to Plugins and pressing Activate button.
290
 
296
  Reset access token and username button resets default user data in plugin. Use that button to get access token for other Instagram user.
297
 
298
  = Creating an Instagram Feed =
299
+ Creating a responsive Instagram feed is simple and easy with this user-friendly Instagram importer plugin.Go to Instagram Feed WD > Feed and press Add New. Here you can choose Instagram feed layout and manage lightbox options.From the lightbox options you can enable filmstrip, slideshow, and take full control how custom feed images, image galleries,pictures,Instagram gallery, and videos of this social network are displayed within the lightbox. You can enable autoplay to play photos and Instagram group images similar to an image slider. To get an Instagram slider appearance in the lightbox you’ll need to adjust the lightbox and image display settings.Lightbox works great with Instagram touch.The feed will be automatically updated once users share Instagram new images.The feeds support new Instagram carousel feature, and display the images of the responsive carousel.
300
+
301
 
302
  Create an Instagram feed based on one of the available layouts- Thumbnail, Masonry, Blog Style, Image Browser.
303
 
304
  = Thumbnails and Masonry Layouts =
305
+ Since Thumbnails and Masonry Layout Instagram Feeds use identical set of properties we will discuss them jointly. When using Thumbnail view, which is almost the same as grid Instagram view, images get identical dimensions, whereas with Masonry view Instagram images and their properties (description, caption, hashtags) get displayed as a masonry feed. This is the option to display Instagram grids for WordPress powered websites.Feed Name. Provide a title for the Instagram feed. It will be useful to provide unique title since you will need it when inserting the Instagram feed or timeline into a page or post.
 
 
306
  Theme. Select one of the existing themes for the Instagram feed. All theme styling parameters will be applied.
307
+ Feed Usernames and Hashtags. Provide all Instagram usernames and hashtags of the Instagram page you want to use within the Instagram feed. All all them using add button. Instagram Usernames should be provided within the following format: “webdorado”, whereas for Instagram hashtags you need to use the following format: #webdorado.
308
  Featured Image. One of the Instagram user avatars can be used as a featured image, select the relevant Instagram user in case you have more than one image. If you use Instagram hashtag feeds, you can set hashtag image as featured image.
309
  Feed Display Type. Select the pagination style.
310
  Pagination. Uses standard pagination with “next” and “previous” buttons with the styles set in corresponding theme.
330
  Display User Bio. Check to display Instagram account-related bio.
331
  Display User Posts and Followers count. Check to display the number of Instagram posts and follower for each used Instagram account.
332
  Disable Mobile Layout. If you disable mobile layout the images will be displayed with defined number of columns regardless of the device in use. Otherwise the feed column number will be decreased for the smaller screen devices.
333
+ Image Onclick. Select the action type when hitting the Instagram image. It can be redirected to Instagram (Instagram app for mobile Instagram users) or opened with a lightbox.
334
 
335
+ = Blog Style Layout =Blog style layout is a perfect option if you want to post in Instagram and repost the content to WordPress website as a photography blog.With this Instagram HTML plugin the images get displayed with larger dimension with their captions, descriptions and Instagram hashtags below .
 
336
  Feed Name. Provide a title for the Instagram feed. It will be useful to provide unique title since you will need it when inserting the feed within a page or post.
337
  Theme. Select one of the existing themes for the feed. All theme styling parameters will be applied.
338
  Feed Usernames and Hashtags. Provide all Instagram usernames and Instagram hashtags you want to use within the feed. All all them using add button. Usernames should be provided within the following format: “webdorado”, whereas for hashtags you need to use the following format: #webdorado.
350
  Follow on Instagram Button. Choose whether to display follow button next to Instagram usernames or not.
351
  Display Header. Displays featured image and feed title.
352
  Number of Photos to Display. Define the number of images which will be displayed before using loading/pagination options.
353
+ Number of Photos to Load. Define the number of Instagram wall photos which will be displayed with each load/page.
354
  Resort After Loading New Images (Load More and Infinite Scroll only). If this option is disabled, only newly loaded images will be sorted according to the value of Sort Images By field. If enabled, both newly loaded and already shown images will be resorted together.
355
  Show Likes. Choose whether to display the number of Instagram likes or not.
356
  Show Description. Check to display image descriptions.
358
  Show User info. Check to display a block with Instagram user information (username, profile image, etc.).
359
  Display User Bio. Check to display Instagram account-related bio.
360
  Display User Posts and Followers count. Check to display the number of Instagram posts and follower for each used Instagram account.
361
+ Image Onclick. Select the action type when hitting the image. It can be redirected to Instagram (Instagram app for website) or opened with a lightbox.
362
 
363
  = Image Browser =
364
  Image Browser displays a single large Instagram image with navigation buttons. You can display image properties below or above the image.
373
  Comments- number of Instagram comments
374
  Random- randomizes displayed Instagram images.
375
  Order By. Choose between ascending and descending options.
376
+ Follow on Instagram Button. Choose whether to display follow button next to social media Instagram usernames or not.
377
 
378
  Display Header. Displays featured image and feed title.
379
  Number of Images To Preload. Define the number of images which will be preloaded for this view.
387
  Image Onclick. Select the action type when hitting the image. It can be redirected to Instagram or opened with a lightbox.
388
 
389
  = Lightbox Settings =
390
+ Note: Lightbox shows only already loaded Instagram images. For viewing entire feeds of Instagram on website, you need to load all beautiful Instagram pictures and photos included within the Instagram Feed.
391
 
392
  Full width lightbox. Check to enable full width button.
393
  Lightbox Width. Set the lightbox width. Note that it will be used for the entire display, thus when you press to view the comment image will be resized to fit this width.
394
  Lightbox Height. Set the lightbox height.
395
+ Lightbox Effect. Select a lightbox Instagram slide transition effect. Each lightbox can use only one effect. Or choose random to display random effect for every transition.
396
  Lightbox autoplay. Choose whether use slideshow autoplay or not. If you decide not to use, you can instead set up control buttons.
397
  Time Interval. Define the time interval between each slide when autoplay is turned on.
398
  Enable filmstrip in lightbox. Choose whether to enable filmstrip within the lightbox or not. Filmstrip alignment and styling can be edited in Themes section.
399
  Filmstrip size. Define the filmstrip height/width (depending whether you have horizontal or vertical view, the stated dimension will be applied to one property only).
400
  Show Next / Previous Buttons. Choose whether to display Next/Previous buttons for the slideshow or not.
401
+ Display info by default. Choose whether to display image/video caption,Instagram tag, and author profile by default or not.
402
  Full width info. Enable the option to display image/video information within entire width of the lightbox otherwise it will be displayed based on the image container width.
403
  Enable Loop. When loop is enabled the user the slideshow will continue to the first image/video when pressing Next button.
404
  Enable Right Click Protection. When enabled user will not be able to Save images or videos using Right-click and pressing Save as button.
411
  Enable Share Buttons. Enable social sharing buttons (Google+, Twitter, Facebook, Pinterest).
412
 
413
  = Publishing in a Page/Post =
414
+ To import the created Instagram responsive feeds to a page or post you should use the shortcode. Open the page/post from the back end. Press on the Add Instagram Feed button within the editor. Then select the Instagram feed and press Insert button. You can also embed Instagram feeds to your posts or pages with an easier option. An alternative will be copying the shortcode from Instagram Feed WD> Feeds toolbar and pasting it within post/page. For non tech Instagram feed users this is a go-to option.CONDITIONAL FILTERS Conditional filters are used in cases if you want to insert filtered feeds of certain user(s) or hashtag(s). Conditional filters can be used for both displaying or skipping certain images. Filters are also applicable to mixed feeds. This is a a good way to display Instagram stream content that your users are most interested in to scroll through.
415
+ Enable Conditional Filters. Enabling the option you will be able to add condition to the feed.Source of filtering. When creating a feed you provide username(s) and/or hashtag(s). All provided usernames and/or hashtags will be used as initial source. Filters will be applied to feed generated on this selection.Filter Logic. Filter logic allows displaying one of the options:
416
+ And - Displays Instagram posts which correspond to all filters. Or - Displays Instagram posts which correspond to at least one of the filters.Nor - Hides Instagram posts which correspond to at least one of the filters. Add Condition. Write your condition, select condition type and click on Add New Condition. You can add as many conditions as you want repeating the process. You can add different condition types mixed together as well. Condition might be username (use @ before the username), hashtag (use # before the keyword), text or link (provide full URL) depending on condition type. Let’s discuss each condition type separately:
417
+ Username. Useful when you have a feed based on hashtags. It will allow displaying feeds of only certain accounts using that hashtag. Let’s consider you have #panda and #animal hashtags, you can set @natgeo and @instapandacool to display images from these two accounts. Hashtag. Useful when you have a feed based on usernames. It will allow displaying feeds using only certain hashtag, e.g. if you have @bmw and @instacars as users and want to display only posts containing #bmw hashtag. Mention. This can be used both in cases of hashtag and usernames, e.g. displaying posts where @moby is mentioned. Description. This can be used both with hashtags and usernames. This can be a single keyword or word combination which should be used within the Instagram post description. Instagram Media Link. This is the shareable link of the Instagram post. The entire URL should be used for serving as a filter.Result. Here you will see all of the added filters which will be applied to your feed.This feature is widely used on Instagram for eCommerce websites, as it serves like an Instagram feed with analytics.
418
 
419
  = Publishing as a Widget =
420
  Go to Appearance > Widgets toolbar.
421
 
422
+ Find Instagram Feed WD widget and assign it to a custom widget position on your site’s sidebar. Fill in the details below:
423
 
424
  Title. Provide a title for your Instagram Feed.
425
+ Feed. Select the Instagram social feed which will be displayed as a widget.
426
  Number of Columns. Set the number of Instagram image columns (for thumbnail and masonry view).
427
  Number of images to display. Set a constant number of Instagram images which will be displayed with widget.
428
+ Show Likes and Comments. Check the box to display Instagram likes and comments below view thumbnails.You can display Instagram widgets to as many widget areas as your theme supports.
429
 
430
  = Publishing by PHP function =
431
  It is also possible to insert the created Instagram feeds into the theme by calling it with PHP function. This feature is commonly used for adding the code to header.php for displaying Instagram feeds within header or footer position of the website. You can find the function located in Instagram Feed>Feeds section under PHP function column.
461
 
462
 
463
 
 
templates/plugin-uninstalled.php CHANGED
@@ -25,7 +25,7 @@
25
 
26
  </style>
27
  <div class="wdi_plugin_uninstalled">
28
- <p>Dear <span><?php echo (wp_get_current_user()->user_firstname!='') ? wp_get_current_user()->user_firstname .' '. wp_get_current_user()->user_lastname : wp_get_current_user()->user_login?></span> <?php _e('you have uninstalled','wdi') ?> <span>Instagram Feed WD </span><?php _e('plugin,if you want to use it again simply deactivate and activate it again','wdi') ?>
29
  <span class="wdi_regards">Best regards Web-Dorado Team.</span></p>
30
  <a href="<?php echo $deactivate_url?>">Deactivate Plugin</a>
31
  <p id="wdi_redirect"></p>
25
 
26
  </style>
27
  <div class="wdi_plugin_uninstalled">
28
+ <p>Dear <span><?php echo (wp_get_current_user()->user_firstname!='') ? wp_get_current_user()->user_firstname .' '. wp_get_current_user()->user_lastname : wp_get_current_user()->user_login?></span> <?php _e('you have uninstalled','wd-instagram-feed') ?> <span>Instagram Feed WD </span><?php _e('plugin,if you want to use it again simply deactivate and activate it again','wd-instagram-feed') ?>
29
  <span class="wdi_regards">Best regards Web-Dorado Team.</span></p>
30
  <a href="<?php echo $deactivate_url?>">Deactivate Plugin</a>
31
  <p id="wdi_redirect"></p>
wd-instagram-feed.php CHANGED
@@ -3,10 +3,11 @@
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.25
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
 
10
  */
11
 
12
  //define constants
@@ -20,7 +21,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.25');
24
  define('WDI_IS_PRO','false');
25
 
26
 
@@ -136,10 +137,10 @@ function wdi_register_settings(){
136
  $settings = wdi_get_settings();
137
 
138
  //adding configure section
139
- add_settings_section('wdi_configure_section',__('Configure', "wdi"),'wdi_configure_section_callback','settings_wdi');
140
 
141
  //adding customize section
142
- add_settings_section('wdi_customize_section',__('Customize', "wdi"),'wdi_customize_section_callback','settings_wdi');
143
 
144
  //adding settings fileds form getted settings
145
  foreach($settings as $setting_name => $setting){
@@ -174,15 +175,15 @@ function WDI_instagram_menu() {
174
  $parent_slug = null;
175
  if( get_option( "wdi_subscribe_done" ) == 1 ){
176
  $parent_slug = "wdi_feeds";
177
- $settings_page = add_menu_page(__('Instagram Feed WD',"wdi"), __('Instagram Feed WD',"wdi"),$min_feeds_capability,'wdi_feeds','WDI_instagram_feeds_page',$menu_icon);
178
  }
179
- add_submenu_page($parent_slug,__('Feeds',"wdi"),__('Feeds',"wdi"),$min_feeds_capability,'wdi_feeds','WDI_instagram_feeds_page');
180
- add_submenu_page($parent_slug,__('Themes',"wdi"),__('Themes',"wdi"),$min_feeds_capability,'wdi_themes','WDI_instagram_themes_page');
181
- add_submenu_page($parent_slug,__('Settings',"wdi"),__('Settings',"wdi"),'manage_options','wdi_settings','WDI_instagram_settings_page');
182
- //add_submenu_page('overview_wdi',__('Featured Themes',"wdi"),__('Featured Themes',"wdi"),$min_feeds_capability,'wdi_featured_themes','wdi_featured_themes');
183
- //add_submenu_page('overview_wdi',__('Featured Plugins',"wdi"),__('Featured Plugins',"wdi"),$min_feeds_capability,'wdi_featured_plugins','wdi_featured_plugins');
184
- add_submenu_page($parent_slug,__('Upgrade to Pro',"wdi"),__('Upgrade to Pro',"wdi"),$min_feeds_capability,'wdi_licensing','WDI_instagram_licensing_page');
185
- add_submenu_page($parent_slug,__('Uninstall',"wdi"),__('Uninstall',"wdi"),'manage_options','wdi_uninstall','WDI_instagram_uninstall_page');
186
  }
187
 
188
 
@@ -271,29 +272,29 @@ function wdi_load_scripts($hook){
271
  wp_localize_script("wdi_admin", 'wdi_version',array('is_pro'=>WDI_IS_PRO));
272
 
273
  wp_localize_script("wdi_admin", 'wdi_messages',array(
274
- 'uninstall_confirm' => __( "All the data will be removed from the database. Continue?", "wdi" ),
275
- 'instagram_server_error' => __('Some error with instagram servers, try agian later :(', "wdi" ),
276
- 'invalid_user' => __('Invalid user:', "wdi" ),
277
- 'already_added' => __('already added!', "wdi"),
278
- 'user_not_exist' => __('User %s does not exist.', "wdi"),
279
- 'network_error' => __("Network Error, please try again later. :(", "wdi"),
280
- 'invalid_hashtag' => __('Invalid hashtag', "wdi"),
281
- 'hashtag_no_data' => __('This hashtag currently has no posts. Are you sure you want to add it?','wdi'),
282
- 'only_one_user_or_hashtag'=> __('You can add only one username or hashtag in FREE Version', "wdi"),
283
- 'available_in_pro' => __('Available in PRO','wdi'),
284
  'username_hashtag_multiple' => __('Combined Usernames/Hashtags are available only in PRO version'),
285
- 'theme_save_message_free' => __('Customizing Themes is available only in PRO version','wdi'),
286
- 'invalid_url' => __('URL is not valid','wdi'),
287
- 'selectConditionType' => __('Please Select Condition Type','wdi'),
288
- 'and_descr' => __('Show Posts Which Have All Of The Conditions','wdi'),
289
- 'or_descr' => __('Show Posts Which Have At Least One Of The Conditions','wdi'),
290
- 'nor_descr' => __('Hide Posts Which Have At Least One Of The Conditions','wdi'),
291
- 'either' => __('EITHER','wdi'),
292
- 'neither' => __('NEITHER','wdi'),
293
- 'not' => __('EXCEPT','wdi'),
294
- 'and' => __('AND','wdi'),
295
- 'or' => __('OR','wdi'),
296
- 'nor' => __('NOR','wdi')
297
  ));
298
  wp_localize_script("wdi_admin", 'wdi_url',array('plugin_url'=>plugin_dir_url(__FILE__)));
299
  wp_localize_script("wdi_admin", 'wdi_admin',array('admin_url' =>get_admin_url()));
@@ -426,7 +427,7 @@ add_action( 'init', 'wdi_load_textdomain' );
426
  *
427
  */
428
  function wdi_load_textdomain() {
429
- load_plugin_textdomain( "wdi", false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
430
 
431
  }
432
 
@@ -464,93 +465,93 @@ function wdi_wd_lib_init(){
464
  "plugin_wordpress_slug" => "wd-instagram-feed",
465
  "plugin_dir" => WDI_DIR,
466
  "plugin_main_file" => __FILE__,
467
- "description" => __("The most advanced and user-friendly Instagram plugin. Instagram Feed WD plugin allows you to display image feeds from single or multiple Instagram accounts on a WordPress site.", 'wdi'),
468
  // from web-dorado.com
469
  "plugin_features" => array(
470
  0 => array(
471
- "title" => __("Responsive", "wdi"),
472
- "description" => __("Instagram feeds are not only elegantly designed to be displayed on your website, but also come fully responsive for better user experience when using mobile devices and tables.", "wdi"),
473
  ),
474
  1 => array(
475
- "title" => __("SEO Friendly", "wdi"),
476
- "description" => __("Instagram Feed WD uses clean coding and latest SEO techniques necessary to keep your pages and posts SEO-optimized.", "wdi"),
477
  ),
478
  2 => array(
479
- "title" => __("4 Fully Customizable Layouts", "wdi"),
480
- "description" => __("There are four layout options for Instagram feeds: Thumbnails, Image Browser, Blog Style and Masonry. Display a feed as a simply arranged thumbnails with captions. Use Masonry layout to create a beautiful combination of images and captions. Create a blog feed by simply sharing Instagram posts with captions using blog style layout. Image browser layout saves space, yet allows to display larger images. In addition users can choose the number of the displayed images, layout columns, image order and etc.", "wdi"),
481
  ),
482
  3 => array(
483
- "title" => __("Individual and Mixed Feeds", "wdi"),
484
- "description" => __("Create mixed and single feeds of Instagram posts. Single feeds can be based on public Instagram accounts and single Instagram hashtag. Mixed feeds can contain multiple public Instagram accounts and multiple Instagram hashtags. A front end filter is available for mixed feeds. Click to filter only one feed based on a single hashtag or account.", "wdi"),
485
  ),
486
  4 => array(
487
- "title" => __("Advanced Lightbox", "wdi"),
488
- "description" => __("Upon clicking on image thumbnails an elegant lightbox will be opened, where you will find control buttons for displaying images in larger view, read image comments, captions, view image metadata and easily navigate between images. Lightbox can serve as a slider with various stunning slide transition effects. If the feed contains video, the video will be played within the lightbox as an HTML5 video.", "wdi"),
489
  )
490
  ),
491
  // user guide from web-dorado.com
492
  "user_guide" => array(
493
  0 => array(
494
- "main_title" => __("Installation and configuration", "wdi"),
495
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/installation.html",
496
  "titles" => array(
497
  array(
498
- "title" => __("Getting Instagram Access Token", "wdi"),
499
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/getting-access-token.html"
500
  )
501
  )
502
  ),
503
  1 => array(
504
- "main_title" => __("Creating an Instagram Feed", "wdi"),
505
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html",
506
  "titles" => array(
507
  array(
508
- "title" => __("Thumbnails and Masonry Layouts", "wdi"),
509
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/thumbnails-and-masonry-layouts.html",
510
  ),
511
  array(
512
- "title" => __("Blog Style Layout", "wdi"),
513
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/blog-style-layout.html",
514
  ),
515
  array(
516
- "title" => __("Image Browser", "wdi"),
517
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/image-browser.html",
518
  ),
519
  array(
520
- "title" => __("Lightbox Settings", "wdi"),
521
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/lightbox-settings.html",
522
  ),
523
  array(
524
- "title" => __("Conditional Filters", "wdi"),
525
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/conditional-filters.html",
526
  ),
527
  )
528
  ),
529
  2 => array(
530
- "main_title" => __("Publishing Instagram Feed", "wdi"),
531
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed.html",
532
  "titles" => array(
533
  array(
534
- "title" => __("Publishing in a Page/Post", "wdi"),
535
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/page-post.html",
536
  ),
537
  array(
538
- "title" => __("Publishing as a Widget", "wdi"),
539
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/widget.html",
540
  ),
541
  array(
542
- "title" => __("Publishing by PHP function", "wdi"),
543
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/php-function.html",
544
  ),
545
  )
546
  ),
547
  3 => array(
548
- "main_title" => __("Styling with Themes", "wdi"),
549
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/editing-themes.html",
550
  "titles" => array()
551
  ),
552
  4 => array(
553
- "main_title" => __("Advanced customizing options", "wdi"),
554
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/advanced-customizing-options.html",
555
  "titles" => array()
556
  ),
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.26
7
  Author: WebDorado
8
  Author URI: https://web-dorado.com
9
  License: GPLv2 or later
10
+ Text Domain: wd-instagram-feed
11
  */
12
 
13
  //define constants
21
  //define("wdi",'wdi');
22
  define('WDI_FEED_TABLE','wdi_feeds');
23
  define('WDI_THEME_TABLE','wdi_themes');
24
+ define('WDI_VERSION','1.1.26');
25
  define('WDI_IS_PRO','false');
26
 
27
 
137
  $settings = wdi_get_settings();
138
 
139
  //adding configure section
140
+ add_settings_section('wdi_configure_section',__('Configure', "wd-instagram-feed"),'wdi_configure_section_callback','settings_wdi');
141
 
142
  //adding customize section
143
+ add_settings_section('wdi_customize_section',__('Customize', "wd-instagram-feed"),'wdi_customize_section_callback','settings_wdi');
144
 
145
  //adding settings fileds form getted settings
146
  foreach($settings as $setting_name => $setting){
175
  $parent_slug = null;
176
  if( get_option( "wdi_subscribe_done" ) == 1 ){
177
  $parent_slug = "wdi_feeds";
178
+ $settings_page = add_menu_page(__('Instagram Feed WD',"wd-instagram-feed"), __('Instagram Feed WD',"wd-instagram-feed"),$min_feeds_capability,'wdi_feeds','WDI_instagram_feeds_page',$menu_icon);
179
  }
180
+ add_submenu_page($parent_slug,__('Feeds',"wd-instagram-feed"),__('Feeds',"wd-instagram-feed"),$min_feeds_capability,'wdi_feeds','WDI_instagram_feeds_page');
181
+ add_submenu_page($parent_slug,__('Themes',"wd-instagram-feed"),__('Themes',"wd-instagram-feed"),$min_feeds_capability,'wdi_themes','WDI_instagram_themes_page');
182
+ add_submenu_page($parent_slug,__('Settings',"wd-instagram-feed"),__('Settings',"wd-instagram-feed"),'manage_options','wdi_settings','WDI_instagram_settings_page');
183
+ //add_submenu_page('overview_wdi',__('Featured Themes',"wd-instagram-feed"),__('Featured Themes',"wd-instagram-feed"),$min_feeds_capability,'wdi_featured_themes','wdi_featured_themes');
184
+ //add_submenu_page('overview_wdi',__('Featured Plugins',"wd-instagram-feed"),__('Featured Plugins',"wd-instagram-feed"),$min_feeds_capability,'wdi_featured_plugins','wdi_featured_plugins');
185
+ add_submenu_page($parent_slug,__('Upgrade to Pro',"wd-instagram-feed"),__('Upgrade to Pro',"wd-instagram-feed"),$min_feeds_capability,'wdi_licensing','WDI_instagram_licensing_page');
186
+ add_submenu_page($parent_slug,__('Uninstall',"wd-instagram-feed"),__('Uninstall',"wd-instagram-feed"),'manage_options','wdi_uninstall','WDI_instagram_uninstall_page');
187
  }
188
 
189
 
272
  wp_localize_script("wdi_admin", 'wdi_version',array('is_pro'=>WDI_IS_PRO));
273
 
274
  wp_localize_script("wdi_admin", 'wdi_messages',array(
275
+ 'uninstall_confirm' => __( "All the data will be removed from the database. Continue?", "wd-instagram-feed" ),
276
+ 'instagram_server_error' => __('Some error with instagram servers, try agian later :(', "wd-instagram-feed" ),
277
+ 'invalid_user' => __('Invalid user:', "wd-instagram-feed" ),
278
+ 'already_added' => __('already added!', "wd-instagram-feed"),
279
+ 'user_not_exist' => __('User %s does not exist.', "wd-instagram-feed"),
280
+ 'network_error' => __("Network Error, please try again later. :(", "wd-instagram-feed"),
281
+ 'invalid_hashtag' => __('Invalid hashtag', "wd-instagram-feed"),
282
+ 'hashtag_no_data' => __('This hashtag currently has no posts. Are you sure you want to add it?','wd-instagram-feed'),
283
+ 'only_one_user_or_hashtag'=> __('You can add only one username or hashtag in FREE Version', "wd-instagram-feed"),
284
+ 'available_in_pro' => __('Available in PRO','wd-instagram-feed'),
285
  'username_hashtag_multiple' => __('Combined Usernames/Hashtags are available only in PRO version'),
286
+ 'theme_save_message_free' => __('Customizing Themes is available only in PRO version','wd-instagram-feed'),
287
+ 'invalid_url' => __('URL is not valid','wd-instagram-feed'),
288
+ 'selectConditionType' => __('Please Select Condition Type','wd-instagram-feed'),
289
+ 'and_descr' => __('Show Posts Which Have All Of The Conditions','wd-instagram-feed'),
290
+ 'or_descr' => __('Show Posts Which Have At Least One Of The Conditions','wd-instagram-feed'),
291
+ 'nor_descr' => __('Hide Posts Which Have At Least One Of The Conditions','wd-instagram-feed'),
292
+ 'either' => __('EITHER','wd-instagram-feed'),
293
+ 'neither' => __('NEITHER','wd-instagram-feed'),
294
+ 'not' => __('EXCEPT','wd-instagram-feed'),
295
+ 'and' => __('AND','wd-instagram-feed'),
296
+ 'or' => __('OR','wd-instagram-feed'),
297
+ 'nor' => __('NOR','wd-instagram-feed')
298
  ));
299
  wp_localize_script("wdi_admin", 'wdi_url',array('plugin_url'=>plugin_dir_url(__FILE__)));
300
  wp_localize_script("wdi_admin", 'wdi_admin',array('admin_url' =>get_admin_url()));
427
  *
428
  */
429
  function wdi_load_textdomain() {
430
+ load_plugin_textdomain( "wd-instagram-feed", false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
431
 
432
  }
433
 
465
  "plugin_wordpress_slug" => "wd-instagram-feed",
466
  "plugin_dir" => WDI_DIR,
467
  "plugin_main_file" => __FILE__,
468
+ "description" => __("The most advanced and user-friendly Instagram plugin. Instagram Feed WD plugin allows you to display image feeds from single or multiple Instagram accounts on a WordPress site.", 'wd-instagram-feed'),
469
  // from web-dorado.com
470
  "plugin_features" => array(
471
  0 => array(
472
+ "title" => __("Responsive", "wd-instagram-feed"),
473
+ "description" => __("Instagram feeds are not only elegantly designed to be displayed on your website, but also come fully responsive for better user experience when using mobile devices and tables.", "wd-instagram-feed"),
474
  ),
475
  1 => array(
476
+ "title" => __("SEO Friendly", "wd-instagram-feed"),
477
+ "description" => __("Instagram Feed WD uses clean coding and latest SEO techniques necessary to keep your pages and posts SEO-optimized.", "wd-instagram-feed"),
478
  ),
479
  2 => array(
480
+ "title" => __("4 Fully Customizable Layouts", "wd-instagram-feed"),
481
+ "description" => __("There are four layout options for Instagram feeds: Thumbnails, Image Browser, Blog Style and Masonry. Display a feed as a simply arranged thumbnails with captions. Use Masonry layout to create a beautiful combination of images and captions. Create a blog feed by simply sharing Instagram posts with captions using blog style layout. Image browser layout saves space, yet allows to display larger images. In addition users can choose the number of the displayed images, layout columns, image order and etc.", "wd-instagram-feed"),
482
  ),
483
  3 => array(
484
+ "title" => __("Individual and Mixed Feeds", "wd-instagram-feed"),
485
+ "description" => __("Create mixed and single feeds of Instagram posts. Single feeds can be based on public Instagram accounts and single Instagram hashtag. Mixed feeds can contain multiple public Instagram accounts and multiple Instagram hashtags. A front end filter is available for mixed feeds. Click to filter only one feed based on a single hashtag or account.", "wd-instagram-feed"),
486
  ),
487
  4 => array(
488
+ "title" => __("Advanced Lightbox", "wd-instagram-feed"),
489
+ "description" => __("Upon clicking on image thumbnails an elegant lightbox will be opened, where you will find control buttons for displaying images in larger view, read image comments, captions, view image metadata and easily navigate between images. Lightbox can serve as a slider with various stunning slide transition effects. If the feed contains video, the video will be played within the lightbox as an HTML5 video.", "wd-instagram-feed"),
490
  )
491
  ),
492
  // user guide from web-dorado.com
493
  "user_guide" => array(
494
  0 => array(
495
+ "main_title" => __("Installation and configuration", "wd-instagram-feed"),
496
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/installation.html",
497
  "titles" => array(
498
  array(
499
+ "title" => __("Getting Instagram Access Token", "wd-instagram-feed"),
500
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/getting-access-token.html"
501
  )
502
  )
503
  ),
504
  1 => array(
505
+ "main_title" => __("Creating an Instagram Feed", "wd-instagram-feed"),
506
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds.html",
507
  "titles" => array(
508
  array(
509
+ "title" => __("Thumbnails and Masonry Layouts", "wd-instagram-feed"),
510
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/thumbnails-and-masonry-layouts.html",
511
  ),
512
  array(
513
+ "title" => __("Blog Style Layout", "wd-instagram-feed"),
514
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/blog-style-layout.html",
515
  ),
516
  array(
517
+ "title" => __("Image Browser", "wd-instagram-feed"),
518
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/image-browser.html",
519
  ),
520
  array(
521
+ "title" => __("Lightbox Settings", "wd-instagram-feed"),
522
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/lightbox-settings.html",
523
  ),
524
  array(
525
+ "title" => __("Conditional Filters", "wd-instagram-feed"),
526
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/creating-feeds/conditional-filters.html",
527
  ),
528
  )
529
  ),
530
  2 => array(
531
+ "main_title" => __("Publishing Instagram Feed", "wd-instagram-feed"),
532
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed.html",
533
  "titles" => array(
534
  array(
535
+ "title" => __("Publishing in a Page/Post", "wd-instagram-feed"),
536
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/page-post.html",
537
  ),
538
  array(
539
+ "title" => __("Publishing as a Widget", "wd-instagram-feed"),
540
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/widget.html",
541
  ),
542
  array(
543
+ "title" => __("Publishing by PHP function", "wd-instagram-feed"),
544
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/publishing-feed/php-function.html",
545
  ),
546
  )
547
  ),
548
  3 => array(
549
+ "main_title" => __("Styling with Themes", "wd-instagram-feed"),
550
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/editing-themes.html",
551
  "titles" => array()
552
  ),
553
  4 => array(
554
+ "main_title" => __("Advanced customizing options", "wd-instagram-feed"),
555
  "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/advanced-customizing-options.html",
556
  "titles" => array()
557
  ),