Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.64

Version Description

  • Fixed: Embed media responsiveness.
  • Changed: Permissions for shortcode(pro version).
  • Added: Show/hide custom post types (optional).
Download this release

Release Info

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

Code changes from version 1.2.63 to 1.2.64

admin/controllers/BWGControllerOptions_bwg.php CHANGED
@@ -58,7 +58,9 @@ class BWGControllerOptions_bwg {
58
 
59
  public function save() {
60
  $this->save_db();
61
- $this->display();
 
 
62
  }
63
 
64
  public function save_db() {
@@ -213,7 +215,6 @@ 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
- //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);
@@ -221,14 +222,17 @@ class BWGControllerOptions_bwg {
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
  $bwg_permissions = (isset($_POST['permissions']) ? esc_html(stripslashes($_POST['permissions'])) : 'manage_options');
 
 
231
  $show_tag_box = (isset($_POST['show_tag_box']) ? esc_html(stripslashes($_POST['show_tag_box'])) : 0);
 
 
232
 
233
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
234
  'images_directory' => $images_directory,
@@ -363,7 +367,11 @@ class BWGControllerOptions_bwg {
363
  'carousel_prev_next_butt' => $carousel_prev_next_butt,
364
  'carousel_play_pause_butt' => $carousel_play_pause_butt,
365
  'permissions' => $bwg_permissions,
 
 
366
  'show_tag_box' => $show_tag_box,
 
 
367
  ), array('id' => 1));
368
 
369
  if ($save !== FALSE) {
58
 
59
  public function save() {
60
  $this->save_db();
61
+ wp_redirect(( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
62
+ exit;
63
+ // $this->display();
64
  }
65
 
66
  public function save_db() {
215
  $enable_loop = (isset($_POST['enable_loop']) ? esc_html(stripslashes($_POST['enable_loop'])) : 1);
216
  $enable_addthis = (isset($_POST['enable_addthis']) ? esc_html(stripslashes($_POST['enable_addthis'])) : 0);
217
  $addthis_profile_id = (isset($_POST['addthis_profile_id']) ? esc_html(stripslashes($_POST['addthis_profile_id'])) : '');
 
218
 
219
  $carousel_interval = (isset($_POST['carousel_interval']) ? esc_html(stripslashes($_POST['carousel_interval'])) : 5);
220
  $carousel_width = (isset($_POST['carousel_width']) ? esc_html(stripslashes($_POST['carousel_width'])) : 300);
222
  $carousel_image_par = (isset($_POST['carousel_image_par']) ? esc_html(stripslashes($_POST['carousel_image_par'])) : 0.75);
223
  $carousel_image_column_number = (isset($_POST['carousel_image_column_number']) ? esc_html(stripslashes($_POST['carousel_image_column_number'])) : 5);
224
  $carousel_enable_title = (isset($_POST['carousel_enable_title']) ? esc_html(stripslashes($_POST['carousel_enable_title'])) : 0);
 
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
  $bwg_permissions = (isset($_POST['permissions']) ? esc_html(stripslashes($_POST['permissions'])) : 'manage_options');
231
+ $facebook_app_id = (isset($_POST['facebook_app_id']) ? esc_html(stripslashes($_POST['facebook_app_id'])) : '');
232
+ $facebook_app_secret = (isset($_POST['facebook_app_secret']) ? esc_html(stripslashes($_POST['facebook_app_secret'])) : '');
233
  $show_tag_box = (isset($_POST['show_tag_box']) ? esc_html(stripslashes($_POST['show_tag_box'])) : 0);
234
+ $show_hide_custom_post = (isset($_POST['show_hide_custom_post']) ? esc_html(stripslashes($_POST['show_hide_custom_post'])) : 0);
235
+ $show_hide_post_meta = (isset($_POST['show_hide_post_meta']) ? esc_html(stripslashes($_POST['show_hide_post_meta'])) : 0);
236
 
237
  $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
238
  'images_directory' => $images_directory,
367
  'carousel_prev_next_butt' => $carousel_prev_next_butt,
368
  'carousel_play_pause_butt' => $carousel_play_pause_butt,
369
  'permissions' => $bwg_permissions,
370
+ 'facebook_app_id' => $facebook_app_id,
371
+ 'facebook_app_secret' => $facebook_app_secret,
372
  'show_tag_box' => $show_tag_box,
373
+ 'show_hide_custom_post' => $show_hide_custom_post,
374
+ 'show_hide_post_meta' => $show_hide_post_meta,
375
  ), array('id' => 1));
376
 
377
  if ($save !== FALSE) {
admin/models/BWGModelOptions_bwg.php CHANGED
@@ -171,6 +171,8 @@ class BWGModelOptions_bwg {
171
  $row->facebook_app_id = '';
172
  $row->facebook_app_secret = '';
173
  $row->show_tag_box = 0;
 
 
174
  }
175
  return $row;
176
  }
171
  $row->facebook_app_id = '';
172
  $row->facebook_app_secret = '';
173
  $row->show_tag_box = 0;
174
+ $row->show_hide_custom_post = 0;
175
+ $row->show_hide_post_meta = 0;
176
  }
177
  return $row;
178
  }
admin/views/BWGViewBWGShortcode.php CHANGED
@@ -213,6 +213,7 @@ class BWGViewBWGShortcode {
213
  <option value="size">Size</option>
214
  <option value="filetype">Type</option>
215
  <option value="resolution">Resolution</option>
 
216
  </select>
217
  </td>
218
  </tr>
213
  <option value="size">Size</option>
214
  <option value="filetype">Type</option>
215
  <option value="resolution">Resolution</option>
216
+ <option value="random">Random</option>
217
  </select>
218
  </td>
219
  </tr>
admin/views/BWGViewOptions_bwg.php CHANGED
@@ -267,6 +267,26 @@ class BWGViewOptions_bwg {
267
  </td>
268
  </tr>
269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
  </tbody>
271
  </table>
272
  </div>
267
  </td>
268
  </tr>
269
 
270
+ <tr>
271
+ <td class="spider_label_options">
272
+ <label>Show/hide custom post types:</label>
273
+ </td>
274
+ <td>
275
+ <input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_1" value="1" <?php if ($row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_1">Yes</label>
276
+ <input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_0" value="0" <?php if (!$row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_0">No</label>
277
+ <div class="spider_description"></div>
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <td class="spider_label_options">
282
+ <label>Show/hide comments for custom post types:</label>
283
+ </td>
284
+ <td>
285
+ <input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_1" value="1" <?php if ($row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_1">Yes</label>
286
+ <input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_0" value="0" <?php if (!$row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_0">No</label>
287
+ <div class="spider_description"></div>
288
+ </td>
289
+ </tr>
290
  </tbody>
291
  </table>
292
  </div>
framework/WDWLibrary.php CHANGED
@@ -793,7 +793,7 @@ class WDWLibrary {
793
  spider_frontend_ajax(form_id, current_view, cur_gal_id, album_gallery_id, '', type, 1);
794
  };
795
  function clear_input_<?php echo $cur_gal_id; ?> (cur_gal_id) {
796
- jQuery("#bwg_tag_id_" + cur_gal_id).val(1);
797
  }
798
  function searchTags(obj){
799
  var valthis = jQuery(obj).val().toLowerCase();
793
  spider_frontend_ajax(form_id, current_view, cur_gal_id, album_gallery_id, '', type, 1);
794
  };
795
  function clear_input_<?php echo $cur_gal_id; ?> (cur_gal_id) {
796
+ jQuery("#bwg_tag_id_" + cur_gal_id).val('');
797
  }
798
  function searchTags(obj){
799
  var valthis = jQuery(obj).val().toLowerCase();
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -943,7 +943,7 @@ class BWGViewGalleryBox {
943
  <?php
944
  }
945
  else { /*$is_embed*/ ?>
946
- <span class="bwg_popup_embed bwg_popup_watermark">
947
  <?php
948
  if($is_embed_instagram_post){
949
  $post_width = $image_width - ($filmstrip_direction == 'vertical' ? $image_filmstrip_width : 0);
@@ -2288,7 +2288,6 @@ class BWGViewGalleryBox {
2288
 
2289
  post_height = post_height;
2290
  post_width = post_width;
2291
-
2292
  var top_pos = (0.5 *( h-post_height));
2293
  jQuery(this).parent().css({
2294
  height: post_height,
943
  <?php
944
  }
945
  else { /*$is_embed*/ ?>
946
+ <span class="bwg_popup_embed bwg_popup_watermark" style="diplay: table; table-layout: fixed;">
947
  <?php
948
  if($is_embed_instagram_post){
949
  $post_width = $image_width - ($filmstrip_direction == 'vertical' ? $image_filmstrip_width : 0);
2288
 
2289
  post_height = post_height;
2290
  post_width = post_width;
 
2291
  var top_pos = (0.5 *( h-post_height));
2292
  jQuery(this).parent().css({
2293
  height: post_height,
js/bwg_shortcode.js CHANGED
@@ -97,7 +97,7 @@ function bwg_popup_fullscreen() {
97
  }
98
 
99
  function bwg_thumb_click_action() {
100
- if (!jQuery("#thumb_click_action_2").is(':checked')) {
101
  jQuery("#tr_thumb_link_target").css('display', 'none');
102
  jQuery("#tbody_popup").css('display', '');
103
  jQuery("#tr_popup_width_height").css('display', '');
@@ -129,7 +129,7 @@ function bwg_thumb_click_action() {
129
  bwg_popup_fullscreen();
130
  }
131
  else {
132
- jQuery("#tr_thumb_link_target").css('display', '');
133
  jQuery("#tbody_popup").css('display', 'none');
134
  jQuery("#tbody_popup_ctrl_btn").css('display', 'none');
135
  }
97
  }
98
 
99
  function bwg_thumb_click_action() {
100
+ if (jQuery("#thumb_click_action_1").is(':checked')) {
101
  jQuery("#tr_thumb_link_target").css('display', 'none');
102
  jQuery("#tbody_popup").css('display', '');
103
  jQuery("#tr_popup_width_height").css('display', '');
129
  bwg_popup_fullscreen();
130
  }
131
  else {
132
+ jQuery("#tr_thumb_link_target").css('display', jQuery("#thumb_click_action_2").is(':checked') ? '' : 'none');
133
  jQuery("#tbody_popup").css('display', 'none');
134
  jQuery("#tbody_popup_ctrl_btn").css('display', 'none');
135
  }
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.63
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -788,6 +788,8 @@ function bwg_activate() {
788
  `facebook_app_id` varchar(64) NOT NULL,
789
  `facebook_app_secret` varchar(64) NOT NULL,
790
  `show_tag_box` tinyint(1) NOT NULL,
 
 
791
  PRIMARY KEY (`id`)
792
  ) DEFAULT CHARSET=utf8;";
793
  $wpdb->query($bwg_option);
@@ -1422,6 +1424,8 @@ function bwg_activate() {
1422
  'facebook_app_id' => '',
1423
  'facebook_app_secret' => '',
1424
  'show_tag_box' => 0,
 
 
1425
  ));
1426
  }
1427
  $exists_default = $wpdb->get_var('SELECT count(id) FROM ' . $wpdb->prefix . 'bwg_theme');
@@ -2335,7 +2339,7 @@ function bwg_activate() {
2335
  ));
2336
  }
2337
  $version = get_option("wd_bwg_version");
2338
- $new_version = '1.2.63';
2339
  if ($version && version_compare($version, $new_version, '<')) {
2340
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2341
  bwg_update($version);
@@ -2383,7 +2387,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
2383
 
2384
  function bwg_update_hook() {
2385
  $version = get_option("wd_bwg_version");
2386
- $new_version = '1.2.63';
2387
  if ($version && version_compare($version, $new_version, '<')) {
2388
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2389
  bwg_update($version);
@@ -2583,16 +2587,32 @@ function bwg_language_load() {
2583
  add_action('init', 'bwg_language_load');
2584
 
2585
  function bwg_create_post_type() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2586
  $args = array(
2587
  'public' => TRUE,
2588
  'exclude_from_search' => TRUE,
2589
  'publicly_queryable' => TRUE,
2590
- 'show_ui' => FALSE,
2591
- 'show_in_menu' => FALSE,
2592
  'show_in_nav_menus' => FALSE,
2593
  'permalink_epmask' => TRUE,
2594
  'rewrite' => TRUE,
2595
- 'label' => 'bwg_gallery'
 
2596
  );
2597
  register_post_type( 'bwg_gallery', $args );
2598
 
@@ -2600,12 +2620,13 @@ function bwg_create_post_type() {
2600
  'public' => TRUE,
2601
  'exclude_from_search' => TRUE,
2602
  'publicly_queryable' => TRUE,
2603
- 'show_ui' => FALSE,
2604
- 'show_in_menu' => FALSE,
2605
  'show_in_nav_menus' => FALSE,
2606
  'permalink_epmask' => TRUE,
2607
  'rewrite' => TRUE,
2608
- 'label' => 'bwg_album'
 
2609
  );
2610
  register_post_type( 'bwg_album', $args );
2611
 
@@ -2613,12 +2634,13 @@ function bwg_create_post_type() {
2613
  'public' => TRUE,
2614
  'exclude_from_search' => TRUE,
2615
  'publicly_queryable' => TRUE,
2616
- 'show_ui' => FALSE,
2617
- 'show_in_menu' => FALSE,
2618
  'show_in_nav_menus' => FALSE,
2619
  'permalink_epmask' => TRUE,
2620
  'rewrite' => TRUE,
2621
- 'label' => 'bwg_tag'
 
2622
  );
2623
  register_post_type( 'bwg_tag', $args );
2624
  }
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.64
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
788
  `facebook_app_id` varchar(64) NOT NULL,
789
  `facebook_app_secret` varchar(64) NOT NULL,
790
  `show_tag_box` tinyint(1) NOT NULL,
791
+ `show_hide_custom_post` tinyint(1) NOT NULL,
792
+ `show_hide_post_meta` tinyint(1) NOT NULL,
793
  PRIMARY KEY (`id`)
794
  ) DEFAULT CHARSET=utf8;";
795
  $wpdb->query($bwg_option);
1424
  'facebook_app_id' => '',
1425
  'facebook_app_secret' => '',
1426
  'show_tag_box' => 0,
1427
+ 'show_hide_custom_post' => 0,
1428
+ 'show_hide_post_meta' => 0,
1429
  ));
1430
  }
1431
  $exists_default = $wpdb->get_var('SELECT count(id) FROM ' . $wpdb->prefix . 'bwg_theme');
2339
  ));
2340
  }
2341
  $version = get_option("wd_bwg_version");
2342
+ $new_version = '1.2.64';
2343
  if ($version && version_compare($version, $new_version, '<')) {
2344
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2345
  bwg_update($version);
2387
 
2388
  function bwg_update_hook() {
2389
  $version = get_option("wd_bwg_version");
2390
+ $new_version = '1.2.64';
2391
  if ($version && version_compare($version, $new_version, '<')) {
2392
  require_once WD_BWG_DIR . "/update/bwg_update.php";
2393
  bwg_update($version);
2587
  add_action('init', 'bwg_language_load');
2588
 
2589
  function bwg_create_post_type() {
2590
+ global $wpdb;
2591
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id="%d"', 1));
2592
+
2593
+ if ($row->show_hide_post_meta == 1) {
2594
+ $show_hide_post_meta = array('editor', 'comments');
2595
+ }
2596
+ else {
2597
+ $show_hide_post_meta = array();
2598
+ }
2599
+ if ($row->show_hide_custom_post == 0) {
2600
+ $show_hide_custom_post = false;
2601
+ }
2602
+ else {
2603
+ $show_hide_custom_post = true;
2604
+ }
2605
  $args = array(
2606
  'public' => TRUE,
2607
  'exclude_from_search' => TRUE,
2608
  'publicly_queryable' => TRUE,
2609
+ 'show_ui' => $show_hide_custom_post,
2610
+ 'show_in_menu' => TRUE,
2611
  'show_in_nav_menus' => FALSE,
2612
  'permalink_epmask' => TRUE,
2613
  'rewrite' => TRUE,
2614
+ 'label' => 'bwg_gallery',
2615
+ 'supports' => $show_hide_post_meta
2616
  );
2617
  register_post_type( 'bwg_gallery', $args );
2618
 
2620
  'public' => TRUE,
2621
  'exclude_from_search' => TRUE,
2622
  'publicly_queryable' => TRUE,
2623
+ 'show_ui' => $show_hide_custom_post,
2624
+ 'show_in_menu' => TRUE,
2625
  'show_in_nav_menus' => FALSE,
2626
  'permalink_epmask' => TRUE,
2627
  'rewrite' => TRUE,
2628
+ 'label' => 'bwg_album',
2629
+ 'supports' => $show_hide_post_meta
2630
  );
2631
  register_post_type( 'bwg_album', $args );
2632
 
2634
  'public' => TRUE,
2635
  'exclude_from_search' => TRUE,
2636
  'publicly_queryable' => TRUE,
2637
+ 'show_ui' => $show_hide_custom_post,
2638
+ 'show_in_menu' => TRUE,
2639
  'show_in_nav_menus' => FALSE,
2640
  'permalink_epmask' => TRUE,
2641
  'rewrite' => TRUE,
2642
+ 'label' => 'bwg_tag',
2643
+ 'supports' => $show_hide_post_meta
2644
  );
2645
  register_post_type( 'bwg_tag', $args );
2646
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Gallery ===
2
  Contributors: webdorado
3
  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, facebook, mosaic, facebook integration
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
- Stable tag: 1.2.63
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -214,6 +214,11 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
214
 
215
  == Changelog ==
216
 
 
 
 
 
 
217
  = 1.2.63 =
218
  * Fixed: Bug in comments
219
  * Changed: Licensing page
1
  === Gallery ===
2
  Contributors: webdorado
3
  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, facebook, mosaic, facebook integration, instagram feed
5
  Requires at least: 3.4
6
  Tested up to: 4.3
7
+ Stable tag: 1.2.64
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
214
 
215
  == Changelog ==
216
 
217
+ = 1.2.64 =
218
+ * Fixed: Embed media responsiveness.
219
+ * Changed: Permissions for shortcode(pro version).
220
+ * Added: Show/hide custom post types (optional).
221
+
222
  = 1.2.63 =
223
  * Fixed: Bug in comments
224
  * Changed: Licensing page
update/bwg_update.php CHANGED
@@ -317,6 +317,10 @@ function bwg_update($version) {
317
  if (version_compare($version, '1.2.61') == -1) {
318
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `show_tag_box` tinyint(1) NOT NULL DEFAULT 0");
319
  }
 
 
 
 
320
  return;
321
  }
322
 
317
  if (version_compare($version, '1.2.61') == -1) {
318
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `show_tag_box` tinyint(1) NOT NULL DEFAULT 0");
319
  }
320
+ if (version_compare($version, '1.2.64') == -1) {
321
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `show_hide_custom_post` tinyint(1) NOT NULL DEFAULT 0");
322
+ $wpdb->query("ALTER TABLE " . $wpdb->prefix . "bwg_option ADD `show_hide_post_meta` tinyint(1) NOT NULL DEFAULT 0");
323
+ }
324
  return;
325
  }
326