Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.25 |
| Comparing to | |
| See all releases | |
Code changes from version 1.24 to 1.25
- README.md +4 -0
- includes/js/gallery.js +16 -1
- readme.txt +4 -0
- wc-gallery.php +2 -2
README.md
CHANGED
|
@@ -46,6 +46,10 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
|
|
| 46 |
|
| 47 |
## Changelog ##
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Version 1.24
|
| 50 |
|
| 51 |
* Updated and customized flexslider library
|
| 46 |
|
| 47 |
## Changelog ##
|
| 48 |
|
| 49 |
+
### Version 1.25
|
| 50 |
+
|
| 51 |
+
* Now wrapping caption with href value in image links
|
| 52 |
+
|
| 53 |
### Version 1.24
|
| 54 |
|
| 55 |
* Updated and customized flexslider library
|
includes/js/gallery.js
CHANGED
|
@@ -182,7 +182,22 @@
|
|
| 182 |
nextText: "",
|
| 183 |
smoothHeight: false,
|
| 184 |
slideshow: true,
|
| 185 |
-
animation:"slide"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
});
|
| 187 |
}
|
| 188 |
});
|
| 182 |
nextText: "",
|
| 183 |
smoothHeight: false,
|
| 184 |
slideshow: true,
|
| 185 |
+
animation:"slide",
|
| 186 |
+
init: function() {
|
| 187 |
+
$this.find('.wc-image-links .gallery-item').each( function() {
|
| 188 |
+
var $link = $(this);
|
| 189 |
+
var $a = $link.find('.gallery-icon a');
|
| 190 |
+
if ( 0 < $a.length ) {
|
| 191 |
+
var href = $a.attr('href');
|
| 192 |
+
if ( 'string' == typeof( href ) ) {
|
| 193 |
+
var $caption = $link.find('.gallery-caption');
|
| 194 |
+
if ( 0 < $caption.length ) {
|
| 195 |
+
$caption.wrap('<a href="'+href+'"></a>');
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
}
|
| 199 |
+
});
|
| 200 |
+
}
|
| 201 |
});
|
| 202 |
}
|
| 203 |
});
|
readme.txt
CHANGED
|
@@ -46,6 +46,10 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
|
|
| 46 |
|
| 47 |
== Changelog ==
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Version 1.24
|
| 50 |
|
| 51 |
* Updated and customized flexslider library
|
| 46 |
|
| 47 |
== Changelog ==
|
| 48 |
|
| 49 |
+
### Version 1.25
|
| 50 |
+
|
| 51 |
+
* Now wrapping caption with href value in image links
|
| 52 |
+
|
| 53 |
### Version 1.24
|
| 54 |
|
| 55 |
* Updated and customized flexslider library
|
wc-gallery.php
CHANGED
|
@@ -5,7 +5,7 @@ Plugin URI: http://wordpresscanvas.com/features/gallery/
|
|
| 5 |
Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
-
Version: 1.
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
|
@@ -13,7 +13,7 @@ function wc_gallery_using_woocommerce() {
|
|
| 13 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
| 14 |
}
|
| 15 |
|
| 16 |
-
define( 'WC_GALLERY_VERSION', '1.
|
| 17 |
define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
|
| 18 |
define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
|
| 19 |
define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
| 5 |
Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
Author URI: http://webplantmedia.com/
|
| 8 |
+
Version: 1.25
|
| 9 |
License: GPLv2 or later
|
| 10 |
*/
|
| 11 |
|
| 13 |
return in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) );
|
| 14 |
}
|
| 15 |
|
| 16 |
+
define( 'WC_GALLERY_VERSION', '1.25' );
|
| 17 |
define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
|
| 18 |
define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
|
| 19 |
define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
