Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.22 |
| Comparing to | |
| See all releases | |
Code changes from version 1.21 to 1.22
- README.md +5 -0
- includes/css/style.css +9 -4
- includes/functions.php +1 -1
- readme.txt +5 -0
- wc-gallery.php +2 -2
README.md
CHANGED
|
@@ -46,6 +46,11 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
|
|
| 46 |
|
| 47 |
## Changelog ##
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Version 1.21
|
| 50 |
|
| 51 |
* minor style update fix for previous version
|
| 46 |
|
| 47 |
## Changelog ##
|
| 48 |
|
| 49 |
+
### Version 1.22
|
| 50 |
+
|
| 51 |
+
* Gallery captions and image sizes now are the same width
|
| 52 |
+
* Fixed style bug in gallery caption
|
| 53 |
+
|
| 54 |
### Version 1.21
|
| 55 |
|
| 56 |
* minor style update fix for previous version
|
includes/css/style.css
CHANGED
|
@@ -72,11 +72,11 @@
|
|
| 72 |
/* -webkit-transition: opacity 400ms ease; */
|
| 73 |
/* transition: opacity 400ms ease; */
|
| 74 |
|
| 75 |
-
-ms-word-break: break-all;
|
| 76 |
-
word-break: break-all;
|
| 77 |
|
| 78 |
/* Non standard for webkit */
|
| 79 |
-
word-break: break-word;
|
| 80 |
|
| 81 |
-webkit-hyphens: auto;
|
| 82 |
-moz-hyphens: auto;
|
|
@@ -247,7 +247,7 @@
|
|
| 247 |
overflow: hidden;
|
| 248 |
}
|
| 249 |
.wc-gallery .gallery.wcflexslider {
|
| 250 |
-
line-height: 1;
|
| 251 |
border-width: 0;
|
| 252 |
-webkit-border-radius: 0px;
|
| 253 |
-moz-border-radius: 0px;
|
|
@@ -280,6 +280,11 @@
|
|
| 280 |
margin-left: auto;
|
| 281 |
margin-right: auto;
|
| 282 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 283 |
|
| 284 |
/*
|
| 285 |
* Image Popup
|
| 72 |
/* -webkit-transition: opacity 400ms ease; */
|
| 73 |
/* transition: opacity 400ms ease; */
|
| 74 |
|
| 75 |
+
/* -ms-word-break: break-all; */
|
| 76 |
+
/* word-break: break-all; */
|
| 77 |
|
| 78 |
/* Non standard for webkit */
|
| 79 |
+
/* word-break: break-word; */
|
| 80 |
|
| 81 |
-webkit-hyphens: auto;
|
| 82 |
-moz-hyphens: auto;
|
| 247 |
overflow: hidden;
|
| 248 |
}
|
| 249 |
.wc-gallery .gallery.wcflexslider {
|
| 250 |
+
/* line-height: 1; */
|
| 251 |
border-width: 0;
|
| 252 |
-webkit-border-radius: 0px;
|
| 253 |
-moz-border-radius: 0px;
|
| 280 |
margin-left: auto;
|
| 281 |
margin-right: auto;
|
| 282 |
}
|
| 283 |
+
.wc-gallery .wcflexslider .slides .gallery-caption {
|
| 284 |
+
margin-left: auto;
|
| 285 |
+
margin-right: auto;
|
| 286 |
+
max-width: 100%;
|
| 287 |
+
}
|
| 288 |
|
| 289 |
/*
|
| 290 |
* Image Popup
|
includes/functions.php
CHANGED
|
@@ -229,7 +229,7 @@ function wc_gallery_shortcode($blank, $attr) {
|
|
| 229 |
</div>";
|
| 230 |
if ( $showcaptions && trim($attachment->post_excerpt) ) {
|
| 231 |
$output .= "
|
| 232 |
-
<div class='wp-caption-text gallery-caption'>
|
| 233 |
<{$captiontype}>
|
| 234 |
" . wptexturize($attachment->post_excerpt) . "
|
| 235 |
</{$captiontype}>
|
| 229 |
</div>";
|
| 230 |
if ( $showcaptions && trim($attachment->post_excerpt) ) {
|
| 231 |
$output .= "
|
| 232 |
+
<div class='wp-caption-text gallery-caption' style='width:{$width}px;'>
|
| 233 |
<{$captiontype}>
|
| 234 |
" . wptexturize($attachment->post_excerpt) . "
|
| 235 |
</{$captiontype}>
|
readme.txt
CHANGED
|
@@ -46,6 +46,11 @@ Insert a gallery through your dashboard. You will see extra dropdown settings wh
|
|
| 46 |
|
| 47 |
== Changelog ==
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
### Version 1.21
|
| 50 |
|
| 51 |
* minor style update fix for previous version
|
| 46 |
|
| 47 |
== Changelog ==
|
| 48 |
|
| 49 |
+
### Version 1.22
|
| 50 |
+
|
| 51 |
+
* Gallery captions and image sizes now are the same width
|
| 52 |
+
* Fixed style bug in gallery caption
|
| 53 |
+
|
| 54 |
### Version 1.21
|
| 55 |
|
| 56 |
* minor style update fix for previous version
|
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.22
|
| 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.22' );
|
| 17 |
define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
|
| 18 |
define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
|
| 19 |
define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
