Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.3 to 1.4
- README.md +4 -0
- includes/functions.php +2 -2
- includes/js/flexslider/flexslider.css +6 -3
- 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.3
|
| 50 |
|
| 51 |
* Much improved masonry gallery
|
| 46 |
|
| 47 |
## Changelog ##
|
| 48 |
|
| 49 |
+
### Version 1.4
|
| 50 |
+
|
| 51 |
+
* Better positioning of directional arrows
|
| 52 |
+
|
| 53 |
### Version 1.3
|
| 54 |
|
| 55 |
* Much improved masonry gallery
|
includes/functions.php
CHANGED
|
@@ -286,7 +286,7 @@ function wc_gallery_print_media_templates() {
|
|
| 286 |
</label>
|
| 287 |
|
| 288 |
<label class="setting">
|
| 289 |
-
<span><?php _e( 'Size', 'wc_gallery' ); ?></span>
|
| 290 |
<select class="size" name="size" data-setting="size">
|
| 291 |
<?
|
| 292 |
$sizes = apply_filters( 'image_size_names_choose', array(
|
|
@@ -304,7 +304,7 @@ function wc_gallery_print_media_templates() {
|
|
| 304 |
</label>
|
| 305 |
|
| 306 |
<label class="setting">
|
| 307 |
-
<span><?php _e( 'Popup', 'wc_gallery' ); ?></span>
|
| 308 |
<select class="targetsize" name="targetsize" data-setting="targetsize">
|
| 309 |
<?php foreach ( $sizes as $key => $name ) : ?>
|
| 310 |
<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, 'large' ); ?>><?php echo esc_html( $name ); ?></option>
|
| 286 |
</label>
|
| 287 |
|
| 288 |
<label class="setting">
|
| 289 |
+
<span><?php _e( 'Image Size', 'wc_gallery' ); ?></span>
|
| 290 |
<select class="size" name="size" data-setting="size">
|
| 291 |
<?
|
| 292 |
$sizes = apply_filters( 'image_size_names_choose', array(
|
| 304 |
</label>
|
| 305 |
|
| 306 |
<label class="setting">
|
| 307 |
+
<span><?php _e( 'Popup Size', 'wc_gallery' ); ?></span>
|
| 308 |
<select class="targetsize" name="targetsize" data-setting="targetsize">
|
| 309 |
<?php foreach ( $sizes as $key => $name ) : ?>
|
| 310 |
<option value="<?php echo esc_attr( $key ); ?>" <?php selected( $key, 'large' ); ?>><?php echo esc_html( $name ); ?></option>
|
includes/js/flexslider/flexslider.css
CHANGED
|
@@ -61,7 +61,7 @@ html[xmlns] .slides {display: block;}
|
|
| 61 |
|
| 62 |
/* Direction Nav */
|
| 63 |
.wcflex-direction-nav {*height: 0;}
|
| 64 |
-
.wcflex-direction-nav a { display: block; width: 100px; height: 100px; margin: -
|
| 65 |
.wcflex-direction-nav .wcflex-prev { background: url("images/slide-arrows.png") no-repeat 0 0; left: 0; }
|
| 66 |
.wcflex-direction-nav .wcflex-next { background: url("images/slide-arrows.png") no-repeat 0 -100px; right: 0; text-align: right; }
|
| 67 |
.wcflexslider:hover .wcflex-prev { opacity: 1; left: 0px; }
|
|
@@ -78,7 +78,7 @@ html[xmlns] .slides {display: block;}
|
|
| 78 |
/* .wcflex-pauseplay a.wcflex-play:before { content: '\f003'; } */
|
| 79 |
|
| 80 |
/* Control Nav */
|
| 81 |
-
.wcflex-control-nav {width: 100%; position: relative; text-align: center; padding-top: 20px;}
|
| 82 |
.wcflex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
|
| 83 |
.wcflex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
|
| 84 |
.wcflex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
|
|
@@ -90,9 +90,12 @@ html[xmlns] .slides {display: block;}
|
|
| 90 |
.wcflex-control-thumbs img:hover {opacity: 1;}
|
| 91 |
.wcflex-control-thumbs .wcflex-active {opacity: 1; cursor: default;}
|
| 92 |
|
| 93 |
-
.wcflexslider-hidecontrols .wcflex-control-
|
| 94 |
display: none;
|
| 95 |
}
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
/* @media screen and (max-width: 860px) {
|
| 98 |
.wcflex-direction-nav .wcflex-prev { opacity: 1; left: 10px;}
|
| 61 |
|
| 62 |
/* Direction Nav */
|
| 63 |
.wcflex-direction-nav {*height: 0;}
|
| 64 |
+
.wcflex-direction-nav a { display: block; width: 100px; height: 100px; margin: -66px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
|
| 65 |
.wcflex-direction-nav .wcflex-prev { background: url("images/slide-arrows.png") no-repeat 0 0; left: 0; }
|
| 66 |
.wcflex-direction-nav .wcflex-next { background: url("images/slide-arrows.png") no-repeat 0 -100px; right: 0; text-align: right; }
|
| 67 |
.wcflexslider:hover .wcflex-prev { opacity: 1; left: 0px; }
|
| 78 |
/* .wcflex-pauseplay a.wcflex-play:before { content: '\f003'; } */
|
| 79 |
|
| 80 |
/* Control Nav */
|
| 81 |
+
.wcflex-control-nav {font-size: 11px; line-height: 11px; width: 100%; position: relative; text-align: center; padding-top: 20px;}
|
| 82 |
.wcflex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
|
| 83 |
.wcflex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
|
| 84 |
.wcflex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
|
| 90 |
.wcflex-control-thumbs img:hover {opacity: 1;}
|
| 91 |
.wcflex-control-thumbs .wcflex-active {opacity: 1; cursor: default;}
|
| 92 |
|
| 93 |
+
.wcflexslider-hidecontrols .wcflex-control-paging {
|
| 94 |
display: none;
|
| 95 |
}
|
| 96 |
+
.wcflexslider-hidecontrols .wcflex-direction-nav a {
|
| 97 |
+
margin-top: -50px;
|
| 98 |
+
}
|
| 99 |
|
| 100 |
/* @media screen and (max-width: 860px) {
|
| 101 |
.wcflex-direction-nav .wcflex-prev { opacity: 1; left: 10px;}
|
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.3
|
| 50 |
|
| 51 |
* Much improved masonry gallery
|
| 46 |
|
| 47 |
== Changelog ==
|
| 48 |
|
| 49 |
+
### Version 1.4
|
| 50 |
+
|
| 51 |
+
* Better positioning of directional arrows
|
| 52 |
+
|
| 53 |
### Version 1.3
|
| 54 |
|
| 55 |
* Much improved masonry gallery
|
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.4
|
| 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.4' );
|
| 17 |
define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
|
| 18 |
define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
|
| 19 |
define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
