Version Description
Download this release
Release Info
| Developer | cbaldelomar |
| Plugin | |
| Version | 1.56 |
| Comparing to | |
| See all releases | |
Code changes from version 1.55 to 1.56
- README.md +64 -54
- includes/css/style.css +14 -0
- includes/functions.php +1 -1
- includes/img/ring-alt.svg +1 -0
- includes/js/gallery.js +17 -18
- includes/js/woocommerce.product.js +14 -16
- readme.txt +24 -14
- wc-gallery.php +5 -5
README.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
**Contributors:** cbaldelomar
|
| 4 |
-
**
|
| 5 |
-
**Tags:** masonry gallery, pinterest style gallery, pinterest gallery, gallery slider, slider gallery, carousel gallery, carousel, slider
|
| 6 |
**Requires at least:** 3.7
|
| 7 |
-
**Tested up to:** 4.
|
| 8 |
**Stable tag:** trunk
|
| 9 |
**License:** GPLv2 or later
|
| 10 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -13,23 +12,29 @@ Extend WordPress galleries to display masonry gallery, carousel gallery, and sli
|
|
| 13 |
|
| 14 |
## Description ##
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
2. [WP Canvas Slider & Carousel](http://webplantmedia.com/starter-themes/wordpresscanvas/features/gallery/slider-carousel/)
|
| 20 |
-
3. [WP Canvas Gallery Columns](http://webplantmedia.com/starter-themes/wordpresscanvas/features/gallery/gallery-columns/)
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Installation ##
|
| 35 |
|
|
@@ -62,6 +67,11 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 62 |
|
| 63 |
## Changelog ##
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
### Version 1.55 ###
|
| 66 |
|
| 67 |
* Fixed bug with large galleries stacking images
|
|
@@ -92,59 +102,59 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 92 |
* admin style update
|
| 93 |
* adding settings link in plugin page
|
| 94 |
|
| 95 |
-
### Version 1.49
|
| 96 |
|
| 97 |
* Single column galleries on mobile displays
|
| 98 |
* Always show captions on mobile displays
|
| 99 |
|
| 100 |
-
### Version 1.48
|
| 101 |
|
| 102 |
* Added new caption option: Show On Image Pop-up
|
| 103 |
|
| 104 |
-
### Version 1.47
|
| 105 |
|
| 106 |
* Hide masonry gallery by default in CSS
|
| 107 |
|
| 108 |
-
### Version 1.46
|
| 109 |
|
| 110 |
* Fixed bug with masonry being randomely sorted
|
| 111 |
|
| 112 |
-
### Version 1.43
|
| 113 |
|
| 114 |
* Masonry gallery items now loads in series when each image is loaded
|
| 115 |
* Removed text from nav buttons in owl carousel.
|
| 116 |
* Moved flexslider and owl carousel to vendors folder
|
| 117 |
* Wait for images to load before calling flexslider.
|
| 118 |
|
| 119 |
-
### Version 1.41
|
| 120 |
|
| 121 |
* Updated Owl Carousel
|
| 122 |
* Updated Flexslider
|
| 123 |
* Fixed bug with bottom image links not responding correctly on mobile devices
|
| 124 |
|
| 125 |
-
### Version 1.40
|
| 126 |
|
| 127 |
* Updated images loaded library to 3.1.8
|
| 128 |
|
| 129 |
-
### Version 1.39
|
| 130 |
|
| 131 |
* Fixed bug with masonry shifting when container width was a decimal number
|
| 132 |
|
| 133 |
-
### Version 1.38
|
| 134 |
|
| 135 |
* Show gallery captions on image links when viewing mobile devices
|
| 136 |
* Better slider and fade animation
|
| 137 |
|
| 138 |
-
### Version 1.37
|
| 139 |
|
| 140 |
* Fixed flicker blug with slider in chrome
|
| 141 |
|
| 142 |
-
### Version 1.35
|
| 143 |
|
| 144 |
* fixed bug with hide control option not being applied to flex slider
|
| 145 |
* fixed style bug with dynamic height content
|
| 146 |
|
| 147 |
-
### Version 1.30
|
| 148 |
|
| 149 |
* Fixed bug with captions displaying when there are not any
|
| 150 |
* Updated magnific popup gallery
|
|
@@ -155,11 +165,11 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 155 |
* enabled smooth height
|
| 156 |
* Updated flexslider library
|
| 157 |
|
| 158 |
-
### Version 1.29
|
| 159 |
|
| 160 |
* Added Image size identifier for easy reference
|
| 161 |
|
| 162 |
-
### Version 1.28
|
| 163 |
|
| 164 |
* Removed loading of widgets file
|
| 165 |
* Updated options panel with settings framework
|
|
@@ -167,34 +177,34 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 167 |
* Updated Magnific Popup Library
|
| 168 |
* FIxed bug with gallery insertion option not being referenced correctly
|
| 169 |
|
| 170 |
-
### Version 1.27
|
| 171 |
|
| 172 |
* Removed 'Image Size' from gallery option since WordPress includes it by default now.
|
| 173 |
|
| 174 |
-
### Version 1.26
|
| 175 |
|
| 176 |
* Added position number and attachment id class name to gallery items
|
| 177 |
|
| 178 |
-
### Version 1.25
|
| 179 |
|
| 180 |
* Now wrapping caption with href value in image links
|
| 181 |
|
| 182 |
-
### Version 1.24
|
| 183 |
|
| 184 |
* Updated and customized flexslider library
|
| 185 |
* supporting lightbox for WooCommerce galleries
|
| 186 |
* code clean up
|
| 187 |
|
| 188 |
-
### Version 1.22
|
| 189 |
|
| 190 |
* Gallery captions and image sizes now are the same width
|
| 191 |
* Fixed style bug in gallery caption
|
| 192 |
|
| 193 |
-
### Version 1.21
|
| 194 |
|
| 195 |
* minor style update fix for previous version
|
| 196 |
|
| 197 |
-
### Version 1.20
|
| 198 |
|
| 199 |
* Galleries now work inside WC Shortcodes accordion, tabs, and toggle shortcodes
|
| 200 |
* Added gallery support for infinite scroll
|
|
@@ -202,36 +212,36 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 202 |
* Gallery now defaults to show captions on image hover
|
| 203 |
* removed duplicate call to admin.js
|
| 204 |
|
| 205 |
-
### Version 1.19
|
| 206 |
|
| 207 |
* Updated image popup library
|
| 208 |
* Made all own carousels to loop back to beginning when end is reached
|
| 209 |
|
| 210 |
-
### Version 1.18
|
| 211 |
|
| 212 |
* Added option to open images in new tab
|
| 213 |
|
| 214 |
-
### Version 1.17
|
| 215 |
|
| 216 |
* Bug fix
|
| 217 |
|
| 218 |
-
### Version 1.16
|
| 219 |
|
| 220 |
* Bug fix on checking for defined images sizes
|
| 221 |
|
| 222 |
-
### Version 1.15
|
| 223 |
|
| 224 |
* Removed Transition Styles
|
| 225 |
|
| 226 |
-
### Version 1.14
|
| 227 |
|
| 228 |
* Fixed broken HTML tag
|
| 229 |
|
| 230 |
-
### Version 1.13
|
| 231 |
|
| 232 |
* added overflow hidden to captions
|
| 233 |
|
| 234 |
-
### Version 1.12
|
| 235 |
|
| 236 |
* Use masonry library provided by WordPress
|
| 237 |
* loading jquery before masonry
|
|
@@ -240,44 +250,44 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 240 |
* Added Owl Carousel
|
| 241 |
* Added 2 more slider displays
|
| 242 |
|
| 243 |
-
### Version 1.11
|
| 244 |
|
| 245 |
* Fixed a very obscure bug that kept image sizes from displaying.
|
| 246 |
* removed rel tag
|
| 247 |
|
| 248 |
-
### Version 1.10
|
| 249 |
|
| 250 |
* Made an update to the responsive behavior of galleries
|
| 251 |
|
| 252 |
-
### Version 1.9
|
| 253 |
|
| 254 |
* HTML5 compliant gallery structure
|
| 255 |
|
| 256 |
-
### Version 1.8
|
| 257 |
|
| 258 |
* Fixed bug where custom links only worked when link was set to media
|
| 259 |
* Added option to disable integrated popup script
|
| 260 |
* updated masonry library
|
| 261 |
* Fixed permission bug with options
|
| 262 |
|
| 263 |
-
### Version 1.7
|
| 264 |
|
| 265 |
* Updated magnific popup script
|
| 266 |
* Fixed bug with vertical scroll bar appearing in pop up image
|
| 267 |
|
| 268 |
-
### Version 1.6
|
| 269 |
|
| 270 |
* Fixed bug with masonry gallery not resizing defined widths and heights on images
|
| 271 |
|
| 272 |
-
### Version 1.5
|
| 273 |
|
| 274 |
* Enhanced Gallery Options
|
| 275 |
|
| 276 |
-
### Version 1.4
|
| 277 |
|
| 278 |
* Better positioning of directional arrows
|
| 279 |
|
| 280 |
-
### Version 1.3
|
| 281 |
|
| 282 |
* Much improved masonry gallery
|
| 283 |
* Much improved slider gallery
|
|
@@ -286,10 +296,10 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 286 |
* More options added in media panel
|
| 287 |
* CSS improvements
|
| 288 |
|
| 289 |
-
### Version 1.2
|
| 290 |
|
| 291 |
* Removed fancybox and added another image popup library with a friendly license.
|
| 292 |
|
| 293 |
-
### Version 1.1
|
| 294 |
|
| 295 |
* Plugin released. Everything is new!
|
| 1 |
+
# Galleries by Angie Makes #
|
| 2 |
|
| 3 |
**Contributors:** cbaldelomar
|
| 4 |
+
**Tags:** masonry gallery, pinterest style gallery, pinterest gallery, gallery slider, slider gallery, carousel gallery, carousel, slider, image links
|
|
|
|
| 5 |
**Requires at least:** 3.7
|
| 6 |
+
**Tested up to:** 4.7.3
|
| 7 |
**Stable tag:** trunk
|
| 8 |
**License:** GPLv2 or later
|
| 9 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
| 12 |
|
| 13 |
## Description ##
|
| 14 |
|
| 15 |
+
The Galleries by Angie Makes plugin adds robust gallery features to your WordPress theme. These gallery options work flawlessly with [Angie Makes WordPress themes](http://angiemakes.com/feminine-wordpress-blog-themes-women/). This no-fuss plugin is perfect for Photographers, Creatives, and anyone else looking to display their site images in serious style.
|
| 16 |
|
| 17 |
+
# Demo #
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
See A DEMO of what You Can do With the Angie Makes Galleries Plugin Here:
|
| 20 |
|
| 21 |
+
[http://gentry.angiemakes.com/galleries/](http://gentry.angiemakes.com/galleries/)
|
| 22 |
|
| 23 |
+
# Features #
|
| 24 |
|
| 25 |
+
Here are just a few options the Angie Makes Galleries Plugin offers:
|
| 26 |
|
| 27 |
+
* Mosaic / Pinterest-esque Tiling Images
|
| 28 |
+
* Display Images in 1-9 Mosaic
|
| 29 |
+
* Tiling Columns
|
| 30 |
+
* Link Images to Internal or External Site Urls
|
| 31 |
+
* Carousel
|
| 32 |
+
* Slider
|
| 33 |
+
* Slider with Bottom Image Links
|
| 34 |
|
| 35 |
+
### Professional Support ###
|
| 36 |
+
|
| 37 |
+
We have tested this plugin to work with the latest version of WordPress, but do not offer individual troubleshooting support as this is a free plugin. If you need individual support, we're happy to assist you if you purchase our premium support by purchasing a premium, Angie Makes WordPress theme from [angiemakes.com](http://angiemakes.com).
|
| 38 |
|
| 39 |
## Installation ##
|
| 40 |
|
| 67 |
|
| 68 |
## Changelog ##
|
| 69 |
|
| 70 |
+
### Version 1.56 ###
|
| 71 |
+
|
| 72 |
+
* More elegant loading of masonry gallery images.
|
| 73 |
+
* Updated brand name.
|
| 74 |
+
|
| 75 |
### Version 1.55 ###
|
| 76 |
|
| 77 |
* Fixed bug with large galleries stacking images
|
| 102 |
* admin style update
|
| 103 |
* adding settings link in plugin page
|
| 104 |
|
| 105 |
+
### Version 1.49 ###
|
| 106 |
|
| 107 |
* Single column galleries on mobile displays
|
| 108 |
* Always show captions on mobile displays
|
| 109 |
|
| 110 |
+
### Version 1.48 ###
|
| 111 |
|
| 112 |
* Added new caption option: Show On Image Pop-up
|
| 113 |
|
| 114 |
+
### Version 1.47 ###
|
| 115 |
|
| 116 |
* Hide masonry gallery by default in CSS
|
| 117 |
|
| 118 |
+
### Version 1.46 ###
|
| 119 |
|
| 120 |
* Fixed bug with masonry being randomely sorted
|
| 121 |
|
| 122 |
+
### Version 1.43 ###
|
| 123 |
|
| 124 |
* Masonry gallery items now loads in series when each image is loaded
|
| 125 |
* Removed text from nav buttons in owl carousel.
|
| 126 |
* Moved flexslider and owl carousel to vendors folder
|
| 127 |
* Wait for images to load before calling flexslider.
|
| 128 |
|
| 129 |
+
### Version 1.41 ###
|
| 130 |
|
| 131 |
* Updated Owl Carousel
|
| 132 |
* Updated Flexslider
|
| 133 |
* Fixed bug with bottom image links not responding correctly on mobile devices
|
| 134 |
|
| 135 |
+
### Version 1.40 ###
|
| 136 |
|
| 137 |
* Updated images loaded library to 3.1.8
|
| 138 |
|
| 139 |
+
### Version 1.39 ###
|
| 140 |
|
| 141 |
* Fixed bug with masonry shifting when container width was a decimal number
|
| 142 |
|
| 143 |
+
### Version 1.38 ###
|
| 144 |
|
| 145 |
* Show gallery captions on image links when viewing mobile devices
|
| 146 |
* Better slider and fade animation
|
| 147 |
|
| 148 |
+
### Version 1.37 ###
|
| 149 |
|
| 150 |
* Fixed flicker blug with slider in chrome
|
| 151 |
|
| 152 |
+
### Version 1.35 ###
|
| 153 |
|
| 154 |
* fixed bug with hide control option not being applied to flex slider
|
| 155 |
* fixed style bug with dynamic height content
|
| 156 |
|
| 157 |
+
### Version 1.30 ###
|
| 158 |
|
| 159 |
* Fixed bug with captions displaying when there are not any
|
| 160 |
* Updated magnific popup gallery
|
| 165 |
* enabled smooth height
|
| 166 |
* Updated flexslider library
|
| 167 |
|
| 168 |
+
### Version 1.29 ###
|
| 169 |
|
| 170 |
* Added Image size identifier for easy reference
|
| 171 |
|
| 172 |
+
### Version 1.28 ###
|
| 173 |
|
| 174 |
* Removed loading of widgets file
|
| 175 |
* Updated options panel with settings framework
|
| 177 |
* Updated Magnific Popup Library
|
| 178 |
* FIxed bug with gallery insertion option not being referenced correctly
|
| 179 |
|
| 180 |
+
### Version 1.27 ###
|
| 181 |
|
| 182 |
* Removed 'Image Size' from gallery option since WordPress includes it by default now.
|
| 183 |
|
| 184 |
+
### Version 1.26 ###
|
| 185 |
|
| 186 |
* Added position number and attachment id class name to gallery items
|
| 187 |
|
| 188 |
+
### Version 1.25 ###
|
| 189 |
|
| 190 |
* Now wrapping caption with href value in image links
|
| 191 |
|
| 192 |
+
### Version 1.24 ###
|
| 193 |
|
| 194 |
* Updated and customized flexslider library
|
| 195 |
* supporting lightbox for WooCommerce galleries
|
| 196 |
* code clean up
|
| 197 |
|
| 198 |
+
### Version 1.22 ###
|
| 199 |
|
| 200 |
* Gallery captions and image sizes now are the same width
|
| 201 |
* Fixed style bug in gallery caption
|
| 202 |
|
| 203 |
+
### Version 1.21 ###
|
| 204 |
|
| 205 |
* minor style update fix for previous version
|
| 206 |
|
| 207 |
+
### Version 1.20 ###
|
| 208 |
|
| 209 |
* Galleries now work inside WC Shortcodes accordion, tabs, and toggle shortcodes
|
| 210 |
* Added gallery support for infinite scroll
|
| 212 |
* Gallery now defaults to show captions on image hover
|
| 213 |
* removed duplicate call to admin.js
|
| 214 |
|
| 215 |
+
### Version 1.19 ###
|
| 216 |
|
| 217 |
* Updated image popup library
|
| 218 |
* Made all own carousels to loop back to beginning when end is reached
|
| 219 |
|
| 220 |
+
### Version 1.18 ###
|
| 221 |
|
| 222 |
* Added option to open images in new tab
|
| 223 |
|
| 224 |
+
### Version 1.17 ###
|
| 225 |
|
| 226 |
* Bug fix
|
| 227 |
|
| 228 |
+
### Version 1.16 ###
|
| 229 |
|
| 230 |
* Bug fix on checking for defined images sizes
|
| 231 |
|
| 232 |
+
### Version 1.15 ###
|
| 233 |
|
| 234 |
* Removed Transition Styles
|
| 235 |
|
| 236 |
+
### Version 1.14 ###
|
| 237 |
|
| 238 |
* Fixed broken HTML tag
|
| 239 |
|
| 240 |
+
### Version 1.13 ###
|
| 241 |
|
| 242 |
* added overflow hidden to captions
|
| 243 |
|
| 244 |
+
### Version 1.12 ###
|
| 245 |
|
| 246 |
* Use masonry library provided by WordPress
|
| 247 |
* loading jquery before masonry
|
| 250 |
* Added Owl Carousel
|
| 251 |
* Added 2 more slider displays
|
| 252 |
|
| 253 |
+
### Version 1.11 ###
|
| 254 |
|
| 255 |
* Fixed a very obscure bug that kept image sizes from displaying.
|
| 256 |
* removed rel tag
|
| 257 |
|
| 258 |
+
### Version 1.10 ###
|
| 259 |
|
| 260 |
* Made an update to the responsive behavior of galleries
|
| 261 |
|
| 262 |
+
### Version 1.9 ###
|
| 263 |
|
| 264 |
* HTML5 compliant gallery structure
|
| 265 |
|
| 266 |
+
### Version 1.8 ###
|
| 267 |
|
| 268 |
* Fixed bug where custom links only worked when link was set to media
|
| 269 |
* Added option to disable integrated popup script
|
| 270 |
* updated masonry library
|
| 271 |
* Fixed permission bug with options
|
| 272 |
|
| 273 |
+
### Version 1.7 ###
|
| 274 |
|
| 275 |
* Updated magnific popup script
|
| 276 |
* Fixed bug with vertical scroll bar appearing in pop up image
|
| 277 |
|
| 278 |
+
### Version 1.6 ###
|
| 279 |
|
| 280 |
* Fixed bug with masonry gallery not resizing defined widths and heights on images
|
| 281 |
|
| 282 |
+
### Version 1.5 ###
|
| 283 |
|
| 284 |
* Enhanced Gallery Options
|
| 285 |
|
| 286 |
+
### Version 1.4 ###
|
| 287 |
|
| 288 |
* Better positioning of directional arrows
|
| 289 |
|
| 290 |
+
### Version 1.3 ###
|
| 291 |
|
| 292 |
* Much improved masonry gallery
|
| 293 |
* Much improved slider gallery
|
| 296 |
* More options added in media panel
|
| 297 |
* CSS improvements
|
| 298 |
|
| 299 |
+
### Version 1.2 ###
|
| 300 |
|
| 301 |
* Removed fancybox and added another image popup library with a friendly license.
|
| 302 |
|
| 303 |
+
### Version 1.1 ###
|
| 304 |
|
| 305 |
* Plugin released. Everything is new!
|
includes/css/style.css
CHANGED
|
@@ -328,3 +328,17 @@
|
|
| 328 |
body .mfp-arrow:active {
|
| 329 |
margin-top: -55px;
|
| 330 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 328 |
body .mfp-arrow:active {
|
| 329 |
margin-top: -55px;
|
| 330 |
}
|
| 331 |
+
/* Loading */
|
| 332 |
+
.wc-gallery-loading::after {
|
| 333 |
+
content: " ";
|
| 334 |
+
background: url('../img/ring-alt.svg');
|
| 335 |
+
background-position: center center;
|
| 336 |
+
background-repeat: no-repeat;
|
| 337 |
+
position: absolute;
|
| 338 |
+
top: 0;
|
| 339 |
+
left: 0;
|
| 340 |
+
right: 0;
|
| 341 |
+
bottom: 0;
|
| 342 |
+
background-color: #f7f7f7;
|
| 343 |
+
visibility: visible;
|
| 344 |
+
}
|
includes/functions.php
CHANGED
|
@@ -472,7 +472,7 @@ function wc_gallery_get_attachment_link( $id = 0, $size = 'thumbnail', $permalin
|
|
| 472 |
if ( $text )
|
| 473 |
$link_text = $text;
|
| 474 |
elseif ( $size && 'none' != $size )
|
| 475 |
-
$link_text = wp_get_attachment_image( $id, $size, $icon
|
| 476 |
else
|
| 477 |
$link_text = '';
|
| 478 |
|
| 472 |
if ( $text )
|
| 473 |
$link_text = $text;
|
| 474 |
elseif ( $size && 'none' != $size )
|
| 475 |
+
$link_text = wp_get_attachment_image( $id, $size, $icon );
|
| 476 |
else
|
| 477 |
$link_text = '';
|
| 478 |
|
includes/img/ring-alt.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?><svg width='20px' height='20px' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-ring-alt"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="rgba(0,0,0,0.209)" fill="none" stroke-width="10" stroke-linecap="round"></circle><circle cx="50" cy="50" r="40" stroke="#000000" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="2s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="2s" repeatCount="indefinite" values="150.6 100.4;1 250;150.6 100.4"></animate></circle></svg>
|
includes/js/gallery.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
| 3 |
* @website http://wordpresscanvas.com/
|
| 4 |
*/
|
| 5 |
|
| 6 |
-
|
| 7 |
( function( $ ) {
|
| 8 |
"use strict";
|
| 9 |
|
|
@@ -74,30 +73,30 @@
|
|
| 74 |
$('.gallery-masonry').each( function() {
|
| 75 |
var $container = $(this);
|
| 76 |
var $posts = $container.children('.gallery-item');
|
| 77 |
-
var attachmentId;
|
| 78 |
|
| 79 |
-
$posts.css('visibility'
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
runMasonry(0, $container, $posts, 'masonry');
|
| 85 |
|
| 86 |
-
$
|
| 87 |
-
.
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
|
|
|
| 95 |
});
|
| 96 |
|
|
|
|
|
|
|
| 97 |
$(window).resize(function() {
|
| 98 |
runMasonry(0, $container, $posts, 'masonry');
|
| 99 |
});
|
| 100 |
-
|
| 101 |
});
|
| 102 |
|
| 103 |
if( jQuery().magnificPopup) {
|
|
@@ -308,7 +307,7 @@
|
|
| 308 |
}
|
| 309 |
};
|
| 310 |
|
| 311 |
-
|
| 312 |
|
| 313 |
// Triggers re-layout on infinite scroll
|
| 314 |
$( document.body ).on( 'post-load', function () {
|
| 3 |
* @website http://wordpresscanvas.com/
|
| 4 |
*/
|
| 5 |
|
|
|
|
| 6 |
( function( $ ) {
|
| 7 |
"use strict";
|
| 8 |
|
| 73 |
$('.gallery-masonry').each( function() {
|
| 74 |
var $container = $(this);
|
| 75 |
var $posts = $container.children('.gallery-item');
|
|
|
|
| 76 |
|
| 77 |
+
$posts.css({'visibility':'hidden','position':'relative'}).addClass('wc-gallery-loading');
|
| 78 |
|
| 79 |
+
$.each( $posts, function( index, value ) {
|
| 80 |
+
var $post = $(this);
|
| 81 |
+
var $imgs = $post.find('img');
|
|
|
|
| 82 |
|
| 83 |
+
if ( $imgs.length ) {
|
| 84 |
+
$post.imagesLoaded()
|
| 85 |
+
.always( function( instance ) {
|
| 86 |
+
$post.css('visibility', 'visible').removeClass('wc-gallery-loading');
|
| 87 |
+
runMasonry(0, $container, $posts, 'layout');
|
| 88 |
+
});
|
| 89 |
+
}
|
| 90 |
+
else {
|
| 91 |
+
$post.css('visibility', 'visible').removeClass('wc-gallery-loading');
|
| 92 |
+
}
|
| 93 |
});
|
| 94 |
|
| 95 |
+
runMasonry(0, $container, $posts, 'masonry');
|
| 96 |
+
|
| 97 |
$(window).resize(function() {
|
| 98 |
runMasonry(0, $container, $posts, 'masonry');
|
| 99 |
});
|
|
|
|
| 100 |
});
|
| 101 |
|
| 102 |
if( jQuery().magnificPopup) {
|
| 307 |
}
|
| 308 |
};
|
| 309 |
|
| 310 |
+
initGallery();
|
| 311 |
|
| 312 |
// Triggers re-layout on infinite scroll
|
| 313 |
$( document.body ).on( 'post-load', function () {
|
includes/js/woocommerce.product.js
CHANGED
|
@@ -7,20 +7,18 @@
|
|
| 7 |
( function( $ ) {
|
| 8 |
"use strict";
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
}
|
| 25 |
-
});
|
| 26 |
} )( jQuery );
|
| 7 |
( function( $ ) {
|
| 8 |
"use strict";
|
| 9 |
|
| 10 |
+
if( jQuery().magnificPopup) {
|
| 11 |
+
$("a[data-rel^='prettyPhoto']").magnificPopup({
|
| 12 |
+
gallery: {
|
| 13 |
+
enabled: true
|
| 14 |
+
},
|
| 15 |
+
type:'image',
|
| 16 |
+
});
|
| 17 |
+
$("a[rel^='prettyPhoto']").magnificPopup({
|
| 18 |
+
gallery: {
|
| 19 |
+
enabled: true
|
| 20 |
+
},
|
| 21 |
+
type:'image',
|
| 22 |
+
});
|
| 23 |
+
}
|
|
|
|
|
|
|
| 24 |
} )( jQuery );
|
readme.txt
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
-
===
|
| 2 |
|
| 3 |
Contributors: cbaldelomar
|
| 4 |
-
|
| 5 |
-
Tags: masonry gallery, pinterest style gallery, pinterest gallery, gallery slider, slider gallery, carousel gallery, carousel, slider
|
| 6 |
Requires at least: 3.7
|
| 7 |
-
Tested up to: 4.
|
| 8 |
Stable tag: trunk
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -13,23 +12,29 @@ Extend WordPress galleries to display masonry gallery, carousel gallery, and sli
|
|
| 13 |
|
| 14 |
== Description ==
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
| 19 |
-
2. [WP Canvas Slider & Carousel](http://webplantmedia.com/starter-themes/wordpresscanvas/features/gallery/slider-carousel/)
|
| 20 |
-
3. [WP Canvas Gallery Columns](http://webplantmedia.com/starter-themes/wordpresscanvas/features/gallery/gallery-columns/)
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
-
=
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
== Installation ==
|
| 35 |
|
|
@@ -62,6 +67,11 @@ For more tutorials on our gallery plugin, go to our knowledge base.
|
|
| 62 |
|
| 63 |
== Changelog ==
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
= Version 1.55 =
|
| 66 |
|
| 67 |
* Fixed bug with large galleries stacking images
|
| 1 |
+
=== Galleries by Angie Makes ===
|
| 2 |
|
| 3 |
Contributors: cbaldelomar
|
| 4 |
+
Tags: masonry gallery, pinterest style gallery, pinterest gallery, gallery slider, slider gallery, carousel gallery, carousel, slider, image links
|
|
|
|
| 5 |
Requires at least: 3.7
|
| 6 |
+
Tested up to: 4.7.3
|
| 7 |
Stable tag: trunk
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
| 15 |
+
The Galleries by Angie Makes plugin adds robust gallery features to your WordPress theme. These gallery options work flawlessly with [Angie Makes WordPress themes](http://angiemakes.com/feminine-wordpress-blog-themes-women/). This no-fuss plugin is perfect for Photographers, Creatives, and anyone else looking to display their site images in serious style.
|
| 16 |
|
| 17 |
+
=== Demo ===
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
See A DEMO of what You Can do With the Angie Makes Galleries Plugin Here:
|
| 20 |
+
|
| 21 |
+
[http://gentry.angiemakes.com/galleries/](http://gentry.angiemakes.com/galleries/)
|
| 22 |
|
| 23 |
+
=== Features ===
|
| 24 |
|
| 25 |
+
Here are just a few options the Angie Makes Galleries Plugin offers:
|
| 26 |
|
| 27 |
+
* Mosaic / Pinterest-esque Tiling Images
|
| 28 |
+
* Display Images in 1-9 Mosaic
|
| 29 |
+
* Tiling Columns
|
| 30 |
+
* Link Images to Internal or External Site Urls
|
| 31 |
+
* Carousel
|
| 32 |
+
* Slider
|
| 33 |
+
* Slider with Bottom Image Links
|
| 34 |
|
| 35 |
+
= Professional Support =
|
| 36 |
|
| 37 |
+
We have tested this plugin to work with the latest version of WordPress, but do not offer individual troubleshooting support as this is a free plugin. If you need individual support, we're happy to assist you if you purchase our premium support by purchasing a premium, Angie Makes WordPress theme from [angiemakes.com](http://angiemakes.com).
|
| 38 |
|
| 39 |
== Installation ==
|
| 40 |
|
| 67 |
|
| 68 |
== Changelog ==
|
| 69 |
|
| 70 |
+
= Version 1.56 =
|
| 71 |
+
|
| 72 |
+
* More elegant loading of masonry gallery images.
|
| 73 |
+
* Updated brand name.
|
| 74 |
+
|
| 75 |
= Version 1.55 =
|
| 76 |
|
| 77 |
* Fixed bug with large galleries stacking images
|
wc-gallery.php
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
-
Plugin Name:
|
| 4 |
-
Plugin URI: http://
|
| 5 |
Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
-
Author URI: http://
|
| 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__ ) );
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
+
Plugin Name: Galleries by Angie Makes
|
| 4 |
+
Plugin URI: http://angiemakes.com/feminine-wordpress-blog-themes-women/
|
| 5 |
Description: Extend WordPress galleries to display masonry gallery, carousel gallery, and slider gallery
|
| 6 |
Author: Chris Baldelomar
|
| 7 |
+
Author URI: http://angiemakes.com/
|
| 8 |
+
Version: 1.56
|
| 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.56' );
|
| 17 |
define( 'WC_GALLERY_PREFIX', 'wc_gallery_' );
|
| 18 |
define( '_WC_GALLERY_PREFIX', '_wc_gallery_' );
|
| 19 |
define( 'WC_GALLERY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
