Version Description
conflict with some themes fixed
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.2.19 |
Comparing to | |
See all releases |
Code changes from version 1.2.18 to 1.2.19
frontend/views/BWGViewAlbum_compact_preview.php
CHANGED
@@ -680,7 +680,7 @@ class BWGViewAlbum_compact_preview {
|
|
680 |
|
681 |
if ($type != 'gallery') {
|
682 |
?>
|
683 |
-
<a <?php echo ($from !== "widget" ? ($options_row->enable_seo ? "href='" . add_query_arg(array("type_" . $bwg => $def_type, "album_gallery_id_" . $bwg => $album_galallery_row->alb_gal_id, "bwg_previous_album_id_" . $bwg => $album_gallery_id . ',' . $bwg_previous_album_id , "bwg_previous_album_page_number_" . $bwg => (isset($_REQUEST['page_number_' . $bwg]) ? esc_html($_REQUEST['page_number_' . $bwg]) : 0) . ',' . $bwg_previous_album_page_number), $_SERVER['REQUEST_URI']) . "'" : "") . "
|
684 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>">
|
685 |
<?php
|
686 |
if ($params['compuct_album_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
@@ -849,6 +849,12 @@ class BWGViewAlbum_compact_preview {
|
|
849 |
bwg_gallery_box_<?php echo $bwg; ?>(jQuery(this).attr("data-gallery-id"), jQuery(this).attr("data-image-id"));
|
850 |
return false;
|
851 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
852 |
}
|
853 |
jQuery(document).ready(function () {
|
854 |
bwg_document_ready_<?php echo $bwg; ?>();
|
680 |
|
681 |
if ($type != 'gallery') {
|
682 |
?>
|
683 |
+
<a class="bwg_album_<?php echo $bwg; ?>" <?php echo ($from !== "widget" ? ($options_row->enable_seo ? "href='" . add_query_arg(array("type_" . $bwg => $def_type, "album_gallery_id_" . $bwg => $album_galallery_row->alb_gal_id, "bwg_previous_album_id_" . $bwg => $album_gallery_id . ',' . $bwg_previous_album_id , "bwg_previous_album_page_number_" . $bwg => (isset($_REQUEST['page_number_' . $bwg]) ? esc_html($_REQUEST['page_number_' . $bwg]) : 0) . ',' . $bwg_previous_album_page_number), $_SERVER['REQUEST_URI']) . "'" : "") . " data-alb_gal_id=\"" . $album_galallery_row->alb_gal_id . "\" data-def_type=\"" . $def_type . "\" data-title=\"" . htmlspecialchars(addslashes($title)) . "\"" : "href='" . $permalink . "'") ?>>
|
684 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>">
|
685 |
<?php
|
686 |
if ($params['compuct_album_title'] == 'show' && $theme_row->album_compact_thumb_title_pos == 'top') {
|
849 |
bwg_gallery_box_<?php echo $bwg; ?>(jQuery(this).attr("data-gallery-id"), jQuery(this).attr("data-image-id"));
|
850 |
return false;
|
851 |
});
|
852 |
+
<?php if ($from !== "widget") { ?>
|
853 |
+
jQuery(".bwg_album_<?php echo $bwg; ?>").on("click", function () {
|
854 |
+
spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_compact_<?php echo $bwg; ?>', jQuery(this).attr("data-alb_gal_id"), '<?php echo $album_gallery_id; ?>', jQuery(this).attr("data-def_type"), '', jQuery(this).attr("data-title"), 'default');
|
855 |
+
return false;
|
856 |
+
});
|
857 |
+
<?php } ?>
|
858 |
}
|
859 |
jQuery(document).ready(function () {
|
860 |
bwg_document_ready_<?php echo $bwg; ?>();
|
frontend/views/BWGViewAlbum_extended_preview.php
CHANGED
@@ -643,7 +643,7 @@ class BWGViewAlbum_extended_preview {
|
|
643 |
?>
|
644 |
<div class="bwg_album_extended_div_<?php echo $bwg; ?>">
|
645 |
<div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
|
646 |
-
<a <?php echo ($options_row->enable_seo ? 'href="' . add_query_arg(array("type_" . $bwg => $def_type, "album_gallery_id_" . $bwg => $album_galallery_row->alb_gal_id, "bwg_previous_album_id_" . $bwg => $album_gallery_id . ',' . $bwg_previous_album_id , "bwg_previous_album_page_number_" . $bwg => (isset($_REQUEST['page_number_' . $bwg]) ? esc_html($_REQUEST['page_number_' . $bwg]) : 0) . ',' . $bwg_previous_album_page_number), $_SERVER['REQUEST_URI']) . '"' : ''); ?> style="font-size: 0;"
|
647 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
|
648 |
<span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
|
649 |
<span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
|
@@ -823,6 +823,10 @@ class BWGViewAlbum_extended_preview {
|
|
823 |
bwg_gallery_box_<?php echo $bwg; ?>(jQuery(this).attr("data-gallery-id"), jQuery(this).attr("data-image-id"));
|
824 |
return false;
|
825 |
});
|
|
|
|
|
|
|
|
|
826 |
}
|
827 |
jQuery(document).ready(function () {
|
828 |
bwg_document_ready_<?php echo $bwg; ?>();
|
643 |
?>
|
644 |
<div class="bwg_album_extended_div_<?php echo $bwg; ?>">
|
645 |
<div class="bwg_album_extended_thumb_div_<?php echo $bwg; ?>">
|
646 |
+
<a class="bwg_album_<?php echo $bwg; ?>" <?php echo ($options_row->enable_seo ? 'href="' . add_query_arg(array("type_" . $bwg => $def_type, "album_gallery_id_" . $bwg => $album_galallery_row->alb_gal_id, "bwg_previous_album_id_" . $bwg => $album_gallery_id . ',' . $bwg_previous_album_id , "bwg_previous_album_page_number_" . $bwg => (isset($_REQUEST['page_number_' . $bwg]) ? esc_html($_REQUEST['page_number_' . $bwg]) : 0) . ',' . $bwg_previous_album_page_number), $_SERVER['REQUEST_URI']) . '"' : ''); ?> style="font-size: 0;" data-alb_gal_id="<?php echo $album_galallery_row->alb_gal_id; ?>" data-def_type="<?php echo $def_type; ?>" data-title="<?php htmlspecialchars(addslashes($title)); ?>">
|
647 |
<span class="bwg_album_thumb_<?php echo $bwg; ?>" style="height:inherit;">
|
648 |
<span class="bwg_album_thumb_spun1_<?php echo $bwg; ?>">
|
649 |
<span class="bwg_album_thumb_spun2_<?php echo $bwg; ?>">
|
823 |
bwg_gallery_box_<?php echo $bwg; ?>(jQuery(this).attr("data-gallery-id"), jQuery(this).attr("data-image-id"));
|
824 |
return false;
|
825 |
});
|
826 |
+
jQuery(".bwg_album_<?php echo $bwg; ?>").on("click", function () {
|
827 |
+
spider_frontend_ajax('gal_front_form_<?php echo $bwg; ?>', '<?php echo $bwg; ?>', 'bwg_album_extended_<?php echo $bwg; ?>', jQuery(this).attr("data-alb_gal_id"), '<?php echo $album_gallery_id; ?>', jQuery(this).attr("data-def_type"), '', jQuery(this).attr("data-title"), 'default');
|
828 |
+
return false;
|
829 |
+
});
|
830 |
}
|
831 |
jQuery(document).ready(function () {
|
832 |
bwg_document_ready_<?php echo $bwg; ?>();
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://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.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -442,8 +442,8 @@ function bwg_shortcode($params) {
|
|
442 |
}
|
443 |
ob_start();
|
444 |
bwg_front_end($params);
|
445 |
-
|
446 |
-
return ob_get_clean();
|
447 |
}
|
448 |
add_shortcode('Best_Wordpress_Gallery', 'bwg_shortcode');
|
449 |
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: http://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.19
|
8 |
* Author: WebDorado
|
9 |
* Author URI: http://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
442 |
}
|
443 |
ob_start();
|
444 |
bwg_front_end($params);
|
445 |
+
return str_replace(array("\r\n", "\n", "\r"), '', ob_get_clean());
|
446 |
+
// return ob_get_clean();
|
447 |
}
|
448 |
add_shortcode('Best_Wordpress_Gallery', 'bwg_shortcode');
|
449 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -206,6 +206,9 @@ Yes, it is possible to add advertising and/or watermark over the images. In both
|
|
206 |
|
207 |
== Changelog ==
|
208 |
|
|
|
|
|
|
|
209 |
= 1.2.18 =
|
210 |
New: Bottom pagination in admin views.
|
211 |
New: Improve SEO.
|
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
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.2.19
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
206 |
|
207 |
== Changelog ==
|
208 |
|
209 |
+
= 1.2.19 =
|
210 |
+
conflict with some themes fixed
|
211 |
+
|
212 |
= 1.2.18 =
|
213 |
New: Bottom pagination in admin views.
|
214 |
New: Improve SEO.
|