WordPress Infinite Scroll – Ajax Load More - Version 2.11.0

Version Description

  • May 25, 2016 =
  • NEW - Adding required functionality for the new REST API add-on.
  • FIX - Fixed url parsing issue with the ALM base URL and Blog page url. This was affecting SEO add-on users.
  • UPDATE - WP_Query Performance improvements.
  • UPDATE - Various UI updates/tweaks.
Download this release

Release Info

Developer dcooney
Plugin Icon 128x128 WordPress Infinite Scroll – Ajax Load More
Version 2.11.0
Comparing to
See all releases

Code changes from version 2.10.1 to 2.11.0

README.txt CHANGED
@@ -4,15 +4,15 @@ Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, loop, query, dynamic, shortcode builder, wp_query, search, tags, category, post types, taxonomy, meta_query, archives, date, infinite scrolling, woocommerce
5
  Requires at least: 3.6
6
  Tested up to: 4.5.2
7
- Stable tag: 2.10.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- A powerful solution to add infinite scroll functionality to your website
12
 
13
  == Description ==
14
 
15
- Ajax Load More is the ultimate solution for infinite scrolling and lazy loading posts, custom post types, single posts, pages and comments with Ajax powered queries.
16
 
17
  Build complex custom WordPress queries using the Ajax Load More shortcode builder then add the generated shortcode to your page via the content editor or directly into your template files.
18
 
@@ -26,7 +26,8 @@ Ajax Load More is fully compatible with popular ecommerce plugins such as WooCom
26
  * **Customizable Repeater Templates** - Edit and extend the functionality of Ajax Load More by creating your own repeater template to match the look and feel of your website (see screenshots).
27
  * **Setting Panel** - Customize your version of Ajax Load More by updating various plugin settings (see screenshots).
28
  * **Multiple Instances** - You can include multiple instances of Ajax Load More on a single page, post or template.
29
- * **Multisite Compatibility** - As of Ajax Load More 2.7.2 you can now manage repeater templates across all sites in your network.
 
30
 
31
  Check out the **[demo site](https://connekthq.com/plugins/ajax-load-more/)** for more information!
32
 
@@ -170,6 +171,10 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
170
  > The **[Previous Post](https://connekthq.com/plugins/ajax-load-more/previous-post/)** add-on will allow you to navigate single posts with Ajax Load More.<br />
171
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/previous-post/)
172
  >
 
 
 
 
173
  > #### Search Engine Optimization
174
  > The **[SEO](https://connekthq.com/plugins/ajax-load-more/seo/)** add-on will optimize your ajax loaded content for search engines and site visitors by generating standard WordPress paging URLs with each Ajax Load More query.<br />
175
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/seo/)
@@ -326,6 +331,13 @@ How to install Ajax Load More.
326
 
327
  == Changelog ==
328
 
 
 
 
 
 
 
 
329
  = 2.10.1 - May 8, 2016 =
330
  * NEW - Users can now load a custom version of ajax-load-more.css from {/alm} folder in current theme directory.
331
  * NEW - Class definitions for alm shortcode and css enqueue script. More to come.
4
  Tags: infinite scroll, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, loop, query, dynamic, shortcode builder, wp_query, search, tags, category, post types, taxonomy, meta_query, archives, date, infinite scrolling, woocommerce
5
  Requires at least: 3.6
6
  Tested up to: 4.5.2
7
+ Stable tag: 2.11.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ The ultimate solution to add infinite scroll functionality to your website
12
 
13
  == Description ==
14
 
15
+ Ajax Load More is a powerful solution for infinite scrolling and lazy loading posts, custom post types, single posts, pages and comments with Ajax powered queries.
16
 
17
  Build complex custom WordPress queries using the Ajax Load More shortcode builder then add the generated shortcode to your page via the content editor or directly into your template files.
18
 
26
  * **Customizable Repeater Templates** - Edit and extend the functionality of Ajax Load More by creating your own repeater template to match the look and feel of your website (see screenshots).
27
  * **Setting Panel** - Customize your version of Ajax Load More by updating various plugin settings (see screenshots).
28
  * **Multiple Instances** - You can include multiple instances of Ajax Load More on a single page, post or template.
29
+ * **Multisite Compatibility** - Manage unique repeater templates across all sites in your network.
30
+ * **REST API** - As of Ajax Load More 2.11.0 user can infinite scroll posts and pages with the [WP REST API](https://wordpress.org/plugins/rest-api/).
31
 
32
  Check out the **[demo site](https://connekthq.com/plugins/ajax-load-more/)** for more information!
33
 
171
  > The **[Previous Post](https://connekthq.com/plugins/ajax-load-more/previous-post/)** add-on will allow you to navigate single posts with Ajax Load More.<br />
172
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/previous-post/)
173
  >
174
+ > #### REST API
175
+ > The **[REST API](https://connekthq.com/plugins/ajax-load-more/rest-api/)** add-on will enable compatibility between Ajax Load More and the WP REST API plugin.<br />
176
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/rest-api/)
177
+ >
178
  > #### Search Engine Optimization
179
  > The **[SEO](https://connekthq.com/plugins/ajax-load-more/seo/)** add-on will optimize your ajax loaded content for search engines and site visitors by generating standard WordPress paging URLs with each Ajax Load More query.<br />
180
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/seo/)
331
 
332
  == Changelog ==
333
 
334
+ = 2.11.0 - May 25, 2016 =
335
+ * NEW - Adding required functionality for the new REST API add-on.
336
+ * FIX - Fixed url parsing issue with the ALM base URL and Blog page url. This was affecting SEO add-on users.
337
+ * UPDATE - WP_Query Performance improvements.
338
+ * UPDATE - Various UI updates/tweaks.
339
+
340
+
341
  = 2.10.1 - May 8, 2016 =
342
  * NEW - Users can now load a custom version of ajax-load-more.css from {/alm} folder in current theme directory.
343
  * NEW - Class definitions for alm shortcode and css enqueue script. More to come.
admin/admin.php CHANGED
@@ -972,6 +972,12 @@ function alm_admin_init(){
972
  do_action('alm_preloaded_settings');
973
  }
974
 
 
 
 
 
 
 
975
 
976
  // SEO
977
  if(has_action('alm_seo_settings')){
972
  do_action('alm_preloaded_settings');
973
  }
974
 
975
+
976
+ // REST API
977
+ if(has_action('alm_rest_api_settings')){
978
+ do_action('alm_rest_api_settings');
979
+ }
980
+
981
 
982
  // SEO
983
  if(has_action('alm_seo_settings')){
admin/css/admin.css CHANGED
@@ -876,7 +876,8 @@ a.layout-hover{
876
 
877
  .preload_amount,
878
  .cache_id,
879
- .alternate_template_wrap{
 
880
  display: none;
881
  }
882
 
876
 
877
  .preload_amount,
878
  .cache_id,
879
+ .alternate_template_wrap,
880
+ .restapi_options{
881
  display: none;
882
  }
883
 
admin/img/add-ons/rest-api-add-on.jpg ADDED
Binary file
admin/includes/cta/add-ons.php CHANGED
@@ -9,6 +9,7 @@
9
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Paging">Paging</a></li>
10
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Preloaded">Preloaded</a></li>
11
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Previous">Previous Post</a></li>
 
12
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
13
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
14
  </ul>
9
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Paging">Paging</a></li>
10
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Preloaded">Preloaded</a></li>
11
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Previous">Previous Post</a></li>
12
+ <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/rest-api/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=REST">REST API</a></li>
13
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
14
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
15
  </ul>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -284,6 +284,44 @@ jQuery(document).ready(function($) {
284
  $('.prev_post_id').slideUp(100, 'alm_easeInOutQuad');
285
  }
286
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
287
 
288
 
289
  // ---------------------------
284
  $('.prev_post_id').slideUp(100, 'alm_easeInOutQuad');
285
  }
286
 
287
+
288
+
289
+ // ---------------------------
290
+ // - REST API
291
+ // ---------------------------
292
+
293
+ var rest = $('#alm-rest input[name=rest]:checked').val();
294
+ if(rest !== 'false' && rest != undefined){
295
+ $('.restapi_options').slideDown(100, 'alm_easeInOutQuad');
296
+ output += ' restapi="'+rest+'"';
297
+
298
+ var restapi_base = $('#alm-rest input#rest-base').val().trim(),
299
+ restapi_namespace = $('#alm-rest input#rest-namespace').val().trim(),
300
+ restapi_endpoint = $('#alm-rest input#rest-endpoint').val().trim(),
301
+ restapi_template_id = $('#alm-rest input#rest-template-id').val().trim(),
302
+ restapi_debug = $('#alm-rest input[name=rest-debug]:checked').val().trim();
303
+
304
+ if(restapi_base !== '')
305
+ output += ' restapi_base="'+restapi_base+'"';
306
+
307
+ if(restapi_namespace !== '')
308
+ output += ' restapi_namespace="'+restapi_namespace+'"';
309
+
310
+ if(restapi_endpoint !== '')
311
+ output += ' restapi_endpoint="'+restapi_endpoint+'"';
312
+
313
+ if(restapi_template_id !== ''){
314
+ restapi_template_id = restapi_template_id.replace("tmpl-", ""); // Remove tmpl- if present in value
315
+ output += ' restapi_template_id="'+restapi_template_id+'"';
316
+ }
317
+
318
+ if(restapi_debug !== '' && restapi_debug !== 'false')
319
+ output += ' restapi_debug="'+restapi_debug+'"';
320
+
321
+ }else{
322
+ $('.restapi_options').slideUp(100, 'alm_easeInOutQuad')
323
+ }
324
+
325
 
326
 
327
  // ---------------------------
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -402,7 +402,137 @@
402
  </div>
403
  </div>
404
  </div>
405
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
406
 
407
 
408
  <?php if(has_action('alm_seo_installed')){ ?>
402
  </div>
403
  </div>
404
  </div>
405
+ <?php } ?>
406
+
407
+
408
+
409
+ <?php if(has_action('alm_rest_api_installed')){
410
+
411
+ // get rest defaults (from core alm settings)
412
+ $restapi_baseurl = '/wp-json';
413
+ if(isset($alm_options['_alm_rest_api_base_url']))
414
+ $restapi_baseurl = $alm_options['_alm_rest_api_base_url'];
415
+
416
+ $restapi_namespace = 'ajaxloadmore';
417
+ if(isset($alm_options['_alm_rest_api_namespace']))
418
+ $restapi_namespace = $alm_options['_alm_rest_api_namespace'];
419
+
420
+ $restapi_endpoint = 'posts';
421
+ if(isset($alm_options['_alm_rest_api_endpoint']))
422
+ $restapi_endpoint = $alm_options['_alm_rest_api_endpoint'];
423
+
424
+ ?>
425
+ <!-- REST API -->
426
+ <div class="row input rest add-on" id="alm-rest">
427
+ <h3 class="heading"><?php _e('REST API', 'ajax-load-more'); ?></h3>
428
+ <div class="expand-wrap">
429
+ <div class="section-title">
430
+ <p><?php _e('Enable the WordPress REST API.', 'ajax-load-more'); ?></p>
431
+ </div>
432
+ <div class="wrap">
433
+ <div class="inner">
434
+ <ul>
435
+ <li>
436
+ <input class="alm_element" type="radio" name="rest" value="true" id="rest-true" >
437
+ <label for="rest-true"><?php _e('True', 'ajax-load-more'); ?></label>
438
+ </li>
439
+ <li>
440
+ <input class="alm_element" type="radio" name="rest" value="false" id="rest-false" checked="checked">
441
+ <label for="rest-false"><?php _e('False', 'ajax-load-more'); ?></label>
442
+ </li>
443
+ </ul>
444
+ </div>
445
+ </div>
446
+
447
+ <div class="clear"></div>
448
+ <div class="restapi_options">
449
+
450
+ <div class="clear"></div>
451
+ <hr>
452
+
453
+ <div class="section-title">
454
+ <h4><?php _e('Base URL', 'ajax-load-more'); ?>
455
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Base URL in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
456
+ <p><?php _e('Enter the base URL to your installation of the REST API.', 'ajax-load-more'); ?></p>
457
+ </div>
458
+ <div class="wrap">
459
+ <div class="inner">
460
+ <input type="text" id="rest-base" class="alm_element" name="rest-base" value="<?php echo $restapi_baseurl; ?>">
461
+ </div>
462
+ </div>
463
+
464
+ <div class="clear"></div>
465
+ <hr>
466
+
467
+ <div class="section-title">
468
+ <h4><?php _e('Namespace', 'ajax-load-more'); ?>
469
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Namespace in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
470
+ <p><?php _e('Enter the custom namespace for this Ajax Load More query.', 'ajax-load-more'); ?></p>
471
+ </div>
472
+ <div class="wrap">
473
+ <div class="inner">
474
+ <input type="text" id="rest-namespace" class="alm_element" name="rest-namespace" value="<?php echo $restapi_namespace; ?>">
475
+ </div>
476
+ </div>
477
+
478
+ <div class="clear"></div>
479
+ <hr>
480
+
481
+ <div class="section-title">
482
+ <h4><?php _e('Endpoint', 'ajax-load-more'); ?>
483
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Endpoint in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
484
+ <p><?php _e('Enter your custom endpoint for this Ajax Load More query.', 'ajax-load-more'); ?></p>
485
+ </div>
486
+ <div class="wrap">
487
+ <div class="inner">
488
+ <input type="text" id="rest-endpoint" class="alm_element" name="rest-endpoint" value="<?php echo $restapi_endpoint; ?>">
489
+ </div>
490
+ </div>
491
+
492
+ <div class="clear"></div>
493
+ <hr>
494
+
495
+ <div class="section-title">
496
+ <h4><?php _e('Template ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More references this ID while looping and displaying your data. You must still select a repeater template for this instance of Ajax Load More','ajax-load-more'); ?>">.</a></h4>
497
+ <p><?php _e('Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-template</em> = <em>alm-template</em>', 'ajax-load-more'); ?><br/>&raquo; <a href="https://gist.github.com/dcooney/c89f5859b73256b36de4a0c3320d9b07" target="_blank">View example template</a></p>
498
+ </div>
499
+ <div class="wrap">
500
+ <div class="inner">
501
+ <input type="text" id="rest-template-id" class="alm_element" name="rest-template-id" value="">
502
+ </div>
503
+ </div>
504
+
505
+ <div class="clear"></div>
506
+ <hr>
507
+
508
+ <div class="section-title">
509
+ <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
510
+ <p><?php _e('Enable debugging (console.log) of REST API responses in the browser console. ', 'ajax-load-more'); ?></p>
511
+ </div>
512
+ <div class="wrap">
513
+ <div class="inner">
514
+ <ul>
515
+ <li>
516
+ <input class="alm_element" type="radio" name="rest-debug" value="true" id="rest-debug-true" >
517
+ <label for="rest-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
518
+ </li>
519
+ <li>
520
+ <input class="alm_element" type="radio" name="rest-debug" value="false" id="rest-debug-false" checked="checked">
521
+ <label for="rest-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
522
+ </li>
523
+ </ul>
524
+ </div>
525
+ </div>
526
+
527
+ <p class="warning-callout">
528
+ <?php _e('Visit <a href="http://v2.wp-api.org/" target="_blank">http://v2.wp-api.org</a> for documentation on creating custom <a href="http://v2.wp-api.org/extending/adding/" target="_blank">Endpoints</a> for use with Ajax Load More.', 'ajax-load-more'); ?>
529
+ </p>
530
+
531
+ </div>
532
+
533
+ </div>
534
+ </div>
535
+ <?php } ?>
536
 
537
 
538
  <?php if(has_action('alm_seo_installed')){ ?>
admin/views/add-ons.php CHANGED
@@ -191,6 +191,34 @@
191
  <!-- End Previous Post -->
192
 
193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  <!-- SEO -->
195
  <div class="group<?php if (has_action('alm_seo_installed')){echo ' installed'; } ?>">
196
  <div class="row no-brd">
@@ -244,32 +272,6 @@
244
  </div>
245
  <!-- End Theme Repeaters -->
246
 
247
-
248
- <!-- Layouts -->
249
- <div class="group" style="display: none !important;">
250
- <div class="row no-brd">
251
- <?php
252
- $layouts_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Layouts';
253
- ?>
254
- <a href="<?php echo $layouts_url; ?>">
255
- <div class="expand-wrap">
256
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg" alt="">
257
- <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
258
- <p class="addon-intro"><?php _e('Extend Ajax Load More with predefined responsive layouts.', 'ajax-load-more'); ?></p>
259
- <p><?php _e('Boost the look of your theme with a library of mobile ready layouts.', 'ajax-load-more'); ?></p>
260
- <?php
261
- if (has_action('alm_layouts_installed')){
262
- echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> Installed</span> ';
263
- }else{
264
- echo '<span class="cnkt-button"><i class="fa fa-download"></i> Purchase &amp; Install</span>';
265
- }
266
- ?>
267
- </div>
268
- </a>
269
- </div>
270
- </div>
271
- <!-- End Layouts -->
272
-
273
  </div>
274
 
275
  <div class="call-out light">
191
  <!-- End Previous Post -->
192
 
193
 
194
+ <!-- REST API -->
195
+ <div class="group<?php if (has_action('alm_rest_api_installed')){echo ' installed'; } ?>">
196
+ <div class="row no-brd">
197
+ <?php
198
+ $seo_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/rest-api/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=RESTAPI';
199
+ ?>
200
+ <a href="<?php echo $seo_url; ?>">
201
+ <div class="expand-wrap">
202
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/rest-api-add-on.jpg" alt="">
203
+ <h2 class="addon-title"><?php _e('REST API', 'ajax-load-more'); ?></h2>
204
+ <p class="addon-intro"><?php _e('Infinite scroll with the WP REST API and Ajax Load More plugins.', 'ajax-load-more'); ?></p>
205
+ <p><?php _e('The REST API add-on will enable compatibility between Ajax Load More and the WP REST API plugins.</p>', 'ajax-load-more'); ?></p>
206
+ <?php
207
+
208
+ if (has_action('alm_rest_api_installed')){
209
+ echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> Installed</span> ';
210
+ }else{
211
+ echo '<span class="cnkt-button"><i class="fa fa-download"></i> Purchase &amp; Install</span>';
212
+ }
213
+ ?>
214
+ </div>
215
+ </a>
216
+ </div>
217
+
218
+ </div>
219
+ <!-- End SEO -->
220
+
221
+
222
  <!-- SEO -->
223
  <div class="group<?php if (has_action('alm_seo_installed')){echo ' installed'; } ?>">
224
  <div class="row no-brd">
272
  </div>
273
  <!-- End Theme Repeaters -->
274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  </div>
276
 
277
  <div class="call-out light">
admin/views/licenses.php CHANGED
@@ -19,13 +19,14 @@
19
  // alm_preload_installed
20
  // alm_paging_installed
21
  // alm_prev_post_installed
 
22
  // alm_seo_installed
23
  // alm_theme_repeaters_installed
24
  ?>
25
 
26
  <?php
27
  // Check if any add ons are installed.
28
- if(has_action('alm_alternating_installed') || has_action('alm_cache_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) : ?>
29
 
30
 
31
  <?php
@@ -467,7 +468,62 @@
467
 
468
 
469
  <?php
470
- if (has_action('alm_seo_installed')){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  // SEO
472
  $alm_seo_license = get_option( 'alm_seo_license_key' );
473
  $alm_seo_status = get_option( 'alm_seo_license_status' );
19
  // alm_preload_installed
20
  // alm_paging_installed
21
  // alm_prev_post_installed
22
+ // alm_rest_api_installed
23
  // alm_seo_installed
24
  // alm_theme_repeaters_installed
25
  ?>
26
 
27
  <?php
28
  // Check if any add ons are installed.
29
+ if(has_action('alm_alternating_installed') || has_action('alm_cache_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) : ?>
30
 
31
 
32
  <?php
468
 
469
 
470
  <?php
471
+ if (has_action('alm_rest_api_installed')){
472
+ // REST API
473
+ $alm_restapi_license = get_option( 'alm_rest_api_license_key' );
474
+ $alm_restapi_status = get_option( 'alm_rest_api_license_status' );
475
+ ?>
476
+ <div class="license" id="license-rest">
477
+ <div class="license-title">
478
+ <div class="status <?php if($alm_restapi_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
479
+ <h2><?php _e('REST API', 'ajax-load-more'); ?></h2>
480
+ </div>
481
+ <div class="license-wrap">
482
+ <form method="post" action="options.php">
483
+
484
+ <?php settings_fields('alm_rest_api_license'); ?>
485
+ <label class="description" for="alm_rest_api_license_key"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
486
+ <div class="license-key-field">
487
+ <input id="alm_rest_api_license_key" name="alm_rest_api_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $alm_restapi_license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
488
+ <?php if( $alm_restapi_status !== false && $alm_restapi_status == 'valid' ) { ?>
489
+ <span class="status active">
490
+ <?php _e('Active', 'ajax-load-more'); ?>
491
+ </span>
492
+ <?php } else { ?>
493
+ <span class="status inactive">
494
+ <?php _e('Inactive', 'ajax-load-more'); ?>
495
+ </span>
496
+ <?php } ?>
497
+ </div>
498
+
499
+ <?php wp_nonce_field( 'alm_rest_api_license_nonce', 'alm_rest_api_license_nonce' ); ?>
500
+ <div class="license-btn-wrap"
501
+ data-name="<?php echo ALM_RESTAPI_ITEM_NAME; ?>"
502
+ data-url="<?php echo ALM_STORE_URL; ?>"
503
+ data-option-status="alm_rest_api_license_status"
504
+ data-option-key="alm_rest_api_license_key"
505
+ data-upgrade-url="https://connekthq.com/plugins/ajax-load-more/add-ons/rest-api/">
506
+ <button type="button" class="activate license-btn <?php if($alm_restapi_status === 'valid'){ echo 'hide'; } ?> button-primary" data-type="activate">
507
+ <?php _e('Activate License', 'ajax-load-more'); ?>
508
+ </button>
509
+
510
+ <button type="button" class="deactivate license-btn <?php if($alm_restapi_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
511
+ <?php _e('Deactivate License', 'ajax-load-more'); ?>
512
+ </button>
513
+ </div>
514
+
515
+ </form>
516
+ </div>
517
+
518
+ <div class="loading"></div>
519
+ </div>
520
+ <?php
521
+ }
522
+ // End REST API
523
+ ?>
524
+
525
+ <?php
526
+ if (has_action('alm_rest_api_installed')){
527
  // SEO
528
  $alm_seo_license = get_option( 'alm_seo_license_key' );
529
  $alm_seo_status = get_option( 'alm_seo_license_status' );
admin/views/settings.php CHANGED
@@ -55,10 +55,12 @@
55
  echo '<option value="4">'.__('Paging', 'ajax-load-more').'</option>';
56
  if(has_action('alm_prev_post_settings'))
57
  echo '<option value="5">'.__('Previous Post', 'ajax-load-more').'</option>';
 
 
58
  if(has_action('alm_seo_settings'))
59
- echo '<option value="6">'.__('SEO', 'ajax-load-more').'</option>';
60
  if(has_action('alm_theme_repeaters_settings'))
61
- echo '<option value="7">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
62
  ?>
63
  </select>
64
  </div>
55
  echo '<option value="4">'.__('Paging', 'ajax-load-more').'</option>';
56
  if(has_action('alm_prev_post_settings'))
57
  echo '<option value="5">'.__('Previous Post', 'ajax-load-more').'</option>';
58
+ if(has_action('alm_rest_api_settings'))
59
+ echo '<option value="6">'.__('REST API', 'ajax-load-more').'</option>';
60
  if(has_action('alm_seo_settings'))
61
+ echo '<option value="7">'.__('SEO', 'ajax-load-more').'</option>';
62
  if(has_action('alm_theme_repeaters_settings'))
63
+ echo '<option value="8">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
64
  ?>
65
  </select>
66
  </div>
ajax-load-more.php CHANGED
@@ -7,14 +7,15 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
- Version: 2.10.1
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
 
13
  */
14
 
15
 
16
- define('ALM_VERSION', '2.10.1');
17
- define('ALM_RELEASE', 'May 8, 2016');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
@@ -155,6 +156,7 @@ if( !class_exists('AjaxLoadMore') ):
155
  if (!defined('ALM_PAGING_ITEM_NAME')) define('ALM_PAGING_ITEM_NAME', '6898');
156
  if (!defined('ALM_PRELOADED_ITEM_NAME')) define('ALM_PRELOADED_ITEM_NAME', '4293');
157
  if (!defined('ALM_PREV_POST_ITEM_NAME')) define('ALM_PREV_POST_ITEM_NAME', '9686');
 
158
  if (!defined('ALM_SEO_ITEM_NAME')) define('ALM_SEO_ITEM_NAME', '3482');
159
  if (!defined('ALM_THEME_REPEATERS_ITEM_NAME')) define('ALM_THEME_REPEATERS_ITEM_NAME', '8860');
160
 
@@ -389,8 +391,8 @@ if( !class_exists('AjaxLoadMore') ):
389
  if($post_status == '') $post_status = 'publish';
390
 
391
  // Page
392
- $numPosts = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
393
- $page = (isset($_GET['pageNumber'])) ? $_GET['pageNumber'] : 0;
394
 
395
  // Preload Add-on
396
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
@@ -405,6 +407,9 @@ if( !class_exists('AjaxLoadMore') ):
405
  $is_previous_post = (isset($_GET['previous_post'])) ? $_GET['previous_post'] : false;
406
  $previous_post_id = (isset($_GET['previous_post_id'])) ? $_GET['previous_post_id'] : '';
407
 
 
 
 
408
  //SEO Add-on
409
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
410
 
@@ -414,18 +419,24 @@ if( !class_exists('AjaxLoadMore') ):
414
  // Set up initial args
415
  $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
416
  $args = array(
417
- 'post_type' => $postType,
418
- 'posts_per_page' => $numPosts,
419
- 'offset' => $offset + ($numPosts*$page),
420
- 'order' => $order,
421
- 'orderby' => $orderby,
422
- 'post_status' => $post_status,
423
- 'ignore_sticky_posts' => false,
424
- 'paged' => $paged,
425
  );
 
 
 
 
 
 
426
 
427
  // Post Format & Taxonomy
428
- // * Both use tax_query, so we need to combine these queries
429
  if(!empty($post_format) || !empty($taxonomy)){
430
 
431
  $tax_query_total = count(explode(":", $taxonomy)); // Total $taxonomy objects
@@ -549,8 +560,8 @@ if( !class_exists('AjaxLoadMore') ):
549
 
550
  }
551
 
552
- // Meta_key, used for ordering by meta value
553
- if(!empty($meta_key)){
554
  if (strpos($orderby, 'meta_value') !== false) { // Only order by meta_key, if $orderby is set to meta_value{_num}
555
  $meta_key_single = explode(":", $meta_key);
556
  $args['meta_key'] = $meta_key_single[0];
@@ -670,7 +681,7 @@ if( !class_exists('AjaxLoadMore') ):
670
  $alm_loop_count++;
671
  $alm_current++;
672
  $alm_page = $alm_page_count; // Get page number
673
- $alm_item = ($alm_page_count * $numPosts) - $numPosts + $alm_loop_count; // Get current item
674
 
675
  // Alternating Templates
676
  if($alternate && has_action('alm_alternating_installed') && $alm_page <= $alternate_sequence_max){
@@ -691,9 +702,9 @@ if( !class_exists('AjaxLoadMore') ):
691
  }
692
 
693
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){
694
- do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
695
  }else{
696
- include( alm_get_current_repeater($repeater, $type) );//Include repeater template
697
  }
698
 
699
  endwhile; wp_reset_query();
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
+ Version: 2.11.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
+
14
  */
15
 
16
 
17
+ define('ALM_VERSION', '2.11.0');
18
+ define('ALM_RELEASE', 'May 25, 2016');
19
  define('ALM_STORE_URL', 'https://connekthq.com');
20
 
21
 
156
  if (!defined('ALM_PAGING_ITEM_NAME')) define('ALM_PAGING_ITEM_NAME', '6898');
157
  if (!defined('ALM_PRELOADED_ITEM_NAME')) define('ALM_PRELOADED_ITEM_NAME', '4293');
158
  if (!defined('ALM_PREV_POST_ITEM_NAME')) define('ALM_PREV_POST_ITEM_NAME', '9686');
159
+ if (!defined('ALM_RESTAPI_ITEM_NAME')) define('ALM_RESTAPI_ITEM_NAME', '17105');
160
  if (!defined('ALM_SEO_ITEM_NAME')) define('ALM_SEO_ITEM_NAME', '3482');
161
  if (!defined('ALM_THEME_REPEATERS_ITEM_NAME')) define('ALM_THEME_REPEATERS_ITEM_NAME', '8860');
162
 
391
  if($post_status == '') $post_status = 'publish';
392
 
393
  // Page
394
+ $posts_per_page = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
395
+ $page = (isset($_GET['page'])) ? $_GET['page'] : 0;
396
 
397
  // Preload Add-on
398
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
407
  $is_previous_post = (isset($_GET['previous_post'])) ? $_GET['previous_post'] : false;
408
  $previous_post_id = (isset($_GET['previous_post_id'])) ? $_GET['previous_post_id'] : '';
409
 
410
+ // Paging Add-on
411
+ $paging = (isset($_GET['paging'])) ? $_GET['paging'] : false;
412
+
413
  //SEO Add-on
414
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
415
 
419
  // Set up initial args
420
  $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
421
  $args = array(
422
+ 'post_type' => $postType,
423
+ 'posts_per_page' => $posts_per_page,
424
+ 'offset' => $offset + ($posts_per_page*$page),
425
+ 'order' => $order,
426
+ 'orderby' => $orderby,
427
+ 'post_status' => $post_status,
428
+ 'ignore_sticky_posts' => false,
429
+ 'paged' => $paged,
430
  );
431
+
432
+ // Paging
433
+ // If !paging, turn off pagination information to improve wp_query performance
434
+ if(!$paging){
435
+ $args['no_found_rows'] = true;
436
+ }
437
 
438
  // Post Format & Taxonomy
439
+ // - Both use tax_query, so we combine these queries
440
  if(!empty($post_format) || !empty($taxonomy)){
441
 
442
  $tax_query_total = count(explode(":", $taxonomy)); // Total $taxonomy objects
560
 
561
  }
562
 
563
+ // Meta_key
564
+ if(!empty($meta_key)){ // ordering by meta value
565
  if (strpos($orderby, 'meta_value') !== false) { // Only order by meta_key, if $orderby is set to meta_value{_num}
566
  $meta_key_single = explode(":", $meta_key);
567
  $args['meta_key'] = $meta_key_single[0];
681
  $alm_loop_count++;
682
  $alm_current++;
683
  $alm_page = $alm_page_count; // Get page number
684
+ $alm_item = ($alm_page_count * $posts_per_page) - $posts_per_page + $alm_loop_count; // Get current item
685
 
686
  // Alternating Templates
687
  if($alternate && has_action('alm_alternating_installed') && $alm_page <= $alternate_sequence_max){
702
  }
703
 
704
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){
705
+ do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current); // Theme Repeater
706
  }else{
707
+ include( alm_get_current_repeater($repeater, $type) ); //Include repeater template
708
  }
709
 
710
  endwhile; wp_reset_query();
core/classes/class.alm-shortcode.php CHANGED
@@ -54,6 +54,11 @@ if( !class_exists('ALM_SHORTCODE') ):
54
 
55
  extract(shortcode_atts(array(
56
  'restapi' => false,
 
 
 
 
 
57
  'comments' => false,
58
  'comments_per_page' => '5',
59
  'comments_type' => 'comment',
@@ -149,8 +154,11 @@ if( !class_exists('ALM_SHORTCODE') ):
149
  if($seo === "true" || $previous_post)
150
  $transition_container = "true";
151
 
152
- if($restapi === 'true')
153
  $restapi = true;
 
 
 
154
 
155
  // Get container elements (ul | div)
156
 
@@ -246,9 +254,13 @@ if( !class_exists('ALM_SHORTCODE') ):
246
  }
247
  }
248
  // Frontpage
249
- elseif(is_front_page() || is_home()){
250
  $canonicalURL = get_home_url().'/';
251
  }
 
 
 
 
252
  // Category
253
  elseif(is_category()){
254
  $cur_cat_id = get_cat_id( single_cat_title('',false) );
@@ -503,7 +515,12 @@ if( !class_exists('ALM_SHORTCODE') ):
503
  if(has_action('alm_rest_api_installed') && $restapi === true){
504
  $restapi_return = apply_filters(
505
  'alm_rest_api_shortcode',
506
- 'true'
 
 
 
 
 
507
  );
508
  $ajaxloadmore .= $restapi_return;
509
  }
@@ -636,9 +653,13 @@ if( !class_exists('ALM_SHORTCODE') ):
636
 
637
 
638
  // REST API Add-on - add template to page
639
- if(has_action('alm_get_rest_api_template') && $restapi){
640
- $rest_type = alm_get_repeater_type($repeater);
641
- do_action('alm_get_rest_api_template', $repeater, $rest_type);
 
 
 
 
642
  }
643
 
644
  return $ajaxloadmore; // End ALM object
54
 
55
  extract(shortcode_atts(array(
56
  'restapi' => false,
57
+ 'restapi_base' => '/wp-json',
58
+ 'restapi_namespace' => 'ajaxloadmore',
59
+ 'restapi_endpoint' => 'posts',
60
+ 'restapi_template_id' => '',
61
+ 'restapi_debug' => false,
62
  'comments' => false,
63
  'comments_per_page' => '5',
64
  'comments_type' => 'comment',
154
  if($seo === "true" || $previous_post)
155
  $transition_container = "true";
156
 
157
+ if($restapi === 'true'){
158
  $restapi = true;
159
+
160
+ $preloaded = false;
161
+ }
162
 
163
  // Get container elements (ul | div)
164
 
254
  }
255
  }
256
  // Frontpage
257
+ elseif(is_front_page()){
258
  $canonicalURL = get_home_url().'/';
259
  }
260
+ // Home (Blog Default)
261
+ elseif(is_home()){
262
+ $canonicalURL = get_permalink(get_option('page_for_posts'));
263
+ }
264
  // Category
265
  elseif(is_category()){
266
  $cur_cat_id = get_cat_id( single_cat_title('',false) );
515
  if(has_action('alm_rest_api_installed') && $restapi === true){
516
  $restapi_return = apply_filters(
517
  'alm_rest_api_shortcode',
518
+ 'true',
519
+ $restapi_base,
520
+ $restapi_namespace,
521
+ $restapi_endpoint,
522
+ $restapi_template_id,
523
+ $restapi_debug
524
  );
525
  $ajaxloadmore .= $restapi_return;
526
  }
653
 
654
 
655
  // REST API Add-on - add template to page
656
+ if(has_action('alm_rest_api_installed') && $restapi){
657
+ if($theme_repeater != 'null' && has_action('alm_get_rest_theme_repeater')){
658
+ do_action('alm_get_rest_theme_repeater', $theme_repeater);
659
+ } else {
660
+ $rest_type = alm_get_repeater_type($repeater);
661
+ do_action('alm_get_rest_api_template', $repeater, $rest_type);
662
+ }
663
  }
664
 
665
  return $ajaxloadmore; // End ALM object
core/functions.php CHANGED
@@ -10,6 +10,7 @@
10
  */
11
 
12
  function alm_get_current_repeater($repeater, $type) {
 
13
  $template = $repeater;
14
  $include = '';
15
 
@@ -42,6 +43,7 @@ function alm_get_current_repeater($repeater, $type) {
42
  }
43
 
44
  return $include;
 
45
  }
46
 
47
 
10
  */
11
 
12
  function alm_get_current_repeater($repeater, $type) {
13
+
14
  $template = $repeater;
15
  $include = '';
16
 
43
  }
44
 
45
  return $include;
46
+
47
  }
48
 
49
 
core/js/ajax-load-more.js CHANGED
@@ -45,14 +45,8 @@
45
  alm.cache_path = alm.content.attr('data-cache-path'); // cache path
46
  alm.cache_logged_in = alm.content.attr('data-cache-logged-in'); // cache logged in (settings)
47
  alm.repeater = alm.content.attr('data-repeater');
48
- alm.theme_repeater = alm.content.attr('data-theme-repeater');
49
 
50
- alm.alternate_array = '';
51
- alm.alternate = alm.content.attr('data-alternate'); // is Alternating Templates enabled?
52
- alm.alternate_sequence = alm.content.attr('data-alternate-sequence');
53
- alm.alternate_sequence_max = alm.content.attr('data-alternate-sequence-max');
54
- alm.alternate_repeater = alm.content.attr('data-alternate-repeater');
55
- alm.alternate_theme_repeater = alm.content.attr('data-alternate-theme-repeater');
56
 
57
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
58
  alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
@@ -60,13 +54,20 @@
60
  alm.pause = alm.content.attr('data-pause'); // true | false
61
  alm.transition = alm.content.attr('data-transition');
62
  alm.transition_container = alm.content.attr('data-transition-container');
63
- alm.speed = alm.content.attr('data-transition-speed')
64
  alm.images_loaded = alm.content.attr('data-images-loaded');
65
  alm.destroy_after = alm.content.attr('data-destroy-after');
66
  alm.lang = alm.content.attr('data-lang');
67
  alm.orginal_posts_per_page = alm.content.attr('data-posts-per-page'); // Used for paging add-on
68
  alm.posts_per_page = alm.content.attr('data-posts-per-page');
69
 
 
 
 
 
 
 
 
70
  alm.previous_post = alm.content.attr('data-previous-post'); // Next Post add-on
71
  alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
72
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
@@ -83,7 +84,14 @@
83
  alm.comments_style = alm.content.attr('data-comments_style');
84
  alm.comments_template = alm.content.attr('data-comments_template');
85
  alm.comments_callback = alm.content.attr('data-comments_callback');
86
-
 
 
 
 
 
 
 
87
  alm.seo = alm.content.attr('data-seo'); // true | false
88
 
89
  alm.preloaded = alm.content.attr('data-preloaded'); // true | false
@@ -93,6 +101,22 @@
93
  alm.paging_controls = alm.content.attr('data-paging-controls');
94
  alm.paging_show_at_most = alm.content.attr('data-paging-show-at-most');
95
  alm.paging_classes = alm.content.attr('data-paging-classes');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
 
97
  /* Paging */
98
  if(alm.paging === 'true'){
@@ -207,8 +231,7 @@
207
  alm.previous_post_pageview = alm.content.attr('data-previous-post-pageview');
208
  alm.previous_post_scroll = alm.content.attr('data-previous-post-scroll');
209
  alm.previous_post_scroll_speed = alm.content.attr('data-previous-post-scroll-speed');
210
- alm.previous_post_scroll_top = alm.content.attr('data-previous-post-scrolltop');
211
-
212
  /* /end Previous Post */
213
 
214
 
@@ -333,8 +356,8 @@
333
  }else{
334
 
335
 
336
- // If paging is false
337
- $('.'+ alm.prefix + 'btn-wrap', alm.container).append('<button id="load-more" class="' + alm.prefix + 'load-more-btn more'+ alm.button_class +'">' + alm.button_label + '</button>');
338
  alm.button = $('.alm-load-more-btn', alm.container);
339
  }
340
 
@@ -394,14 +417,14 @@
394
 
395
  alm.AjaxLoadMore.ajax = function (queryType) {
396
 
 
 
397
  if(alm.previous_post){
398
  alm.previous_post_id = alm.content.attr('data-previous-post-id');
399
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy');
400
  }
401
 
402
- var action = 'alm_query_posts';
403
-
404
- // If this is a comment query
405
  if(alm.comments === 'true'){
406
  action = 'alm_comments_query';
407
  alm.posts_per_page = alm.comments_per_page;
@@ -417,7 +440,7 @@
417
 
418
  }
419
 
420
- // Set Alternate Query params
421
  if(alm.alternate === 'true'){
422
  alm.alternate_array = {
423
  'alternate': 'true',
@@ -426,84 +449,155 @@
426
  'alternate_repeater': alm.alternate_repeater,
427
  'alternate_theme_repeater': alm.alternate_theme_repeater,
428
  };
429
- }
430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
 
432
- $.ajax({
433
- type: "GET",
434
- url: alm_localize.ajaxurl,
435
- data: {
436
- action: action,
437
- query_type: queryType,
438
- nonce: alm_localize.alm_nonce,
439
- cache_id: alm.cache_id,
440
- repeater: alm.repeater,
441
- theme_repeater: alm.theme_repeater,
442
- alternate: alm.alternate_array,
443
- comments: alm.comments_array,
444
- post_type: alm.post_type,
445
- post_format: alm.content.attr('data-post-format'),
446
- category: alm.content.attr('data-category'),
447
- category__not_in: alm.content.attr('data-category-not-in'),
448
- tag: alm.content.attr('data-tag'),
449
- tag__not_in: alm.content.attr('data-tag-not-in'),
450
- taxonomy: alm.content.attr('data-taxonomy'),
451
- taxonomy_terms: alm.content.attr('data-taxonomy-terms'),
452
- taxonomy_operator: alm.content.attr('data-taxonomy-operator'),
453
- taxonomy_relation: alm.content.attr('data-taxonomy-relation'),
454
- meta_key: alm.content.attr('data-meta-key'),
455
- meta_value: alm.content.attr('data-meta-value'),
456
- meta_compare: alm.content.attr('data-meta-compare'),
457
- meta_relation: alm.content.attr('data-meta-relation'),
458
- meta_type: alm.content.attr('data-meta-type'),
459
- author: alm.content.attr('data-author'),
460
- year: alm.content.attr('data-year'),
461
- month: alm.content.attr('data-month'),
462
- day: alm.content.attr('data-day'),
463
- post_status: alm.content.attr('data-post-status'),
464
- order: alm.content.attr('data-order'),
465
- orderby: alm.content.attr('data-orderby'),
466
- post__in: alm.content.attr('data-post-in'),
467
- post__not_in: alm.content.attr('data-post-not-in'),
468
- exclude: alm.content.attr('data-exclude'), // Deprecate soon in favor of post__not_in
469
- search: alm.content.attr('data-search'),
470
- custom_args: alm.content.attr('data-custom-args'),
471
- posts_per_page: alm.posts_per_page,
472
- pageNumber: alm.page,
473
- offset: alm.offset,
474
- preloaded: alm.preloaded,
475
- preloaded_amount: alm.preloaded_amount,
476
- seo_start_page: alm.start_page,
477
- previous_post: alm.previous_post,
478
- previous_post_id: alm.previous_post_id,
479
- previous_post_taxonomy: alm.previous_post_taxonomy,
480
- lang: alm.lang,
481
- slug: alm.slug,
482
- canonical_url: alm.canonical_url,
483
- },
484
- dataType: "JSON",
485
- // parse the data as html
486
- beforeSend: function () {
487
- if (alm.page != 1 && !alm.paging) {
488
- alm.button.addClass('loading');
489
- }
490
- },
491
- success: function (data) {
492
- //console.log(data);
493
- if(queryType === 'standard'){
494
- alm.AjaxLoadMore.success(data, false);
495
- }
496
- else if(queryType === 'totalposts' && alm.paging){
497
- if($.isFunction($.fn.almBuildPagination)){
498
- $.fn.almBuildPagination(data, alm);
499
- }
500
- }
501
 
502
- },
503
- error: function (jqXHR, textStatus, errorThrown) {
504
- alm.AjaxLoadMore.error(jqXHR, textStatus, errorThrown);
505
- }
506
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
  };
508
 
509
  // If pagination enabled, run totalposts query
@@ -519,7 +613,7 @@
519
  * @since 2.6.0
520
  */
521
 
522
- alm.AjaxLoadMore.success = function (data, is_cache) {
523
 
524
  if(alm.previous_post){ // Get previous page data
525
  alm.AjaxLoadMore.getPreviousPost();
45
  alm.cache_path = alm.content.attr('data-cache-path'); // cache path
46
  alm.cache_logged_in = alm.content.attr('data-cache-logged-in'); // cache logged in (settings)
47
  alm.repeater = alm.content.attr('data-repeater');
 
48
 
49
+ alm.theme_repeater = alm.content.attr('data-theme-repeater');
 
 
 
 
 
50
 
51
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
52
  alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
54
  alm.pause = alm.content.attr('data-pause'); // true | false
55
  alm.transition = alm.content.attr('data-transition');
56
  alm.transition_container = alm.content.attr('data-transition-container');
57
+ alm.speed = alm.content.attr('data-transition-speed');
58
  alm.images_loaded = alm.content.attr('data-images-loaded');
59
  alm.destroy_after = alm.content.attr('data-destroy-after');
60
  alm.lang = alm.content.attr('data-lang');
61
  alm.orginal_posts_per_page = alm.content.attr('data-posts-per-page'); // Used for paging add-on
62
  alm.posts_per_page = alm.content.attr('data-posts-per-page');
63
 
64
+ alm.alternate_array = '';
65
+ alm.alternate = alm.content.attr('data-alternate'); // is Alternating Templates enabled?
66
+ alm.alternate_sequence = alm.content.attr('data-alternate-sequence');
67
+ alm.alternate_sequence_max = alm.content.attr('data-alternate-sequence-max');
68
+ alm.alternate_repeater = alm.content.attr('data-alternate-repeater');
69
+ alm.alternate_theme_repeater = alm.content.attr('data-alternate-theme-repeater');
70
+
71
  alm.previous_post = alm.content.attr('data-previous-post'); // Next Post add-on
72
  alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
73
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
84
  alm.comments_style = alm.content.attr('data-comments_style');
85
  alm.comments_template = alm.content.attr('data-comments_template');
86
  alm.comments_callback = alm.content.attr('data-comments_callback');
87
+
88
+ alm.restapi = alm.content.attr('data-restapi');
89
+ alm.restapi_base_url = alm.content.attr('data-restapi-base-url');
90
+ alm.restapi_namespace = alm.content.attr('data-restapi-namespace');
91
+ alm.restapi_endpoint = alm.content.attr('data-restapi-endpoint');
92
+ alm.restapi_template_id = alm.content.attr('data-restapi-template-id');
93
+ alm.restapi_debug = alm.content.attr('data-restapi-debug');
94
+
95
  alm.seo = alm.content.attr('data-seo'); // true | false
96
 
97
  alm.preloaded = alm.content.attr('data-preloaded'); // true | false
101
  alm.paging_controls = alm.content.attr('data-paging-controls');
102
  alm.paging_show_at_most = alm.content.attr('data-paging-show-at-most');
103
  alm.paging_classes = alm.content.attr('data-paging-classes');
104
+
105
+ /* REST API */
106
+ if(alm.restapi === 'true'){
107
+ alm.restapi = true;
108
+
109
+ if(alm.restapi_debug === undefined){
110
+ alm.restapi_debug = false;
111
+ }
112
+ if(alm.restapi_template_id === ''){
113
+ alm.restapi = false;
114
+ }
115
+
116
+ }else{
117
+ alm.restapi = false;
118
+ }
119
+ /* /end REST API */
120
 
121
  /* Paging */
122
  if(alm.paging === 'true'){
231
  alm.previous_post_pageview = alm.content.attr('data-previous-post-pageview');
232
  alm.previous_post_scroll = alm.content.attr('data-previous-post-scroll');
233
  alm.previous_post_scroll_speed = alm.content.attr('data-previous-post-scroll-speed');
234
+ alm.previous_post_scroll_top = alm.content.attr('data-previous-post-scrolltop');
 
235
  /* /end Previous Post */
236
 
237
 
356
  }else{
357
 
358
 
359
+ // If paging is false
360
+ $('.'+ alm.prefix + 'btn-wrap', alm.container).append('<button id="load-more" class="' + alm.prefix + 'load-more-btn more'+ alm.button_class +'">' + alm.button_label + '</button>');
361
  alm.button = $('.alm-load-more-btn', alm.container);
362
  }
363
 
417
 
418
  alm.AjaxLoadMore.ajax = function (queryType) {
419
 
420
+ var action = 'alm_query_posts';
421
+
422
  if(alm.previous_post){
423
  alm.previous_post_id = alm.content.attr('data-previous-post-id');
424
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy');
425
  }
426
 
427
+ // Comment query
 
 
428
  if(alm.comments === 'true'){
429
  action = 'alm_comments_query';
430
  alm.posts_per_page = alm.comments_per_page;
440
 
441
  }
442
 
443
+ // Alternate Query params
444
  if(alm.alternate === 'true'){
445
  alm.alternate_array = {
446
  'alternate': 'true',
449
  'alternate_repeater': alm.alternate_repeater,
450
  'alternate_theme_repeater': alm.alternate_theme_repeater,
451
  };
452
+ }
453
 
454
+ // REST API
455
+ if(alm.restapi){
456
+ var alm_template = wp.template(alm.restapi_template_id),
457
+ rest_url = alm.restapi_base_url + '/' + alm.restapi_namespace + '/' + alm.restapi_endpoint,
458
+ rest_data = {
459
+ posts_per_page : alm.posts_per_page,
460
+ page : alm.page,
461
+ offset : alm.offset,
462
+ slug : alm.slug,
463
+ canonical_url : alm.canonical_url,
464
+ post_type : alm.post_type,
465
+ post_format : alm.content.attr('data-post-format'),
466
+ category : alm.content.attr('data-category'),
467
+ category__not_in : alm.content.attr('data-category-not-in'),
468
+ tag : alm.content.attr('data-tag'),
469
+ tag__not_in : alm.content.attr('data-tag-not-in'),
470
+ taxonomy : alm.content.attr('data-taxonomy'),
471
+ taxonomy_terms : alm.content.attr('data-taxonomy-terms'),
472
+ taxonomy_operator : alm.content.attr('data-taxonomy-operator'),
473
+ taxonomy_relation : alm.content.attr('data-taxonomy-relation'),
474
+ meta_key : alm.content.attr('data-meta-key'),
475
+ meta_value : alm.content.attr('data-meta-value'),
476
+ meta_compare : alm.content.attr('data-meta-compare'),
477
+ meta_relation : alm.content.attr('data-meta-relation'),
478
+ meta_type : alm.content.attr('data-meta-type'),
479
+ author : alm.content.attr('data-author'),
480
+ year : alm.content.attr('data-year'),
481
+ month : alm.content.attr('data-month'),
482
+ day : alm.content.attr('data-day'),
483
+ post_status : alm.content.attr('data-post-status'),
484
+ order : alm.content.attr('data-order'),
485
+ orderby : alm.content.attr('data-orderby'),
486
+ post__in : alm.content.attr('data-post-in'),
487
+ post__not_in : alm.content.attr('data-post-not-in'),
488
+ search : alm.content.attr('data-search'),
489
+ custom_args : alm.content.attr('data-custom-args'),
490
+ lang : alm.lang,
491
+ preloaded : alm.preloaded,
492
+ preloaded_amount : alm.preloaded_amount,
493
+ seo_start_page : alm.start_page
494
+ };
495
+
496
+ $.ajax({
497
+ type : "GET",
498
+ url : rest_url,
499
+ data: rest_data,
500
+ dataType: "JSON",
501
+ beforeSend: function () {
502
+ if (alm.page != 1 && !alm.paging) {
503
+ alm.button.addClass('loading');
504
+ }
505
+ },
506
+ success: function (results) {
507
+ var data;
508
+ // loop results to get data from each
509
+ $.each(results, function(e){
510
+ var result = results[e];
511
+ if(alm.restapi_debug === 'true'){ // If debug
512
+ console.log(result);
513
+ }
514
+ data += alm_template(result);
515
+ });
516
+ alm.AjaxLoadMore.success(data, true); // Send data to alm object
517
+ }
518
+ });
519
+ }
520
 
521
+ // Standard ALM
522
+ else{
523
+ $.ajax({
524
+ type: "GET",
525
+ url: alm_localize.ajaxurl,
526
+ dataType: "JSON",
527
+ data: {
528
+ action : action,
529
+ query_type : queryType,
530
+ nonce : alm_localize.alm_nonce,
531
+ cache_id : alm.cache_id,
532
+ repeater : alm.repeater,
533
+ theme_repeater : alm.theme_repeater,
534
+ alternate : alm.alternate_array,
535
+ comments : alm.comments_array,
536
+ post_type : alm.post_type,
537
+ post_format : alm.content.attr('data-post-format'),
538
+ category : alm.content.attr('data-category'),
539
+ category__not_in : alm.content.attr('data-category-not-in'),
540
+ tag : alm.content.attr('data-tag'),
541
+ tag__not_in : alm.content.attr('data-tag-not-in'),
542
+ taxonomy : alm.content.attr('data-taxonomy'),
543
+ taxonomy_terms : alm.content.attr('data-taxonomy-terms'),
544
+ taxonomy_operator : alm.content.attr('data-taxonomy-operator'),
545
+ taxonomy_relation : alm.content.attr('data-taxonomy-relation'),
546
+ meta_key : alm.content.attr('data-meta-key'),
547
+ meta_value : alm.content.attr('data-meta-value'),
548
+ meta_compare : alm.content.attr('data-meta-compare'),
549
+ meta_relation : alm.content.attr('data-meta-relation'),
550
+ meta_type : alm.content.attr('data-meta-type'),
551
+ author : alm.content.attr('data-author'),
552
+ year : alm.content.attr('data-year'),
553
+ month : alm.content.attr('data-month'),
554
+ day : alm.content.attr('data-day'),
555
+ post_status : alm.content.attr('data-post-status'),
556
+ order : alm.content.attr('data-order'),
557
+ orderby : alm.content.attr('data-orderby'),
558
+ post__in : alm.content.attr('data-post-in'),
559
+ post__not_in : alm.content.attr('data-post-not-in'),
560
+ exclude : alm.content.attr('data-exclude'), // Deprecate soon in favor of post__not_in
561
+ search : alm.content.attr('data-search'),
562
+ custom_args : alm.content.attr('data-custom-args'),
563
+ posts_per_page : alm.posts_per_page,
564
+ page : alm.page,
565
+ offset : alm.offset,
566
+ preloaded : alm.preloaded,
567
+ preloaded_amount : alm.preloaded_amount,
568
+ seo_start_page : alm.start_page,
569
+ paging : alm.paging,
570
+ previous_post : alm.previous_post,
571
+ previous_post_id : alm.previous_post_id,
572
+ previous_post_taxonomy: alm.previous_post_taxonomy,
573
+ lang : alm.lang,
574
+ slug : alm.slug,
575
+ canonical_url : alm.canonical_url
576
+ },
 
 
 
 
 
 
 
 
 
 
 
 
 
577
 
578
+ beforeSend: function () {
579
+ if (alm.page != 1 && !alm.paging) {
580
+ alm.button.addClass('loading');
581
+ }
582
+ },
583
+
584
+ success: function (data) {
585
+ //console.log(data);
586
+ if(queryType === 'standard'){
587
+ alm.AjaxLoadMore.success(data, false);
588
+ }
589
+ else if(queryType === 'totalposts' && alm.paging){
590
+ if($.isFunction($.fn.almBuildPagination)){
591
+ $.fn.almBuildPagination(data, alm);
592
+ }
593
+ }
594
+
595
+ },
596
+ error: function (jqXHR, textStatus, errorThrown) {
597
+ alm.AjaxLoadMore.error(jqXHR, textStatus, errorThrown);
598
+ }
599
+ });
600
+ }
601
  };
602
 
603
  // If pagination enabled, run totalposts query
613
  * @since 2.6.0
614
  */
615
 
616
+ alm.AjaxLoadMore.success = function (data, is_cache) {
617
 
618
  if(alm.previous_post){ // Get previous page data
619
  alm.AjaxLoadMore.getPreviousPost();
core/js/ajax-load-more.min.js CHANGED
@@ -1,7 +1,8 @@
1
  (function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
2
- var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.proceed=false;alm.disable_ajax=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.container=el;alm.container.addClass('alm-'+e).attr('data-id',e);alm.content=$('.alm-ajax',alm.container);alm.content_preloaded=$('.alm-listing.alm-preloaded',alm.container);alm.canonical_url=alm.el.attr('data-canonical-url');alm.slug=alm.el.attr('data-slug');alm.prefix='alm-';alm.cache=alm.content.attr('data-cache');alm.cache_id=alm.content.attr('data-cache-id');alm.cache_path=alm.content.attr('data-cache-path');alm.cache_logged_in=alm.content.attr('data-cache-logged-in');alm.repeater=alm.content.attr('data-repeater');alm.theme_repeater=alm.content.attr('data-theme-repeater');alm.alternate_array='';alm.alternate=alm.content.attr('data-alternate');alm.alternate_sequence=alm.content.attr('data-alternate-sequence');alm.alternate_sequence_max=alm.content.attr('data-alternate-sequence-max');alm.alternate_repeater=alm.content.attr('data-alternate-repeater');alm.alternate_theme_repeater=alm.content.attr('data-alternate-theme-repeater');alm.scroll_distance=parseInt(alm.content.attr('data-scroll-distance'));alm.max_pages=parseInt(alm.content.attr('data-max-pages'));alm.pause_override=alm.content.attr('data-pause-override');alm.pause=alm.content.attr('data-pause');alm.transition=alm.content.attr('data-transition');alm.transition_container=alm.content.attr('data-transition-container');alm.speed=alm.content.attr('data-transition-speed')
3
- alm.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
4
- alm.comments_array='';alm.comments_post_id=alm.content.attr('data-comments_post_id');alm.comments_per_page=alm.content.attr('data-comments_per_page');alm.comments_type=alm.content.attr('data-comments_type');alm.comments_style=alm.content.attr('data-comments_style');alm.comments_template=alm.content.attr('data-comments_template');alm.comments_callback=alm.content.attr('data-comments_callback');alm.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
 
5
  if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
6
  if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
7
  if(alm.cache===undefined){alm.cache=false;}
@@ -36,11 +37,13 @@ if(alm.content.attr('data-button-class')===undefined){alm.button_class='';}else{
36
  if(alm.content.attr('data-scroll')===undefined){alm.scroll=true;}else if(alm.content.attr('data-scroll')==='false'){alm.scroll=false;}else{alm.scroll=true;}
37
  alm.post_type=alm.content.attr('data-post-type');alm.post_type=alm.post_type.split(",");alm.container.append('<div class="'+alm.prefix+'btn-wrap"/>');alm.btnWrap=$('.'+alm.prefix+'btn-wrap',alm.container);if(alm.paging){alm.content.parent().addClass('loading');}else{$('.'+alm.prefix+'btn-wrap',alm.container).append('<button id="load-more" class="'+alm.prefix+'load-more-btn more'+alm.button_class+'">'+alm.button_label+'</button>');alm.button=$('.alm-load-more-btn',alm.container);}
38
  alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.button.addClass('loading');if(alm.button_loading_label!==false){alm.button.text(alm.button_loading_label);}}
39
- alm.loading=true;if(alm.cache==='true'&&!alm.cache_logged_in){if(alm.init&&alm.seo&&alm.isPaged){alm.AjaxLoadMore.ajax('standard');}else{var cachePage=alm.cache_path+'/page-'+alm.page+'.html';$.get(cachePage,function(data){alm.AjaxLoadMore.success(data,true);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
40
- var action='alm_query_posts';if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
41
  if(alm.alternate==='true'){alm.alternate_array={'alternate':'true','alternate_sequence':alm.alternate_sequence,'alternate_sequence_max':alm.alternate_sequence_max,'alternate_repeater':alm.alternate_repeater,'alternate_theme_repeater':alm.alternate_theme_repeater,};}
42
- $.ajax({type:"GET",url:alm_localize.ajaxurl,data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,alternate:alm.alternate_array,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,pageNumber:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,canonical_url:alm.canonical_url,},dataType:"JSON",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
43
- else if(queryType==='totalposts'&&alm.paging){if($.isFunction($.fn.almBuildPagination)){$.fn.almBuildPagination(data,alm);}}},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);}});};if(alm.paging){alm.AjaxLoadMore.ajax('totalposts');}
 
 
44
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
45
  var html;if(!is_cache){html=data.html;}else{html=data;}
46
  alm.data=$(html);if(alm.init){if(!alm.paging){alm.button.text(alm.button_label);}else{if(alm.data.length>0){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');$('.alm-paging-content',alm.el).append(alm.data).hide();alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.resetBtnText();$('.alm-paging-content',alm.el).fadeIn(alm.speed,'alm_easeInOutQuad',function(){var paddingT=parseInt(alm.content.css('padding-top')),paddingB=parseInt(alm.content.css('padding-bottom'));alm.content.css('height',alm.el.height()+paddingT+paddingB+'px');if($.isFunction($.fn.almFadePageControls)){$.fn.almFadePageControls(alm.btnWrap);}});}}
1
  (function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
2
+ var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.proceed=false;alm.disable_ajax=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.container=el;alm.container.addClass('alm-'+e).attr('data-id',e);alm.content=$('.alm-ajax',alm.container);alm.content_preloaded=$('.alm-listing.alm-preloaded',alm.container);alm.canonical_url=alm.el.attr('data-canonical-url');alm.slug=alm.el.attr('data-slug');alm.prefix='alm-';alm.cache=alm.content.attr('data-cache');alm.cache_id=alm.content.attr('data-cache-id');alm.cache_path=alm.content.attr('data-cache-path');alm.cache_logged_in=alm.content.attr('data-cache-logged-in');alm.repeater=alm.content.attr('data-repeater');alm.theme_repeater=alm.content.attr('data-theme-repeater');alm.scroll_distance=parseInt(alm.content.attr('data-scroll-distance'));alm.max_pages=parseInt(alm.content.attr('data-max-pages'));alm.pause_override=alm.content.attr('data-pause-override');alm.pause=alm.content.attr('data-pause');alm.transition=alm.content.attr('data-transition');alm.transition_container=alm.content.attr('data-transition-container');alm.speed=alm.content.attr('data-transition-speed');alm.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.alternate_array='';alm.alternate=alm.content.attr('data-alternate');alm.alternate_sequence=alm.content.attr('data-alternate-sequence');alm.alternate_sequence_max=alm.content.attr('data-alternate-sequence-max');alm.alternate_repeater=alm.content.attr('data-alternate-repeater');alm.alternate_theme_repeater=alm.content.attr('data-alternate-theme-repeater');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
3
+ alm.comments_array='';alm.comments_post_id=alm.content.attr('data-comments_post_id');alm.comments_per_page=alm.content.attr('data-comments_per_page');alm.comments_type=alm.content.attr('data-comments_type');alm.comments_style=alm.content.attr('data-comments_style');alm.comments_template=alm.content.attr('data-comments_template');alm.comments_callback=alm.content.attr('data-comments_callback');alm.restapi=alm.content.attr('data-restapi');alm.restapi_base_url=alm.content.attr('data-restapi-base-url');alm.restapi_namespace=alm.content.attr('data-restapi-namespace');alm.restapi_endpoint=alm.content.attr('data-restapi-endpoint');alm.restapi_template_id=alm.content.attr('data-restapi-template-id');alm.restapi_debug=alm.content.attr('data-restapi-debug');alm.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');if(alm.restapi==='true'){alm.restapi=true;if(alm.restapi_debug===undefined){alm.restapi_debug=false;}
4
+ if(alm.restapi_template_id===''){alm.restapi=false;}}else{alm.restapi=false;}
5
+ if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
6
  if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
7
  if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
8
  if(alm.cache===undefined){alm.cache=false;}
37
  if(alm.content.attr('data-scroll')===undefined){alm.scroll=true;}else if(alm.content.attr('data-scroll')==='false'){alm.scroll=false;}else{alm.scroll=true;}
38
  alm.post_type=alm.content.attr('data-post-type');alm.post_type=alm.post_type.split(",");alm.container.append('<div class="'+alm.prefix+'btn-wrap"/>');alm.btnWrap=$('.'+alm.prefix+'btn-wrap',alm.container);if(alm.paging){alm.content.parent().addClass('loading');}else{$('.'+alm.prefix+'btn-wrap',alm.container).append('<button id="load-more" class="'+alm.prefix+'load-more-btn more'+alm.button_class+'">'+alm.button_label+'</button>');alm.button=$('.alm-load-more-btn',alm.container);}
39
  alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.button.addClass('loading');if(alm.button_loading_label!==false){alm.button.text(alm.button_loading_label);}}
40
+ alm.loading=true;if(alm.cache==='true'&&!alm.cache_logged_in){if(alm.init&&alm.seo&&alm.isPaged){alm.AjaxLoadMore.ajax('standard');}else{var cachePage=alm.cache_path+'/page-'+alm.page+'.html';$.get(cachePage,function(data){alm.AjaxLoadMore.success(data,true);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){var action='alm_query_posts';if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
41
+ if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
42
  if(alm.alternate==='true'){alm.alternate_array={'alternate':'true','alternate_sequence':alm.alternate_sequence,'alternate_sequence_max':alm.alternate_sequence_max,'alternate_repeater':alm.alternate_repeater,'alternate_theme_repeater':alm.alternate_theme_repeater,};}
43
+ if(alm.restapi){var alm_template=wp.template(alm.restapi_template_id),rest_url=alm.restapi_base_url+'/'+alm.restapi_namespace+'/'+alm.restapi_endpoint,rest_data={posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,slug:alm.slug,canonical_url:alm.canonical_url,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),lang:alm.lang,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page};$.ajax({type:"GET",url:rest_url,data:rest_data,dataType:"JSON",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(results){var data;$.each(results,function(e){var result=results[e];if(alm.restapi_debug==='true'){console.log(result);}
44
+ data+=alm_template(result);});alm.AjaxLoadMore.success(data,true);}});}
45
+ else{$.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,alternate:alm.alternate_array,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,paging:alm.paging,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,canonical_url:alm.canonical_url},beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
46
+ else if(queryType==='totalposts'&&alm.paging){if($.isFunction($.fn.almBuildPagination)){$.fn.almBuildPagination(data,alm);}}},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);}});}};if(alm.paging){alm.AjaxLoadMore.ajax('totalposts');}
47
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
48
  var html;if(!is_cache){html=data.html;}else{html=data;}
49
  alm.data=$(html);if(alm.init){if(!alm.paging){alm.button.text(alm.button_label);}else{if(alm.data.length>0){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');$('.alm-paging-content',alm.el).append(alm.data).hide();alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.resetBtnText();$('.alm-paging-content',alm.el).fadeIn(alm.speed,'alm_easeInOutQuad',function(){var paddingT=parseInt(alm.content.css('padding-top')),paddingB=parseInt(alm.content.css('padding-bottom'));alm.content.css('height',alm.el.height()+paddingT+paddingB+'px');if($.isFunction($.fn.almFadePageControls)){$.fn.almFadePageControls(alm.btnWrap);}});}}
lang/ajax-load-more.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
- "POT-Creation-Date: 2016-05-08 22:06-0500\n"
5
- "PO-Revision-Date: 2016-05-08 22:06-0500\n"
6
  "Last-Translator: Darren Cooney <darren.cooney@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
@@ -21,20 +21,22 @@ msgid "You don't belong here."
21
  msgstr ""
22
 
23
  #: ../admin/admin.php:153 ../admin/editor/editor-build.php:67
24
- #: ../admin/views/licenses.php:51 ../admin/views/licenses.php:106
25
- #: ../admin/views/licenses.php:160 ../admin/views/licenses.php:215
26
- #: ../admin/views/licenses.php:271 ../admin/views/licenses.php:327
27
- #: ../admin/views/licenses.php:381 ../admin/views/licenses.php:434
28
- #: ../admin/views/licenses.php:489 ../admin/views/licenses.php:546
 
29
  msgid "Active"
30
  msgstr ""
31
 
32
  #: ../admin/admin.php:154 ../admin/editor/editor-build.php:68
33
- #: ../admin/views/licenses.php:55 ../admin/views/licenses.php:110
34
- #: ../admin/views/licenses.php:164 ../admin/views/licenses.php:219
35
- #: ../admin/views/licenses.php:275 ../admin/views/licenses.php:331
36
- #: ../admin/views/licenses.php:385 ../admin/views/licenses.php:438
37
- #: ../admin/views/licenses.php:493 ../admin/views/licenses.php:550
 
38
  msgid "Inactive"
39
  msgstr ""
40
 
@@ -73,12 +75,12 @@ msgid "Error Writing File"
73
  msgstr ""
74
 
75
  #: ../admin/admin.php:861
76
- #: ../admin/shortcode-builder/shortcode-builder.php:1244
77
  msgid "Container Type"
78
  msgstr ""
79
 
80
  #: ../admin/admin.php:869
81
- #: ../admin/shortcode-builder/shortcode-builder.php:1268
82
  msgid "Container Classes"
83
  msgstr ""
84
 
@@ -114,83 +116,83 @@ msgstr ""
114
  msgid "Error Notices"
115
  msgstr ""
116
 
117
- #: ../admin/admin.php:998
118
  msgid ""
119
  "Customize the user experience of Ajax Load More by updating the fields below."
120
  msgstr ""
121
 
122
- #: ../admin/admin.php:1011
123
  msgid "The following settings affect the WordPress admin area only."
124
  msgstr ""
125
 
126
- #: ../admin/admin.php:1042
127
  msgid "I want to use my own CSS styles."
128
  msgstr ""
129
 
130
- #: ../admin/admin.php:1042
131
  msgid "View Ajax Load More CSS"
132
  msgstr ""
133
 
134
- #: ../admin/admin.php:1062
135
  msgid "Hide shortcode button in WYSIWYG editor."
136
  msgstr ""
137
 
138
- #: ../admin/admin.php:1083
139
  msgid ""
140
  "Display error messaging regarding repeater template updates in the browser "
141
  "console."
142
  msgstr ""
143
 
144
- #: ../admin/admin.php:1104
145
  msgid ""
146
  "Disable dynamic population of categories, tags and authors in the Shortcode "
147
  "Builder.<span style=\"display:block\">Recommended if you have an "
148
  "extraordinary number of categories, tags and/or authors."
149
  msgstr ""
150
 
151
- #: ../admin/admin.php:1125 ../admin/admin.php:1128
152
  msgid "Ajax Posts Here"
153
  msgstr ""
154
 
155
- #: ../admin/admin.php:1130
156
  msgid "You can modify the container type when building a shortcode."
157
  msgstr ""
158
 
159
- #: ../admin/admin.php:1147
160
  msgid ""
161
  "Add classes to Ajax Load More container - classes are applied globally and "
162
  "will appear with every instance of Ajax Load More. <span style=\"display:"
163
  "block\">You can also add classes when building a shortcode.</span>"
164
  msgstr ""
165
 
166
- #: ../admin/admin.php:1209
167
  msgid ""
168
  "Select an Ajax loading style - you can choose between a <strong>button</"
169
  "strong> or <strong>infinite scroll</strong>"
170
  msgstr ""
171
 
172
- #: ../admin/admin.php:1232
173
  msgid "Preview"
174
  msgstr ""
175
 
176
- #: ../admin/admin.php:1232
177
- #: ../admin/shortcode-builder/shortcode-builder.php:1218
178
- #: ../core/classes/class.alm-shortcode.php:122
179
  msgid "Older Posts"
180
  msgstr ""
181
 
182
- #: ../admin/admin.php:1251
183
  msgid "Add classes to your <strong>Load More</strong> button"
184
  msgstr ""
185
 
186
- #: ../admin/admin.php:1294
187
  msgid ""
188
  "On initial page load, move the user's browser window to the top of the "
189
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
190
  "loading of unnecessary posts.</span>"
191
  msgstr ""
192
 
193
- #: ../admin/admin.php:1315
194
  msgid ""
195
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
196
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
@@ -472,7 +474,7 @@ msgid "Taxonomy Operator:"
472
  msgstr ""
473
 
474
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
475
- #: ../admin/shortcode-builder/shortcode-builder.php:815
476
  msgid "Relation:"
477
  msgstr ""
478
 
@@ -492,7 +494,7 @@ msgid "Expand All"
492
  msgstr ""
493
 
494
  #: ../admin/shortcode-builder/shortcode-builder.php:15
495
- #: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:95
496
  #: ../admin/views/settings.php:51
497
  msgid "Cache"
498
  msgstr ""
@@ -511,12 +513,14 @@ msgstr ""
511
  #: ../admin/shortcode-builder/shortcode-builder.php:248
512
  #: ../admin/shortcode-builder/shortcode-builder.php:302
513
  #: ../admin/shortcode-builder/shortcode-builder.php:343
514
- #: ../admin/shortcode-builder/shortcode-builder.php:421
515
- #: ../admin/shortcode-builder/shortcode-builder.php:492
516
- #: ../admin/shortcode-builder/shortcode-builder.php:1021
517
- #: ../admin/shortcode-builder/shortcode-builder.php:1046
518
- #: ../admin/shortcode-builder/shortcode-builder.php:1093
519
- #: ../admin/shortcode-builder/shortcode-builder.php:1179
 
 
520
  msgid "True"
521
  msgstr ""
522
 
@@ -526,12 +530,14 @@ msgstr ""
526
  #: ../admin/shortcode-builder/shortcode-builder.php:252
527
  #: ../admin/shortcode-builder/shortcode-builder.php:306
528
  #: ../admin/shortcode-builder/shortcode-builder.php:347
529
- #: ../admin/shortcode-builder/shortcode-builder.php:425
530
- #: ../admin/shortcode-builder/shortcode-builder.php:496
531
- #: ../admin/shortcode-builder/shortcode-builder.php:1025
532
- #: ../admin/shortcode-builder/shortcode-builder.php:1050
533
- #: ../admin/shortcode-builder/shortcode-builder.php:1097
534
- #: ../admin/shortcode-builder/shortcode-builder.php:1183
 
 
535
  msgid "False"
536
  msgstr ""
537
 
@@ -551,7 +557,7 @@ msgstr ""
551
 
552
  #: ../admin/shortcode-builder/shortcode-builder.php:59
553
  #: ../admin/shortcode-builder/shortcode-builder.php:62
554
- #: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:149
555
  msgid "Comments"
556
  msgstr ""
557
 
@@ -627,7 +633,7 @@ msgid "Select a repeater template that will display comment data."
627
  msgstr ""
628
 
629
  #: ../admin/shortcode-builder/shortcode-builder.php:167
630
- #: ../admin/shortcode-builder/shortcode-builder.php:1126
631
  msgid "None"
632
  msgstr ""
633
 
@@ -669,7 +675,7 @@ msgid ""
669
  msgstr ""
670
 
671
  #: ../admin/shortcode-builder/shortcode-builder.php:215
672
- #: ../admin/views/add-ons.php:124 ../admin/views/licenses.php:316
673
  #: ../admin/views/settings.php:55
674
  msgid "Paging"
675
  msgstr ""
@@ -704,7 +710,7 @@ msgid ""
704
  msgstr ""
705
 
706
  #: ../admin/shortcode-builder/shortcode-builder.php:292
707
- #: ../admin/views/add-ons.php:151 ../admin/views/licenses.php:370
708
  msgid "Preloaded"
709
  msgstr ""
710
 
@@ -721,7 +727,7 @@ msgid "Enter the number of posts to preload."
721
  msgstr ""
722
 
723
  #: ../admin/shortcode-builder/shortcode-builder.php:333
724
- #: ../admin/views/add-ons.php:177 ../admin/views/licenses.php:423
725
  #: ../admin/views/settings.php:57
726
  msgid "Previous Post"
727
  msgstr ""
@@ -731,7 +737,7 @@ msgid "Enable the infinite scrolling of single posts."
731
  msgstr ""
732
 
733
  #: ../admin/shortcode-builder/shortcode-builder.php:370
734
- #: ../admin/shortcode-builder/shortcode-builder.php:755
735
  msgid "Taxonomy"
736
  msgstr ""
737
 
@@ -746,12 +752,12 @@ msgid "Query previous posts from the same taxonomy."
746
  msgstr ""
747
 
748
  #: ../admin/shortcode-builder/shortcode-builder.php:385
749
- #: ../admin/shortcode-builder/shortcode-builder.php:637
750
  msgid "Category"
751
  msgstr ""
752
 
753
  #: ../admin/shortcode-builder/shortcode-builder.php:386
754
- #: ../admin/shortcode-builder/shortcode-builder.php:697
755
  msgid "Tag"
756
  msgstr ""
757
 
@@ -764,468 +770,547 @@ msgid ""
764
  "target=\"_blank\">View documentation</a>"
765
  msgstr ""
766
 
767
- #: ../admin/shortcode-builder/shortcode-builder.php:411
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
768
  msgid "SEO (Search Engine Optimization)"
769
  msgstr ""
770
 
771
- #: ../admin/shortcode-builder/shortcode-builder.php:414
772
  msgid ""
773
  "Enable address bar URL rewrites as users page through ajax loaded content."
774
  msgstr ""
775
 
776
- #: ../admin/shortcode-builder/shortcode-builder.php:438
777
  msgid "Template"
778
  msgstr ""
779
 
780
- #: ../admin/shortcode-builder/shortcode-builder.php:442
781
- #: ../admin/shortcode-builder/shortcode-builder.php:543
782
  msgid "Repeater Template"
783
  msgstr ""
784
 
785
- #: ../admin/shortcode-builder/shortcode-builder.php:444
786
  msgid ""
787
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
788
  "\"_parent\">repeater template</a> you would like to use."
789
  msgstr ""
790
 
791
- #: ../admin/shortcode-builder/shortcode-builder.php:481
792
- #: ../admin/views/licenses.php:40
793
  msgid "Alternating Templates"
794
  msgstr ""
795
 
796
- #: ../admin/shortcode-builder/shortcode-builder.php:485
797
  msgid ""
798
  "Select an alternate repeater template to be display every <em>x</em> number "
799
  "of posts."
800
  msgstr ""
801
 
802
- #: ../admin/shortcode-builder/shortcode-builder.php:509
803
  msgid "Template Sequencing"
804
  msgstr ""
805
 
806
- #: ../admin/shortcode-builder/shortcode-builder.php:510
807
  msgid ""
808
  "A comma separated list of post position values. Posts in these positions "
809
  "will be replaced by the alternate template"
810
  msgstr ""
811
 
812
- #: ../admin/shortcode-builder/shortcode-builder.php:511
813
  msgid "Pro-Tip"
814
  msgstr ""
815
 
816
- #: ../admin/shortcode-builder/shortcode-builder.php:512
817
  msgid ""
818
  "Use sequence \"even\" to use an alternate template for every even result"
819
  msgstr ""
820
 
821
- #: ../admin/shortcode-builder/shortcode-builder.php:525
822
  msgid "Sequence Loop"
823
  msgstr ""
824
 
825
- #: ../admin/shortcode-builder/shortcode-builder.php:527
826
  msgid ""
827
  "Select the maximum number of loops to repeat alternate template sequence."
828
  msgstr ""
829
 
830
- #: ../admin/shortcode-builder/shortcode-builder.php:528
831
  msgid "0 = no maximum"
832
  msgstr ""
833
 
834
- #: ../admin/shortcode-builder/shortcode-builder.php:545
835
  msgid ""
836
  "Select an alternate <a href=\"admin.php?page=ajax-load-more-repeaters\" "
837
  "target=\"_parent\">repeater template</a>."
838
  msgstr ""
839
 
840
- #: ../admin/shortcode-builder/shortcode-builder.php:552
841
  #, fuzzy
842
  msgid "-- Select Repeater --"
843
  msgstr "Sélectionnez province"
844
 
845
- #: ../admin/shortcode-builder/shortcode-builder.php:586
846
  msgid "Post Types"
847
  msgstr ""
848
 
849
- #: ../admin/shortcode-builder/shortcode-builder.php:589
850
  msgid "Select Post Types to query."
851
  msgstr ""
852
 
853
- #: ../admin/shortcode-builder/shortcode-builder.php:610
854
  msgid "Post Format"
855
  msgstr ""
856
 
857
- #: ../admin/shortcode-builder/shortcode-builder.php:613
858
  msgid ""
859
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
860
  "\">Post Format</a> to query."
861
  msgstr ""
862
 
863
- #: ../admin/shortcode-builder/shortcode-builder.php:616
864
  msgid "Select Post Format"
865
  msgstr ""
866
 
867
- #: ../admin/shortcode-builder/shortcode-builder.php:617
868
  msgid "Standard"
869
  msgstr ""
870
 
871
- #: ../admin/shortcode-builder/shortcode-builder.php:641
872
  msgid ""
873
  "A comma separated list of categories to include by slug. (design, research "
874
  "etc...)"
875
  msgstr ""
876
 
877
- #: ../admin/shortcode-builder/shortcode-builder.php:643
878
- #: ../admin/shortcode-builder/shortcode-builder.php:914
879
  msgid "view example"
880
  msgstr ""
881
 
882
- #: ../admin/shortcode-builder/shortcode-builder.php:665
883
- #: ../admin/shortcode-builder/shortcode-builder.php:722
884
- #: ../admin/shortcode-builder/shortcode-builder.php:913
885
  msgid "Exclude"
886
  msgstr ""
887
 
888
- #: ../admin/shortcode-builder/shortcode-builder.php:666
889
  msgid ""
890
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
891
  msgstr ""
892
 
893
- #: ../admin/shortcode-builder/shortcode-builder.php:700
894
- #: ../admin/shortcode-builder/shortcode-builder.php:902
895
  msgid "Include"
896
  msgstr ""
897
 
898
- #: ../admin/shortcode-builder/shortcode-builder.php:701
899
  msgid ""
900
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
901
  msgstr ""
902
 
903
- #: ../admin/shortcode-builder/shortcode-builder.php:723
904
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
905
  msgstr ""
906
 
907
- #: ../admin/shortcode-builder/shortcode-builder.php:758
908
  msgid "Select a taxonomy then select the terms and an operator."
909
  msgstr ""
910
 
911
- #: ../admin/shortcode-builder/shortcode-builder.php:773
912
  msgid "Date"
913
  msgstr ""
914
 
915
- #: ../admin/shortcode-builder/shortcode-builder.php:776
916
  msgid ""
917
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
918
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
919
  msgstr ""
920
 
921
- #: ../admin/shortcode-builder/shortcode-builder.php:782
922
  msgid "Year:"
923
  msgstr ""
924
 
925
- #: ../admin/shortcode-builder/shortcode-builder.php:786
926
  msgid "Month:"
927
  msgstr ""
928
 
929
- #: ../admin/shortcode-builder/shortcode-builder.php:790
930
  msgid "Day:"
931
  msgstr ""
932
 
933
- #: ../admin/shortcode-builder/shortcode-builder.php:801
934
  msgid "Custom Fields (Meta_Query)"
935
  msgstr ""
936
 
937
- #: ../admin/shortcode-builder/shortcode-builder.php:804
938
  msgid ""
939
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
940
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
941
  "and operator."
942
  msgstr ""
943
 
944
- #: ../admin/shortcode-builder/shortcode-builder.php:815
945
  msgid ""
946
  "The logical relationship between each custom field when there is more than "
947
  "one."
948
  msgstr ""
949
 
950
- #: ../admin/shortcode-builder/shortcode-builder.php:829
951
  msgid "Add Another"
952
  msgstr ""
953
 
954
- #: ../admin/shortcode-builder/shortcode-builder.php:845
955
  msgid "Author"
956
  msgstr ""
957
 
958
- #: ../admin/shortcode-builder/shortcode-builder.php:848
959
  msgid "Select an Author to query(by ID)."
960
  msgstr ""
961
 
962
- #: ../admin/shortcode-builder/shortcode-builder.php:853
963
  msgid "Select Author"
964
  msgstr ""
965
 
966
- #: ../admin/shortcode-builder/shortcode-builder.php:869
967
  msgid "Search Term"
968
  msgstr ""
969
 
970
- #: ../admin/shortcode-builder/shortcode-builder.php:872
971
  msgid "Enter a search term to query."
972
  msgstr ""
973
 
974
- #: ../admin/shortcode-builder/shortcode-builder.php:876
975
  msgid "Enter search term"
976
  msgstr ""
977
 
978
- #: ../admin/shortcode-builder/shortcode-builder.php:884
979
  msgid "Custom Arguments"
980
  msgstr ""
981
 
982
- #: ../admin/shortcode-builder/shortcode-builder.php:887
983
  msgid ""
984
  "A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
985
  "tag_slug__and:design,development; event_display:upcoming. Default"
986
  msgstr ""
987
 
988
- #: ../admin/shortcode-builder/shortcode-builder.php:891
989
  msgid "event_display:upcoming"
990
  msgstr ""
991
 
992
- #: ../admin/shortcode-builder/shortcode-builder.php:899
993
  msgid "Post Parameters"
994
  msgstr ""
995
 
996
- #: ../admin/shortcode-builder/shortcode-builder.php:903
997
  msgid "A comma separated list of post ID's to query."
998
  msgstr ""
999
 
1000
- #: ../admin/shortcode-builder/shortcode-builder.php:907
1001
  msgid "225, 340, 818, etc..."
1002
  msgstr ""
1003
 
1004
- #: ../admin/shortcode-builder/shortcode-builder.php:914
1005
  msgid "A comma separated list of post ID's to exclude from query."
1006
  msgstr ""
1007
 
1008
- #: ../admin/shortcode-builder/shortcode-builder.php:926
1009
  msgid "Post Status"
1010
  msgstr ""
1011
 
1012
- #: ../admin/shortcode-builder/shortcode-builder.php:929
1013
  msgid "Select status of the post."
1014
  msgstr ""
1015
 
1016
- #: ../admin/shortcode-builder/shortcode-builder.php:934
1017
  msgid "Published"
1018
  msgstr ""
1019
 
1020
- #: ../admin/shortcode-builder/shortcode-builder.php:948
1021
  msgid "Ordering"
1022
  msgstr ""
1023
 
1024
- #: ../admin/shortcode-builder/shortcode-builder.php:951
1025
  msgid "Sort posts by Order and Orderby parameters."
1026
  msgstr ""
1027
 
1028
- #: ../admin/shortcode-builder/shortcode-builder.php:955
1029
  msgid "Order"
1030
  msgstr ""
1031
 
1032
- #: ../admin/shortcode-builder/shortcode-builder.php:962
1033
  msgid "Order By"
1034
  msgstr ""
1035
 
1036
- #: ../admin/shortcode-builder/shortcode-builder.php:981
1037
  msgid "Offset"
1038
  msgstr ""
1039
 
1040
- #: ../admin/shortcode-builder/shortcode-builder.php:984
1041
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1042
  msgstr ""
1043
 
1044
- #: ../admin/shortcode-builder/shortcode-builder.php:996
1045
  msgid "Posts Per Page"
1046
  msgstr ""
1047
 
1048
- #: ../admin/shortcode-builder/shortcode-builder.php:999
1049
  msgid "Select the number of posts to load with each request."
1050
  msgstr ""
1051
 
1052
- #: ../admin/shortcode-builder/shortcode-builder.php:1011
1053
  msgid "Pause"
1054
  msgstr ""
1055
 
1056
- #: ../admin/shortcode-builder/shortcode-builder.php:1014
1057
  msgid ""
1058
  "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
1059
  msgstr ""
1060
 
1061
- #: ../admin/shortcode-builder/shortcode-builder.php:1035
1062
  msgid "Scrolling"
1063
  msgstr ""
1064
 
1065
- #: ../admin/shortcode-builder/shortcode-builder.php:1038
1066
  msgid "Enable Scrolling"
1067
  msgstr ""
1068
 
1069
- #: ../admin/shortcode-builder/shortcode-builder.php:1039
1070
  msgid "Load more posts as the user scrolls the page."
1071
  msgstr ""
1072
 
1073
- #: ../admin/shortcode-builder/shortcode-builder.php:1060
1074
  msgid "Scroll Distance"
1075
  msgstr ""
1076
 
1077
- #: ../admin/shortcode-builder/shortcode-builder.php:1060
1078
  msgid ""
1079
  "Distance is based on the position of the loading button from the bottom of "
1080
  "the screen"
1081
  msgstr ""
1082
 
1083
- #: ../admin/shortcode-builder/shortcode-builder.php:1061
1084
  msgid ""
1085
  "The distance from the bottom of the screen to trigger loading of posts. "
1086
  "(Default = 150)"
1087
  msgstr ""
1088
 
1089
- #: ../admin/shortcode-builder/shortcode-builder.php:1073
1090
  msgid "Maximum Pages"
1091
  msgstr ""
1092
 
1093
- #: ../admin/shortcode-builder/shortcode-builder.php:1073
1094
  msgid "If using an Infinite Scroll button style you should set this to 0"
1095
  msgstr ""
1096
 
1097
- #: ../admin/shortcode-builder/shortcode-builder.php:1074
1098
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1099
  msgstr ""
1100
 
1101
- #: ../admin/shortcode-builder/shortcode-builder.php:1086
1102
  msgid "Pause Override"
1103
  msgstr ""
1104
 
1105
- #: ../admin/shortcode-builder/shortcode-builder.php:1087
1106
  msgid ""
1107
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1108
  "posts on scroll."
1109
  msgstr ""
1110
 
1111
- #: ../admin/shortcode-builder/shortcode-builder.php:1107
1112
  msgid "Transition"
1113
  msgstr ""
1114
 
1115
- #: ../admin/shortcode-builder/shortcode-builder.php:1110
1116
  msgid "Transition Type"
1117
  msgstr ""
1118
 
1119
- #: ../admin/shortcode-builder/shortcode-builder.php:1111
1120
  msgid "Select a loading transition style."
1121
  msgstr ""
1122
 
1123
- #: ../admin/shortcode-builder/shortcode-builder.php:1118
1124
  msgid "Slide"
1125
  msgstr ""
1126
 
1127
- #: ../admin/shortcode-builder/shortcode-builder.php:1122
1128
  msgid "Fade"
1129
  msgstr ""
1130
 
1131
- #: ../admin/shortcode-builder/shortcode-builder.php:1136
1132
  msgid "Transition Speed"
1133
  msgstr ""
1134
 
1135
- #: ../admin/shortcode-builder/shortcode-builder.php:1136
1136
  msgid "0.5 seconds = 500, 1 second = 1000 etc."
1137
  msgstr ""
1138
 
1139
- #: ../admin/shortcode-builder/shortcode-builder.php:1137
1140
  msgid "The speed of the loading transition in milliseconds"
1141
  msgstr ""
1142
 
1143
- #: ../admin/shortcode-builder/shortcode-builder.php:1149
1144
  msgid "Transition Container"
1145
  msgstr ""
1146
 
1147
- #: ../admin/shortcode-builder/shortcode-builder.php:1149
1148
  msgid ""
1149
  "Removing the transition container may have undesired results and is not "
1150
  "recommended."
1151
  msgstr ""
1152
 
1153
- #: ../admin/shortcode-builder/shortcode-builder.php:1150
1154
  msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1155
  msgstr ""
1156
 
1157
- #: ../admin/shortcode-builder/shortcode-builder.php:1167
1158
  msgid "Images Loaded"
1159
  msgstr ""
1160
 
1161
- #: ../admin/shortcode-builder/shortcode-builder.php:1170
1162
  msgid "Wait for all images to load before displaying ajax loaded content"
1163
  msgstr ""
1164
 
1165
- #: ../admin/shortcode-builder/shortcode-builder.php:1171
1166
  msgid "Background images are currently not supported"
1167
  msgstr ""
1168
 
1169
- #: ../admin/shortcode-builder/shortcode-builder.php:1193
1170
  msgid "Destroy After"
1171
  msgstr ""
1172
 
1173
- #: ../admin/shortcode-builder/shortcode-builder.php:1196
1174
  msgid ""
1175
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1176
  "been loaded."
1177
  msgstr ""
1178
 
1179
- #: ../admin/shortcode-builder/shortcode-builder.php:1208
1180
  msgid "Button Labels"
1181
  msgstr ""
1182
 
1183
- #: ../admin/shortcode-builder/shortcode-builder.php:1213
1184
  msgid "Button Label"
1185
  msgstr ""
1186
 
1187
- #: ../admin/shortcode-builder/shortcode-builder.php:1214
1188
  msgid "Customize the text of the <em>Load More</em> button."
1189
  msgstr ""
1190
 
1191
- #: ../admin/shortcode-builder/shortcode-builder.php:1226
1192
  msgid "Button Loading Label"
1193
  msgstr ""
1194
 
1195
- #: ../admin/shortcode-builder/shortcode-builder.php:1226
1196
  msgid "Leave field empty to not update text while loading content"
1197
  msgstr ""
1198
 
1199
- #: ../admin/shortcode-builder/shortcode-builder.php:1227
1200
  msgid ""
1201
  "Update the text of the <em>Load More</em> button while content is loading."
1202
  msgstr ""
1203
 
1204
- #: ../admin/shortcode-builder/shortcode-builder.php:1231
1205
  msgid "Loading Posts..."
1206
  msgstr ""
1207
 
1208
- #: ../admin/shortcode-builder/shortcode-builder.php:1240
1209
  msgid "Container Options"
1210
  msgstr ""
1211
 
1212
- #: ../admin/shortcode-builder/shortcode-builder.php:1244
1213
  msgid ""
1214
  "You can define a global container type on the Ajax Load More settings screen"
1215
  msgstr ""
1216
 
1217
- #: ../admin/shortcode-builder/shortcode-builder.php:1245
1218
  msgid ""
1219
  "Override the global Container Type that was set on <a href=\"admin.php?"
1220
  "page=ajax-load-more\">ALM Settings page</a>."
1221
  msgstr ""
1222
 
1223
- #: ../admin/shortcode-builder/shortcode-builder.php:1268
1224
  msgid ""
1225
  "You can define global container classes on the Ajax Load More settings screen"
1226
  msgstr ""
1227
 
1228
- #: ../admin/shortcode-builder/shortcode-builder.php:1269
1229
  msgid ""
1230
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1231
  "portfolio-listing large-12 etc"
@@ -1261,7 +1346,7 @@ msgid ""
1261
  "infinite scroll functionality."
1262
  msgstr ""
1263
 
1264
- #: ../admin/views/add-ons.php:70 ../admin/views/licenses.php:204
1265
  msgid "Custom Repeaters"
1266
  msgstr ""
1267
 
@@ -1275,8 +1360,8 @@ msgid ""
1275
  "absolutely zero restrictions."
1276
  msgstr ""
1277
 
1278
- #: ../admin/views/add-ons.php:98 ../admin/views/add-ons.php:257
1279
- #: ../admin/views/licenses.php:260 ../admin/views/settings.php:53
1280
  msgid "Layouts"
1281
  msgstr ""
1282
 
@@ -1320,44 +1405,46 @@ msgid ""
1320
  "browser URL to the current post."
1321
  msgstr ""
1322
 
1323
- #: ../admin/views/add-ons.php:203 ../admin/views/licenses.php:478
 
 
 
 
 
 
 
 
 
 
1324
  msgid "Search Engine Optimization"
1325
  msgstr ""
1326
 
1327
- #: ../admin/views/add-ons.php:204
1328
  msgid "Generate unique paging URLs with every Ajax Load More query."
1329
  msgstr ""
1330
 
1331
- #: ../admin/views/add-ons.php:205
1332
  msgid ""
1333
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1334
  "generating unique URLs with every query.</p>"
1335
  msgstr ""
1336
 
1337
- #: ../admin/views/add-ons.php:229 ../admin/views/licenses.php:535
1338
- #: ../admin/views/settings.php:61
1339
  msgid "Theme Repeaters"
1340
  msgstr ""
1341
 
1342
- #: ../admin/views/add-ons.php:230
1343
  msgid "Manage repeater templates within your current theme directory."
1344
  msgstr ""
1345
 
1346
- #: ../admin/views/add-ons.php:231
1347
  msgid ""
1348
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1349
  "from your current theme directory.</p>"
1350
  msgstr ""
1351
 
1352
- #: ../admin/views/add-ons.php:258
1353
- msgid "Extend Ajax Load More with predefined responsive layouts."
1354
- msgstr ""
1355
-
1356
- #: ../admin/views/add-ons.php:259
1357
- msgid "Boost the look of your theme with a library of mobile ready layouts."
1358
- msgstr ""
1359
-
1360
- #: ../admin/views/add-ons.php:276
1361
  msgid ""
1362
  "All add-ons are installed as stand alone plugins and with a valid license "
1363
  "key will receive plugin update notifications directly within the <a href="
@@ -1453,65 +1540,68 @@ msgid ""
1453
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1454
  msgstr ""
1455
 
1456
- #: ../admin/views/licenses.php:46 ../admin/views/licenses.php:48
1457
- #: ../admin/views/licenses.php:101 ../admin/views/licenses.php:103
1458
- #: ../admin/views/licenses.php:155 ../admin/views/licenses.php:157
1459
- #: ../admin/views/licenses.php:210 ../admin/views/licenses.php:212
1460
- #: ../admin/views/licenses.php:266 ../admin/views/licenses.php:268
1461
- #: ../admin/views/licenses.php:322 ../admin/views/licenses.php:324
1462
- #: ../admin/views/licenses.php:376 ../admin/views/licenses.php:378
1463
- #: ../admin/views/licenses.php:429 ../admin/views/licenses.php:431
1464
- #: ../admin/views/licenses.php:484 ../admin/views/licenses.php:486
1465
- #: ../admin/views/licenses.php:541 ../admin/views/licenses.php:543
 
1466
  msgid "Enter License Key"
1467
  msgstr ""
1468
 
1469
- #: ../admin/views/licenses.php:68 ../admin/views/licenses.php:123
1470
- #: ../admin/views/licenses.php:177 ../admin/views/licenses.php:232
1471
- #: ../admin/views/licenses.php:288 ../admin/views/licenses.php:344
1472
- #: ../admin/views/licenses.php:397 ../admin/views/licenses.php:451
1473
- #: ../admin/views/licenses.php:506 ../admin/views/licenses.php:564
 
1474
  msgid "Activate License"
1475
  msgstr ""
1476
 
1477
- #: ../admin/views/licenses.php:72 ../admin/views/licenses.php:127
1478
- #: ../admin/views/licenses.php:181 ../admin/views/licenses.php:236
1479
- #: ../admin/views/licenses.php:292 ../admin/views/licenses.php:348
1480
- #: ../admin/views/licenses.php:401 ../admin/views/licenses.php:455
1481
- #: ../admin/views/licenses.php:510 ../admin/views/licenses.php:568
 
1482
  msgid "Deactivate License"
1483
  msgstr ""
1484
 
1485
- #: ../admin/views/licenses.php:586
1486
  msgid "You do not have any Ajax Load More add-ons installed"
1487
  msgstr ""
1488
 
1489
- #: ../admin/views/licenses.php:586
1490
  msgid "Browse Add-ons"
1491
  msgstr ""
1492
 
1493
- #: ../admin/views/licenses.php:597
1494
  msgid "About Licenses"
1495
  msgstr ""
1496
 
1497
- #: ../admin/views/licenses.php:600
1498
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1499
  msgstr ""
1500
 
1501
- #: ../admin/views/licenses.php:601
1502
  msgid ""
1503
  "License keys are found in the purchase receipt email that was sent "
1504
  "immediately after your successful purchase."
1505
  msgstr ""
1506
 
1507
- #: ../admin/views/licenses.php:602
1508
  msgid ""
1509
  "If you cannot locate your key please use the <a href=\"https://connekthq.com/"
1510
  "contact/\">contact form</a> on our website and reference the email address "
1511
  "used when you completed the purchase."
1512
  msgstr ""
1513
 
1514
- #: ../admin/views/licenses.php:607
1515
  msgid "Legacy Users"
1516
  msgstr ""
1517
 
@@ -1620,11 +1710,11 @@ msgstr ""
1620
  msgid "Admin"
1621
  msgstr ""
1622
 
1623
- #: ../admin/views/settings.php:59
1624
  msgid "SEO"
1625
  msgstr ""
1626
 
1627
- #: ../admin/views/settings.php:90
1628
  msgid "Sorry, settings could not be saved."
1629
  msgstr ""
1630
 
@@ -1652,11 +1742,11 @@ msgstr ""
1652
  msgid "Clear all Shortcode Builder settings"
1653
  msgstr ""
1654
 
1655
- #: ../ajax-load-more.php:194
1656
  msgid "Settings"
1657
  msgstr ""
1658
 
1659
- #: ../core/functions.php:399
1660
  msgid "Pages:"
1661
  msgstr ""
1662
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
+ "POT-Creation-Date: 2016-05-25 12:13-0500\n"
5
+ "PO-Revision-Date: 2016-05-25 12:13-0500\n"
6
  "Last-Translator: Darren Cooney <darren.cooney@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
21
  msgstr ""
22
 
23
  #: ../admin/admin.php:153 ../admin/editor/editor-build.php:67
24
+ #: ../admin/views/licenses.php:52 ../admin/views/licenses.php:107
25
+ #: ../admin/views/licenses.php:161 ../admin/views/licenses.php:216
26
+ #: ../admin/views/licenses.php:272 ../admin/views/licenses.php:328
27
+ #: ../admin/views/licenses.php:382 ../admin/views/licenses.php:435
28
+ #: ../admin/views/licenses.php:490 ../admin/views/licenses.php:545
29
+ #: ../admin/views/licenses.php:602
30
  msgid "Active"
31
  msgstr ""
32
 
33
  #: ../admin/admin.php:154 ../admin/editor/editor-build.php:68
34
+ #: ../admin/views/licenses.php:56 ../admin/views/licenses.php:111
35
+ #: ../admin/views/licenses.php:165 ../admin/views/licenses.php:220
36
+ #: ../admin/views/licenses.php:276 ../admin/views/licenses.php:332
37
+ #: ../admin/views/licenses.php:386 ../admin/views/licenses.php:439
38
+ #: ../admin/views/licenses.php:494 ../admin/views/licenses.php:549
39
+ #: ../admin/views/licenses.php:606
40
  msgid "Inactive"
41
  msgstr ""
42
 
75
  msgstr ""
76
 
77
  #: ../admin/admin.php:861
78
+ #: ../admin/shortcode-builder/shortcode-builder.php:1374
79
  msgid "Container Type"
80
  msgstr ""
81
 
82
  #: ../admin/admin.php:869
83
+ #: ../admin/shortcode-builder/shortcode-builder.php:1398
84
  msgid "Container Classes"
85
  msgstr ""
86
 
116
  msgid "Error Notices"
117
  msgstr ""
118
 
119
+ #: ../admin/admin.php:1004
120
  msgid ""
121
  "Customize the user experience of Ajax Load More by updating the fields below."
122
  msgstr ""
123
 
124
+ #: ../admin/admin.php:1017
125
  msgid "The following settings affect the WordPress admin area only."
126
  msgstr ""
127
 
128
+ #: ../admin/admin.php:1048
129
  msgid "I want to use my own CSS styles."
130
  msgstr ""
131
 
132
+ #: ../admin/admin.php:1048
133
  msgid "View Ajax Load More CSS"
134
  msgstr ""
135
 
136
+ #: ../admin/admin.php:1068
137
  msgid "Hide shortcode button in WYSIWYG editor."
138
  msgstr ""
139
 
140
+ #: ../admin/admin.php:1089
141
  msgid ""
142
  "Display error messaging regarding repeater template updates in the browser "
143
  "console."
144
  msgstr ""
145
 
146
+ #: ../admin/admin.php:1110
147
  msgid ""
148
  "Disable dynamic population of categories, tags and authors in the Shortcode "
149
  "Builder.<span style=\"display:block\">Recommended if you have an "
150
  "extraordinary number of categories, tags and/or authors."
151
  msgstr ""
152
 
153
+ #: ../admin/admin.php:1131 ../admin/admin.php:1134
154
  msgid "Ajax Posts Here"
155
  msgstr ""
156
 
157
+ #: ../admin/admin.php:1136
158
  msgid "You can modify the container type when building a shortcode."
159
  msgstr ""
160
 
161
+ #: ../admin/admin.php:1153
162
  msgid ""
163
  "Add classes to Ajax Load More container - classes are applied globally and "
164
  "will appear with every instance of Ajax Load More. <span style=\"display:"
165
  "block\">You can also add classes when building a shortcode.</span>"
166
  msgstr ""
167
 
168
+ #: ../admin/admin.php:1215
169
  msgid ""
170
  "Select an Ajax loading style - you can choose between a <strong>button</"
171
  "strong> or <strong>infinite scroll</strong>"
172
  msgstr ""
173
 
174
+ #: ../admin/admin.php:1238
175
  msgid "Preview"
176
  msgstr ""
177
 
178
+ #: ../admin/admin.php:1238
179
+ #: ../admin/shortcode-builder/shortcode-builder.php:1348
180
+ #: ../core/classes/class.alm-shortcode.php:127
181
  msgid "Older Posts"
182
  msgstr ""
183
 
184
+ #: ../admin/admin.php:1257
185
  msgid "Add classes to your <strong>Load More</strong> button"
186
  msgstr ""
187
 
188
+ #: ../admin/admin.php:1300
189
  msgid ""
190
  "On initial page load, move the user's browser window to the top of the "
191
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
192
  "loading of unnecessary posts.</span>"
193
  msgstr ""
194
 
195
+ #: ../admin/admin.php:1321
196
  msgid ""
197
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
198
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
474
  msgstr ""
475
 
476
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
477
+ #: ../admin/shortcode-builder/shortcode-builder.php:945
478
  msgid "Relation:"
479
  msgstr ""
480
 
494
  msgstr ""
495
 
496
  #: ../admin/shortcode-builder/shortcode-builder.php:15
497
+ #: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:96
498
  #: ../admin/views/settings.php:51
499
  msgid "Cache"
500
  msgstr ""
513
  #: ../admin/shortcode-builder/shortcode-builder.php:248
514
  #: ../admin/shortcode-builder/shortcode-builder.php:302
515
  #: ../admin/shortcode-builder/shortcode-builder.php:343
516
+ #: ../admin/shortcode-builder/shortcode-builder.php:437
517
+ #: ../admin/shortcode-builder/shortcode-builder.php:517
518
+ #: ../admin/shortcode-builder/shortcode-builder.php:551
519
+ #: ../admin/shortcode-builder/shortcode-builder.php:622
520
+ #: ../admin/shortcode-builder/shortcode-builder.php:1151
521
+ #: ../admin/shortcode-builder/shortcode-builder.php:1176
522
+ #: ../admin/shortcode-builder/shortcode-builder.php:1223
523
+ #: ../admin/shortcode-builder/shortcode-builder.php:1309
524
  msgid "True"
525
  msgstr ""
526
 
530
  #: ../admin/shortcode-builder/shortcode-builder.php:252
531
  #: ../admin/shortcode-builder/shortcode-builder.php:306
532
  #: ../admin/shortcode-builder/shortcode-builder.php:347
533
+ #: ../admin/shortcode-builder/shortcode-builder.php:441
534
+ #: ../admin/shortcode-builder/shortcode-builder.php:521
535
+ #: ../admin/shortcode-builder/shortcode-builder.php:555
536
+ #: ../admin/shortcode-builder/shortcode-builder.php:626
537
+ #: ../admin/shortcode-builder/shortcode-builder.php:1155
538
+ #: ../admin/shortcode-builder/shortcode-builder.php:1180
539
+ #: ../admin/shortcode-builder/shortcode-builder.php:1227
540
+ #: ../admin/shortcode-builder/shortcode-builder.php:1313
541
  msgid "False"
542
  msgstr ""
543
 
557
 
558
  #: ../admin/shortcode-builder/shortcode-builder.php:59
559
  #: ../admin/shortcode-builder/shortcode-builder.php:62
560
+ #: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:150
561
  msgid "Comments"
562
  msgstr ""
563
 
633
  msgstr ""
634
 
635
  #: ../admin/shortcode-builder/shortcode-builder.php:167
636
+ #: ../admin/shortcode-builder/shortcode-builder.php:1256
637
  msgid "None"
638
  msgstr ""
639
 
675
  msgstr ""
676
 
677
  #: ../admin/shortcode-builder/shortcode-builder.php:215
678
+ #: ../admin/views/add-ons.php:124 ../admin/views/licenses.php:317
679
  #: ../admin/views/settings.php:55
680
  msgid "Paging"
681
  msgstr ""
710
  msgstr ""
711
 
712
  #: ../admin/shortcode-builder/shortcode-builder.php:292
713
+ #: ../admin/views/add-ons.php:151 ../admin/views/licenses.php:371
714
  msgid "Preloaded"
715
  msgstr ""
716
 
727
  msgstr ""
728
 
729
  #: ../admin/shortcode-builder/shortcode-builder.php:333
730
+ #: ../admin/views/add-ons.php:177 ../admin/views/licenses.php:424
731
  #: ../admin/views/settings.php:57
732
  msgid "Previous Post"
733
  msgstr ""
737
  msgstr ""
738
 
739
  #: ../admin/shortcode-builder/shortcode-builder.php:370
740
+ #: ../admin/shortcode-builder/shortcode-builder.php:885
741
  msgid "Taxonomy"
742
  msgstr ""
743
 
752
  msgstr ""
753
 
754
  #: ../admin/shortcode-builder/shortcode-builder.php:385
755
+ #: ../admin/shortcode-builder/shortcode-builder.php:767
756
  msgid "Category"
757
  msgstr ""
758
 
759
  #: ../admin/shortcode-builder/shortcode-builder.php:386
760
+ #: ../admin/shortcode-builder/shortcode-builder.php:827
761
  msgid "Tag"
762
  msgstr ""
763
 
770
  "target=\"_blank\">View documentation</a>"
771
  msgstr ""
772
 
773
+ #: ../admin/shortcode-builder/shortcode-builder.php:427
774
+ #: ../admin/views/add-ons.php:203 ../admin/views/licenses.php:479
775
+ #: ../admin/views/settings.php:59
776
+ msgid "REST API"
777
+ msgstr ""
778
+
779
+ #: ../admin/shortcode-builder/shortcode-builder.php:430
780
+ msgid "Enable the WordPress REST API."
781
+ msgstr ""
782
+
783
+ #: ../admin/shortcode-builder/shortcode-builder.php:454
784
+ msgid "Base URL"
785
+ msgstr ""
786
+
787
+ #: ../admin/shortcode-builder/shortcode-builder.php:455
788
+ msgid "Set a default Base URL in the Ajax Load More settings panel"
789
+ msgstr ""
790
+
791
+ #: ../admin/shortcode-builder/shortcode-builder.php:456
792
+ msgid "Enter the base URL to your installation of the REST API."
793
+ msgstr ""
794
+
795
+ #: ../admin/shortcode-builder/shortcode-builder.php:468
796
+ msgid "Namespace"
797
+ msgstr ""
798
+
799
+ #: ../admin/shortcode-builder/shortcode-builder.php:469
800
+ msgid "Set a default Namespace in the Ajax Load More settings panel"
801
+ msgstr ""
802
+
803
+ #: ../admin/shortcode-builder/shortcode-builder.php:470
804
+ msgid "Enter the custom namespace for this Ajax Load More query."
805
+ msgstr ""
806
+
807
+ #: ../admin/shortcode-builder/shortcode-builder.php:482
808
+ msgid "Endpoint"
809
+ msgstr ""
810
+
811
+ #: ../admin/shortcode-builder/shortcode-builder.php:483
812
+ msgid "Set a default Endpoint in the Ajax Load More settings panel"
813
+ msgstr ""
814
+
815
+ #: ../admin/shortcode-builder/shortcode-builder.php:484
816
+ msgid "Enter your custom endpoint for this Ajax Load More query."
817
+ msgstr ""
818
+
819
+ #: ../admin/shortcode-builder/shortcode-builder.php:496
820
+ msgid "Template ID"
821
+ msgstr ""
822
+
823
+ #: ../admin/shortcode-builder/shortcode-builder.php:496
824
+ msgid ""
825
+ "Ajax Load More references this ID while looping and displaying your data. "
826
+ "You must still select a repeater template for this instance of Ajax Load More"
827
+ msgstr ""
828
+
829
+ #: ../admin/shortcode-builder/shortcode-builder.php:497
830
+ msgid ""
831
+ "Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-"
832
+ "template</em> = <em>alm-template</em>"
833
+ msgstr ""
834
+
835
+ #: ../admin/shortcode-builder/shortcode-builder.php:509
836
+ msgid "Debug Mode"
837
+ msgstr ""
838
+
839
+ #: ../admin/shortcode-builder/shortcode-builder.php:510
840
+ msgid ""
841
+ "Enable debugging (console.log) of REST API responses in the browser console. "
842
+ msgstr ""
843
+
844
+ #: ../admin/shortcode-builder/shortcode-builder.php:528
845
+ msgid ""
846
+ "Visit <a href=\"http://v2.wp-api.org/\" target=\"_blank\">http://v2.wp-api."
847
+ "org</a> for documentation on creating custom <a href=\"http://v2.wp-api.org/"
848
+ "extending/adding/\" target=\"_blank\">Endpoints</a> for use with Ajax Load "
849
+ "More."
850
+ msgstr ""
851
+
852
+ #: ../admin/shortcode-builder/shortcode-builder.php:541
853
  msgid "SEO (Search Engine Optimization)"
854
  msgstr ""
855
 
856
+ #: ../admin/shortcode-builder/shortcode-builder.php:544
857
  msgid ""
858
  "Enable address bar URL rewrites as users page through ajax loaded content."
859
  msgstr ""
860
 
861
+ #: ../admin/shortcode-builder/shortcode-builder.php:568
862
  msgid "Template"
863
  msgstr ""
864
 
865
+ #: ../admin/shortcode-builder/shortcode-builder.php:572
866
+ #: ../admin/shortcode-builder/shortcode-builder.php:673
867
  msgid "Repeater Template"
868
  msgstr ""
869
 
870
+ #: ../admin/shortcode-builder/shortcode-builder.php:574
871
  msgid ""
872
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
873
  "\"_parent\">repeater template</a> you would like to use."
874
  msgstr ""
875
 
876
+ #: ../admin/shortcode-builder/shortcode-builder.php:611
877
+ #: ../admin/views/licenses.php:41
878
  msgid "Alternating Templates"
879
  msgstr ""
880
 
881
+ #: ../admin/shortcode-builder/shortcode-builder.php:615
882
  msgid ""
883
  "Select an alternate repeater template to be display every <em>x</em> number "
884
  "of posts."
885
  msgstr ""
886
 
887
+ #: ../admin/shortcode-builder/shortcode-builder.php:639
888
  msgid "Template Sequencing"
889
  msgstr ""
890
 
891
+ #: ../admin/shortcode-builder/shortcode-builder.php:640
892
  msgid ""
893
  "A comma separated list of post position values. Posts in these positions "
894
  "will be replaced by the alternate template"
895
  msgstr ""
896
 
897
+ #: ../admin/shortcode-builder/shortcode-builder.php:641
898
  msgid "Pro-Tip"
899
  msgstr ""
900
 
901
+ #: ../admin/shortcode-builder/shortcode-builder.php:642
902
  msgid ""
903
  "Use sequence \"even\" to use an alternate template for every even result"
904
  msgstr ""
905
 
906
+ #: ../admin/shortcode-builder/shortcode-builder.php:655
907
  msgid "Sequence Loop"
908
  msgstr ""
909
 
910
+ #: ../admin/shortcode-builder/shortcode-builder.php:657
911
  msgid ""
912
  "Select the maximum number of loops to repeat alternate template sequence."
913
  msgstr ""
914
 
915
+ #: ../admin/shortcode-builder/shortcode-builder.php:658
916
  msgid "0 = no maximum"
917
  msgstr ""
918
 
919
+ #: ../admin/shortcode-builder/shortcode-builder.php:675
920
  msgid ""
921
  "Select an alternate <a href=\"admin.php?page=ajax-load-more-repeaters\" "
922
  "target=\"_parent\">repeater template</a>."
923
  msgstr ""
924
 
925
+ #: ../admin/shortcode-builder/shortcode-builder.php:682
926
  #, fuzzy
927
  msgid "-- Select Repeater --"
928
  msgstr "Sélectionnez province"
929
 
930
+ #: ../admin/shortcode-builder/shortcode-builder.php:716
931
  msgid "Post Types"
932
  msgstr ""
933
 
934
+ #: ../admin/shortcode-builder/shortcode-builder.php:719
935
  msgid "Select Post Types to query."
936
  msgstr ""
937
 
938
+ #: ../admin/shortcode-builder/shortcode-builder.php:740
939
  msgid "Post Format"
940
  msgstr ""
941
 
942
+ #: ../admin/shortcode-builder/shortcode-builder.php:743
943
  msgid ""
944
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
945
  "\">Post Format</a> to query."
946
  msgstr ""
947
 
948
+ #: ../admin/shortcode-builder/shortcode-builder.php:746
949
  msgid "Select Post Format"
950
  msgstr ""
951
 
952
+ #: ../admin/shortcode-builder/shortcode-builder.php:747
953
  msgid "Standard"
954
  msgstr ""
955
 
956
+ #: ../admin/shortcode-builder/shortcode-builder.php:771
957
  msgid ""
958
  "A comma separated list of categories to include by slug. (design, research "
959
  "etc...)"
960
  msgstr ""
961
 
962
+ #: ../admin/shortcode-builder/shortcode-builder.php:773
963
+ #: ../admin/shortcode-builder/shortcode-builder.php:1044
964
  msgid "view example"
965
  msgstr ""
966
 
967
+ #: ../admin/shortcode-builder/shortcode-builder.php:795
968
+ #: ../admin/shortcode-builder/shortcode-builder.php:852
969
+ #: ../admin/shortcode-builder/shortcode-builder.php:1043
970
  msgid "Exclude"
971
  msgstr ""
972
 
973
+ #: ../admin/shortcode-builder/shortcode-builder.php:796
974
  msgid ""
975
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
976
  msgstr ""
977
 
978
+ #: ../admin/shortcode-builder/shortcode-builder.php:830
979
+ #: ../admin/shortcode-builder/shortcode-builder.php:1032
980
  msgid "Include"
981
  msgstr ""
982
 
983
+ #: ../admin/shortcode-builder/shortcode-builder.php:831
984
  msgid ""
985
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
986
  msgstr ""
987
 
988
+ #: ../admin/shortcode-builder/shortcode-builder.php:853
989
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
990
  msgstr ""
991
 
992
+ #: ../admin/shortcode-builder/shortcode-builder.php:888
993
  msgid "Select a taxonomy then select the terms and an operator."
994
  msgstr ""
995
 
996
+ #: ../admin/shortcode-builder/shortcode-builder.php:903
997
  msgid "Date"
998
  msgstr ""
999
 
1000
+ #: ../admin/shortcode-builder/shortcode-builder.php:906
1001
  msgid ""
1002
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1003
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
1004
  msgstr ""
1005
 
1006
+ #: ../admin/shortcode-builder/shortcode-builder.php:912
1007
  msgid "Year:"
1008
  msgstr ""
1009
 
1010
+ #: ../admin/shortcode-builder/shortcode-builder.php:916
1011
  msgid "Month:"
1012
  msgstr ""
1013
 
1014
+ #: ../admin/shortcode-builder/shortcode-builder.php:920
1015
  msgid "Day:"
1016
  msgstr ""
1017
 
1018
+ #: ../admin/shortcode-builder/shortcode-builder.php:931
1019
  msgid "Custom Fields (Meta_Query)"
1020
  msgstr ""
1021
 
1022
+ #: ../admin/shortcode-builder/shortcode-builder.php:934
1023
  msgid ""
1024
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1025
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1026
  "and operator."
1027
  msgstr ""
1028
 
1029
+ #: ../admin/shortcode-builder/shortcode-builder.php:945
1030
  msgid ""
1031
  "The logical relationship between each custom field when there is more than "
1032
  "one."
1033
  msgstr ""
1034
 
1035
+ #: ../admin/shortcode-builder/shortcode-builder.php:959
1036
  msgid "Add Another"
1037
  msgstr ""
1038
 
1039
+ #: ../admin/shortcode-builder/shortcode-builder.php:975
1040
  msgid "Author"
1041
  msgstr ""
1042
 
1043
+ #: ../admin/shortcode-builder/shortcode-builder.php:978
1044
  msgid "Select an Author to query(by ID)."
1045
  msgstr ""
1046
 
1047
+ #: ../admin/shortcode-builder/shortcode-builder.php:983
1048
  msgid "Select Author"
1049
  msgstr ""
1050
 
1051
+ #: ../admin/shortcode-builder/shortcode-builder.php:999
1052
  msgid "Search Term"
1053
  msgstr ""
1054
 
1055
+ #: ../admin/shortcode-builder/shortcode-builder.php:1002
1056
  msgid "Enter a search term to query."
1057
  msgstr ""
1058
 
1059
+ #: ../admin/shortcode-builder/shortcode-builder.php:1006
1060
  msgid "Enter search term"
1061
  msgstr ""
1062
 
1063
+ #: ../admin/shortcode-builder/shortcode-builder.php:1014
1064
  msgid "Custom Arguments"
1065
  msgstr ""
1066
 
1067
+ #: ../admin/shortcode-builder/shortcode-builder.php:1017
1068
  msgid ""
1069
  "A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
1070
  "tag_slug__and:design,development; event_display:upcoming. Default"
1071
  msgstr ""
1072
 
1073
+ #: ../admin/shortcode-builder/shortcode-builder.php:1021
1074
  msgid "event_display:upcoming"
1075
  msgstr ""
1076
 
1077
+ #: ../admin/shortcode-builder/shortcode-builder.php:1029
1078
  msgid "Post Parameters"
1079
  msgstr ""
1080
 
1081
+ #: ../admin/shortcode-builder/shortcode-builder.php:1033
1082
  msgid "A comma separated list of post ID's to query."
1083
  msgstr ""
1084
 
1085
+ #: ../admin/shortcode-builder/shortcode-builder.php:1037
1086
  msgid "225, 340, 818, etc..."
1087
  msgstr ""
1088
 
1089
+ #: ../admin/shortcode-builder/shortcode-builder.php:1044
1090
  msgid "A comma separated list of post ID's to exclude from query."
1091
  msgstr ""
1092
 
1093
+ #: ../admin/shortcode-builder/shortcode-builder.php:1056
1094
  msgid "Post Status"
1095
  msgstr ""
1096
 
1097
+ #: ../admin/shortcode-builder/shortcode-builder.php:1059
1098
  msgid "Select status of the post."
1099
  msgstr ""
1100
 
1101
+ #: ../admin/shortcode-builder/shortcode-builder.php:1064
1102
  msgid "Published"
1103
  msgstr ""
1104
 
1105
+ #: ../admin/shortcode-builder/shortcode-builder.php:1078
1106
  msgid "Ordering"
1107
  msgstr ""
1108
 
1109
+ #: ../admin/shortcode-builder/shortcode-builder.php:1081
1110
  msgid "Sort posts by Order and Orderby parameters."
1111
  msgstr ""
1112
 
1113
+ #: ../admin/shortcode-builder/shortcode-builder.php:1085
1114
  msgid "Order"
1115
  msgstr ""
1116
 
1117
+ #: ../admin/shortcode-builder/shortcode-builder.php:1092
1118
  msgid "Order By"
1119
  msgstr ""
1120
 
1121
+ #: ../admin/shortcode-builder/shortcode-builder.php:1111
1122
  msgid "Offset"
1123
  msgstr ""
1124
 
1125
+ #: ../admin/shortcode-builder/shortcode-builder.php:1114
1126
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1127
  msgstr ""
1128
 
1129
+ #: ../admin/shortcode-builder/shortcode-builder.php:1126
1130
  msgid "Posts Per Page"
1131
  msgstr ""
1132
 
1133
+ #: ../admin/shortcode-builder/shortcode-builder.php:1129
1134
  msgid "Select the number of posts to load with each request."
1135
  msgstr ""
1136
 
1137
+ #: ../admin/shortcode-builder/shortcode-builder.php:1141
1138
  msgid "Pause"
1139
  msgstr ""
1140
 
1141
+ #: ../admin/shortcode-builder/shortcode-builder.php:1144
1142
  msgid ""
1143
  "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
1144
  msgstr ""
1145
 
1146
+ #: ../admin/shortcode-builder/shortcode-builder.php:1165
1147
  msgid "Scrolling"
1148
  msgstr ""
1149
 
1150
+ #: ../admin/shortcode-builder/shortcode-builder.php:1168
1151
  msgid "Enable Scrolling"
1152
  msgstr ""
1153
 
1154
+ #: ../admin/shortcode-builder/shortcode-builder.php:1169
1155
  msgid "Load more posts as the user scrolls the page."
1156
  msgstr ""
1157
 
1158
+ #: ../admin/shortcode-builder/shortcode-builder.php:1190
1159
  msgid "Scroll Distance"
1160
  msgstr ""
1161
 
1162
+ #: ../admin/shortcode-builder/shortcode-builder.php:1190
1163
  msgid ""
1164
  "Distance is based on the position of the loading button from the bottom of "
1165
  "the screen"
1166
  msgstr ""
1167
 
1168
+ #: ../admin/shortcode-builder/shortcode-builder.php:1191
1169
  msgid ""
1170
  "The distance from the bottom of the screen to trigger loading of posts. "
1171
  "(Default = 150)"
1172
  msgstr ""
1173
 
1174
+ #: ../admin/shortcode-builder/shortcode-builder.php:1203
1175
  msgid "Maximum Pages"
1176
  msgstr ""
1177
 
1178
+ #: ../admin/shortcode-builder/shortcode-builder.php:1203
1179
  msgid "If using an Infinite Scroll button style you should set this to 0"
1180
  msgstr ""
1181
 
1182
+ #: ../admin/shortcode-builder/shortcode-builder.php:1204
1183
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1184
  msgstr ""
1185
 
1186
+ #: ../admin/shortcode-builder/shortcode-builder.php:1216
1187
  msgid "Pause Override"
1188
  msgstr ""
1189
 
1190
+ #: ../admin/shortcode-builder/shortcode-builder.php:1217
1191
  msgid ""
1192
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1193
  "posts on scroll."
1194
  msgstr ""
1195
 
1196
+ #: ../admin/shortcode-builder/shortcode-builder.php:1237
1197
  msgid "Transition"
1198
  msgstr ""
1199
 
1200
+ #: ../admin/shortcode-builder/shortcode-builder.php:1240
1201
  msgid "Transition Type"
1202
  msgstr ""
1203
 
1204
+ #: ../admin/shortcode-builder/shortcode-builder.php:1241
1205
  msgid "Select a loading transition style."
1206
  msgstr ""
1207
 
1208
+ #: ../admin/shortcode-builder/shortcode-builder.php:1248
1209
  msgid "Slide"
1210
  msgstr ""
1211
 
1212
+ #: ../admin/shortcode-builder/shortcode-builder.php:1252
1213
  msgid "Fade"
1214
  msgstr ""
1215
 
1216
+ #: ../admin/shortcode-builder/shortcode-builder.php:1266
1217
  msgid "Transition Speed"
1218
  msgstr ""
1219
 
1220
+ #: ../admin/shortcode-builder/shortcode-builder.php:1266
1221
  msgid "0.5 seconds = 500, 1 second = 1000 etc."
1222
  msgstr ""
1223
 
1224
+ #: ../admin/shortcode-builder/shortcode-builder.php:1267
1225
  msgid "The speed of the loading transition in milliseconds"
1226
  msgstr ""
1227
 
1228
+ #: ../admin/shortcode-builder/shortcode-builder.php:1279
1229
  msgid "Transition Container"
1230
  msgstr ""
1231
 
1232
+ #: ../admin/shortcode-builder/shortcode-builder.php:1279
1233
  msgid ""
1234
  "Removing the transition container may have undesired results and is not "
1235
  "recommended."
1236
  msgstr ""
1237
 
1238
+ #: ../admin/shortcode-builder/shortcode-builder.php:1280
1239
  msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1240
  msgstr ""
1241
 
1242
+ #: ../admin/shortcode-builder/shortcode-builder.php:1297
1243
  msgid "Images Loaded"
1244
  msgstr ""
1245
 
1246
+ #: ../admin/shortcode-builder/shortcode-builder.php:1300
1247
  msgid "Wait for all images to load before displaying ajax loaded content"
1248
  msgstr ""
1249
 
1250
+ #: ../admin/shortcode-builder/shortcode-builder.php:1301
1251
  msgid "Background images are currently not supported"
1252
  msgstr ""
1253
 
1254
+ #: ../admin/shortcode-builder/shortcode-builder.php:1323
1255
  msgid "Destroy After"
1256
  msgstr ""
1257
 
1258
+ #: ../admin/shortcode-builder/shortcode-builder.php:1326
1259
  msgid ""
1260
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1261
  "been loaded."
1262
  msgstr ""
1263
 
1264
+ #: ../admin/shortcode-builder/shortcode-builder.php:1338
1265
  msgid "Button Labels"
1266
  msgstr ""
1267
 
1268
+ #: ../admin/shortcode-builder/shortcode-builder.php:1343
1269
  msgid "Button Label"
1270
  msgstr ""
1271
 
1272
+ #: ../admin/shortcode-builder/shortcode-builder.php:1344
1273
  msgid "Customize the text of the <em>Load More</em> button."
1274
  msgstr ""
1275
 
1276
+ #: ../admin/shortcode-builder/shortcode-builder.php:1356
1277
  msgid "Button Loading Label"
1278
  msgstr ""
1279
 
1280
+ #: ../admin/shortcode-builder/shortcode-builder.php:1356
1281
  msgid "Leave field empty to not update text while loading content"
1282
  msgstr ""
1283
 
1284
+ #: ../admin/shortcode-builder/shortcode-builder.php:1357
1285
  msgid ""
1286
  "Update the text of the <em>Load More</em> button while content is loading."
1287
  msgstr ""
1288
 
1289
+ #: ../admin/shortcode-builder/shortcode-builder.php:1361
1290
  msgid "Loading Posts..."
1291
  msgstr ""
1292
 
1293
+ #: ../admin/shortcode-builder/shortcode-builder.php:1370
1294
  msgid "Container Options"
1295
  msgstr ""
1296
 
1297
+ #: ../admin/shortcode-builder/shortcode-builder.php:1374
1298
  msgid ""
1299
  "You can define a global container type on the Ajax Load More settings screen"
1300
  msgstr ""
1301
 
1302
+ #: ../admin/shortcode-builder/shortcode-builder.php:1375
1303
  msgid ""
1304
  "Override the global Container Type that was set on <a href=\"admin.php?"
1305
  "page=ajax-load-more\">ALM Settings page</a>."
1306
  msgstr ""
1307
 
1308
+ #: ../admin/shortcode-builder/shortcode-builder.php:1398
1309
  msgid ""
1310
  "You can define global container classes on the Ajax Load More settings screen"
1311
  msgstr ""
1312
 
1313
+ #: ../admin/shortcode-builder/shortcode-builder.php:1399
1314
  msgid ""
1315
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1316
  "portfolio-listing large-12 etc"
1346
  "infinite scroll functionality."
1347
  msgstr ""
1348
 
1349
+ #: ../admin/views/add-ons.php:70 ../admin/views/licenses.php:205
1350
  msgid "Custom Repeaters"
1351
  msgstr ""
1352
 
1360
  "absolutely zero restrictions."
1361
  msgstr ""
1362
 
1363
+ #: ../admin/views/add-ons.php:98 ../admin/views/licenses.php:261
1364
+ #: ../admin/views/settings.php:53
1365
  msgid "Layouts"
1366
  msgstr ""
1367
 
1405
  "browser URL to the current post."
1406
  msgstr ""
1407
 
1408
+ #: ../admin/views/add-ons.php:204
1409
+ msgid "Infinite scroll with the WP REST API and Ajax Load More plugins."
1410
+ msgstr ""
1411
+
1412
+ #: ../admin/views/add-ons.php:205
1413
+ msgid ""
1414
+ "The REST API add-on will enable compatibility between Ajax Load More and the "
1415
+ "WP REST API plugins.</p>"
1416
+ msgstr ""
1417
+
1418
+ #: ../admin/views/add-ons.php:231 ../admin/views/licenses.php:534
1419
  msgid "Search Engine Optimization"
1420
  msgstr ""
1421
 
1422
+ #: ../admin/views/add-ons.php:232
1423
  msgid "Generate unique paging URLs with every Ajax Load More query."
1424
  msgstr ""
1425
 
1426
+ #: ../admin/views/add-ons.php:233
1427
  msgid ""
1428
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1429
  "generating unique URLs with every query.</p>"
1430
  msgstr ""
1431
 
1432
+ #: ../admin/views/add-ons.php:257 ../admin/views/licenses.php:591
1433
+ #: ../admin/views/settings.php:63
1434
  msgid "Theme Repeaters"
1435
  msgstr ""
1436
 
1437
+ #: ../admin/views/add-ons.php:258
1438
  msgid "Manage repeater templates within your current theme directory."
1439
  msgstr ""
1440
 
1441
+ #: ../admin/views/add-ons.php:259
1442
  msgid ""
1443
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1444
  "from your current theme directory.</p>"
1445
  msgstr ""
1446
 
1447
+ #: ../admin/views/add-ons.php:278
 
 
 
 
 
 
 
 
1448
  msgid ""
1449
  "All add-ons are installed as stand alone plugins and with a valid license "
1450
  "key will receive plugin update notifications directly within the <a href="
1540
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1541
  msgstr ""
1542
 
1543
+ #: ../admin/views/licenses.php:47 ../admin/views/licenses.php:49
1544
+ #: ../admin/views/licenses.php:102 ../admin/views/licenses.php:104
1545
+ #: ../admin/views/licenses.php:156 ../admin/views/licenses.php:158
1546
+ #: ../admin/views/licenses.php:211 ../admin/views/licenses.php:213
1547
+ #: ../admin/views/licenses.php:267 ../admin/views/licenses.php:269
1548
+ #: ../admin/views/licenses.php:323 ../admin/views/licenses.php:325
1549
+ #: ../admin/views/licenses.php:377 ../admin/views/licenses.php:379
1550
+ #: ../admin/views/licenses.php:430 ../admin/views/licenses.php:432
1551
+ #: ../admin/views/licenses.php:485 ../admin/views/licenses.php:487
1552
+ #: ../admin/views/licenses.php:540 ../admin/views/licenses.php:542
1553
+ #: ../admin/views/licenses.php:597 ../admin/views/licenses.php:599
1554
  msgid "Enter License Key"
1555
  msgstr ""
1556
 
1557
+ #: ../admin/views/licenses.php:69 ../admin/views/licenses.php:124
1558
+ #: ../admin/views/licenses.php:178 ../admin/views/licenses.php:233
1559
+ #: ../admin/views/licenses.php:289 ../admin/views/licenses.php:345
1560
+ #: ../admin/views/licenses.php:398 ../admin/views/licenses.php:452
1561
+ #: ../admin/views/licenses.php:507 ../admin/views/licenses.php:562
1562
+ #: ../admin/views/licenses.php:620
1563
  msgid "Activate License"
1564
  msgstr ""
1565
 
1566
+ #: ../admin/views/licenses.php:73 ../admin/views/licenses.php:128
1567
+ #: ../admin/views/licenses.php:182 ../admin/views/licenses.php:237
1568
+ #: ../admin/views/licenses.php:293 ../admin/views/licenses.php:349
1569
+ #: ../admin/views/licenses.php:402 ../admin/views/licenses.php:456
1570
+ #: ../admin/views/licenses.php:511 ../admin/views/licenses.php:566
1571
+ #: ../admin/views/licenses.php:624
1572
  msgid "Deactivate License"
1573
  msgstr ""
1574
 
1575
+ #: ../admin/views/licenses.php:642
1576
  msgid "You do not have any Ajax Load More add-ons installed"
1577
  msgstr ""
1578
 
1579
+ #: ../admin/views/licenses.php:642
1580
  msgid "Browse Add-ons"
1581
  msgstr ""
1582
 
1583
+ #: ../admin/views/licenses.php:653
1584
  msgid "About Licenses"
1585
  msgstr ""
1586
 
1587
+ #: ../admin/views/licenses.php:656
1588
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1589
  msgstr ""
1590
 
1591
+ #: ../admin/views/licenses.php:657
1592
  msgid ""
1593
  "License keys are found in the purchase receipt email that was sent "
1594
  "immediately after your successful purchase."
1595
  msgstr ""
1596
 
1597
+ #: ../admin/views/licenses.php:658
1598
  msgid ""
1599
  "If you cannot locate your key please use the <a href=\"https://connekthq.com/"
1600
  "contact/\">contact form</a> on our website and reference the email address "
1601
  "used when you completed the purchase."
1602
  msgstr ""
1603
 
1604
+ #: ../admin/views/licenses.php:663
1605
  msgid "Legacy Users"
1606
  msgstr ""
1607
 
1710
  msgid "Admin"
1711
  msgstr ""
1712
 
1713
+ #: ../admin/views/settings.php:61
1714
  msgid "SEO"
1715
  msgstr ""
1716
 
1717
+ #: ../admin/views/settings.php:92
1718
  msgid "Sorry, settings could not be saved."
1719
  msgstr ""
1720
 
1742
  msgid "Clear all Shortcode Builder settings"
1743
  msgstr ""
1744
 
1745
+ #: ../ajax-load-more.php:196
1746
  msgid "Settings"
1747
  msgstr ""
1748
 
1749
+ #: ../core/functions.php:401
1750
  msgid "Pages:"
1751
  msgstr ""
1752