Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.38

Version Description

  • New: Carousel view.
  • Fixed: Horizontal Mosaic view bug.
  • Fixed: Print bug.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.2.38
Comparing to
See all releases

Code changes from version 1.2.37 to 1.2.38

admin/controllers/BWGControllerOptions_bwg.php CHANGED
@@ -213,6 +213,21 @@ class BWGControllerOptions_bwg {
213
  $enable_loop = (isset($_POST['enable_loop']) ? esc_html(stripslashes($_POST['enable_loop'])) : 1);
214
  $enable_addthis = (isset($_POST['enable_addthis']) ? esc_html(stripslashes($_POST['enable_addthis'])) : 0);
215
  $addthis_profile_id = (isset($_POST['addthis_profile_id']) ? esc_html(stripslashes($_POST['addthis_profile_id'])) : '');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
 
217
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
218
  'images_directory' => $images_directory,
@@ -334,6 +349,21 @@ class BWGControllerOptions_bwg {
334
  'enable_loop' => $enable_loop,
335
  'enable_addthis' => $enable_addthis,
336
  'addthis_profile_id' => $addthis_profile_id,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  ), array('id' => 1));
338
 
339
  if ($save !== FALSE) {
213
  $enable_loop = (isset($_POST['enable_loop']) ? esc_html(stripslashes($_POST['enable_loop'])) : 1);
214
  $enable_addthis = (isset($_POST['enable_addthis']) ? esc_html(stripslashes($_POST['enable_addthis'])) : 0);
215
  $addthis_profile_id = (isset($_POST['addthis_profile_id']) ? esc_html(stripslashes($_POST['addthis_profile_id'])) : '');
216
+ //carousel
217
+
218
+ $carousel_interval = (isset($_POST['carousel_interval']) ? esc_html(stripslashes($_POST['carousel_interval'])) : 5);
219
+ $carousel_width = (isset($_POST['carousel_width']) ? esc_html(stripslashes($_POST['carousel_width'])) : 300);
220
+ $carousel_height = (isset($_POST['carousel_height']) ? esc_html(stripslashes($_POST['carousel_height'])) : 300);
221
+ $carousel_image_par = (isset($_POST['carousel_image_par']) ? esc_html(stripslashes($_POST['carousel_image_par'])) : 0.75);
222
+ $carousel_image_column_number = (isset($_POST['carousel_image_column_number']) ? esc_html(stripslashes($_POST['carousel_image_column_number'])) : 5);
223
+ $carousel_enable_title = (isset($_POST['carousel_enable_title']) ? esc_html(stripslashes($_POST['carousel_enable_title'])) : 0);
224
+ /*$carousel_title_full_width = (isset($_POST['carousel_title_full_width']) ? esc_html(stripslashes($_POST['carousel_title_full_width'])) : 620);*/
225
+ $carousel_enable_autoplay = (isset($_POST['carousel_enable_autoplay']) ? esc_html(stripslashes($_POST['carousel_enable_autoplay'])) : 0);
226
+ $carousel_r_width = (isset($_POST['carousel_r_width']) ? esc_html(stripslashes($_POST['carousel_r_width'])) : 800);
227
+ $carousel_fit_containerWidth = (isset($_POST['carousel_fit_containerWidth']) ? esc_html(stripslashes($_POST['carousel_fit_containerWidth'])) : 1);
228
+ $carousel_prev_next_butt = (isset($_POST['carousel_prev_next_butt']) ? esc_html(stripslashes($_POST['carousel_prev_next_butt'])) : 1);
229
+ $carousel_play_pause_butt = (isset($_POST['carousel_play_pause_butt']) ? esc_html(stripslashes($_POST['carousel_play_pause_butt'])) : 1);
230
+
231
 
232
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
233
  'images_directory' => $images_directory,
349
  'enable_loop' => $enable_loop,
350
  'enable_addthis' => $enable_addthis,
351
  'addthis_profile_id' => $addthis_profile_id,
352
+
353
+ //carousel
354
+
355
+ 'carousel_interval' => $carousel_interval,
356
+ 'carousel_width' => $carousel_width,
357
+ 'carousel_height' => $carousel_height,
358
+ /*'carousel_title_full_width' => $carousel_title_full_width,*/
359
+ 'carousel_image_column_number' => $carousel_image_column_number,
360
+ 'carousel_image_par' => $carousel_image_par,
361
+ 'carousel_enable_title' => $carousel_enable_title,
362
+ 'carousel_enable_autoplay' => $carousel_enable_autoplay,
363
+ 'carousel_r_width' => $carousel_r_width,
364
+ 'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
365
+ 'carousel_prev_next_butt' => $carousel_prev_next_butt,
366
+ 'carousel_play_pause_butt' => $carousel_play_pause_butt,
367
  ), array('id' => 1));
368
 
369
  if ($save !== FALSE) {
admin/controllers/BWGControllerThemes_bwg.php CHANGED
@@ -514,6 +514,37 @@ class BWGControllerThemes_bwg {
514
  $masonry_description_font_size = (isset($_POST['masonry_description_font_size']) ? (int) esc_html(stripslashes( $_POST['masonry_description_font_size'])) : 12);
515
  $masonry_description_color = (isset($_POST['masonry_description_color']) ? esc_html(stripslashes( $_POST['masonry_description_color'])) : 'CCCCCC');
516
  $masonry_description_font_style = (isset($_POST['masonry_description_font_style']) ? esc_html(stripslashes( $_POST['masonry_description_font_style'])) : 'segoe ui');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
 
518
  $default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes( $_POST['default_theme'])) : 0);
519
  if ($id != 0) {
@@ -933,7 +964,37 @@ class BWGControllerThemes_bwg {
933
  'album_masonry_thumb_hover_effect' => $album_masonry_thumb_hover_effect,
934
  'album_masonry_thumb_hover_effect_value' => $album_masonry_thumb_hover_effect_value,
935
  'album_masonry_thumb_transition' => $album_masonry_thumb_transition,
936
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
937
  'default_theme' => $default_theme,
938
  ), array('id' => $id));
939
  }
@@ -1353,7 +1414,37 @@ class BWGControllerThemes_bwg {
1353
  'album_masonry_thumb_hover_effect' => $album_masonry_thumb_hover_effect,
1354
  'album_masonry_thumb_hover_effect_value' => $album_masonry_thumb_hover_effect_value,
1355
  'album_masonry_thumb_transition' => $album_masonry_thumb_transition,
1356
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1357
  'default_theme' => $default_theme,
1358
  ), array(
1359
  '%s',
@@ -1775,6 +1866,36 @@ class BWGControllerThemes_bwg {
1775
  '%d',
1776
  '%s',
1777
  '%s',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1778
 
1779
  '%d',
1780
  ));
514
  $masonry_description_font_size = (isset($_POST['masonry_description_font_size']) ? (int) esc_html(stripslashes( $_POST['masonry_description_font_size'])) : 12);
515
  $masonry_description_color = (isset($_POST['masonry_description_color']) ? esc_html(stripslashes( $_POST['masonry_description_color'])) : 'CCCCCC');
516
  $masonry_description_font_style = (isset($_POST['masonry_description_font_style']) ? esc_html(stripslashes( $_POST['masonry_description_font_style'])) : 'segoe ui');
517
+ //carousel
518
+ $carousel_cont_bg_color = (isset($_POST['carousel_cont_bg_color']) ? esc_html(stripslashes( $_POST['carousel_cont_bg_color'])) : 'FFFFFF');
519
+ $carousel_cont_btn_transparent = (isset($_POST['carousel_cont_btn_transparent']) ? (int) esc_html(stripslashes( $_POST['carousel_cont_btn_transparent'])) : 0);
520
+ $carousel_close_btn_transparent = (isset($_POST['carousel_close_btn_transparent']) ? (int) esc_html(stripslashes( $_POST['carousel_close_btn_transparent'])) : 80);
521
+ $carousel_rl_btn_bg_color = (isset($_POST['carousel_rl_btn_bg_color']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_bg_color'])) : 'CCCCCC');
522
+ $carousel_rl_btn_border_radius = (isset($_POST['carousel_rl_btn_border_radius']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_border_radius'])) : '');
523
+ $carousel_rl_btn_border_width = (isset($_POST['carousel_rl_btn_border_width']) ? (int) esc_html(stripslashes( $_POST['carousel_rl_btn_border_width'])) : 1);
524
+ $carousel_rl_btn_border_style = (isset($_POST['carousel_rl_btn_border_style']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_border_style'])) : 'solid');
525
+ $carousel_rl_btn_border_color = (isset($_POST['carousel_rl_btn_border_color']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_border_color'])) : '000000');
526
+ $carousel_rl_btn_color = (isset($_POST['carousel_rl_btn_color']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_color'])) : 'FFFFFF');
527
+ $carousel_rl_btn_height = (isset($_POST['carousel_rl_btn_height']) ? (int) esc_html(stripslashes( $_POST['carousel_rl_btn_height'])) : 10);
528
+ $carousel_rl_btn_size = (isset($_POST['carousel_rl_btn_size']) ? (int) esc_html(stripslashes( $_POST['carousel_rl_btn_size'])) : 20);
529
+ $carousel_play_pause_btn_size = (isset($_POST['carousel_play_pause_btn_size']) ? (int) esc_html(stripslashes( $_POST['carousel_play_pause_btn_size'])) : 20);
530
+ $carousel_rl_btn_width = (isset($_POST['carousel_rl_btn_width']) ? (int) esc_html(stripslashes( $_POST['carousel_rl_btn_width'])) : 30);
531
+ $carousel_close_rl_btn_hover_color = (isset($_POST['carousel_close_rl_btn_hover_color']) ? esc_html(stripslashes( $_POST['carousel_close_rl_btn_hover_color'])) : 'FFFFFF');
532
+ $carousel_rl_btn_style = (isset($_POST['carousel_rl_btn_style']) ? esc_html(stripslashes( $_POST['carousel_rl_btn_style'])) : 'fa-chevron');
533
+ $carousel_mergin_bottom = (isset($_POST['carousel_mergin_bottom']) ? esc_html(stripslashes( $_POST['carousel_mergin_bottom'])) : '1');
534
+ $carousel_font_family = (isset($_POST['carousel_font_family']) ? esc_html(stripslashes( $_POST['carousel_font_family'])) : 'Arial');
535
+ $carousel_feature_border_width = (isset($_POST['carousel_feature_border_width']) ? (int) esc_html(stripslashes( $_POST['carousel_feature_border_width'])) : 2);
536
+ $carousel_feature_border_style = (isset($_POST['carousel_feature_border_style']) ? esc_html(stripslashes( $_POST['carousel_feature_border_style'])) : 'solid');
537
+ $carousel_feature_border_color = (isset($_POST['carousel_feature_border_color']) ? esc_html(stripslashes( $_POST['carousel_feature_border_color'])) : '5D204F');
538
+ $carousel_caption_background_color = (isset($_POST['carousel_caption_background_color']) ? esc_html(stripslashes( $_POST['carousel_caption_background_color'])) : '000000');
539
+ $carousel_caption_bottom = (isset($_POST['carousel_caption_bottom']) ? (int) esc_html(stripslashes( $_POST['carousel_caption_bottom'])) : 0);
540
+ $carousel_caption_p_mergin = (isset($_POST['carousel_caption_p_mergin']) ? (int) esc_html(stripslashes( $_POST['carousel_caption_p_mergin'])) : 0);
541
+ $carousel_caption_p_pedding = (isset($_POST['carousel_caption_p_pedding']) ? (int) esc_html(stripslashes( $_POST['carousel_caption_p_pedding'])) : 5);
542
+ $carousel_caption_p_font_weight = (isset($_POST['carousel_caption_p_font_weight']) ? esc_html(stripslashes( $_POST['carousel_caption_p_font_weight'])) : 'bold');
543
+ $carousel_caption_p_font_size = (isset($_POST['carousel_caption_p_font_size']) ? (int) esc_html(stripslashes( $_POST['carousel_caption_p_font_size'])) : 14);
544
+ $carousel_caption_p_color = (isset($_POST['carousel_caption_p_color']) ? esc_html(stripslashes( $_POST['carousel_caption_p_color'])) : '000000');
545
+ $carousel_title_opacity = (isset($_POST['carousel_title_opacity']) ? (int) esc_html(stripslashes( $_POST['carousel_title_opacity'])) : 100);
546
+ $carousel_title_border_radius = (isset($_POST['carousel_title_border_radius']) ? esc_html(stripslashes( $_POST['carousel_title_border_radius'])) : '5px');
547
+
548
 
549
  $default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes( $_POST['default_theme'])) : 0);
550
  if ($id != 0) {
964
  'album_masonry_thumb_hover_effect' => $album_masonry_thumb_hover_effect,
965
  'album_masonry_thumb_hover_effect_value' => $album_masonry_thumb_hover_effect_value,
966
  'album_masonry_thumb_transition' => $album_masonry_thumb_transition,
967
+
968
+ 'carousel_cont_bg_color' => $carousel_cont_bg_color,
969
+ 'carousel_cont_btn_transparent' => $carousel_cont_btn_transparent,
970
+ 'carousel_close_btn_transparent' => $carousel_close_btn_transparent,
971
+ 'carousel_rl_btn_bg_color' => $carousel_rl_btn_bg_color,
972
+ 'carousel_rl_btn_border_radius' => $carousel_rl_btn_border_radius,
973
+ 'carousel_rl_btn_border_width' => $carousel_rl_btn_border_width,
974
+ 'carousel_rl_btn_border_style' => $carousel_rl_btn_border_style,
975
+ 'carousel_rl_btn_border_color' => $carousel_rl_btn_border_color,
976
+ 'carousel_rl_btn_color' => $carousel_rl_btn_color,
977
+ 'carousel_rl_btn_height' => $carousel_rl_btn_height,
978
+ 'carousel_rl_btn_size' => $carousel_rl_btn_size,
979
+ 'carousel_play_pause_btn_size' => $carousel_play_pause_btn_size,
980
+ 'carousel_rl_btn_width' => $carousel_rl_btn_width,
981
+ 'carousel_close_rl_btn_hover_color' => $carousel_close_rl_btn_hover_color,
982
+ 'carousel_rl_btn_style' => $carousel_rl_btn_style,
983
+ 'carousel_mergin_bottom' => $carousel_mergin_bottom,
984
+ 'carousel_font_family' => $carousel_font_family,
985
+ 'carousel_feature_border_width' => $carousel_feature_border_width,
986
+ 'carousel_feature_border_style' => $carousel_feature_border_style,
987
+ 'carousel_feature_border_color' => $carousel_feature_border_color,
988
+ 'carousel_caption_background_color' => $carousel_caption_background_color,
989
+ 'carousel_caption_bottom' => $carousel_caption_bottom,
990
+ 'carousel_caption_p_mergin' => $carousel_caption_p_mergin,
991
+ 'carousel_caption_p_pedding' => $carousel_caption_p_pedding,
992
+ 'carousel_caption_p_font_weight' => $carousel_caption_p_font_weight,
993
+ 'carousel_caption_p_font_size' => $carousel_caption_p_font_size,
994
+ 'carousel_caption_p_color' => $carousel_caption_p_color,
995
+ 'carousel_title_opacity' => $carousel_title_opacity,
996
+ 'carousel_title_border_radius' => $carousel_title_border_radius,
997
+
998
  'default_theme' => $default_theme,
999
  ), array('id' => $id));
1000
  }
1414
  'album_masonry_thumb_hover_effect' => $album_masonry_thumb_hover_effect,
1415
  'album_masonry_thumb_hover_effect_value' => $album_masonry_thumb_hover_effect_value,
1416
  'album_masonry_thumb_transition' => $album_masonry_thumb_transition,
1417
+
1418
+ 'carousel_cont_bg_color' => $carousel_cont_bg_color,
1419
+ 'carousel_cont_btn_transparent' => $carousel_cont_btn_transparent,
1420
+ 'carousel_close_btn_transparent' => $carousel_close_btn_transparent,
1421
+ 'carousel_rl_btn_bg_color' => $carousel_rl_btn_bg_color,
1422
+ 'carousel_rl_btn_border_radius' => $carousel_rl_btn_border_radius,
1423
+ 'carousel_rl_btn_border_width' => $carousel_rl_btn_border_width,
1424
+ 'carousel_rl_btn_border_style' => $carousel_rl_btn_border_style,
1425
+ 'carousel_rl_btn_border_color' => $carousel_rl_btn_border_color,
1426
+ 'carousel_rl_btn_color' => $carousel_rl_btn_color,
1427
+ 'carousel_rl_btn_height' => $carousel_rl_btn_height,
1428
+ 'carousel_rl_btn_size' => $carousel_rl_btn_size,
1429
+ 'carousel_play_pause_btn_size' => $carousel_play_pause_btn_size,
1430
+ 'carousel_rl_btn_width' => $carousel_rl_btn_width,
1431
+ 'carousel_close_rl_btn_hover_color' => $carousel_close_rl_btn_hover_color,
1432
+ 'carousel_rl_btn_style'=> $carousel_rl_btn_style,
1433
+ 'carousel_mergin_bottom' => $carousel_mergin_bottom,
1434
+ 'carousel_font_family' => $carousel_font_family,
1435
+ 'carousel_feature_border_width' => $carousel_feature_border_width,
1436
+ 'carousel_feature_border_style' => $carousel_feature_border_style,
1437
+ 'carousel_feature_border_color' => $carousel_feature_border_color,
1438
+ 'carousel_caption_background_color' => $carousel_caption_background_color,
1439
+ 'carousel_caption_bottom' => $carousel_caption_bottom,
1440
+ 'carousel_caption_p_mergin' => $carousel_caption_p_mergin,
1441
+ 'carousel_caption_p_pedding' => $carousel_caption_p_pedding,
1442
+ 'carousel_caption_p_font_weight' => $carousel_caption_p_font_weight,
1443
+ 'carousel_caption_p_font_size' => $carousel_caption_p_font_size,
1444
+ 'carousel_caption_p_color' => $carousel_caption_p_color,
1445
+ 'carousel_title_opacity' => $carousel_title_opacity,
1446
+ 'carousel_title_border_radius' => $carousel_title_border_radius,
1447
+
1448
  'default_theme' => $default_theme,
1449
  ), array(
1450
  '%s',
1866
  '%d',
1867
  '%s',
1868
  '%s',
1869
+
1870
+ '%s',
1871
+ '%d',
1872
+ '%d',
1873
+ '%s',
1874
+ '%s',
1875
+ '%d',
1876
+ '%s',
1877
+ '%s',
1878
+ '%s',
1879
+ '%d',
1880
+ '%d',
1881
+ '%d',
1882
+ '%d',
1883
+ '%s',
1884
+ '%s',
1885
+ '%s',
1886
+ '%s',
1887
+ '%d',
1888
+ '%s',
1889
+ '%s',
1890
+ '%s',
1891
+ '%d',
1892
+ '%d',
1893
+ '%d',
1894
+ '%s',
1895
+ '%d',
1896
+ '%s',
1897
+ '%d',
1898
+ '%s',
1899
 
1900
  '%d',
1901
  ));
admin/models/BWGModelOptions_bwg.php CHANGED
@@ -155,6 +155,21 @@ class BWGModelOptions_bwg {
155
  $row->enable_loop = 1;
156
  $row->enable_addthis = 0;
157
  $row->addthis_profile_id = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  }
159
  return $row;
160
  }
155
  $row->enable_loop = 1;
156
  $row->enable_addthis = 0;
157
  $row->addthis_profile_id = '';
158
+
159
+ //carousel
160
+
161
+ $row->carousel_interval = 5;
162
+ $row->carousel_width = 300;
163
+ $row->carousel_height = 300;
164
+ /*$row->carousel_title_full_width = 620;*/
165
+ $row->carousel_image_column_number = 5;
166
+ $row->carousel_image_par = 0.75;
167
+ $row->carousel_enable_autoplay = 0;
168
+ $row->carousel_enable_title = 0;
169
+ $row->carousel_r_width = 800;
170
+ $row->carousel_fit_containerWidth = 1;
171
+ $row->carousel_prev_next_butt = 1;
172
+ $row->carousel_play_pause_butt = 1;
173
  }
174
  return $row;
175
  }
admin/models/BWGModelThemes_bwg.php CHANGED
@@ -474,6 +474,37 @@ class BWGModelThemes_bwg {
474
  $row->lightbox_hit_font_style = 'segoe ui';
475
  $row->lightbox_hit_font_weight = 'normal';
476
  $row->lightbox_hit_font_size = 14;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
477
  }
478
  }
479
  }
474
  $row->lightbox_hit_font_style = 'segoe ui';
475
  $row->lightbox_hit_font_weight = 'normal';
476
  $row->lightbox_hit_font_size = 14;
477
+ //carousel
478
+ $row->carousel_cont_bg_color = '000000';
479
+ $row->carousel_cont_btn_transparent = 0;
480
+ $row->carousel_close_btn_transparent = 100;
481
+ $row->carousel_rl_btn_bg_color = '000000';
482
+ $row->carousel_rl_btn_border_radius = '20px';
483
+ $row->carousel_rl_btn_border_width = 0;
484
+ $row->carousel_rl_btn_border_style = 'none';
485
+ $row->carousel_rl_btn_border_color = 'FFFFFF';
486
+ $row->carousel_rl_btn_color = 'FFFFFF';
487
+ $row->carousel_rl_btn_height = 40;
488
+ $row->carousel_rl_btn_size = 20;
489
+ $row->carousel_play_pause_btn_size = 20;
490
+ $row->carousel_rl_btn_width = 40;
491
+ $row->carousel_close_rl_btn_hover_color = 'CCCCCC';
492
+ $row->carousel_rl_btn_style='fa-chevron';
493
+ $row->carousel_mergin_bottom = '0.5';
494
+ $row->carousel_font_family = 'Arial';
495
+ $row->carousel_feature_border_width = 2;
496
+ $row->carousel_feature_border_style = 'solid';
497
+ $row->carousel_feature_border_color= '5D204F';
498
+ $row->carousel_caption_background_color = '000000';
499
+ $row->carousel_caption_bottom = 0;
500
+ $row->carousel_caption_p_mergin = 0;
501
+ $row->carousel_caption_p_pedding = 5;
502
+ $row->carousel_caption_p_font_weight = 'bold';
503
+ $row->carousel_caption_p_font_size = 14;
504
+ $row->carousel_caption_p_color = 'white';
505
+ $row->carousel_title_opacity = 100;
506
+ $row->carousel_title_border_radius = '5px';
507
+
508
  }
509
  }
510
  }
admin/views/BWGViewBWGShortcode.php CHANGED
@@ -147,6 +147,10 @@ class BWGViewBWGShortcode {
147
  <span title="This view is disabled in free version." class="gallery_type">
148
  <div style="text-align: center;"><input disabled="disabled" type="radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="spider_free_version_label" for="blog_style">Blog Style</label></div>
149
  <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/blog_style.jpg'; ?>" /></label>
 
 
 
 
150
  </span>
151
  </div>
152
  <hr />
147
  <span title="This view is disabled in free version." class="gallery_type">
148
  <div style="text-align: center;"><input disabled="disabled" type="radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="spider_free_version_label" for="blog_style">Blog Style</label></div>
149
  <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/blog_style.jpg'; ?>" /></label>
150
+ </span>
151
+ <span title="This view is disabled in free version." class="gallery_type">
152
+ <div style="text-align: center;"><input disabled="disabled" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="spider_free_version_label" for="carousel">Carousel</label></div>
153
+ <label for="carousel"><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/Carousel.png'; ?>" /></label>
154
  </span>
155
  </div>
156
  <hr />
admin/views/BWGViewOptions_bwg.php CHANGED
@@ -110,6 +110,7 @@ class BWGViewOptions_bwg {
110
  <div id="div_6" class="gallery_type" onclick="bwg_change_option_type('6')"> Thumbnail options</div><br/>
111
  <div id="div_7" class="gallery_type" onclick="bwg_change_option_type('7')"> Image options</div><br/>
112
  <div id="div_9" class="gallery_type" onclick="bwg_change_option_type('9')"> Embed options</div><br/>
 
113
  <input type="hidden" id="type" name="type" value="<?php echo (isset($_POST["type"]) ? esc_html(stripslashes($_POST["type"])) : "1"); ?>"/>
114
  </div>
115
 
@@ -1476,7 +1477,120 @@ class BWGViewOptions_bwg {
1476
  </tbody>
1477
  </table>
1478
  </div>
1479
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1480
 
1481
  </div>
1482
 
110
  <div id="div_6" class="gallery_type" onclick="bwg_change_option_type('6')"> Thumbnail options</div><br/>
111
  <div id="div_7" class="gallery_type" onclick="bwg_change_option_type('7')"> Image options</div><br/>
112
  <div id="div_9" class="gallery_type" onclick="bwg_change_option_type('9')"> Embed options</div><br/>
113
+ <div id="div_10" class="gallery_type" onclick="bwg_change_option_type('10')"> Carousel</div><br/>
114
  <input type="hidden" id="type" name="type" value="<?php echo (isset($_POST["type"]) ? esc_html(stripslashes($_POST["type"])) : "1"); ?>"/>
115
  </div>
116
 
1477
  </tbody>
1478
  </table>
1479
  </div>
1480
+
1481
+ <!-- Carousel-->
1482
+ <div class="spider_div_options" id="div_content_10">
1483
+ <table style="width: 100%;">
1484
+ <tr>
1485
+ <td style="width: 50%; vertical-align: top;">
1486
+ <table style="display: inline-table;">
1487
+ <tbody>
1488
+ <tr>
1489
+ <td class="spider_label_options spider_free_version_label">
1490
+ <label for="carousel_interval">Time interval: </label>
1491
+ </td>
1492
+ <td class="spider_free_version_label">
1493
+ <input type="text" disabled="disabled" name="carousel_interval" id="carousel_interval" value="<?php echo $row->carousel_interval; ?>" class="spider_int_input" /> sec.
1494
+ <div class="spider_description"></div>
1495
+ </td>
1496
+ </tr>
1497
+ <tr>
1498
+ <td class="spider_label_options spider_free_version_label">
1499
+ <label for="carousel_image_column_number">Max. number of images: </label>
1500
+ </td>
1501
+ <td class="spider_free_version_label">
1502
+ <input type="text" disabled="disabled" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo $row->carousel_image_column_number; ?>" class="spider_int_input" /> sec.
1503
+ <div class="spider_description"></div>
1504
+ </td>
1505
+ </tr>
1506
+ <tr>
1507
+ <td class="spider_label_options spider_free_version_label">
1508
+ <label for="carousel_image_par">Carousel image ratio: </label>
1509
+ </td>
1510
+ <td class="spider_free_version_label">
1511
+ <input type="text" disabled="disabled" name="carousel_image_par" id="carousel_image_par" value="<?php echo $row->carousel_image_par; ?>" />
1512
+ <div class="spider_description"></div>
1513
+ </td>
1514
+ </tr>
1515
+ <tr>
1516
+ <td class="spider_label_options spider_free_version_label">
1517
+ <label for="carousel_width">Image dimensions: </label>
1518
+ </td>
1519
+ <td class="spider_free_version_label">
1520
+ <input type="text" disabled="disabled" name="carousel_width" id="carousel_width" value="<?php echo $row->carousel_width; ?>" class="spider_int_input" /> x
1521
+ <input type="text" disabled="disabled" name="carousel_height" id="carousel_height" value="<?php echo $row->carousel_height; ?>" class="spider_int_input" /> px
1522
+ <div class="spider_description"></div>
1523
+ </td>
1524
+ </tr>
1525
+ <tr>
1526
+ <td class="spider_label_options spider_free_version_label">
1527
+ <label for="carousel_r_width">Fixed width: </label>
1528
+ </td>
1529
+ <td class="spider_free_version_label">
1530
+ <input type="text" disabled="disabled" name="carousel_r_width" id="carousel_r_width" value="<?php echo $row->carousel_r_width; ?>" class="spider_int_input" /> px
1531
+ </td>
1532
+ </tr>
1533
+ </tbody>
1534
+ </table>
1535
+ </td>
1536
+ <td style="width: 50%; vertical-align: top;">
1537
+ <table style="width: 100%; display: inline-table;">
1538
+ <tbody>
1539
+ <tr>
1540
+ <td class="spider_label_options spider_free_version_label"><label>Enable image title: </label></td>
1541
+ <td class="spider_free_version_label">
1542
+ <input type="radio" disabled="disabled" name="carousel_enable_title" id="carousel_enable_title_yes" value="1" <?php if ($row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_carousel_title_position', 'carousel_enable_title_yes')" /><label for="carousel_enable_title_yes">Yes</label>
1543
+ <input type="radio" disabled="disabled" name="carousel_enable_title" id="carousel_enable_title_no" value="0" <?php if (!$row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_carousel_title_position', 'carousel_enable_title_no')" /><label for="carousel_enable_title_no">No</label>
1544
+ <div class="spider_description"></div>
1545
+ </td>
1546
+ </tr>
1547
+ <tr>
1548
+ <td class="spider_label_options spider_free_version_label">
1549
+ <label>Enable autoplay: </label>
1550
+ </td>
1551
+ <td class="spider_free_version_label">
1552
+ <input type="radio" disabled="disabled" name="carousel_enable_autoplay" id="carousel_enable_autoplay_yes" value="1" <?php if ($row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_yes">Yes</label>
1553
+ <input type="radio" disabled="disabled" name="carousel_enable_autoplay" id="carousel_enable_autoplay_no" value="0" <?php if (!$row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_no">No</label>
1554
+ <div class="spider_description"></div>
1555
+ </td>
1556
+ </tr>
1557
+ <tr>
1558
+ <td class="spider_label_options spider_free_version_label">
1559
+ <label> Container fit: </label>
1560
+ </td>
1561
+ <td class="spider_free_version_label">
1562
+ <input type="radio" disabled="disabled" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_yes" value="1" <?php if ($row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_yes">Yes</label>
1563
+ <input type="radio" disabled="disabled" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_no" value="0" <?php if (!$row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_no">No</label>
1564
+ <div class="spider_description"></div>
1565
+ </td>
1566
+ </tr>
1567
+ <tr>
1568
+ <td class="spider_label_options spider_free_version_label">
1569
+ <label> Next/Previous buttons: </label>
1570
+ </td>
1571
+ <td class="spider_free_version_label">
1572
+ <input type="radio" disabled="disabled" name="carousel_prev_next_butt" id="carousel_prev_next_butt_yes" value="1" <?php if ($row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_yes">Yes</label>
1573
+ <input type="radio" disabled="disabled" name="carousel_prev_next_butt" id="carousel_prev_next_butt_no" value="0" <?php if (!$row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_no">No</label>
1574
+ <div class="spider_description"></div>
1575
+ </td>
1576
+ </tr>
1577
+ <tr>
1578
+ <td class="spider_label_options spider_free_version_label">
1579
+ <label> Play/Pause button: </label>
1580
+ </td>
1581
+ <td class="spider_free_version_label">
1582
+ <input type="radio" disabled="disabled" name="carousel_play_pause_butt" id="carousel_play_pause_butt_yes" value="1" <?php if ($row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_yes">Yes</label>
1583
+ <input type="radio" disabled="disabled" name="carousel_play_pause_butt" id="carousel_play_pause_butt_no" value="0" <?php if (!$row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_no">No</label>
1584
+ <div class="spider_description"></div>
1585
+ </td>
1586
+ </tr>
1587
+ </tbody>
1588
+ </table>
1589
+ </td>
1590
+ </tr>
1591
+ </table>
1592
+ <div class="spider_description spider_free_version">Carousel view is disabled in free version.</div>
1593
+ </div>
1594
 
1595
  </div>
1596
 
admin/views/BWGViewThemes_bwg.php CHANGED
@@ -282,6 +282,7 @@ class BWGViewThemes_bwg {
282
  <div id="type_Blog_style" class="theme_type" style="opacity: 0.4; filter: Alpha(opacity=40);" title="This tab is disabled in free version">Blog Style</div>
283
  <div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
284
  <div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page Navigation</div>
 
285
  <input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>" />
286
  </div>
287
  <fieldset class="spider_fieldset">
282
  <div id="type_Blog_style" class="theme_type" style="opacity: 0.4; filter: Alpha(opacity=40);" title="This tab is disabled in free version">Blog Style</div>
283
  <div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
284
  <div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page Navigation</div>
285
+ <div id="type_Carousel" class="theme_type" style="opacity: 0.4; filter: Alpha(opacity=40);" title="This tab is disabled in free version">Carousel</div>
286
  <input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>" />
287
  </div>
288
  <fieldset class="spider_fieldset">
css/bwg_frontend.css CHANGED
@@ -11,6 +11,18 @@ div[id^="bwg_container"] a {
11
  text-decoration: none;
12
  }
13
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  .spider_popup_loading,
15
  .footer-list-block .bwp_gallery .spider_popup_loading,
16
  .footer-list-block .bwp_gallery_tags .spider_popup_loading {
11
  text-decoration: none;
12
  }
13
 
14
+ @media print {
15
+ #spider_popup_left,
16
+ #spider_popup_right,
17
+ .bwg_image_info,
18
+ [id^="bwg_slideshow_play_pause_"],
19
+ [class^="bwg_slideshow_title_text_"],
20
+ [id^="spider_slideshow_left_"],
21
+ [id^="spider_slideshow_right_"] {
22
+ background: none;
23
+ }
24
+ }
25
+
26
  .spider_popup_loading,
27
  .footer-list-block .bwp_gallery .spider_popup_loading,
28
  .footer-list-block .bwp_gallery_tags .spider_popup_loading {
css/bwg_shortcode.css CHANGED
@@ -1,11 +1,13 @@
1
  .gallery_type {
2
  border: 1px solid #CCCCCC;
3
  display: inline-block;
4
- width: 10.5%;
 
5
  }
6
 
7
  .gallery_type img {
8
- max-width: 100%;
 
9
  }
10
 
11
  .panel_wrapper,
1
  .gallery_type {
2
  border: 1px solid #CCCCCC;
3
  display: inline-block;
4
+ width: 9%;
5
+ font-size: 8px;
6
  }
7
 
8
  .gallery_type img {
9
+ max-width: 98%;
10
+ font-size: 8px;
11
  }
12
 
13
  .panel_wrapper,
images/Carousel.png ADDED
Binary file
js/bwg.js CHANGED
@@ -841,7 +841,7 @@ function bwg_built_in_watermark(watermark_type) {
841
  function bwg_change_option_type(type) {
842
  type = (type == '' ? 1 : type);
843
  document.getElementById('type').value = type;
844
- for (var i = 1; i <= 9; i++) {
845
  if (i == type) {
846
  document.getElementById('div_content_' + i).style.display = 'block';
847
  document.getElementById('div_' + i).style.background = '#C5C5C5';
@@ -913,6 +913,7 @@ function bwg_change_theme_type(type) {
913
  jQuery("#Masonry_album").hide();
914
  jQuery("#Image_browser").hide();
915
  jQuery("#Blog_style").hide();
 
916
  jQuery("#Lightbox").hide();
917
  jQuery("#Navigation").hide();
918
  jQuery("#" + type).show();
@@ -929,6 +930,7 @@ function bwg_change_theme_type(type) {
929
  jQuery("#type_Masonry_album").attr("style", "background-color: #F4F4F4; opacity: 0.4; filter: Alpha(opacity=40);");
930
  jQuery("#type_Image_browser").attr("style", "background-color: #F4F4F4;");
931
  jQuery("#type_Blog_style").attr("style", "background-color: #F4F4F4; opacity: 0.4; filter: Alpha(opacity=40);");
 
932
  jQuery("#type_Lightbox").attr("style", "background-color: #F4F4F4;");
933
  jQuery("#type_Navigation").attr("style", "background-color: #F4F4F4;");
934
  jQuery("#type_" + type).attr("style", "background-color: #CFCBCB;");
841
  function bwg_change_option_type(type) {
842
  type = (type == '' ? 1 : type);
843
  document.getElementById('type').value = type;
844
+ for (var i = 1; i <= 10; i++) {
845
  if (i == type) {
846
  document.getElementById('div_content_' + i).style.display = 'block';
847
  document.getElementById('div_' + i).style.background = '#C5C5C5';
913
  jQuery("#Masonry_album").hide();
914
  jQuery("#Image_browser").hide();
915
  jQuery("#Blog_style").hide();
916
+ jQuery("#Carousel").hide();
917
  jQuery("#Lightbox").hide();
918
  jQuery("#Navigation").hide();
919
  jQuery("#" + type).show();
930
  jQuery("#type_Masonry_album").attr("style", "background-color: #F4F4F4; opacity: 0.4; filter: Alpha(opacity=40);");
931
  jQuery("#type_Image_browser").attr("style", "background-color: #F4F4F4;");
932
  jQuery("#type_Blog_style").attr("style", "background-color: #F4F4F4; opacity: 0.4; filter: Alpha(opacity=40);");
933
+ jQuery("#type_Carousel").attr("style", "background-color: #F4F4F4; opacity: 0.4; filter: Alpha(opacity=40);");
934
  jQuery("#type_Lightbox").attr("style", "background-color: #F4F4F4;");
935
  jQuery("#type_Navigation").attr("style", "background-color: #F4F4F4;");
936
  jQuery("#type_" + type).attr("style", "background-color: #CFCBCB;");
js/bwg_shortcode.js CHANGED
@@ -331,7 +331,20 @@ function bwg_gallery_type(gallery_type) {
331
  jQuery("#tr_popup_enable_google").css('display', 'none');
332
  jQuery("#tr_popup_enable_pinterest").css('display', 'none');
333
  jQuery("#tr_popup_enable_tumblr").css('display', 'none');
334
-
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  // Watermark.
336
  jQuery("#tr_watermark_type").css('display', '');
337
  if (jQuery("input[name=watermark_type]:checked").val() == 'image') {
@@ -568,8 +581,26 @@ function bwg_gallery_type(gallery_type) {
568
  bwg_show_search_box();
569
  break;
570
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
571
  }
572
- if (gallery_type != 'slideshow') {
573
  jQuery("#tbody_popup_other").css('display', '');
574
  jQuery("#tbody_popup").css('display', '');
575
  jQuery("#tr_popup_width_height").css('display', '');
@@ -599,6 +630,7 @@ function bwg_gallery_type(gallery_type) {
599
  jQuery("#tr_popup_enable_google").css('display', '');
600
  jQuery("#tr_popup_enable_pinterest").css('display', '');
601
  jQuery("#tr_popup_enable_tumblr").css('display', '');
 
602
  bwg_popup_fullscreen();
603
  bwg_thumb_click_action();
604
  }
331
  jQuery("#tr_popup_enable_google").css('display', 'none');
332
  jQuery("#tr_popup_enable_pinterest").css('display', 'none');
333
  jQuery("#tr_popup_enable_tumblr").css('display', 'none');
334
+ jQuery("#tr_popup_info_always_show").css('display', 'none');
335
+ //Carousel
336
+ jQuery("#tbody_carousel").css('display', 'none');
337
+ jQuery("#tr_carousel_interval").css('display', 'none');
338
+ jQuery("#tr_carousel_image_par").css('display', 'none');
339
+ jQuery("#tr_carousel_width_height").css('display', 'none');
340
+ jQuery("#tr_carousel_title_position").css('display', 'none');
341
+ jQuery("#tr_carousel_image_column_number").css('display', 'none');
342
+ jQuery("#tr_enable_carousel_autoplay").css('display', 'none');
343
+ jQuery("#tr_carousel_r_width").css('display', 'none');
344
+ jQuery("#tr_enable_carousel_title").css('display', 'none');
345
+ jQuery("#tr_carousel_fit_containerWidth").css('display', 'none');
346
+ jQuery("#tr_carousel_prev_next_butt").css('display', 'none');
347
+ jQuery("#tr_carousel_play_pause_butt").css('display', 'none');
348
  // Watermark.
349
  jQuery("#tr_watermark_type").css('display', '');
350
  if (jQuery("input[name=watermark_type]:checked").val() == 'image') {
581
  bwg_show_search_box();
582
  break;
583
  }
584
+ case 'carousel': {
585
+ jQuery("#tr_gallery").css('display', '');
586
+ jQuery("#tr_sort_by").css('display', '');
587
+ jQuery("#tr_order_by").css('display', '');
588
+ jQuery("#tr_carousel_interval").css('display', '');
589
+ jQuery("#tr_carousel_image_par").css('display', '');
590
+ jQuery("#tr_carousel_width_height").css('display', '');
591
+ jQuery("#tr_carousel_image_column_number").css('display', '');
592
+ jQuery("#tr_show_sort_images").css('display', 'none');
593
+ jQuery("#tr_enable_carousel_autoplay").css('display', '');
594
+ jQuery("#tr_enable_carousel_title").css('display', '');
595
+ jQuery("#tr_carousel_r_width").css('display', '');
596
+ jQuery("#tr_carousel_fit_containerWidth").css('display', '');
597
+ jQuery("#tr_carousel_prev_next_butt").css('display', '');
598
+ jQuery("#tr_carousel_play_pause_butt").css('display', '');
599
+ break;
600
+ }
601
+
602
  }
603
+ if (gallery_type != 'slideshow' && gallery_type != 'carousel') {
604
  jQuery("#tbody_popup_other").css('display', '');
605
  jQuery("#tbody_popup").css('display', '');
606
  jQuery("#tr_popup_width_height").css('display', '');
630
  jQuery("#tr_popup_enable_google").css('display', '');
631
  jQuery("#tr_popup_enable_pinterest").css('display', '');
632
  jQuery("#tr_popup_enable_tumblr").css('display', '');
633
+ jQuery("#tr_popup_info_always_show").css('display', '');
634
  bwg_popup_fullscreen();
635
  bwg_thumb_click_action();
636
  }
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
- * Version: 1.2.37
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -740,12 +740,23 @@ function bwg_activate() {
740
  `instagram_client_id` varchar(40) NOT NULL,
741
  `description_tb` tinyint(1) NOT NULL,
742
  `enable_seo` tinyint(1) NOT NULL,
743
- `autohide_lightbox_navigation` tinyint(1) NOT NULL,
744
- `autohide_slideshow_navigation` tinyint(1) NOT NULL,
745
- `read_metadata` tinyint(1) NOT NULL,
746
- `enable_loop` tinyint(1) NOT NULL,
747
- `enable_addthis` tinyint(1) NOT NULL,
748
- `addthis_profile_id` varchar(66) NOT NULL,
 
 
 
 
 
 
 
 
 
 
 
749
  PRIMARY KEY (`id`)
750
  ) DEFAULT CHARSET=utf8;";
751
  $wpdb->query($bwg_option);
@@ -1170,6 +1181,36 @@ function bwg_activate() {
1170
  `album_masonry_thumb_hover_effect` varchar(64) NOT NULL,
1171
  `album_masonry_thumb_hover_effect_value` varchar(64) NOT NULL,
1172
  `album_masonry_thumb_transition` tinyint(1) NOT NULL,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1173
 
1174
  `default_theme` tinyint(1) NOT NULL,
1175
  PRIMARY KEY (`id`)
@@ -1333,8 +1374,19 @@ function bwg_activate() {
1333
  'autohide_slideshow_navigation' => 1,
1334
  'read_metadata' => 1,
1335
  'enable_loop'=> 1,
1336
- 'enable_addthis' => 0,
1337
- 'addthis_profile_id' => '',
 
 
 
 
 
 
 
 
 
 
 
1338
  ), array(
1339
  '%d',
1340
  '%s',
@@ -1457,16 +1509,27 @@ function bwg_activate() {
1457
  '%d',
1458
  '%d',
1459
  '%d',
1460
- '%d',
1461
  '%s',
1462
  '%d',
1463
  '%d',
1464
- '%d',
1465
  '%d',
1466
  '%d',
1467
  '%d',
1468
  '%d',
1469
  '%s',
 
 
 
 
 
 
 
 
 
 
 
 
1470
  ));
1471
  }
1472
  $exists_default = $wpdb->get_var('SELECT count(id) FROM ' . $wpdb->prefix . 'bwg_theme');
@@ -1891,7 +1954,37 @@ function bwg_activate() {
1891
  'mosaic_thumb_title_margin' => '2px',
1892
  'mosaic_thumb_title_shadow' => '0px 0px 0px #888888',
1893
  'mosaic_thumb_title_font_size' => 16,
1894
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1895
  'default_theme' => 1
1896
  ), array(
1897
  '%d',
@@ -2313,6 +2406,35 @@ function bwg_activate() {
2313
  '%s',
2314
  '%s',
2315
  '%d',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2316
 
2317
  '%d'
2318
  ));
@@ -2737,6 +2859,37 @@ function bwg_activate() {
2737
  'mosaic_thumb_title_margin' => '2px',
2738
  'mosaic_thumb_title_shadow' => '0px 0px 0px #888888',
2739
  'mosaic_thumb_title_font_size' => 16,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2740
 
2741
  'default_theme' => 0
2742
  ), array(
@@ -3159,12 +3312,41 @@ function bwg_activate() {
3159
  '%s',
3160
  '%s',
3161
  '%d',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3162
 
3163
  '%d'
3164
  ));
3165
  }
3166
  $version = get_option("wd_bwg_version");
3167
- $new_version = '1.2.37';
3168
  if ($version && version_compare($version, $new_version, '<')) {
3169
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3170
  bwg_update($version);
@@ -3182,7 +3364,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
3182
 
3183
  function bwg_update_hook() {
3184
  $version = get_option("wd_bwg_version");
3185
- $new_version = '1.2.37';
3186
  if ($version && version_compare($version, $new_version, '<')) {
3187
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3188
  bwg_update($version);
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
7
+ * Version: 1.2.38
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
740
  `instagram_client_id` varchar(40) NOT NULL,
741
  `description_tb` tinyint(1) NOT NULL,
742
  `enable_seo` tinyint(1) NOT NULL,
743
+ `autohide_lightbox_navigation` tinyint(1) NOT NULL,
744
+ `autohide_slideshow_navigation` tinyint(1) NOT NULL,
745
+ `read_metadata` tinyint(1) NOT NULL,
746
+ `enable_loop` tinyint(1) NOT NULL,
747
+ `enable_addthis` tinyint(1) NOT NULL,
748
+ `addthis_profile_id` varchar(66) NOT NULL,
749
+ `carousel_interval` int(4) NOT NULL,
750
+ `carousel_width` int(4) NOT NULL,
751
+ `carousel_height` int(4) NOT NULL,
752
+ `carousel_image_column_number` int(4) NOT NULL,
753
+ `carousel_image_par` varchar(32) NOT NULL,
754
+ `carousel_enable_title` tinyint(1) NOT NULL,
755
+ `carousel_enable_autoplay` tinyint(1) NOT NULL,
756
+ `carousel_r_width` int(4) NOT NULL,
757
+ `carousel_fit_containerWidth` tinyint(1) NOT NULL,
758
+ `carousel_prev_next_butt` tinyint(1) NOT NULL,
759
+ `carousel_play_pause_butt` tinyint(1) NOT NULL,
760
  PRIMARY KEY (`id`)
761
  ) DEFAULT CHARSET=utf8;";
762
  $wpdb->query($bwg_option);
1181
  `album_masonry_thumb_hover_effect` varchar(64) NOT NULL,
1182
  `album_masonry_thumb_hover_effect_value` varchar(64) NOT NULL,
1183
  `album_masonry_thumb_transition` tinyint(1) NOT NULL,
1184
+
1185
+ `carousel_cont_bg_color` varchar(8) NOT NULL,
1186
+ `carousel_cont_btn_transparent` int(4) NOT NULL,
1187
+ `carousel_close_btn_transparent` int(4) NOT NULL,
1188
+ `carousel_rl_btn_bg_color` varchar(8) NOT NULL,
1189
+ `carousel_rl_btn_border_radius` varchar(32) NOT NULL,
1190
+ `carousel_rl_btn_border_width` int(4) NOT NULL,
1191
+ `carousel_rl_btn_border_style` varchar(8) NOT NULL,
1192
+ `carousel_rl_btn_border_color` varchar(8) NOT NULL,
1193
+ `carousel_rl_btn_color` varchar(8) NOT NULL,
1194
+ `carousel_rl_btn_height` int(4) NOT NULL,
1195
+ `carousel_rl_btn_size` int(4) NOT NULL,
1196
+ `carousel_play_pause_btn_size` int(4) NOT NULL,
1197
+ `carousel_rl_btn_width` int(4) NOT NULL,
1198
+ `carousel_close_rl_btn_hover_color` varchar(8) NOT NULL,
1199
+ `carousel_rl_btn_style` varchar(16) NOT NULL,
1200
+ `carousel_mergin_bottom` varchar(8) NOT NULL,
1201
+ `carousel_font_family` varchar(8) NOT NULL,
1202
+ `carousel_feature_border_width` int(4) NOT NULL,
1203
+ `carousel_feature_border_style` varchar(8) NOT NULL,
1204
+ `carousel_feature_border_color` varchar(8) NOT NULL,
1205
+ `carousel_caption_background_color` varchar(8) NOT NULL,
1206
+ `carousel_caption_bottom` int(4) NOT NULL,
1207
+ `carousel_caption_p_mergin` int(4) NOT NULL,
1208
+ `carousel_caption_p_pedding` int(4) NOT NULL,
1209
+ `carousel_caption_p_font_weight` varchar(8) NOT NULL,
1210
+ `carousel_caption_p_font_size` int(4) NOT NULL,
1211
+ `carousel_caption_p_color` varchar(8) NOT NULL,
1212
+ `carousel_title_opacity` int(4) NOT NULL,
1213
+ `carousel_title_border_radius` varchar(8) NOT NULL,
1214
 
1215
  `default_theme` tinyint(1) NOT NULL,
1216
  PRIMARY KEY (`id`)
1374
  'autohide_slideshow_navigation' => 1,
1375
  'read_metadata' => 1,
1376
  'enable_loop'=> 1,
1377
+ 'enable_addthis'=> 0,
1378
+ 'addthis_profile_id'=> '',
1379
+ 'carousel_interval' => 5,
1380
+ 'carousel_width' => 300,
1381
+ 'carousel_height' => 300,
1382
+ 'carousel_image_column_number' => 5,
1383
+ 'carousel_image_par' => '0.75',
1384
+ 'carousel_enable_title' => 0,
1385
+ 'carousel_enable_autoplay' => 0,
1386
+ 'carousel_r_width' => 800,
1387
+ 'carousel_fit_containerWidth' => 1,
1388
+ 'carousel_prev_next_butt' => 1,
1389
+ 'carousel_play_pause_butt' => 1,
1390
  ), array(
1391
  '%d',
1392
  '%s',
1509
  '%d',
1510
  '%d',
1511
  '%d',
 
1512
  '%s',
1513
  '%d',
1514
  '%d',
1515
+ '%d',
1516
  '%d',
1517
  '%d',
1518
  '%d',
1519
  '%d',
1520
  '%s',
1521
+ '%d',
1522
+ '%d',
1523
+ '%d',
1524
+ '%d',
1525
+ '%s',
1526
+ '%d',
1527
+ '%d',
1528
+ '%d',
1529
+ '%d',
1530
+ '%d',
1531
+ '%d',
1532
+
1533
  ));
1534
  }
1535
  $exists_default = $wpdb->get_var('SELECT count(id) FROM ' . $wpdb->prefix . 'bwg_theme');
1954
  'mosaic_thumb_title_margin' => '2px',
1955
  'mosaic_thumb_title_shadow' => '0px 0px 0px #888888',
1956
  'mosaic_thumb_title_font_size' => 16,
1957
+
1958
+ 'carousel_cont_bg_color' => '000000',
1959
+ 'carousel_cont_btn_transparent' => 0,
1960
+ 'carousel_close_btn_transparent' => 100,
1961
+ 'carousel_rl_btn_bg_color' => '000000',
1962
+ 'carousel_rl_btn_border_radius' => '20px',
1963
+ 'carousel_rl_btn_border_width' => 0,
1964
+ 'carousel_rl_btn_border_style' => 'none',
1965
+ 'carousel_rl_btn_border_color' => 'FFFFFF',
1966
+ 'carousel_rl_btn_color' => 'FFFFFF',
1967
+ 'carousel_rl_btn_height' => 40,
1968
+ 'carousel_rl_btn_size' => 20,
1969
+ 'carousel_play_pause_btn_size' => 20,
1970
+ 'carousel_rl_btn_width' => 40,
1971
+ 'carousel_close_rl_btn_hover_color' => 'CCCCCC',
1972
+ 'carousel_rl_btn_style' => 'fa-chevron',
1973
+ 'carousel_mergin_bottom' => '0.5',
1974
+ 'carousel_font_family' => 'Arial',
1975
+ 'carousel_feature_border_width' => 2,
1976
+ 'carousel_feature_border_style' => 'solid',
1977
+ 'carousel_feature_border_color' => '5D204F',
1978
+ 'carousel_caption_background_color' => '000000',
1979
+ 'carousel_caption_bottom' => 0,
1980
+ 'carousel_caption_p_mergin' => 0,
1981
+ 'carousel_caption_p_pedding' => 5,
1982
+ 'carousel_caption_p_font_weight' => 'bold',
1983
+ 'carousel_caption_p_font_size' => 14,
1984
+ 'carousel_caption_p_color' => 'white',
1985
+ 'carousel_title_opacity' => 100,
1986
+ 'carousel_title_border_radius' => '5px',
1987
+
1988
  'default_theme' => 1
1989
  ), array(
1990
  '%d',
2406
  '%s',
2407
  '%s',
2408
  '%d',
2409
+
2410
+ '%s',
2411
+ '%d',
2412
+ '%d',
2413
+ '%s',
2414
+ '%s',
2415
+ '%d',
2416
+ '%s',
2417
+ '%s',
2418
+ '%s',
2419
+ '%d',
2420
+ '%d',
2421
+ '%d',
2422
+ '%s',
2423
+ '%s',
2424
+ '%s',
2425
+ '%s',
2426
+ '%d',
2427
+ '%s',
2428
+ '%s',
2429
+ '%s',
2430
+ '%d',
2431
+ '%d',
2432
+ '%d',
2433
+ '%s',
2434
+ '%d',
2435
+ '%s',
2436
+ '%d',
2437
+ '%s',
2438
 
2439
  '%d'
2440
  ));
2859
  'mosaic_thumb_title_margin' => '2px',
2860
  'mosaic_thumb_title_shadow' => '0px 0px 0px #888888',
2861
  'mosaic_thumb_title_font_size' => 16,
2862
+
2863
+ 'carousel_cont_bg_color' => '000000',
2864
+ 'carousel_cont_btn_transparent' => 0,
2865
+ 'carousel_close_btn_transparent' => 100,
2866
+ 'carousel_rl_btn_bg_color' => '000000',
2867
+ 'carousel_rl_btn_border_radius' => '20px',
2868
+ 'carousel_rl_btn_border_width' => 0,
2869
+ 'carousel_rl_btn_border_style' => 'none',
2870
+ 'carousel_rl_btn_border_color' => 'FFFFFF',
2871
+ 'carousel_rl_btn_color' => 'FFFFFF',
2872
+ 'carousel_rl_btn_height' => 40,
2873
+ 'carousel_rl_btn_size' => 20,
2874
+ 'carousel_play_pause_btn_size' => 20,
2875
+ 'carousel_rl_btn_width' => 40,
2876
+ 'carousel_close_rl_btn_hover_color' => 'CCCCCC',
2877
+ 'carousel_rl_btn_style' => 'fa-chevron',
2878
+ 'carousel_mergin_bottom' => '0.5',
2879
+ 'carousel_font_family' => 'Arial',
2880
+ 'carousel_feature_border_width' => 2,
2881
+ 'carousel_feature_border_style' => 'solid',
2882
+ 'carousel_feature_border_color' => '5D204F',
2883
+ 'carousel_caption_background_color' => '000000',
2884
+ 'carousel_caption_bottom' => 0,
2885
+ 'carousel_caption_p_mergin' => 0,
2886
+ 'carousel_caption_p_pedding' => 5,
2887
+ 'carousel_caption_p_font_weight' => 'bold',
2888
+ 'carousel_caption_p_font_size' => 14,
2889
+ 'carousel_caption_p_color' => 'white',
2890
+ 'carousel_title_opacity' => 100,
2891
+ 'carousel_title_border_radius' => '5px',
2892
+
2893
 
2894
  'default_theme' => 0
2895
  ), array(
3312
  '%s',
3313
  '%s',
3314
  '%d',
3315
+
3316
+ '%s',
3317
+ '%d',
3318
+ '%d',
3319
+ '%s',
3320
+ '%s',
3321
+ '%d',
3322
+ '%s',
3323
+ '%s',
3324
+ '%s',
3325
+ '%d',
3326
+ '%d',
3327
+ '%d',
3328
+ '%s',
3329
+ '%s',
3330
+ '%s',
3331
+ '%s',
3332
+ '%d',
3333
+ '%s',
3334
+ '%s',
3335
+ '%s',
3336
+ '%d',
3337
+ '%d',
3338
+ '%d',
3339
+ '%s',
3340
+ '%d',
3341
+ '%s',
3342
+ '%d',
3343
+ '%s',
3344
 
3345
  '%d'
3346
  ));
3347
  }
3348
  $version = get_option("wd_bwg_version");
3349
+ $new_version = '1.2.38';
3350
  if ($version && version_compare($version, $new_version, '<')) {
3351
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3352
  bwg_update($version);
3364
 
3365
  function bwg_update_hook() {
3366
  $version = get_option("wd_bwg_version");
3367
+ $new_version = '1.2.38';
3368
  if ($version && version_compare($version, $new_version, '<')) {
3369
  require_once WD_BWG_DIR . "/update/bwg_update.php";
3370
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, mosaic
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.2.37
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -206,6 +206,12 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
206
 
207
 
208
  == Changelog ==
 
 
 
 
 
 
209
  = 1.2.37 =
210
  * New: Load more with scroll.
211
  * Fixed: Thumbnail size on recover.
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, fotogalerie, galleria, galerie, galeri, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, mosaic
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.2.38
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
206
 
207
 
208
  == Changelog ==
209
+
210
+ = 1.2.38 =
211
+ * New: Carousel view.
212
+ * Fixed: Horizontal Mosaic view bug.
213
+ * Fixed: Print bug.
214
+
215
  = 1.2.37 =
216
  * New: Load more with scroll.
217
  * Fixed: Thumbnail size on recover.
update/bwg_update.php CHANGED
@@ -254,6 +254,51 @@ function bwg_update($version) {
254
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `enable_addthis` tinyint(1) NOT NULL DEFAULT 0");
255
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `addthis_profile_id` varchar(32) NOT NULL DEFAULT ''");
256
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  return;
258
  }
259
 
254
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `enable_addthis` tinyint(1) NOT NULL DEFAULT 0");
255
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `addthis_profile_id` varchar(32) NOT NULL DEFAULT ''");
256
  }
257
+
258
+ //carousel
259
+ if (version_compare($version, '1.2.38') == -1) {
260
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_width` int(4) NOT NULL DEFAULT 300");
261
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_height` int(4) NOT NULL DEFAULT 300");
262
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_interval` int(4) NOT NULL DEFAULT 5 ");
263
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_image_column_number` int(4) NOT NULL DEFAULT 5 ");
264
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_image_par` varchar(32) NOT NULL DEFAULT '0.75' ");
265
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_enable_autoplay` tinyint(1) NOT NULL DEFAULT 0 ");
266
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_enable_title` tinyint(1) NOT NULL DEFAULT 0 ");
267
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_r_width` int(4) NOT NULL DEFAULT 800");
268
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_fit_containerWidth` tinyint(1) NOT NULL DEFAULT 1 ");
269
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_prev_next_butt` tinyint(1) NOT NULL DEFAULT 1 ");
270
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `carousel_play_pause_butt` tinyint(1) NOT NULL DEFAULT 1 ");
271
+
272
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_cont_bg_color` varchar(8) NOT NULL DEFAULT '000000'");
273
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_cont_btn_transparent` int(4) NOT NULL DEFAULT 0 ");
274
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_close_btn_transparent` int(4) NOT NULL DEFAULT 100 ");
275
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_bg_color` varchar(8) NOT NULL DEFAULT '000000'");
276
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_border_radius` varchar(32) NOT NULL DEFAULT '20px' ");
277
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_border_width` int(4) NOT NULL DEFAULT 0");
278
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_border_style` varchar(8) NOT NULL DEFAULT 'none'");
279
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_border_color` varchar(8) NOT NULL DEFAULT 'FFFFFF'");
280
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_color` varchar(8) NOT NULL DEFAULT 'FFFFFF'");
281
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_height` int(4) NOT NULL DEFAULT 40 ");
282
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_size` int(4) NOT NULL DEFAULT 20");
283
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_play_pause_btn_size` int(4) NOT NULL DEFAULT 20");
284
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_width` int(4) NOT NULL DEFAULT 40 ");
285
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_close_rl_btn_hover_color` varchar(8) NOT NULL DEFAULT 'CCCCCC' ");
286
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_rl_btn_style` varchar(16) NOT NULL DEFAULT 'fa-chevron'");
287
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_mergin_bottom` varchar(8) NOT NULL DEFAULT '0.5' ");
288
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_font_family` varchar(8) NOT NULL DEFAULT 'Arial' ");
289
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_feature_border_width` int(4) NOT NULL DEFAULT 2");
290
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_feature_border_style` varchar(8) NOT NULL DEFAULT 'solid'");
291
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_feature_border_color` varchar(8) NOT NULL DEFAULT '5D204F'");
292
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_background_color` varchar(8) NOT NULL DEFAULT '000000'");
293
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_bottom` int(4) NOT NULL DEFAULT 0 ");
294
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_p_mergin` int(4) NOT NULL DEFAULT 0 ");
295
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_p_pedding` int(4) NOT NULL DEFAULT 5 ");
296
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_p_font_weight` varchar(8) NOT NULL DEFAULT 'bold' ");
297
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_p_font_size` int(4) NOT NULL DEFAULT 14");
298
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_caption_p_color` varchar(8) NOT NULL DEFAULT 'white'");
299
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_title_opacity` int(4) NOT NULL DEFAULT 100");
300
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_theme ADD `carousel_title_border_radius` varchar(8) NOT NULL DEFAULT '5px'");
301
+ }
302
  return;
303
  }
304