Changeset 2222639
- Timestamp:
- 01/06/2020 05:44:34 AM (5 years ago)
- Location:
- acf-ajax-grid-gallery/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
acf-ajax-grid-gallery/trunk/acf_ajax_grid_gallery.css
r2205750 r2222639 93 93 animation-direction: reverse; } 94 94 95 .loader-wheel { 96 font-size: 64px; 97 /* change size here */ 98 position: relative; 99 height: 1em; 100 width: 1em; 101 padding-left: 0.45em; 102 overflow: hidden; 103 margin: 0 auto; 104 animation: loader-wheel-rotate 0.5s steps(12) infinite; } 105 .loader-wheel i { 106 display: block; 107 position: absolute; 108 height: 0.3em; 109 width: 0.1em; 110 border-radius: 0.05em; 111 background: #333; 112 /* change color here */ 113 opacity: 0.8; 114 transform: rotate(-30deg); 115 transform-origin: center 0.5em; } 116 @keyframes loader-wheel-rotate { 117 from { 118 transform: rotate(0deg); } 119 to { 120 transform: rotate(360deg); } } 121 95 122 /*# sourceMappingURL=acf_ajax_grid_gallery.css.map */ -
acf-ajax-grid-gallery/trunk/acf_ajax_grid_gallery.css.map
r2205750 r2222639 1 1 { 2 2 "version": 3, 3 "mappings": "AAAA,oBAAqB;EACjB,OAAO,EAAE,WAAW;EACpB,OAAO,EAAE,IAAI;EACb,aAAa,EAAE,IAAI;EACnB,SAAS,EAAE,IAAI;EACf,YAAY,EAAE,KAAK;EACnB,WAAW,EAAE,KAAK;EAElB,0CAAsB;IAClB,YAAY,EAAE,MAAM;IACpB,aAAa,EAAE,MAAM;IACrB,aAAa,EAAE,MAAM;IACrB,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,IAAI;ICPnB,yBAA6B;MDA7B,0CAAsB;QAWd,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,GAAG;ICnBtB,yBAA6B;MDM7B,0CAAsB;QAgBd,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,c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,OAAO,EAAE,GAAG;IACZ,SAAS,EAAE,cAAc;IACzB,gBAAgB,EAAE,YAAY;AAElC,8BAGC;EAFG,IAAK;IAAE,SAAS,EAAE,YAAY;EAC9B,EAAG;IAAE,SAAS,EAAE,cAAc", 4 4 "sources": ["scss/_main.scss","scss/_mixin.scss"], 5 5 "names": [], -
acf-ajax-grid-gallery/trunk/acf_ajax_grid_gallery.php
r2221465 r2222639 4 4 * Plugin URI: https://wordpress.org/plugins/acf-ajax-grid-gallery/ 5 5 * Description: An extension for Advance Custom Fields Pro which lets you add multiple grid gallery with lightbox and ajax loadmore setting. 6 * Version: 1.3. 06 * Version: 1.3.5 7 7 * Author: Jayson Garcia (Github - hallowichig0) 8 8 * Author URI: http://jegson.herokuapp.com -
acf-ajax-grid-gallery/trunk/inc/grid-gallery-fields/field_gallery.php
r2221465 r2222639 147 147 acf_add_local_field(array( 148 148 'key' => 'optionAAGGallery_grid_lightbox_spinner_tab2_key', 149 'label' => ' Spinner',150 'instructions' => 'Loader animation ',149 'label' => 'Lightbox Spinner', 150 'instructions' => 'Loader animation for lightbox', 151 151 'name' => 'optionAAGGallery_grid_lightbox_spinner_tab2', 152 152 'type' => 'select', … … 207 207 )); 208 208 209 // Infinite Scroll Button Label 209 210 acf_add_local_field(array( 210 211 'key' => 'optionAAGGallery_grid_ajax_buttonLabel_tab2_key', … … 227 228 )); 228 229 230 // Infinite Scroll Button Color 229 231 acf_add_local_field(array( 230 232 'key' => 'optionAAGGallery_grid_ajax_buttonColor_tab2_key', … … 248 250 )); 249 251 252 // Infinite Scroll Spinner 253 acf_add_local_field(array( 254 'key' => 'optionAAGGallery_grid_ajax_spinner_tab2_key', 255 'label' => 'Ajax Loadmore Spinner', 256 'instructions' => 'Loader animation for ajax loadmore', 257 'name' => 'optionAAGGallery_grid_ajax_spinner_tab2', 258 'type' => 'select', 259 'default_value' => 'spinner1', 260 'parent' => 'optionAAGGallery_main_flexible_field_key', //flexible field key 261 'parent_layout' => 'optionAAGGallery_main_flexible_layout1_key', // layout key 262 'choices' => array( 263 'spinner1' => 'Loader Ellips', 264 'spinner2' => 'Loader Wheel', 265 ), 266 'conditional_logic' => array( 267 array( 268 array( 269 'field' => 'optionAAGGallery_grid_subfield3_tab2_key', 270 'operator' => '==', 271 'value' => '1', 272 ), 273 ), 274 ), 275 )); 276 250 277 // Add Class 251 278 acf_add_local_field(array( -
acf-ajax-grid-gallery/trunk/inc/shortcode.php
r2221465 r2222639 53 53 $grid_gallery_class = get_sub_field('optionAAGGallery_grid_subfield5_tab2', 'option'); 54 54 55 // Button 56 $ajax_buttonLabel = get_sub_field('optionAAGGallery_grid_ajax_buttonLabel_tab2'); 57 $ajax_buttonColor = get_sub_field('optionAAGGallery_grid_ajax_buttonColor_tab2'); 55 // Ajax Loadmore 56 $ajax_buttonLabel = get_sub_field('optionAAGGallery_grid_ajax_buttonLabel_tab2', 'option'); 57 $ajax_buttonColor = get_sub_field('optionAAGGallery_grid_ajax_buttonColor_tab2', 'option'); 58 $ajax_spinner = get_sub_field('optionAAGGallery_grid_ajax_spinner_tab2', 'option'); 58 59 ?> 59 60 <div data-index="aa-grid-gallery-count-<?php echo $count; ?>" data-loadspinner="<?php echo esc_attr($grid_gallery_lightboxSpinner['value']); ?>" … … 130 131 ?> 131 132 <div class="aa-grid-gallery-load-status"> 133 <?php if($ajax_spinner == 'spinner1'){ ?> 132 134 <div class="loader-ellips infinite-scroll-request"> 133 135 <span class="loader-ellips__dot"></span> … … 136 138 <span class="loader-ellips__dot"></span> 137 139 </div> 140 <?php }else{ ?> 141 <div class="loader-wheel infinite-scroll-request"> 142 <i><i><i><i><i><i><i><i><i><i><i><i> 143 </i></i></i></i></i></i></i></i></i></i></i></i> 144 </div> 145 <?php } ?> 138 146 <p class="infinite-scroll-last">No more images to show</p> 139 147 <p class="infinite-scroll-error">No more pages to load</p> -
acf-ajax-grid-gallery/trunk/readme.txt
r2221465 r2222639 4 4 Requires at least: 3.8 5 5 Tested up to: 5.3 6 Stable tag: 1.3. 06 Stable tag: 1.3.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 66 66 * [Features] Option to select Loader / Spinner animation for lightbox 67 67 * [Fixed] Fixed redundant field name 68 69 = 1.3.5 = 70 * [Features] Option to select Loader / Spinner animation for ajax loadmore 71 * [Fixed] Fixed Bugs -
acf-ajax-grid-gallery/trunk/scss/_main.scss
r2205750 r2222639 61 61 } 62 62 63 // Infinite Scroll Loader 63 // Infinite Scroll Loader Dots 64 64 .loader-ellips { 65 65 font-size: 20px; /* change size here */ … … 117 117 } 118 118 } 119 120 // Infinite Scroll Loader Wheel 121 .loader-wheel { 122 font-size: 64px; /* change size here */ 123 position: relative; 124 height: 1em; 125 width: 1em; 126 padding-left: 0.45em; 127 overflow: hidden; 128 margin: 0 auto; 129 animation: loader-wheel-rotate 0.5s steps(12) infinite; 130 i { 131 display: block; 132 position: absolute; 133 height: 0.3em; 134 width: 0.1em; 135 border-radius: 0.05em; 136 background: #333; /* change color here */ 137 opacity: 0.8; 138 transform: rotate(-30deg); 139 transform-origin: center 0.5em; 140 } 141 @keyframes loader-wheel-rotate { 142 from { transform: rotate(0deg); } 143 to { transform: rotate(360deg); } 144 } 145 }
Note: See TracChangeset
for help on using the changeset viewer.