WordPress Infinite Scroll – Ajax Load More - Version 2.14.0

Version Description

  • February 14, 2016 =

  • NEW - Adding functionality for Next Page add-on (https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/).

  • NEW - Added support for SEO add-on to be integrated with default WP search page.

  • NEW - Added support for Paging + Preloaded + SEO to be used on a single instance.

  • NEW - Added functions for triggering callbacks to various addons on load complete.

  • UPDATE - Various UI tweaks

  • UPDATE - Improving core JS functions and methods

Download this release

Release Info

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

Code changes from version 2.13.1 to 2.14.0

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Ajax Load More - Infinite Scroll ===
2
  Contributors: dcooney
3
  Donate link: https://connekthq.com/donate/
4
- Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce
5
  Requires at least: 3.6
6
- Tested up to: 4.7.1
7
- Stable tag: 2.13.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -33,15 +33,16 @@ Check out the **[demo site](https://connekthq.com/plugins/ajax-load-more/)** for
33
  ***
34
 
35
  = Content Types =
36
- Ajax Load More can infinite scroll any content type WordPress offers - from blog posts to WooCommerce products Ajax Load More can handle it.
37
 
38
  Check out the examples below:
39
 
40
  * [Standard Posts](https://connekthq.com/plugins/ajax-load-more/examples/default/)
41
  * [Custom Post Types](https://connekthq.com/plugins/ajax-load-more/examples/masonry/)
42
  * [Pages](https://connekthq.com/plugins/ajax-load-more/examples/search-results/)
 
43
  * [Single Posts](https://connekthq.com/ajax-load-more-posts/alm-post-example/) **
44
- * [Comments](http://comments.connekthq.com/example-post/) **
45
 
46
  ** Add-on required
47
 
@@ -130,11 +131,11 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
130
  ***
131
 
132
  = Add-ons =
133
- The following Add-ons are available to increase the functionality of Ajax Load More.
134
 
135
  > #### Cache
136
- > The **[Cache](https://connekthq.com/plugins/ajax-load-more/cache/)** add-oncreates static HTML files of Ajax Load More requests then serves those static pages to your visitors without querying the database.<br />
137
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/cache/)
138
  >
139
  > #### Call to Actions
140
  > The **[Call to Actions](https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/)** add-on will provide functionality to inject a custom CTA template within an Ajax Load More query.<br />
@@ -145,37 +146,54 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
145
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/comments/)
146
  >
147
  > #### Custom Repeaters
148
- > The **[Custom Repeaters](https://connekthq.com/plugins/ajax-load-more/custom-repeaters/)** add-on will allow for **unlimited repeater templates** and provide the ability to create unique templates for different content types throughout your theme.<br />
149
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/custom-repeaters/)
150
  >
151
  > #### Layouts
152
- > The **[Layouts](https://connekthq.com/plugins/ajax-load-more/layouts/)** add-on will provide a library of fully responsive layout templates ready for use on your website.<br />
153
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/layouts/)
 
 
 
 
154
  >
155
  > #### Paging
156
- > The **[Paging](https://connekthq.com/plugins/ajax-load-more/paging/)** add-on will transform Ajax Load More’s lazy load/infinite scroll functionality into a robust ajax powered navigation system.<br />
157
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/paging/)
158
  >
159
  > #### Preloaded
160
- > The **[Preloaded](https://connekthq.com/plugins/ajax-load-more/preloaded/)** add-on will allow you to quickly and easily preload an initial set of posts before completing any Ajax requests to the server.<br />
161
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/preloaded/)
162
  >
163
  > #### Previous Post
164
- > 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 />
165
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/previous-post/)
166
- >
167
- > #### REST API
168
- > 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 />
169
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/rest-api/)
170
  >
171
  > #### Search Engine Optimization
172
- > 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 />
173
- > [Get More Information](https://connekthq.com/plugins/ajax-load-more/seo/)
174
  >
175
  > #### Theme Repeaters
176
  > The **[Theme Repeaters](https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)** add-on will allow you load, edit and maintain templates from your current theme directory.<br />
177
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  ***
180
 
181
  = Callback Functions =
@@ -329,6 +347,15 @@ How to install Ajax Load More.
329
 
330
  == Changelog ==
331
 
 
 
 
 
 
 
 
 
 
332
 
333
  = 2.13.1 - December 5, 2016 =
334
 
@@ -346,13 +373,13 @@ How to install Ajax Load More.
346
  * FIX - Support for preserving querystring parameters in Previous Post add-on.
347
 
348
 
349
-
350
  = 2.13.0.1 - November 10, 2016 =
351
 
352
  * FIX - almEmpty() callback function not firing because of updated return value of empty query.
353
  * FIX - almdebug() filter causing 'Missing argument 2 for apply_filters()' error for some users.
354
  * FIX - Shortcode builder UI heading update.
355
 
 
356
  = 2.13.0 - November 6, 2016 =
357
 
358
  * NEW - ID shortcode parameter. Assigning a unique ID to an Ajax Load More instance will allow for filters to be run more easily.
1
  === Ajax Load More - Infinite Scroll ===
2
  Contributors: dcooney
3
  Donate link: https://connekthq.com/donate/
4
+ Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce, ajax load more
5
  Requires at least: 3.6
6
+ Tested up to: 4.7.3
7
+ Stable tag: 2.14.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
33
  ***
34
 
35
  = Content Types =
36
+ Ajax Load More can infinite scroll any content type WordPress offers - from blog posts to multipage content to WooCommerce products - Ajax Load More can handle it all.
37
 
38
  Check out the examples below:
39
 
40
  * [Standard Posts](https://connekthq.com/plugins/ajax-load-more/examples/default/)
41
  * [Custom Post Types](https://connekthq.com/plugins/ajax-load-more/examples/masonry/)
42
  * [Pages](https://connekthq.com/plugins/ajax-load-more/examples/search-results/)
43
+ * [Multipage Posts & Pages](https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/next-page-default/) **
44
  * [Single Posts](https://connekthq.com/ajax-load-more-posts/alm-post-example/) **
45
+ * [Comments](http://examples.connekthq.com/alm-comments/example-post/) **
46
 
47
  ** Add-on required
48
 
131
  ***
132
 
133
  = Add-ons =
134
+ The following [add-ons](https://connekthq.com/plugins/ajax-load-more/add-ons/) are available to increase the functionality of Ajax Load More.
135
 
136
  > #### Cache
137
+ > The **[Cache](https://connekthq.com/plugins/ajax-load-more/add-ons/cache/)** add-oncreates static HTML files of Ajax Load More requests then serves those static pages to your visitors without querying the database.<br />
138
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/cache/)
139
  >
140
  > #### Call to Actions
141
  > The **[Call to Actions](https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/)** add-on will provide functionality to inject a custom CTA template within an Ajax Load More query.<br />
146
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/comments/)
147
  >
148
  > #### Custom Repeaters
149
+ > The **[Custom Repeaters](https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/)** add-on will allow for **unlimited repeater templates** and provide the ability to create unique templates for different content types throughout your theme.<br />
150
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/)
151
  >
152
  > #### Layouts
153
+ > The **[Layouts](https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/)** add-on will provide a library of fully responsive layout templates ready for use on your website.<br />
154
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/)
155
+ >
156
+ > #### Next Page
157
+ > The **[Next Page](https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/)** add-on Load and display paginated WordPress content on demand using the `<!–-nextpage–->` Quicktag.<br />
158
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/)
159
  >
160
  > #### Paging
161
+ > The **[Paging](https://connekthq.com/plugins/ajax-load-more/add-ons/paging/)** add-on will transform Ajax Load More’s lazy load/infinite scroll functionality into a robust ajax powered navigation system.<br />
162
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/paging/)
163
  >
164
  > #### Preloaded
165
+ > The **[Preloaded](https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/)** add-on will allow you to quickly and easily preload an initial set of posts before completing any Ajax requests to the server.<br />
166
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/)
167
  >
168
  > #### Previous Post
169
+ > The **[Previous Post](https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/)** add-on will allow you to navigate single posts with Ajax Load More.<br />
170
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/)
 
 
 
 
171
  >
172
  > #### Search Engine Optimization
173
+ > The **[SEO](https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/)** 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 />
174
+ > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/)
175
  >
176
  > #### Theme Repeaters
177
  > The **[Theme Repeaters](https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)** add-on will allow you load, edit and maintain templates from your current theme directory.<br />
178
  > [Get More Information](https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/)
179
 
180
+
181
+ ***
182
+
183
+ = Extensions =
184
+ The following [extensions](https://connekthq.com/plugins/ajax-load-more/extensions/) are available to provide compatibility with popular WordPress plugins and core features.
185
+
186
+ > #### Relvanssi
187
+ > The **[Relevanssi](https://connekthq.com/plugins/ajax-load-more/extensions/relevanssi/)** extension provides the functionality for returning Relevanssi query results to Ajax Load More.
188
+ >
189
+ > #### REST API
190
+ > The **[REST API](https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/)** extension will enable compatibility between Ajax Load More and the WordPress REST API.
191
+ >
192
+ > #### SearchWP
193
+ > The **[SearchWP](https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/)** extension provides the functionality for returning SearchWP query results to Ajax Load More.
194
+ >
195
+
196
+
197
  ***
198
 
199
  = Callback Functions =
347
 
348
  == Changelog ==
349
 
350
+ = 2.14.0 - February 14, 2016 =
351
+
352
+ * NEW - Adding functionality for Next Page add-on (https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/).
353
+ * NEW - Added support for SEO add-on to be integrated with default WP search page.
354
+ * NEW - Added support for Paging + Preloaded + SEO to be used on a single instance.
355
+ * NEW - Added functions for triggering callbacks to various addons on load complete.
356
+ * UPDATE - Various UI tweaks
357
+ * UPDATE - Improving core JS functions and methods
358
+
359
 
360
  = 2.13.1 - December 5, 2016 =
361
 
373
  * FIX - Support for preserving querystring parameters in Previous Post add-on.
374
 
375
 
 
376
  = 2.13.0.1 - November 10, 2016 =
377
 
378
  * FIX - almEmpty() callback function not firing because of updated return value of empty query.
379
  * FIX - almdebug() filter causing 'Missing argument 2 for apply_filters()' error for some users.
380
  * FIX - Shortcode builder UI heading update.
381
 
382
+
383
  = 2.13.0 - November 6, 2016 =
384
 
385
  * NEW - ID shortcode parameter. Assigning a unique ID to an Ajax Load More instance will allow for filters to be run more easily.
admin/admin-functions.php CHANGED
@@ -28,7 +28,7 @@ function alm_is_admin_screen(){
28
  */
29
 
30
  function alm_has_addon(){
31
- if(has_action('alm_cache_installed') || has_action('alm_cta_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')) {
32
  return true;
33
  } else {
34
  return false;
28
  */
29
 
30
  function alm_has_addon(){
31
+ if(has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_nextpage_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')) {
32
  return true;
33
  } else {
34
  return false;
admin/admin.php CHANGED
@@ -430,7 +430,9 @@ function alm_admin_menu() {
430
  add_action( 'load-' . $alm_examples_page, 'alm_load_admin_js' );
431
  add_action( 'load-' . $alm_examples_page, 'alm_set_admin_nonce' );
432
  add_action( 'load-' . $alm_help_page, 'alm_load_admin_js' );
 
433
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
 
434
  add_action( 'load-' . $alm_licenses_page, 'alm_load_admin_js' );
435
  add_action( 'load-' . $alm_licenses_page, 'alm_set_admin_nonce' );
436
  }
@@ -448,7 +450,9 @@ function alm_load_admin_js(){
448
  add_action( 'admin_enqueue_scripts', 'alm_enqueue_admin_scripts' );
449
  }
450
  function alm_load_cache_admin_js(){
451
- add_action( 'admin_enqueue_scripts', 'alm_enqueue_cache_admin_scripts' );
 
 
452
  }
453
 
454
 
@@ -497,9 +501,6 @@ function alm_enqueue_admin_scripts(){
497
  wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
498
  }
499
 
500
- function alm_enqueue_cache_admin_scripts(){
501
- wp_enqueue_script( 'alm-cache-admin', ALM_CACHE_URL. '/js/alm-cache.js', array( 'jquery' ));
502
- }
503
 
504
 
505
 
430
  add_action( 'load-' . $alm_examples_page, 'alm_load_admin_js' );
431
  add_action( 'load-' . $alm_examples_page, 'alm_set_admin_nonce' );
432
  add_action( 'load-' . $alm_help_page, 'alm_load_admin_js' );
433
+ add_action( 'load-' . $alm_help_page, 'alm_set_admin_nonce' );
434
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
435
+ add_action( 'load-' . $alm_addons_page, 'alm_set_admin_nonce' );
436
  add_action( 'load-' . $alm_licenses_page, 'alm_load_admin_js' );
437
  add_action( 'load-' . $alm_licenses_page, 'alm_set_admin_nonce' );
438
  }
450
  add_action( 'admin_enqueue_scripts', 'alm_enqueue_admin_scripts' );
451
  }
452
  function alm_load_cache_admin_js(){
453
+ if(class_exists('ALMCache')){
454
+ ALMCache::alm_enqueue_cache_admin_scripts();
455
+ }
456
  }
457
 
458
 
501
  wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
502
  }
503
 
 
 
 
504
 
505
 
506
 
admin/css/admin.css CHANGED
@@ -123,20 +123,22 @@
123
  min-width: 48%;
124
  display: inline-block;
125
  vertical-align: top;
126
- }
127
-
128
 
129
  #alm-settings form h2{
130
- padding: 2px 0 6px 12px;
131
- border-left: 5px solid #ff5a58;
132
  margin: 0;
 
 
133
  }
134
  #alm-settings form h2 + p{
135
  color: #999;
136
- padding: 0 0 0 12px;
137
- border-left: 5px solid #ff5a58;
138
  margin: 0 0 24px;
139
  font-size: 14px;
 
140
  }
141
  .ajax-load-more code{
142
  background: #fcf3d0;
@@ -708,7 +710,7 @@ a.layout-hover{
708
 
709
  .ajax-load-more .row{
710
  padding: 0 !important;
711
- margin: 10px 0 0;
712
  height: auto;
713
  width: 100%;
714
  display: block;
@@ -824,11 +826,16 @@ a.layout-hover{
824
  font-size: 15px;
825
  margin-bottom: 13px;
826
  }
827
- .ajax-load-more .section-title p{
 
828
  font-size: 13px;
829
  line-height: 20px;
830
  color: #999;
831
  }
 
 
 
 
832
  .ajax-load-more .section-title p .fa.tooltip,
833
  .form-table label .fa.tooltip{
834
  margin: 0 2px;
@@ -886,7 +893,8 @@ a.layout-hover{
886
  .cache_id,
887
  .alternate_template_wrap,
888
  .cta_template_wrap,
889
- .restapi_options{
 
890
  display: none;
891
  }
892
 
@@ -1100,17 +1108,17 @@ a.layout-hover{
1100
 
1101
  .form-table .template-tags{
1102
  overflow: hidden;
1103
- border: 1px solid #eeeddf;
1104
- padding: 6px 10px;
1105
- background: #faf9ee;
1106
  margin: 10px 0 0;
1107
- border-radius: 3px;
1108
  }
1109
  .form-table .template-tags h4,
1110
  .form-table .template-tags li{
1111
  margin: 0 0 8px;
1112
  padding:0;
1113
- font-size: 14px;
1114
  }
1115
  .form-table .template-tags li{
1116
  margin: 2px 0;
@@ -1192,13 +1200,12 @@ a.layout-hover{
1192
  /* Table Overrides */
1193
  .admin.ajax-load-more.settings .form-table td,
1194
  .admin.ajax-load-more.settings .form-table th{
1195
- padding: 20px 0 16px;
1196
  line-height: 1.5;
1197
  }
1198
  .admin.ajax-load-more.settings .form-table th{
1199
  padding-left: 17px;
1200
  }
1201
-
1202
  .admin.ajax-load-more.settings .form-table p{
1203
  margin-top: 0;
1204
  }
@@ -1209,7 +1216,6 @@ a.layout-hover{
1209
  overflow: hidden;
1210
  color: #999;
1211
  }
1212
-
1213
  .header-wrap{
1214
  overflow: hidden;
1215
  padding: 10px 0 3px;
@@ -1401,11 +1407,6 @@ table.highlight{
1401
  -webkit-border-radius: 3px;
1402
  -moz-border-radius: 3px;
1403
  border-radius: 3px;
1404
- /*
1405
- -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1406
- -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1407
- box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1408
- */
1409
  }
1410
  .ajax-load-more .cnkt-main.full{
1411
  width: 100%;
@@ -1787,8 +1788,8 @@ table.highlight{
1787
  }
1788
  .license-key-field .status{
1789
  position: absolute;
1790
- right:5px;
1791
- top: 5px;
1792
  display: inline-block;
1793
  border-radius: 2px;
1794
  padding: 6px 12px;
@@ -1839,7 +1840,7 @@ table.highlight{
1839
  background: #fff;
1840
  padding: 20px;
1841
  margin: 0 0 20px;
1842
- overflow: hidden;
1843
  position: relative;
1844
  }
1845
  .ajax-load-more .cnkt-sidebar .cta.mailing-list{
@@ -1876,7 +1877,7 @@ table.highlight{
1876
  font-size: 14px;
1877
  }
1878
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1879
- margin: 5px 0;
1880
  display: block;
1881
  overflow: hidden;
1882
  }
@@ -1888,7 +1889,7 @@ table.highlight{
1888
  .ajax-load-more .cnkt-sidebar li{
1889
  font-size: 14px;
1890
  margin: 0 0 10px;
1891
- line-height: 1.4;
1892
  }
1893
 
1894
  .ajax-load-more .cnkt-sidebar .cta.resources li{
@@ -2553,7 +2554,7 @@ p.cache-stats{
2553
  .ajax-load-more .form-table input[type=radio] + label{
2554
  background: #fff url('../img/bkg-chkbox_off.png') no-repeat left 1px;
2555
  height: auto;
2556
- min-height: 20px;
2557
  width: 100%;
2558
  display:inline-block;
2559
  padding: 1px 0 0 30px;
@@ -3438,6 +3439,12 @@ ul.share li.facebook a:hover{
3438
  float: none;
3439
  padding: 10px;
3440
  }
 
 
 
 
 
 
3441
  .ajax-load-more input[type=text],
3442
  .ajax-load-more input[type=number],
3443
  .select2-container,
123
  min-width: 48%;
124
  display: inline-block;
125
  vertical-align: top;
126
+ }
 
127
 
128
  #alm-settings form h2{
129
+ padding: 12px 0 6px 12px;
130
+ border-left: 7px solid #ff5a58;
131
  margin: 0;
132
+ font-weight: 600;
133
+ font-size: 1.35em;
134
  }
135
  #alm-settings form h2 + p{
136
  color: #999;
137
+ padding: 0 0 10px 12px;
138
+ border-left: 7px solid #ff5a58;
139
  margin: 0 0 24px;
140
  font-size: 14px;
141
+ font-style: italic;
142
  }
143
  .ajax-load-more code{
144
  background: #fcf3d0;
710
 
711
  .ajax-load-more .row{
712
  padding: 0 !important;
713
+ margin: 15px 0 0;
714
  height: auto;
715
  width: 100%;
716
  display: block;
826
  font-size: 15px;
827
  margin-bottom: 13px;
828
  }
829
+ .ajax-load-more .section-title p,
830
+ .ajax-load-more .wrap p.descriptor{
831
  font-size: 13px;
832
  line-height: 20px;
833
  color: #999;
834
  }
835
+ .ajax-load-more .wrap p.descriptor{
836
+ margin: 0;
837
+ font-style: italic;
838
+ }
839
  .ajax-load-more .section-title p .fa.tooltip,
840
  .form-table label .fa.tooltip{
841
  margin: 0 2px;
893
  .cache_id,
894
  .alternate_template_wrap,
895
  .cta_template_wrap,
896
+ .restapi_options,
897
+ .next-page-content{
898
  display: none;
899
  }
900
 
1108
 
1109
  .form-table .template-tags{
1110
  overflow: hidden;
1111
+ border: 1px solid #dfd8c2;;
1112
+ padding: 15px;
1113
+ background: #fff9ea;
1114
  margin: 10px 0 0;
1115
+ border-radius: 2px;
1116
  }
1117
  .form-table .template-tags h4,
1118
  .form-table .template-tags li{
1119
  margin: 0 0 8px;
1120
  padding:0;
1121
+ font-size: 13px;
1122
  }
1123
  .form-table .template-tags li{
1124
  margin: 2px 0;
1200
  /* Table Overrides */
1201
  .admin.ajax-load-more.settings .form-table td,
1202
  .admin.ajax-load-more.settings .form-table th{
1203
+ padding: 24px 0 20px;
1204
  line-height: 1.5;
1205
  }
1206
  .admin.ajax-load-more.settings .form-table th{
1207
  padding-left: 17px;
1208
  }
 
1209
  .admin.ajax-load-more.settings .form-table p{
1210
  margin-top: 0;
1211
  }
1216
  overflow: hidden;
1217
  color: #999;
1218
  }
 
1219
  .header-wrap{
1220
  overflow: hidden;
1221
  padding: 10px 0 3px;
1407
  -webkit-border-radius: 3px;
1408
  -moz-border-radius: 3px;
1409
  border-radius: 3px;
 
 
 
 
 
1410
  }
1411
  .ajax-load-more .cnkt-main.full{
1412
  width: 100%;
1788
  }
1789
  .license-key-field .status{
1790
  position: absolute;
1791
+ right:9px;
1792
+ top: 9px;
1793
  display: inline-block;
1794
  border-radius: 2px;
1795
  padding: 6px 12px;
1840
  background: #fff;
1841
  padding: 20px;
1842
  margin: 0 0 20px;
1843
+ overflow: visible;
1844
  position: relative;
1845
  }
1846
  .ajax-load-more .cnkt-sidebar .cta.mailing-list{
1877
  font-size: 14px;
1878
  }
1879
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1880
+ margin: 15px 0 0;
1881
  display: block;
1882
  overflow: hidden;
1883
  }
1889
  .ajax-load-more .cnkt-sidebar li{
1890
  font-size: 14px;
1891
  margin: 0 0 10px;
1892
+ line-height: 1.5;
1893
  }
1894
 
1895
  .ajax-load-more .cnkt-sidebar .cta.resources li{
2554
  .ajax-load-more .form-table input[type=radio] + label{
2555
  background: #fff url('../img/bkg-chkbox_off.png') no-repeat left 1px;
2556
  height: auto;
2557
+ min-height: 22px;
2558
  width: 100%;
2559
  display:inline-block;
2560
  padding: 1px 0 0 30px;
3439
  float: none;
3440
  padding: 10px;
3441
  }
3442
+ .ajax-load-more .section-title{
3443
+ padding: 20px 20px 10px;
3444
+ }
3445
+ .ajax-load-more .row .wrap{
3446
+ padding: 10px 20px;
3447
+ }
3448
  .ajax-load-more input[type=text],
3449
  .ajax-load-more input[type=number],
3450
  .select2-container,
admin/css/select2.css CHANGED
@@ -212,7 +212,7 @@
212
 
213
  /* results UL */
214
  .select2-results {
215
- max-height: 200px;
216
  padding: 0 0 0 0;
217
  margin: 0 0 0 0;
218
  position: relative;
212
 
213
  /* results UL */
214
  .select2-results {
215
+ max-height: 311px;
216
  padding: 0 0 0 0;
217
  margin: 0 0 0 0;
218
  position: relative;
admin/img/add-ons/next-page-add-on.jpg ADDED
Binary file
admin/includes/cta/dyk.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="cta dyk">
2
  <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
- $random = rand(1, 4);
5
  ?>
6
  <?php if($random == 1){ ?>
7
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg"><br/>
@@ -30,4 +30,11 @@
30
  <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
 
 
 
 
 
 
 
33
  </div>
1
  <div class="cta dyk">
2
  <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
+ $random = rand(1, 5);
5
  ?>
6
  <?php if($random == 1){ ?>
7
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg"><br/>
30
  <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
33
+ <?php if($random == 5){ ?>
34
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/next-page-add-on.jpg"><br/>
35
+ <p class="addon-intro">You can infinite scroll just about anything with the Next Page add-on!</p>
36
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Next Page">Next Page</a> add-on will allow you to split post content into pages using the <span style="display: inline-block; font-style: italic; color: #999;">&lt;!--nextpage--&gt;</span> <a href="https://codex.wordpress.org/Write_Post_SubPanel#Quicktags" target="_blank">Quicktag</a> and load the generated pages on demand.</p>
37
+ <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Next Page">Learn More &raquo;</a></p>
38
+ <?php } ?>
39
+
40
  </div>
admin/includes/cta/resources.php CHANGED
@@ -2,9 +2,10 @@
2
  <h3><?php _e('Resources', 'ajax-load-more'); ?></h3>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
 
5
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
6
- <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
7
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
 
8
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
9
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
10
  </ul>
2
  <h3><?php _e('Resources', 'ajax-load-more'); ?></h3>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
+ <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/docs/"><i class="fa fa-pencil"></i> <?php _e('Documentation', 'ajax-load-more'); ?></a></li>
6
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
 
7
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
8
+ <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
9
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
10
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
11
  </ul>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -279,6 +279,43 @@ jQuery(document).ready(function($) {
279
  }else{
280
  $('.comments_extras').slideUp(100, 'alm_easeInOutQuad');
281
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
 
283
 
284
 
279
  }else{
280
  $('.comments_extras').slideUp(100, 'alm_easeInOutQuad');
281
  }
282
+
283
+
284
+
285
+ // ---------------------------
286
+ // - Next Page
287
+ // ---------------------------
288
+
289
+ var nextpage = $('.next-page input[name=next-page]:checked').val();
290
+ if(nextpage !== 'false' && nextpage != undefined){
291
+
292
+ var nextpage_post_id = $('#next-page_post_id').val(),
293
+ nextpage_url = $('input#next-page-url:checked').val(),
294
+ nextpage_pageviews = $('input#next-page-pageviews:checked').val(),
295
+ nextpage_scrollspeed = $('input#next-page-scroll-speed').val(),
296
+ nextpage_scrolltop = $('input#next-page-scroll-top').val();
297
+
298
+ $('.next-page-content').slideDown(100, 'alm_easeInOutQuad');
299
+
300
+ output += ' nextpage="'+nextpage+'"';
301
+ output += ' nextpage_post_id="\'.'+nextpage_post_id+'.\'"';
302
+
303
+ if(nextpage_url !== 'true'){
304
+ output += ' nextpage_urls="false"';
305
+ }
306
+ if(nextpage_pageviews !== 'true'){
307
+ output += ' nextpage_pageviews="false"';
308
+ }
309
+
310
+ if(!nextpage_scrollspeed.length) nextpage_scrollspeed = 250;
311
+ if(!nextpage_scrolltop.length) nextpage_scrollspeed = 30;
312
+
313
+ output += ' nextpage_scroll="'+ nextpage_scrollspeed +':'+ nextpage_scrolltop +'"';
314
+
315
+
316
+ }else{
317
+ $('.next-page-content').slideUp(100, 'alm_easeInOutQuad');
318
+ }
319
 
320
 
321
 
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -304,6 +304,124 @@
304
  <?php } ?>
305
 
306
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  <?php if(has_action('alm_paging_installed')){ ?>
308
  <!-- PAGING -->
309
  <div class="row input paging add-on" id="alm-paging">
@@ -980,7 +1098,7 @@
980
  <ul>
981
  <li style="width:100%;">
982
  <input class="alm_element" type="checkbox" name="remove_container" id="remove_container" value="f">
983
- <label for="remove_container">Remove Container</label>
984
  </li>
985
  </ul>
986
  </div>
304
  <?php } ?>
305
 
306
 
307
+ <?php if(has_action('alm_nextpage_installed')){ ?>
308
+ <!-- NEXT PAGE -->
309
+ <div class="row input next-page add-on" id="alm-next-page">
310
+ <h3 class="heading"><?php _e('Next Page', 'ajax-load-more'); ?></h3>
311
+ <div class="expand-wrap">
312
+ <div class="section-title">
313
+ <p><?php _e('Enable the infinite scrolling of multipage WordPress content using the', 'ajax-load-more'); ?> <span>< !--nextpage-- ></span> <?php _e('Quicktag', 'ajax-load-more'); ?>.</p>
314
+ </div>
315
+ <div class="wrap">
316
+ <div class="inner">
317
+ <ul>
318
+ <li>
319
+ <input class="alm_element" type="radio" name="next-page" value="true" id="next-page-true" >
320
+ <label for="next-page-true"><?php _e('True', 'ajax-load-more'); ?></label>
321
+ </li>
322
+ <li>
323
+ <input class="alm_element" type="radio" name="next-page" value="false" id="next-page-false" checked="checked">
324
+ <label for="next-page-false"><?php _e('False', 'ajax-load-more'); ?></label>
325
+ </li>
326
+ </ul>
327
+ </div>
328
+ </div>
329
+
330
+ <div class="clear"></div>
331
+
332
+ <div class="next-page-content" style="display: none;">
333
+
334
+ <div class="clear"></div>
335
+ <hr>
336
+ <div class="section-title">
337
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
338
+ <p><?php _e('The ID of the current page/post.', 'ajax-load-more'); ?></p>
339
+ </div>
340
+ <div class="wrap">
341
+ <div class="inner">
342
+ <input type="text" value="get_the_ID()" id="next-page_post_id" class="alm_element disabled-input" disabled="disabled">
343
+ </div>
344
+ </div>
345
+
346
+ <div class="clear"></div>
347
+ <hr/>
348
+
349
+ <div class="section-title">
350
+ <h4><?php _e('URL Rewrite', 'ajax-load-more'); ?></h4>
351
+ <p><?php _e('Update the browser address bar as pages come into view', 'ajax-load-more'); ?>.</p>
352
+ </div>
353
+ <div class="wrap">
354
+ <div class="inner">
355
+ <ul>
356
+ <li style="width:100%;">
357
+ <input class="alm_element" type="checkbox" name="next-page-url" id="next-page-url" value="true" checked="checked">
358
+ <label for="next-page-url"><?php _e('Yes, update the URL', 'ajax-load-more'); ?>.</label>
359
+ </li>
360
+ </ul>
361
+ <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
362
+ </div>
363
+ </div>
364
+
365
+ <div class="clear"></div>
366
+ <hr/>
367
+
368
+ <div class="section-title">
369
+ <h4>
370
+ <?php _e('Google Analytics', 'ajax-load-more'); ?>
371
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You must have a reference to your Google Analytics tracking code already on the page','ajax-load-more'); ?>"></a>
372
+ </h4>
373
+ <p><?php _e('Each time a page is loaded it will count as a pageview', 'ajax-load-more'); ?>.</p>
374
+ </div>
375
+ <div class="wrap">
376
+ <div class="inner">
377
+ <ul>
378
+ <li style="width:100%;">
379
+ <input class="alm_element" type="checkbox" name="next-page-pageviews" id="next-page-pageviews" value="true" checked="checked">
380
+ <label for="next-page-pageviews"><?php _e('Yes, send pageviews to Google Analytics', 'ajax-load-more'); ?>.</label>
381
+ </li>
382
+ </ul>
383
+ <input type="checkbox" class="alm_element" name="next-page-url" id="next-page-url" checked="checked">
384
+ </div>
385
+ </div>
386
+
387
+ <div class="clear"></div>
388
+ <hr>
389
+ <div class="section-title">
390
+ <h4>
391
+ <?php _e('Scroll to Page', 'ajax-load-more'); ?>
392
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set Scroll Speed to 0 to disable scrolling to page','ajax-load-more'); ?>"></a>
393
+ </h4>
394
+ <p>
395
+ <?php _e('Scroll users automatically to the next page on \'Load More\' button click', 'ajax-load-more'); ?>.
396
+ </p>
397
+ </div>
398
+ <div class="wrap">
399
+ <div class="inner half">
400
+ <label for="next-page-scroll-speed" class="full">
401
+ <?php _e('Scroll Speed', 'ajax-load-more'); ?>
402
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Scrolling speed in milliseconds (e.g. 1 second = 1000)','ajax-load-more'); ?>"></a>
403
+ </label>
404
+ <input id="next-page-scroll-speed" name="next-page-scroll-speed" class="alm_element sm" type="number" min="0" max="5000" step="25" value="250" placeholder="250">
405
+ </div>
406
+ <div class="inner half">
407
+ <label for="next-page-scroll-top" class="full">
408
+ <?php _e('Scroll Top', 'ajax-load-more'); ?>
409
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The scrolltop position of the window (used with scrolling and fwd/back browser buttons)','ajax-load-more'); ?>"></a>
410
+ </label>
411
+ <input id="next-page-scroll-top" name="next-page-scroll-top" class="alm_element sm" type="number" min="0" max="1000" step="1" value="30" placeholder="30">
412
+ </div>
413
+ </div>
414
+
415
+ <p class="warning-callout">
416
+ <?php _e('You must add the Next Page shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
417
+ </p>
418
+
419
+ </div>
420
+ </div>
421
+ </div>
422
+ <?php } ?>
423
+
424
+
425
  <?php if(has_action('alm_paging_installed')){ ?>
426
  <!-- PAGING -->
427
  <div class="row input paging add-on" id="alm-paging">
1098
  <ul>
1099
  <li style="width:100%;">
1100
  <input class="alm_element" type="checkbox" name="remove_container" id="remove_container" value="f">
1101
+ <label for="remove_container"><?php _e('Remove Container', 'ajax-load-more'); ?></label>
1102
  </li>
1103
  </ul>
1104
  </div>
admin/views/add-ons.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div class="admin ajax-load-more" id="alm-add-ons">
2
  <div class="wrap">
3
  <div class="header-wrap">
@@ -14,7 +15,7 @@
14
  <?php
15
  $cache_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Cache'; ?>
16
 
17
- <a href="<?php echo $cache_url; ?>">
18
  <div class="expand-wrap">
19
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg" alt="">
20
  <h2 class="addon-title"><?php _e('Cache', 'ajax-load-more'); ?></h2>
@@ -41,7 +42,7 @@
41
  <?php
42
  $cta_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Call to Actions'; ?>
43
 
44
- <a href="<?php echo $cta_url; ?>">
45
  <div class="expand-wrap">
46
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cta-add-on.jpg" alt="">
47
  <h2 class="addon-title"><?php _e('Call to Actions', 'ajax-load-more'); ?></h2>
@@ -68,7 +69,7 @@
68
  <?php
69
  $comments_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Comments'; ?>
70
 
71
- <a href="<?php echo $comments_url; ?>">
72
  <div class="expand-wrap">
73
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg" alt="">
74
  <h2 class="addon-title"><?php _e('Comments', 'ajax-load-more'); ?></h2>
@@ -93,7 +94,7 @@
93
  <div class="group<?php if (has_action('alm_unlimited_installed')){echo ' installed'; } ?>">
94
  <div class="row no-brd">
95
  <?php $cr_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Custom%20Repeaters'; ?>
96
- <a href="<?php echo $cr_url; ?>">
97
  <div class="expand-wrap">
98
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/unlimited-add-ons.jpg" alt="">
99
  <h2 class="addon-title"><?php _e('Custom Repeaters', 'ajax-load-more'); ?></h2>
@@ -121,7 +122,7 @@
121
  <?php
122
  $layout_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Layouts';
123
  ?>
124
- <a href="<?php echo $layout_url; ?>">
125
  <div class="expand-wrap">
126
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/layouts-add-on.jpg" alt="">
127
  <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
@@ -138,7 +139,33 @@
138
  </a>
139
  </div>
140
  </div>
141
- <!-- End Layouts -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
 
144
  <!-- Paging -->
@@ -147,7 +174,7 @@
147
  <?php
148
  $paging_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Paging';
149
  ?>
150
- <a href="<?php echo $paging_url; ?>">
151
  <div class="expand-wrap">
152
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg" alt="">
153
  <h2 class="addon-title"><?php _e('Paging', 'ajax-load-more'); ?></h2>
@@ -174,7 +201,7 @@
174
  <?php
175
  $preload_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Preloaded';
176
  ?>
177
- <a href="<?php echo $preload_url; ?>">
178
  <div class="expand-wrap">
179
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/preloaded-add-ons.jpg" alt="">
180
  <h2 class="addon-title"><?php _e('Preloaded', 'ajax-load-more'); ?></h2>
@@ -200,7 +227,7 @@
200
  <?php
201
  $prev_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Previous Post';
202
  ?>
203
- <a href="<?php echo $prev_url; ?>">
204
  <div class="expand-wrap">
205
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg" alt="">
206
  <h2 class="addon-title"><?php _e('Previous Post', 'ajax-load-more'); ?></h2>
@@ -226,7 +253,7 @@
226
  <?php
227
  $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';
228
  ?>
229
- <a href="<?php echo $seo_url; ?>">
230
  <div class="expand-wrap">
231
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/rest-api-add-on.jpg" alt="">
232
  <h2 class="addon-title"><?php _e('REST API', 'ajax-load-more'); ?></h2>
@@ -254,7 +281,7 @@
254
  <?php
255
  $seo_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=SEO';
256
  ?>
257
- <a href="<?php echo $seo_url; ?>">
258
  <div class="expand-wrap">
259
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/seo-add-ons.jpg" alt="">
260
  <h2 class="addon-title"><?php _e('Search Engine Optimization', 'ajax-load-more'); ?></h2>
@@ -280,7 +307,7 @@
280
  <div class="group<?php if (has_action('alm_theme_repeaters_installed')){echo ' installed'; } ?>">
281
  <div class="row no-brd">
282
  <?php $themer_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Theme Repeaters'; ?>
283
- <a href="<?php echo $themer_url; ?>">
284
  <div class="expand-wrap">
285
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/theme-repeater-add-on.jpg" alt="">
286
  <h2 class="addon-title"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></h2>
1
+ <?php $target = 'target="_blank"'; ?>
2
  <div class="admin ajax-load-more" id="alm-add-ons">
3
  <div class="wrap">
4
  <div class="header-wrap">
15
  <?php
16
  $cache_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Cache'; ?>
17
 
18
+ <a href="<?php echo $cache_url; ?>" <?php echo $target; ?>>
19
  <div class="expand-wrap">
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg" alt="">
21
  <h2 class="addon-title"><?php _e('Cache', 'ajax-load-more'); ?></h2>
42
  <?php
43
  $cta_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Call to Actions'; ?>
44
 
45
+ <a href="<?php echo $cta_url; ?>" <?php echo $target; ?>>
46
  <div class="expand-wrap">
47
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cta-add-on.jpg" alt="">
48
  <h2 class="addon-title"><?php _e('Call to Actions', 'ajax-load-more'); ?></h2>
69
  <?php
70
  $comments_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Comments'; ?>
71
 
72
+ <a href="<?php echo $comments_url; ?>" <?php echo $target; ?>>
73
  <div class="expand-wrap">
74
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg" alt="">
75
  <h2 class="addon-title"><?php _e('Comments', 'ajax-load-more'); ?></h2>
94
  <div class="group<?php if (has_action('alm_unlimited_installed')){echo ' installed'; } ?>">
95
  <div class="row no-brd">
96
  <?php $cr_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Custom%20Repeaters'; ?>
97
+ <a href="<?php echo $cr_url; ?>" <?php echo $target; ?>>
98
  <div class="expand-wrap">
99
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/unlimited-add-ons.jpg" alt="">
100
  <h2 class="addon-title"><?php _e('Custom Repeaters', 'ajax-load-more'); ?></h2>
122
  <?php
123
  $layout_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Layouts';
124
  ?>
125
+ <a href="<?php echo $layout_url; ?>" <?php echo $target; ?>>
126
  <div class="expand-wrap">
127
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/layouts-add-on.jpg" alt="">
128
  <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
139
  </a>
140
  </div>
141
  </div>
142
+ <!-- End Layouts -->
143
+
144
+
145
+ <!-- Layouts -->
146
+ <div class="group<?php if (has_action('alm_nextpage_installed')){echo ' installed'; } ?>">
147
+ <div class="row no-brd">
148
+ <?php
149
+ $layout_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Next Page';
150
+ ?>
151
+ <a href="<?php echo $layout_url; ?>" <?php echo $target; ?>>
152
+ <div class="expand-wrap">
153
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/next-page-add-on.jpg" alt="">
154
+ <h2 class="addon-title"><?php _e('Next Page', 'ajax-load-more'); ?></h2>
155
+ <p class="addon-intro"><?php _e('Load and display multipage WordPress content.', 'ajax-load-more'); ?></p>
156
+ <p><?php _e('The Next Page add-on will provide functionality for infinite scrolling paginated posts and pages.', 'ajax-load-more'); ?></p>
157
+ <?php
158
+ if (has_action('alm_nextpage_installed')){
159
+ echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> Installed</span> ';
160
+ }else{
161
+ echo '<span class="cnkt-button"><i class="fa fa-download"></i> Purchase &amp; Install</span>';
162
+ }
163
+ ?>
164
+ </div>
165
+ </a>
166
+ </div>
167
+ </div>
168
+ <!-- End Next Page -->
169
 
170
 
171
  <!-- Paging -->
174
  <?php
175
  $paging_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Paging';
176
  ?>
177
+ <a href="<?php echo $paging_url; ?>" <?php echo $target; ?>>
178
  <div class="expand-wrap">
179
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg" alt="">
180
  <h2 class="addon-title"><?php _e('Paging', 'ajax-load-more'); ?></h2>
201
  <?php
202
  $preload_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Preloaded';
203
  ?>
204
+ <a href="<?php echo $preload_url; ?>" <?php echo $target; ?>>
205
  <div class="expand-wrap">
206
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/preloaded-add-ons.jpg" alt="">
207
  <h2 class="addon-title"><?php _e('Preloaded', 'ajax-load-more'); ?></h2>
227
  <?php
228
  $prev_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Previous Post';
229
  ?>
230
+ <a href="<?php echo $prev_url; ?>" <?php echo $target; ?>>
231
  <div class="expand-wrap">
232
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg" alt="">
233
  <h2 class="addon-title"><?php _e('Previous Post', 'ajax-load-more'); ?></h2>
253
  <?php
254
  $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';
255
  ?>
256
+ <a href="<?php echo $seo_url; ?>" <?php echo $target; ?>>
257
  <div class="expand-wrap">
258
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/rest-api-add-on.jpg" alt="">
259
  <h2 class="addon-title"><?php _e('REST API', 'ajax-load-more'); ?></h2>
281
  <?php
282
  $seo_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=SEO';
283
  ?>
284
+ <a href="<?php echo $seo_url; ?>" <?php echo $target; ?>>
285
  <div class="expand-wrap">
286
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/seo-add-ons.jpg" alt="">
287
  <h2 class="addon-title"><?php _e('Search Engine Optimization', 'ajax-load-more'); ?></h2>
307
  <div class="group<?php if (has_action('alm_theme_repeaters_installed')){echo ' installed'; } ?>">
308
  <div class="row no-brd">
309
  <?php $themer_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Theme Repeaters'; ?>
310
+ <a href="<?php echo $themer_url; ?>" <?php echo $target; ?>>
311
  <div class="expand-wrap">
312
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/theme-repeater-add-on.jpg" alt="">
313
  <h2 class="addon-title"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></h2>
admin/views/licenses.php CHANGED
@@ -18,6 +18,7 @@
18
  // alm_comments_installed
19
  // alm_unlimited_installed
20
  // alm_layouts_installed
 
21
  // alm_preload_installed
22
  // alm_paging_installed
23
  // alm_prev_post_installed
@@ -27,7 +28,7 @@
27
  ?>
28
 
29
  <?php
30
- // Check if any add ons are installed.
31
  if(alm_has_addon()) : ?>
32
 
33
 
@@ -360,6 +361,72 @@
360
  ?>
361
 
362
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
 
364
  <?php
365
  if (has_action('alm_paging_installed')){
18
  // alm_comments_installed
19
  // alm_unlimited_installed
20
  // alm_layouts_installed
21
+ // alm_nextpage_installed
22
  // alm_preload_installed
23
  // alm_paging_installed
24
  // alm_prev_post_installed
28
  ?>
29
 
30
  <?php
31
+ // Check if any add ons are installed. /admin/admin-functions.php
32
  if(alm_has_addon()) : ?>
33
 
34
 
361
  ?>
362
 
363
 
364
+ <?php
365
+ if (has_action('alm_nextpage_installed')){
366
+ // NEXT PAGE
367
+ $alm_nextpage_license = get_option( 'alm_nextpage_license_key' );
368
+ $alm_nextpage_status = get_option( 'alm_nextpage_license_status' );
369
+ $alm_nextpage_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/';
370
+ ?>
371
+ <div class="license" id="license-nextpage">
372
+ <div class="license-title">
373
+ <div class="status <?php if($alm_nextpage_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
374
+ <h2><?php _e('Next Page', 'ajax-load-more'); ?></h2>
375
+ </div>
376
+ <div class="license-wrap">
377
+ <form method="post" action="options.php">
378
+
379
+ <?php if( $alm_nextpage_status !== false && $alm_nextpage_status == 'valid' ) { ?>
380
+ <!-- nothing -->
381
+ <?php } else { ?>
382
+ <div class="no-license">
383
+ <h4><?php _e('Don\'t have a license?', 'ajax-load-more'); ?></h4>
384
+ <p><?php _e('A valid license is required to activate and receive plugin updates directly in your WordPress dashboard', 'ajax-load-more'); ?> &rarr; <a href="<?php echo $alm_nextpage_url; ?>?utm_source=WP%20Admin&utm_medium=Licenses&utm_campaign=nextpage" target="blank"><strong><?php _e('Purchase Now', 'ajax-load-more'); ?>!</strong></a></p>
385
+ </div>
386
+ <?php } ?>
387
+
388
+ <?php settings_fields('alm_nextpage_license'); ?>
389
+
390
+ <label class="description offscreen" for="alm_nextpage_license_key"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
391
+ <div class="license-key-field">
392
+ <input id="alm_nextpage_license_key" name="alm_nextpage_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $alm_nextpage_license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
393
+ <?php if( $alm_nextpage_status !== false && $alm_nextpage_status == 'valid' ) { ?>
394
+ <span class="status active">
395
+ <?php _e('Active', 'ajax-load-more'); ?>
396
+ </span>
397
+ <?php } else { ?>
398
+ <span class="status inactive">
399
+ <?php _e('Inactive', 'ajax-load-more'); ?>
400
+ </span>
401
+ <?php } ?>
402
+ </div>
403
+
404
+ <?php wp_nonce_field( 'alm_nextpage_license_nonce', 'alm_nextpage_license_nonce' ); ?>
405
+ <div class="license-btn-wrap"
406
+ data-name="<?php echo ALM_NEXTPAGE_ITEM_NAME; ?>"
407
+ data-url="<?php echo ALM_STORE_URL; ?>"
408
+ data-option-status="alm_nextpage_license_status"
409
+ data-option-key="alm_nextpage_license_key"
410
+ data-upgrade-url="<?php echo $alm_nextpage_url; ?>">
411
+ <button type="button" class="activate license-btn <?php if($alm_nextpage_status === 'valid'){ echo 'hide'; } ?> button-primary" data-type="activate">
412
+ <?php _e('Activate License', 'ajax-load-more'); ?>
413
+ </button>
414
+
415
+ <button type="button" class="deactivate license-btn <?php if($alm_nextpage_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
416
+ <?php _e('Deactivate License', 'ajax-load-more'); ?>
417
+ </button>
418
+ </div>
419
+
420
+ </form>
421
+ </div>
422
+ <div class="loading"></div>
423
+ </div>
424
+ <?php
425
+ }
426
+ // End NEXT PAGE
427
+ ?>
428
+
429
+
430
 
431
  <?php
432
  if (has_action('alm_paging_installed')){
admin/views/settings.php CHANGED
@@ -38,7 +38,7 @@
38
 
39
  <div class="group">
40
  <?php
41
- if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_next_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_theme_repeaters_settings')) {
42
  ?>
43
  <div class="admin-select">
44
  <label fo"alm-settings-nav" class="offscreen">
@@ -62,7 +62,7 @@
62
  if(has_action('alm_seo_settings'))
63
  echo '<option value="7">'.__('SEO', 'ajax-load-more').'</option>';
64
  if(has_action('alm_theme_repeaters_settings'))
65
- echo '<option value="8">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
66
  ?>
67
  </select>
68
  </div>
38
 
39
  <div class="group">
40
  <?php
41
+ if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_prev_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_theme_repeaters_settings')) {
42
  ?>
43
  <div class="admin-select">
44
  <label fo"alm-settings-nav" class="offscreen">
62
  if(has_action('alm_seo_settings'))
63
  echo '<option value="7">'.__('SEO', 'ajax-load-more').'</option>';
64
  if(has_action('alm_theme_repeaters_settings'))
65
+ echo '<option value="8">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
66
  ?>
67
  </select>
68
  </div>
ajax-load-more.php CHANGED
@@ -7,15 +7,14 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
- Version: 2.13.1
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
- */
14
-
15
 
16
 
17
- define('ALM_VERSION', '2.13.1');
18
- define('ALM_RELEASE', 'December 5, 2016');
19
  define('ALM_STORE_URL', 'https://connekthq.com');
20
 
21
 
@@ -153,6 +152,7 @@ if( !class_exists('AjaxLoadMore') ):
153
  if (!defined('ALM_COMMENTS_ITEM_NAME')) define('ALM_COMMENTS_ITEM_NAME', '12172');
154
  if (!defined('ALM_UNLIMITED_ITEM_NAME')) define('ALM_UNLIMITED_ITEM_NAME', '3118');
155
  if (!defined('ALM_LAYOUTS_ITEM_NAME')) define('ALM_LAYOUTS_ITEM_NAME', '11398');
 
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');
@@ -274,6 +274,7 @@ if( !class_exists('AjaxLoadMore') ):
274
  'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
275
  'pluginurl' => ALM_URL,
276
  'scrolltop' => $scrolltop,
 
277
  )
278
  );
279
 
@@ -288,10 +289,8 @@ if( !class_exists('AjaxLoadMore') ):
288
  * @since 2.0.0
289
  */
290
 
291
- public function alm_shortcode($atts) {
292
-
293
- return ALM_SHORTCODE::alm_render_shortcode($atts);
294
-
295
  }
296
 
297
 
@@ -321,7 +320,7 @@ if( !class_exists('AjaxLoadMore') ):
321
  $canonical_url = (isset($_GET['canonical_url'])) ? $_GET['canonical_url'] : $_SERVER['HTTP_REFERER'];
322
 
323
  $queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
324
-
325
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
326
 
327
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
@@ -385,14 +384,14 @@ if( !class_exists('AjaxLoadMore') ):
385
  } else {
386
  $post_status = 'publish';
387
  }
388
- }
389
-
390
 
391
 
392
  // Page Parameters
393
  $posts_per_page = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
394
  $page = (isset($_GET['page'])) ? $_GET['page'] : 0;
395
 
 
396
  // Preload Add-on
397
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
398
  $preloaded_amount = (isset($_GET['preloaded_amount'])) ? $_GET['preloaded_amount'] : '5';
@@ -402,6 +401,7 @@ if( !class_exists('AjaxLoadMore') ):
402
  $offset = $offset + $preloaded_amount;
403
  }
404
 
 
405
  // CTA Add-on
406
  $cta = false;
407
  $ctaData = (isset($_GET['cta'])) ? $_GET['cta'] : '';
@@ -418,16 +418,20 @@ if( !class_exists('AjaxLoadMore') ):
418
  $cta_theme_repeater = (isset($ctaData['cta_theme_repeater'])) ? $ctaData['cta_theme_repeater'] : 'null';
419
  }
420
 
 
421
  // Previous Post Add-on
422
  $is_previous_post = (isset($_GET['previous_post'])) ? $_GET['previous_post'] : false;
423
  $previous_post_id = (isset($_GET['previous_post_id'])) ? $_GET['previous_post_id'] : '';
424
 
 
425
  // Paging Add-on
426
  $paging = (isset($_GET['paging'])) ? $_GET['paging'] : false;
427
 
 
428
  // SEO Add-on
429
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
430
 
 
431
  // Language (Is this required?)
432
  $lang = (isset($_GET['lang'])) ? $_GET['lang'] : '';
433
 
@@ -603,8 +607,7 @@ if( !class_exists('AjaxLoadMore') ):
603
  $args[$argument[0]] = $argument_arr;
604
  }else{
605
  $args[$argument[0]] = $argument[1];
606
- }
607
-
608
  }
609
  }
610
 
@@ -619,7 +622,8 @@ if( !class_exists('AjaxLoadMore') ):
619
  }else{
620
  $alm_page_count = $page + 1;
621
  }
622
-
 
623
 
624
  /*
625
  * alm_prev_post_args
@@ -654,7 +658,8 @@ if( !class_exists('AjaxLoadMore') ):
654
  * @return $args;
655
  */
656
  $args = apply_filters('alm_query_args_'.$id, $args); // ALM Core Filter Hook
657
-
 
658
 
659
  /*
660
  * WP_Query
@@ -663,10 +668,11 @@ if( !class_exists('AjaxLoadMore') ):
663
  *
664
  * @return $alm_query;
665
  */
666
- $alm_query = new WP_Query( $args ); // WP_Query()
667
 
 
 
668
 
669
- // If preload, update our loop count and total posts
670
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
671
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
672
  if($old_offset > 0)
@@ -800,9 +806,10 @@ if( !class_exists('AjaxLoadMore') ):
800
 
801
  }
802
 
803
- }elseif($queryType === 'totalposts'){
 
804
 
805
- echo $alm_total_posts; // Paging add-on
806
 
807
  }
808
 
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
+ Version: 2.14.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
+ */
 
14
 
15
 
16
+ define('ALM_VERSION', '2.14.0');
17
+ define('ALM_RELEASE', 'February 14, 2016');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
152
  if (!defined('ALM_COMMENTS_ITEM_NAME')) define('ALM_COMMENTS_ITEM_NAME', '12172');
153
  if (!defined('ALM_UNLIMITED_ITEM_NAME')) define('ALM_UNLIMITED_ITEM_NAME', '3118');
154
  if (!defined('ALM_LAYOUTS_ITEM_NAME')) define('ALM_LAYOUTS_ITEM_NAME', '11398');
155
+ if (!defined('ALM_NEXTPAGE_ITEM_NAME')) define('ALM_NEXTPAGE_ITEM_NAME', '24540');
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');
274
  'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
275
  'pluginurl' => ALM_URL,
276
  'scrolltop' => $scrolltop,
277
+ 'ajax_object' => array('is_single' => true, 'is_singular' => true )
278
  )
279
  );
280
 
289
  * @since 2.0.0
290
  */
291
 
292
+ public function alm_shortcode($atts) {
293
+ return ALM_SHORTCODE::alm_render_shortcode($atts);
 
 
294
  }
295
 
296
 
320
  $canonical_url = (isset($_GET['canonical_url'])) ? $_GET['canonical_url'] : $_SERVER['HTTP_REFERER'];
321
 
322
  $queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
323
+
324
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
325
 
326
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
384
  } else {
385
  $post_status = 'publish';
386
  }
387
+ }
 
388
 
389
 
390
  // Page Parameters
391
  $posts_per_page = (isset($_GET['posts_per_page'])) ? $_GET['posts_per_page'] : 5;
392
  $page = (isset($_GET['page'])) ? $_GET['page'] : 0;
393
 
394
+
395
  // Preload Add-on
396
  $preloaded = (isset($_GET['preloaded'])) ? $_GET['preloaded'] : 'false';
397
  $preloaded_amount = (isset($_GET['preloaded_amount'])) ? $_GET['preloaded_amount'] : '5';
401
  $offset = $offset + $preloaded_amount;
402
  }
403
 
404
+
405
  // CTA Add-on
406
  $cta = false;
407
  $ctaData = (isset($_GET['cta'])) ? $_GET['cta'] : '';
418
  $cta_theme_repeater = (isset($ctaData['cta_theme_repeater'])) ? $ctaData['cta_theme_repeater'] : 'null';
419
  }
420
 
421
+
422
  // Previous Post Add-on
423
  $is_previous_post = (isset($_GET['previous_post'])) ? $_GET['previous_post'] : false;
424
  $previous_post_id = (isset($_GET['previous_post_id'])) ? $_GET['previous_post_id'] : '';
425
 
426
+
427
  // Paging Add-on
428
  $paging = (isset($_GET['paging'])) ? $_GET['paging'] : false;
429
 
430
+
431
  // SEO Add-on
432
  $seo_start_page = (isset($_GET['seo_start_page'])) ? $_GET['seo_start_page'] : 1;
433
 
434
+
435
  // Language (Is this required?)
436
  $lang = (isset($_GET['lang'])) ? $_GET['lang'] : '';
437
 
607
  $args[$argument[0]] = $argument_arr;
608
  }else{
609
  $args[$argument[0]] = $argument[1];
610
+ }
 
611
  }
612
  }
613
 
622
  }else{
623
  $alm_page_count = $page + 1;
624
  }
625
+
626
+
627
 
628
  /*
629
  * alm_prev_post_args
658
  * @return $args;
659
  */
660
  $args = apply_filters('alm_query_args_'.$id, $args); // ALM Core Filter Hook
661
+
662
+
663
 
664
  /*
665
  * WP_Query
668
  *
669
  * @return $alm_query;
670
  */
 
671
 
672
+ $alm_query = new WP_Query( $args );
673
+
674
 
675
+ // If preloaded, update our loop count and total posts
676
  if(has_action('alm_preload_installed') && $preloaded === 'true'){
677
  $alm_total_posts = $alm_query->found_posts - $offset + $preloaded_amount;
678
  if($old_offset > 0)
806
 
807
  }
808
 
809
+ }
810
+ elseif($queryType === 'totalposts'){ // Paging add-on
811
 
812
+ echo $alm_total_posts;
813
 
814
  }
815
 
core/classes/class.alm-shortcode.php CHANGED
@@ -56,6 +56,12 @@ if( !class_exists('ALM_SHORTCODE') ):
56
  'comments_template' => 'none',
57
  'comments_callback' => '',
58
  'comments_post_id' => 'null',
 
 
 
 
 
 
59
  'previous_post' => false,
60
  'previous_post_id' => 'null',
61
  'previous_post_taxonomy' => '',
@@ -135,8 +141,8 @@ if( !class_exists('ALM_SHORTCODE') ):
135
  if(has_action('alm_prev_post_installed') && $previous_post === 'true'){
136
  wp_enqueue_script( 'ajax-load-more-previous-post' );
137
  }
138
- if(has_action('alm_layouts_installed')){
139
- //wp_enqueue_script( 'ajax-load-more-layouts' ); // Not yet :)
140
  }
141
 
142
  if($previous_post === 'true'){
@@ -224,9 +230,8 @@ if( !class_exists('ALM_SHORTCODE') ):
224
  if($paging === 'true'){
225
  $paging_container_class = ' alm-paging-wrap';
226
 
227
- $preloaded = false;
228
  // If Preloaded & Paging, pause loading by default.
229
- // Still work to do here with SEO add-on
230
  if($preloaded === 'true'){
231
  $pause = 'true';
232
  $pause_override = 'false';
@@ -254,7 +259,13 @@ if( !class_exists('ALM_SHORTCODE') ):
254
  $the_id = '';
255
  }
256
 
257
- $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" '.$the_id.' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'">';
 
 
 
 
 
 
258
 
259
 
260
  // Previous Post Add-on
@@ -275,6 +286,17 @@ if( !class_exists('ALM_SHORTCODE') ):
275
  $seo = false;
276
  $paging = false;
277
  $cache = false;
 
 
 
 
 
 
 
 
 
 
 
278
  }
279
 
280
 
@@ -434,7 +456,12 @@ if( !class_exists('ALM_SHORTCODE') ):
434
  $preloaded_output .= '<'.$container_element.' class="alm-listing alm-preloaded'. $classname .' '. $css_classes .'" data-total-posts="'. $alm_total_posts .'">';
435
 
436
  if($seo === "true" && $paging === 'false'){
437
- $preloaded_output .= '<div class="alm-reveal alm-seo" data-page="1" data-url="'.$canonicalURL.'">';
 
 
 
 
 
438
  }
439
  if($seo === "false" && $paging === 'true' || $seo === "true" && $paging === 'true'){
440
  $preloaded_output .= '<div class="alm-reveal">';
@@ -583,7 +610,22 @@ if( !class_exists('ALM_SHORTCODE') ):
583
  $options
584
  );
585
  $ajaxloadmore .= $prev_post_return;
586
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
587
 
588
  $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
589
  if($theme_repeater != 'null'){
@@ -644,7 +686,7 @@ if( !class_exists('ALM_SHORTCODE') ):
644
 
645
 
646
  // Previous Post Add-on
647
- // - Get first post and append to ajax load more object
648
  if(has_action('alm_prev_post_installed') && $previous_post){
649
  $repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
650
  $repeater_type = $repeater_type[0]; // (default | repeater | template_)
@@ -657,6 +699,7 @@ if( !class_exists('ALM_SHORTCODE') ):
657
  // Get previous post include, build output from the next post filter
658
  $previous_post_output = '<div class="alm-reveal alm-previous-post post-'. $previous_post_id .'" data-url="'. $previous_post_permanlink .'" data-title="'. get_the_title($previous_post_id) .'" data-id="'. $previous_post_id .'">'; // Set the post id .alm-reveal div
659
 
 
660
  /*
661
  * alm_prev_post_inc
662
  *
@@ -670,8 +713,24 @@ if( !class_exists('ALM_SHORTCODE') ):
670
  $ajaxloadmore .= $previous_post_output; // Add $previous_post_output data to $ajaxloadmore
671
 
672
  }
673
- // / Previous Post Add-on
674
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
675
 
676
  $ajaxloadmore .= '</'.$container_element.'>';
677
 
56
  'comments_template' => 'none',
57
  'comments_callback' => '',
58
  'comments_post_id' => 'null',
59
+ 'nextpage' => false,
60
+ 'nextpage_post_id' => 'null',
61
+ 'nextpage_urls' => 'true',
62
+ 'nextpage_scroll' => '250:30',
63
+ 'nextpage_pageviews' => 'true',
64
+ 'nextpage_start' => 1,
65
  'previous_post' => false,
66
  'previous_post_id' => 'null',
67
  'previous_post_taxonomy' => '',
141
  if(has_action('alm_prev_post_installed') && $previous_post === 'true'){
142
  wp_enqueue_script( 'ajax-load-more-previous-post' );
143
  }
144
+ if(has_action('alm_nextpage_installed') && $nextpage === 'true'){
145
+ wp_enqueue_script( 'ajax-load-more-nextpage' );
146
  }
147
 
148
  if($previous_post === 'true'){
230
  if($paging === 'true'){
231
  $paging_container_class = ' alm-paging-wrap';
232
 
 
233
  // If Preloaded & Paging, pause loading by default.
234
+ // Added in 2.14.0
235
  if($preloaded === 'true'){
236
  $pause = 'true';
237
  $pause_override = 'false';
259
  $the_id = '';
260
  }
261
 
262
+ // Is Search
263
+ $is_search = '';
264
+ if(is_search()){
265
+ $is_search = 'data-search="true"'; // set attr for use with SEO
266
+ }
267
+
268
+ $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" '.$the_id.' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'" '. $is_search .'>';
269
 
270
 
271
  // Previous Post Add-on
286
  $seo = false;
287
  $paging = false;
288
  $cache = false;
289
+ }
290
+
291
+
292
+ // Nextpage Add-on
293
+ // - Set other add-on params to false
294
+ if($nextpage){
295
+ $previous_post = false;
296
+ $seo = false;
297
+ $cache = false;
298
+ $comments = false;
299
+ $pause = 'true';
300
  }
301
 
302
 
456
  $preloaded_output .= '<'.$container_element.' class="alm-listing alm-preloaded'. $classname .' '. $css_classes .'" data-total-posts="'. $alm_total_posts .'">';
457
 
458
  if($seo === "true" && $paging === 'false'){
459
+ if(is_search()){
460
+ // If search, append slug (?s=term) to data-url
461
+ $preloaded_output .= '<div class="alm-reveal alm-seo" data-page="1" data-url="'.$canonicalURL.''. $slug .'">';
462
+ }else{
463
+ $preloaded_output .= '<div class="alm-reveal alm-seo" data-page="1" data-url="'.$canonicalURL.'">';
464
+ }
465
  }
466
  if($seo === "false" && $paging === 'true' || $seo === "true" && $paging === 'true'){
467
  $preloaded_output .= '<div class="alm-reveal">';
610
  $options
611
  );
612
  $ajaxloadmore .= $prev_post_return;
613
+ }
614
+
615
+
616
+ // Nextpage Post Add-on
617
+ if(has_action('alm_nextpage_installed') && $nextpage){
618
+ $nextpage_return = apply_filters(
619
+ 'alm_nextpage_shortcode',
620
+ $nextpage_urls,
621
+ $nextpage_pageviews,
622
+ $nextpage_post_id,
623
+ $nextpage_scroll,
624
+ $options
625
+ );
626
+ $ajaxloadmore .= $nextpage_return;
627
+ }
628
+
629
 
630
  $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
631
  if($theme_repeater != 'null'){
686
 
687
 
688
  // Previous Post Add-on
689
+ // - Get first post, append data to ajax load more object
690
  if(has_action('alm_prev_post_installed') && $previous_post){
691
  $repeater_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
692
  $repeater_type = $repeater_type[0]; // (default | repeater | template_)
699
  // Get previous post include, build output from the next post filter
700
  $previous_post_output = '<div class="alm-reveal alm-previous-post post-'. $previous_post_id .'" data-url="'. $previous_post_permanlink .'" data-title="'. get_the_title($previous_post_id) .'" data-id="'. $previous_post_id .'">'; // Set the post id .alm-reveal div
701
 
702
+
703
  /*
704
  * alm_prev_post_inc
705
  *
713
  $ajaxloadmore .= $previous_post_output; // Add $previous_post_output data to $ajaxloadmore
714
 
715
  }
716
+ // End Previous Post Add-on
717
+
718
+
719
+ // Next Page Add-on
720
+ if(has_action('alm_nextpage_installed') && $nextpage){
721
+
722
+ $nextpage_start = alm_get_startpage();
723
+
724
+ $nextpage_is_paged = false;
725
+ if($nextpage_start > 1){
726
+ $nextpage_is_paged = true;
727
+ }
728
+
729
+ $alm_nextpage_output = apply_filters('alm_init_nextpage', $nextpage_post_id, $nextpage_start,$nextpage_is_paged, $paging);
730
+ $ajaxloadmore .= $alm_nextpage_output;
731
+
732
+ }
733
+ // End Next Page Add-on
734
 
735
  $ajaxloadmore .= '</'.$container_element.'>';
736
 
core/functions.php CHANGED
@@ -424,10 +424,14 @@ function alm_get_canonical_url(){
424
  $tax_id = $tax_term->term_id;
425
  $canonicalURL = get_term_link($tax_id);
426
  }
427
- // post_type
428
  elseif(is_post_type_archive()){
429
  $post_type_archive = get_post_type();
430
  $canonicalURL = get_post_type_archive_link($post_type_archive);
 
 
 
 
431
  }
432
  else{
433
  $canonicalURL = get_permalink();
@@ -452,7 +456,17 @@ function alm_get_page_slug($post){
452
  if(is_front_page() || is_home()){
453
  $slug = 'home';
454
  }else{
455
- $slug = $post->post_name;
 
 
 
 
 
 
 
 
 
 
456
  }
457
  }else{
458
  // Tax
@@ -503,6 +517,25 @@ function alm_get_page_slug($post){
503
 
504
 
505
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
  /*
507
  * alm_paging_no_script
508
  * Create paging navigation
424
  $tax_id = $tax_term->term_id;
425
  $canonicalURL = get_term_link($tax_id);
426
  }
427
+ // Post Type
428
  elseif(is_post_type_archive()){
429
  $post_type_archive = get_post_type();
430
  $canonicalURL = get_post_type_archive_link($post_type_archive);
431
+ }
432
+ // Search
433
+ elseif(is_search()){
434
+ $canonicalURL = get_home_url().'/';
435
  }
436
  else{
437
  $canonicalURL = get_permalink();
456
  if(is_front_page() || is_home()){
457
  $slug = 'home';
458
  }else{
459
+ // Search
460
+ if(is_search()){
461
+ $search_query = get_search_query();
462
+ if($search_query){
463
+ $slug = "?s=$search_query";
464
+ }else{
465
+ $slug = '?s=';
466
+ }
467
+ }else{
468
+ $slug = $post->post_name;
469
+ }
470
  }
471
  }else{
472
  // Tax
517
 
518
 
519
 
520
+ /*
521
+ * alm_get_startpage
522
+ * Get query param of start page (paged, page)
523
+ *
524
+ * @since 2.14.0
525
+ */
526
+ function alm_get_startpage(){
527
+ if ( get_query_var('paged') ) {
528
+ $start_page = get_query_var('paged');
529
+ } elseif ( get_query_var('page') ) {
530
+ $start_page = get_query_var('page');
531
+ } else {
532
+ $start_page = 1;
533
+ }
534
+ return $start_page;
535
+ }
536
+
537
+
538
+
539
  /*
540
  * alm_paging_no_script
541
  * Create paging navigation
core/js/ajax-load-more.js CHANGED
@@ -40,13 +40,16 @@
40
  alm.content = $('.alm-ajax', alm.container);
41
  alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
42
  alm.canonical_url = alm.el.attr('data-canonical-url');
 
43
  alm.slug = alm.el.attr('data-slug');
44
  alm.prefix = 'alm-';
45
- alm.cache = alm.content.attr('data-cache'); // cache (true/false)
 
46
  alm.cache_id = alm.content.attr('data-cache-id'); // cache value
47
  alm.cache_path = alm.content.attr('data-cache-path'); // cache path
48
  alm.cache_logged_in = alm.content.attr('data-cache-logged-in'); // cache logged in (settings)
49
- alm.repeater = alm.content.attr('data-repeater');
 
50
  alm.theme_repeater = alm.content.attr('data-theme-repeater');
51
 
52
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
@@ -63,18 +66,25 @@
63
  alm.posts_per_page = alm.content.attr('data-posts-per-page');
64
 
65
  alm.cta_array = '';
66
- alm.cta = alm.content.attr('data-cta'); // is Alternating Templates enabled?
67
  alm.cta_position = alm.content.attr('data-cta-position');
68
  alm.cta_repeater = alm.content.attr('data-cta-repeater');
69
  alm.cta_theme_repeater = alm.content.attr('data-cta-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
74
 
75
- alm.comments = alm.content.attr('data-comments'); // true | false
76
- // if comments, then set alm.content to comments wrap
77
- if(alm.comments === 'true'){
78
  alm.content = $('.alm-comments', alm.container);
79
  }
80
  alm.comments_array = '';
@@ -135,6 +145,7 @@
135
  alm.paging = false;
136
  }
137
 
 
138
  if(alm.paging_controls === 'true'){
139
  alm.paging_controls = true;
140
  }else{
@@ -184,7 +195,11 @@
184
  }
185
  if (alm.seo === 'true'){
186
  alm.seo = true; // Convert string to boolean
187
- }
 
 
 
 
188
 
189
  alm.permalink = alm.content.attr('data-seo-permalink');
190
  alm.pageview = alm.content.attr('data-seo-pageview');
@@ -211,6 +226,33 @@
211
  alm.start_page = 1;
212
  }
213
  /* End SEO */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
 
215
 
216
  /* Previous Post */
@@ -429,11 +471,28 @@
429
 
430
  var action = 'alm_query_posts';
431
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
432
  if(alm.previous_post){
433
  alm.previous_post_id = alm.content.attr('data-previous-post-id');
434
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy');
435
  }
436
 
 
437
  // Comment query
438
  if(alm.comments === 'true'){
439
  action = 'alm_comments_query';
@@ -446,10 +505,10 @@
446
  'style': alm.comments_style,
447
  'template': alm.comments_template,
448
  'callback': alm.comments_callback,
449
- };
450
-
451
  }
452
 
 
453
  // CTA Add-on Query params
454
  if(alm.cta === 'true'){
455
  alm.cta_array = {
@@ -458,7 +517,8 @@
458
  'cta_repeater': alm.cta_repeater,
459
  'cta_theme_repeater': alm.cta_theme_repeater,
460
  };
461
- }
 
462
 
463
  // REST API
464
  if(alm.restapi){
@@ -555,6 +615,7 @@
555
  cache_id : alm.cache_id,
556
  repeater : alm.repeater,
557
  theme_repeater : alm.theme_repeater,
 
558
  cta : alm.cta_array,
559
  comments : alm.comments_array,
560
  post_type : alm.post_type,
@@ -611,7 +672,14 @@
611
  if(queryType === 'standard'){
612
  alm.AjaxLoadMore.success(data, false);
613
  }
614
- else if(queryType === 'totalposts' && alm.paging){
 
 
 
 
 
 
 
615
  if($.isFunction($.fn.almBuildPagination)){
616
  $.fn.almBuildPagination(data, alm);
617
  }
@@ -630,8 +698,18 @@
630
 
631
 
632
  // If pagination enabled, run totalposts query
633
- if(alm.paging){
634
- alm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts
 
 
 
 
 
 
 
 
 
 
635
  }
636
 
637
 
@@ -763,12 +841,12 @@
763
  if(k > 0 || alm.preloaded === 'true'){ // > Paged
764
  var pagenum = (k + 1 + p);
765
  if(alm.permalink === 'default'){
766
- div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'&paged='+ pagenum+'" data-page="'+ pagenum +'" />');
767
  }else{
768
- div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+ pagenum +'/" data-page="'+ pagenum +'" />');
769
  }
770
  }else{ // First Page
771
- div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'" data-page="1" />');
772
  }
773
  div.append(data[k]);
774
  div = $(div); // convert to object
@@ -789,9 +867,9 @@
789
  var pagenum = (alm.page + 1 + p);
790
  if(alm.seo){
791
  if(alm.permalink === 'default'){
792
- alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'&paged='+ pagenum+'" data-page="'+ pagenum +'" />');
793
  }else{
794
- alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+ pagenum +'/" data-page="'+ pagenum +'" />');
795
  }
796
  }else{
797
  // Basic ALM
@@ -801,7 +879,7 @@
801
  }else{
802
  if(alm.seo){
803
  // SEO [Page 1]
804
- alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'" data-page="1" />');
805
  }else{
806
  // Basic ALM
807
  alm.el = $('<div class="alm-reveal" />');
@@ -826,9 +904,7 @@
826
  alm.button.delay(alm.speed).removeClass('loading');
827
  alm.AjaxLoadMore.resetBtnText();
828
  }
829
- if ($.isFunction($.fn.almSEO) && alm.seo) {
830
- $.fn.almSEO(alm);
831
- }
832
  });
833
  });
834
  }else{
@@ -838,9 +914,7 @@
838
  alm.button.delay(alm.speed).removeClass('loading');
839
  alm.AjaxLoadMore.resetBtnText();
840
  }
841
- if ($.isFunction($.fn.almSEO) && alm.seo) {
842
- $.fn.almSEO(alm);
843
- }
844
  });
845
  }
846
 
@@ -848,15 +922,11 @@
848
  if(alm.images_loaded === 'true'){
849
  alm.el.almWaitForImages().done(function(){
850
  alm.el.show();
851
- if ($.isFunction($.fn.almSEO) && alm.seo) {
852
- $.fn.almSEO(alm);
853
- }
854
  });
855
  }else{
856
  alm.el.show();
857
- if ($.isFunction($.fn.almSEO) && alm.seo) {
858
- $.fn.almSEO(alm);
859
- }
860
  }
861
  alm.loading = false;
862
  if(!alm.paging){
@@ -873,9 +943,7 @@
873
  alm.button.delay(alm.speed).removeClass('loading');
874
  alm.AjaxLoadMore.resetBtnText();
875
  }
876
- if ($.isFunction($.fn.almSEO) && alm.seo) {
877
- $.fn.almSEO(alm);
878
- }
879
  });
880
  });
881
  }else{
@@ -884,10 +952,8 @@
884
  if(!alm.paging){
885
  alm.button.delay(alm.speed).removeClass('loading');
886
  alm.AjaxLoadMore.resetBtnText();
887
- }
888
- if ($.isFunction($.fn.almSEO) && alm.seo) {
889
- $.fn.almSEO(alm);
890
- }
891
  });
892
  }
893
  }
@@ -902,18 +968,14 @@
902
  if ($.isFunction($.fn.almOnPagingComplete)){
903
  $.fn.almOnPagingComplete(alm);
904
  }
905
- if ($.isFunction($.fn.almSEO) && alm.seo) { // ALM SEO
906
- $.fn.almSEO(alm);
907
- }
908
  });
909
  } else {
910
- if ($.isFunction($.fn.almSEO) && alm.seo) { // ALM SEO
911
- $.fn.almSEO(alm);
912
- }
913
  }
914
  // End Paging -- /
915
 
916
- }
917
 
918
  // ALM Complete
919
  if ($.isFunction($.fn.almComplete)) {
@@ -981,6 +1043,7 @@
981
  * @since 2.11.3
982
  */
983
  alm.AjaxLoadMore.pagingPreloadedInit = function(data){
 
984
  alm.el = $('<div class="alm-reveal"/>');
985
  alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');
986
  alm.content.append(alm.el);
@@ -998,6 +1061,41 @@
998
 
999
 
1000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1001
 
1002
  /* getPreviousPost()
1003
  *
@@ -1042,6 +1140,22 @@
1042
 
1043
 
1044
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1045
  /* triggerDone()
1046
  *
1047
  * Fires the almDone() function (if available).
@@ -1124,13 +1238,22 @@
1124
  * @since 2.1.2
1125
  */
1126
  if(alm.paging){
1127
- alm.window.resize(function() {
 
1128
  if ($.isFunction($.fn.almOnWindowResize)){
1129
- setTimeout(function(){
1130
- $.fn.almOnWindowResize(alm);
1131
- }, 250);
1132
  }
1133
- });
 
 
 
 
 
 
 
 
 
 
1134
  }
1135
 
1136
 
@@ -1204,6 +1327,18 @@
1204
  alm.AjaxLoadMore.getPreviousPost(); // Set next post on load
1205
  alm.loading = false;
1206
  }
 
 
 
 
 
 
 
 
 
 
 
 
1207
  }
1208
  alm.AjaxLoadMore.init();
1209
 
@@ -1225,21 +1360,43 @@
1225
  $.fn.almUpdateCurrentPage = function(current, obj, alm){
1226
  alm.page = current;
1227
 
1228
- // We will eventually use this function to combine Paging + Preloaded add-ons
1229
- //var alm_paging_init = false;
1230
- // If is paging init and preloaded, grab preloaded data, and append it .alm-reveal
1231
- if(alm.paging_init && alm.preloaded === 'true'){
1232
-
1233
- var data = $('.alm-preloaded .alm-reveal', alm.el).html(); // Content of preloaded page
 
 
 
 
 
 
 
 
 
 
1234
  $('.alm-preloaded', alm.el).remove();
1235
  alm.preloaded_amount = 0; // Reset
1236
  //alm.AjaxLoadMore.success(data, true); // Skip post loading and go right to success() for display
1237
  alm.AjaxLoadMore.pagingPreloadedInit(data);
1238
  alm.paging_init = false;
 
 
 
 
 
 
 
 
 
 
1239
  alm.init = false;
1240
 
1241
- }else{
1242
-
 
 
1243
  alm.AjaxLoadMore.loadPosts();
1244
 
1245
  }
@@ -1420,7 +1577,7 @@
1420
  v2.0.2
1421
  Based on https://github.com/alexanderdickson/almWaitForImages
1422
  */
1423
- // Include almWaitForImages() for paging add-on
1424
  ;(function (factory) {
1425
  if (typeof define === 'function' && define.amd) {
1426
  // AMD. Register as an anonymous module.
40
  alm.content = $('.alm-ajax', alm.container);
41
  alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
42
  alm.canonical_url = alm.el.attr('data-canonical-url');
43
+ alm.is_search = alm.el.attr('data-search');
44
  alm.slug = alm.el.attr('data-slug');
45
  alm.prefix = 'alm-';
46
+
47
+ alm.cache = alm.content.attr('data-cache'); // Cache add-on
48
  alm.cache_id = alm.content.attr('data-cache-id'); // cache value
49
  alm.cache_path = alm.content.attr('data-cache-path'); // cache path
50
  alm.cache_logged_in = alm.content.attr('data-cache-logged-in'); // cache logged in (settings)
51
+
52
+ alm.repeater = alm.content.attr('data-repeater'); // Repeaters
53
  alm.theme_repeater = alm.content.attr('data-theme-repeater');
54
 
55
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
66
  alm.posts_per_page = alm.content.attr('data-posts-per-page');
67
 
68
  alm.cta_array = '';
69
+ alm.cta = alm.content.attr('data-cta'); // CTA add-on
70
  alm.cta_position = alm.content.attr('data-cta-position');
71
  alm.cta_repeater = alm.content.attr('data-cta-repeater');
72
  alm.cta_theme_repeater = alm.content.attr('data-cta-theme-repeater');
73
 
74
+ alm.nextpage_array = '';
75
+ alm.nextpage = alm.content.attr('data-nextpage'); // Nextpage add-on
76
+ alm.nextpage_urls = alm.content.attr('data-nextpage-urls'); // Update url
77
+ alm.nextpage_scroll = alm.content.attr('data-nextpage-scroll'); // Scroll
78
+ alm.nextpage_pageviews = alm.content.attr('data-nextpage-pageviews'); // pageviews
79
+ alm.nextpage_post_id = alm.content.attr('data-nextpage-post-id'); // Get the nextpage id
80
+ alm.nextpage_startpage = alm.content.attr('data-nextpage-startpage'); // nextpage startpage
81
+
82
+ alm.previous_post = alm.content.attr('data-previous-post'); // Previous Post add-on
83
  alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
84
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
85
 
86
+ alm.comments = alm.content.attr('data-comments'); // true | false
87
+ if(alm.comments === 'true'){ // if comments, then set alm.content to comments wrap
 
88
  alm.content = $('.alm-comments', alm.container);
89
  }
90
  alm.comments_array = '';
145
  alm.paging = false;
146
  }
147
 
148
+
149
  if(alm.paging_controls === 'true'){
150
  alm.paging_controls = true;
151
  }else{
195
  }
196
  if (alm.seo === 'true'){
197
  alm.seo = true; // Convert string to boolean
198
+ }
199
+ if (alm.is_search === undefined){
200
+ alm.is_search = false;
201
+ }
202
+ alm.search_value = (alm.is_search === 'true') ? alm.slug : ''; // Convert to value of slug for appending to seo url
203
 
204
  alm.permalink = alm.content.attr('data-seo-permalink');
205
  alm.pageview = alm.content.attr('data-seo-pageview');
226
  alm.start_page = 1;
227
  }
228
  /* End SEO */
229
+
230
+
231
+ /* Nextpage */
232
+
233
+ if (alm.nextpage === 'true'){
234
+ alm.nextpage = true;
235
+ }else{
236
+ alm.nextpage = false;
237
+ }
238
+ if (alm.nextpage_urls === undefined){
239
+ alm.nextpage = 'true';
240
+ }
241
+ if (alm.nextpage_scroll === undefined){
242
+ alm.nextpage_scroll = '250:30';
243
+ }
244
+ if (alm.nextpage_pageviews === undefined){
245
+ alm.nextpage_pageviews = 'true';
246
+ }
247
+ if (alm.nextpage_post_id === undefined){
248
+ alm.nextpage = false;
249
+ alm.nextpage_post_id = null;
250
+ }
251
+ if (alm.nextpage_startpage === undefined){
252
+ alm.nextpage_startpage = 1;
253
+ }
254
+
255
+ /* End Nextpage */
256
 
257
 
258
  /* Previous Post */
471
 
472
  var action = 'alm_query_posts';
473
 
474
+
475
+ // Nextpage Params
476
+ if(alm.nextpage){
477
+ action = 'alm_nextpage_query';
478
+ alm.nextpage_array = {
479
+ 'nextpage' : 'true',
480
+ 'urls' : alm.nextpage_urls,
481
+ 'scroll' : alm.nextpage_scroll,
482
+ 'pageviews' : alm.nextpage_pageviews,
483
+ 'post_id' : alm.nextpage_post_id,
484
+ 'startpage' : alm.nextpage_startpage
485
+ };
486
+ }
487
+
488
+
489
+ // Previous Post Params
490
  if(alm.previous_post){
491
  alm.previous_post_id = alm.content.attr('data-previous-post-id');
492
  alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy');
493
  }
494
 
495
+
496
  // Comment query
497
  if(alm.comments === 'true'){
498
  action = 'alm_comments_query';
505
  'style': alm.comments_style,
506
  'template': alm.comments_template,
507
  'callback': alm.comments_callback,
508
+ };
 
509
  }
510
 
511
+
512
  // CTA Add-on Query params
513
  if(alm.cta === 'true'){
514
  alm.cta_array = {
517
  'cta_repeater': alm.cta_repeater,
518
  'cta_theme_repeater': alm.cta_theme_repeater,
519
  };
520
+ }
521
+
522
 
523
  // REST API
524
  if(alm.restapi){
615
  cache_id : alm.cache_id,
616
  repeater : alm.repeater,
617
  theme_repeater : alm.theme_repeater,
618
+ nextpage : alm.nextpage_array,
619
  cta : alm.cta_array,
620
  comments : alm.comments_array,
621
  post_type : alm.post_type,
672
  if(queryType === 'standard'){
673
  alm.AjaxLoadMore.success(data, false);
674
  }
675
+ else if(queryType === 'totalpages' && alm.paging && alm.nextpage){
676
+ // Next Page and Paging
677
+ if($.isFunction($.fn.almBuildPagination)){
678
+ $.fn.almBuildPagination(data, alm);
679
+ }
680
+ }
681
+ else if(queryType === 'totalposts' && alm.paging){
682
+ // Paging
683
  if($.isFunction($.fn.almBuildPagination)){
684
  $.fn.almBuildPagination(data, alm);
685
  }
698
 
699
 
700
  // If pagination enabled, run totalposts query
701
+ if(alm.paging){
702
+
703
+ if(alm.nextpage){
704
+
705
+ alm.AjaxLoadMore.ajax('totalpages'); // Create paging menu and query for total pages
706
+
707
+ } else {
708
+
709
+ alm.AjaxLoadMore.ajax('totalposts'); // Create paging menu and query for total posts
710
+
711
+ }
712
+
713
  }
714
 
715
 
841
  if(k > 0 || alm.preloaded === 'true'){ // > Paged
842
  var pagenum = (k + 1 + p);
843
  if(alm.permalink === 'default'){
844
+ div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+ alm.search_value +'&paged='+ pagenum+'" data-page="'+ pagenum +'" />');
845
  }else{
846
+ div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+ pagenum +'/'+ alm.search_value +'" data-page="'+ pagenum +'" />');
847
  }
848
  }else{ // First Page
849
+ div = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+ alm.search_value +'" data-page="1" />');
850
  }
851
  div.append(data[k]);
852
  div = $(div); // convert to object
867
  var pagenum = (alm.page + 1 + p);
868
  if(alm.seo){
869
  if(alm.permalink === 'default'){
870
+ alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+ alm.search_value +'&paged='+ pagenum+'" data-page="'+ pagenum +'" />');
871
  }else{
872
+ alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+ pagenum +'/'+ alm.search_value +'" data-page="'+ pagenum +'" />');
873
  }
874
  }else{
875
  // Basic ALM
879
  }else{
880
  if(alm.seo){
881
  // SEO [Page 1]
882
+ alm.el = $('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+ alm.search_value +'" data-page="1" />');
883
  }else{
884
  // Basic ALM
885
  alm.el = $('<div class="alm-reveal" />');
904
  alm.button.delay(alm.speed).removeClass('loading');
905
  alm.AjaxLoadMore.resetBtnText();
906
  }
907
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
908
  });
909
  });
910
  }else{
914
  alm.button.delay(alm.speed).removeClass('loading');
915
  alm.AjaxLoadMore.resetBtnText();
916
  }
917
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
918
  });
919
  }
920
 
922
  if(alm.images_loaded === 'true'){
923
  alm.el.almWaitForImages().done(function(){
924
  alm.el.show();
925
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
926
  });
927
  }else{
928
  alm.el.show();
929
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
930
  }
931
  alm.loading = false;
932
  if(!alm.paging){
943
  alm.button.delay(alm.speed).removeClass('loading');
944
  alm.AjaxLoadMore.resetBtnText();
945
  }
946
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
947
  });
948
  });
949
  }else{
952
  if(!alm.paging){
953
  alm.button.delay(alm.speed).removeClass('loading');
954
  alm.AjaxLoadMore.resetBtnText();
955
+ }
956
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
957
  });
958
  }
959
  }
968
  if ($.isFunction($.fn.almOnPagingComplete)){
969
  $.fn.almOnPagingComplete(alm);
970
  }
971
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
972
  });
973
  } else {
974
+ alm.AjaxLoadMore.triggerAddons(alm);
 
 
975
  }
976
  // End Paging -- /
977
 
978
+ }
979
 
980
  // ALM Complete
981
  if ($.isFunction($.fn.almComplete)) {
1043
  * @since 2.11.3
1044
  */
1045
  alm.AjaxLoadMore.pagingPreloadedInit = function(data){
1046
+
1047
  alm.el = $('<div class="alm-reveal"/>');
1048
  alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');
1049
  alm.content.append(alm.el);
1061
 
1062
 
1063
 
1064
+ /* pagingNextpageInit()
1065
+ *
1066
+ * First run for Paging + Next Page add-ons
1067
+ * Moves .alm-nextpage content into ajax container
1068
+ * @since 2.14.0
1069
+ */
1070
+ alm.AjaxLoadMore.pagingNextpageInit = function(data){
1071
+ alm.el = $('<div class="alm-reveal alm-nextpage"/>');
1072
+ alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');
1073
+ alm.el.appendTo(alm.content);
1074
+ alm.content.parent().removeClass('loading'); // Remove loading class from main container
1075
+ alm.AjaxLoadMore.resetBtnText();
1076
+
1077
+ var paddingT = parseInt(alm.content.css('padding-top')),
1078
+ paddingB = parseInt(alm.content.css('padding-bottom'));
1079
+ alm.content.css('height', alm.el.height() + paddingT + paddingB + 'px');
1080
+
1081
+ if ($.isFunction($.fn.almSetNextPageVars)){
1082
+ $.fn.almSetNextPageVars(alm); // Next Page Add-on
1083
+ }
1084
+
1085
+ // Delay the following to avoid positioning
1086
+ setTimeout(function(){
1087
+ if ($.isFunction($.fn.almFadePageControls)){
1088
+ $.fn.almFadePageControls(alm.btnWrap); // Paging Add-on
1089
+ }
1090
+
1091
+ if ($.isFunction($.fn.almOnWindowResize)){
1092
+ $.fn.almOnWindowResize(alm); // Paging Add-on
1093
+ }
1094
+ }, 200);
1095
+ }
1096
+
1097
+
1098
+
1099
 
1100
  /* getPreviousPost()
1101
  *
1140
 
1141
 
1142
 
1143
+ /* loadComplete()
1144
+ *
1145
+ * Fires various add-on functions (if available) after load complete.
1146
+ * @since 2.14.0
1147
+ */
1148
+ alm.AjaxLoadMore.triggerAddons = function(alm){
1149
+ if ($.isFunction($.fn.almSEO) && alm.seo) {
1150
+ $.fn.almSEO(alm);
1151
+ }
1152
+ if($.isFunction($.fn.almSetNextPage)){
1153
+ $.fn.almSetNextPage(alm);
1154
+ }
1155
+ };
1156
+
1157
+
1158
+
1159
  /* triggerDone()
1160
  *
1161
  * Fires the almDone() function (if available).
1238
  * @since 2.1.2
1239
  */
1240
  if(alm.paging){
1241
+
1242
+ alm.window.bind('resizeEnd', function() {
1243
  if ($.isFunction($.fn.almOnWindowResize)){
1244
+ $.fn.almOnWindowResize(alm);
 
 
1245
  }
1246
+ });
1247
+
1248
+ alm.window.resize(function() {
1249
+ if(this.resizeTO){
1250
+ clearTimeout(this.resizeTO);
1251
+ }
1252
+ this.resizeTO = setTimeout(function() {
1253
+ $(this).trigger('resizeEnd');
1254
+ }, 250);
1255
+ });
1256
+
1257
  }
1258
 
1259
 
1327
  alm.AjaxLoadMore.getPreviousPost(); // Set next post on load
1328
  alm.loading = false;
1329
  }
1330
+ if(alm.nextpage){
1331
+ if($('.alm-nextpage').length > 1){
1332
+ // If alm-nextpage is greater than 1, check that posts remain.
1333
+ // triggerDone is total equals total-pages
1334
+ var alm_nextpage_pages = $('.alm-nextpage').length,
1335
+ alm_nextpage_total = $('.alm-nextpage').eq(0).data('total-pages');
1336
+
1337
+ if(alm_nextpage_pages == alm_nextpage_total){
1338
+ alm.AjaxLoadMore.triggerDone();
1339
+ }
1340
+ }
1341
+ }
1342
  }
1343
  alm.AjaxLoadMore.init();
1344
 
1360
  $.fn.almUpdateCurrentPage = function(current, obj, alm){
1361
  alm.page = current;
1362
 
1363
+ // Next Page add-on
1364
+ if(alm.nextpage && !alm.paging){
1365
+ alm.page = alm.page - 1; // Remove 1 from next page since it starts at 0
1366
+ }
1367
+
1368
+ var data = '';
1369
+
1370
+ /*
1371
+ Paging + Preloaded & Paging + Next Page
1372
+ If is paging init and preloaded, grab preloaded data, and append it .alm-reveal
1373
+ */
1374
+
1375
+ if(alm.paging_init && alm.preloaded === 'true'){
1376
+
1377
+ // Paging + Preloaded Firstrun
1378
+ data = $('.alm-preloaded .alm-reveal', alm.el).html(); // Content of preloaded page
1379
  $('.alm-preloaded', alm.el).remove();
1380
  alm.preloaded_amount = 0; // Reset
1381
  //alm.AjaxLoadMore.success(data, true); // Skip post loading and go right to success() for display
1382
  alm.AjaxLoadMore.pagingPreloadedInit(data);
1383
  alm.paging_init = false;
1384
+ alm.init = false;
1385
+
1386
+ }
1387
+ else if(alm.paging_init && alm.nextpage){
1388
+
1389
+ // Paging + Next Page Firstrun
1390
+ data = $('.alm-nextpage', alm.el).html();
1391
+ $('.alm-nextpage', alm.el).remove();
1392
+ alm.AjaxLoadMore.pagingNextpageInit(data);
1393
+ alm.paging_init = false;
1394
  alm.init = false;
1395
 
1396
+ }
1397
+ else{
1398
+
1399
+ // Standard Paging
1400
  alm.AjaxLoadMore.loadPosts();
1401
 
1402
  }
1577
  v2.0.2
1578
  Based on https://github.com/alexanderdickson/almWaitForImages
1579
  */
1580
+ // Include almWaitForImages()
1581
  ;(function (factory) {
1582
  if (typeof define === 'function' && define.amd) {
1583
  // AMD. Register as an anonymous module.
core/js/ajax-load-more.min.js CHANGED
@@ -1,5 +1,5 @@
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.posts=0;alm.totalposts=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-alm-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.cta_array='';alm.cta=alm.content.attr('data-cta');alm.cta_position=alm.content.attr('data-cta-position');alm.cta_repeater=alm.content.attr('data-cta-repeater');alm.cta_theme_repeater=alm.content.attr('data-cta-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');alm.paging_init=true;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;}
@@ -12,8 +12,15 @@ if(alm.preloaded==='true'){alm.preload_wrap=alm.content.prev('.alm-preloaded');a
12
  if(alm.preloaded_total_posts<=alm.preloaded_amount){alm.disable_ajax=true;}}else{alm.preloaded='false';}
13
  if(alm.seo===undefined){alm.seo=false;}
14
  if(alm.seo==='true'){alm.seo=true;}
15
- alm.permalink=alm.content.attr('data-seo-permalink');alm.pageview=alm.content.attr('data-seo-pageview');alm.start_page=alm.content.attr('data-seo-start-page');if(alm.start_page){alm.seo_scroll=alm.content.attr('data-seo-scroll');alm.seo_scroll_speed=alm.content.attr('data-seo-scroll-speed');alm.seo_scrolltop=alm.content.attr('data-seo-scrolltop');alm.isPaged=false;if(alm.start_page>1){alm.isPaged=true;alm.posts_per_page=alm.start_page*alm.posts_per_page;}
 
16
  if(alm.paging){alm.posts_per_page=alm.orginal_posts_per_page;}}else{alm.start_page=1;}
 
 
 
 
 
 
17
  if(alm.previous_post==='true'){alm.previous_post=true;alm.previous_post_permalink='';alm.previous_post_title='';}else{alm.previous_post=false;}
18
  if(alm.previous_post_id===undefined){alm.previous_post_id='';}
19
  if(alm.previous_post_taxonomy===undefined){alm.previous_post_taxonomy='';}
@@ -38,14 +45,16 @@ if(alm.content.attr('data-scroll')===undefined){alm.scroll=true;}else if(alm.con
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){var cache_page;if(alm.init&&alm.seo&&alm.isPaged){var firstpage='1';cache_page=alm.cache_path+'/page-'+firstpage+'-'+alm.start_page+'.html';}else{cache_page=alm.cache_path+'/page-'+(alm.page+1)+'.html';}
41
- $.get(cache_page,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');}
 
42
  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,};}
43
  if(alm.cta==='true'){alm.cta_array={'cta':'true','cta_position':alm.cta_position,'cta_repeater':alm.cta_repeater,'cta_theme_repeater':alm.cta_theme_repeater,};}
44
  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,id:el.attr('data-id')};$.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,html=results.html,meta=results.meta,postcount=meta.postcount,totalposts=meta.totalposts;$.each(html,function(e){var result=html[e];if(alm.restapi_debug==='true'){console.log(result);}
45
  data+=alm_template(result);});var obj={'html':data,'meta':{'postcount':postcount,'totalposts':totalposts},}
46
  alm.AjaxLoadMore.success(obj,false);}});}
47
- 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,cta:alm.cta_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,id:el.attr('data-id')},beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
48
- 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');}
 
49
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
50
  var html,meta,total;if(is_cache){html=data;}else{html=data.html;meta=data.meta;alm.posts=alm.posts+meta.postcount;total=meta.postcount;alm.totalposts=meta.totalposts;if(alm.preloaded==='true'){alm.totalposts=alm.totalposts-alm.preloaded_amount;}}
51
  alm.data=$(html);if(is_cache){total=alm.data.length;}
@@ -55,37 +64,46 @@ if(alm.isPaged){alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.p
55
  if(total>0){if(!alm.paging){if(alm.previous_post){alm.el=$('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');alm.el.append(alm.data).hide();}else{if(!alm.transition_container){alm.data.hide();alm.el=alm.data;}else{if(alm.init&&alm.start_page>1){var data=[],posts_per_page=parseInt(alm.posts_per_page);if(alm.cta==='true'){posts_per_page=posts_per_page+1;}
56
  var pages=Math.ceil(total/posts_per_page);for(var i=0;i<total;i+=posts_per_page){data.push(alm.data.slice(i,posts_per_page+i));}
57
  alm.el=alm.content;for(var k=0;k<data.length;k++){var p=0;if(alm.preloaded==='true'){p=1;}
58
- var div;if(k>0||alm.preloaded==='true'){var pagenum=(k+1+p);if(alm.permalink==='default'){div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'&paged='+pagenum+'" data-page="'+pagenum+'" />');}else{div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+pagenum+'/" data-page="'+pagenum+'" />');}}else{div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'" data-page="1" />');}
59
  div.append(data[k]);div=$(div);alm.el.append(div).hide();}}
60
  else{if(alm.seo&&alm.page>0||alm.preloaded==='true'){var p=0;if(alm.preloaded==='true'){p=1;}
61
- var pagenum=(alm.page+1+p);if(alm.seo){if(alm.permalink==='default'){alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'&paged='+pagenum+'" data-page="'+pagenum+'" />');}else{alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+pagenum+'/" data-page="'+pagenum+'" />');}}else{alm.el=$('<div class="alm-reveal" />');}}else{if(alm.seo){alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'" data-page="1" />');}else{alm.el=$('<div class="alm-reveal" />');}}
62
  alm.el.append(alm.data).hide();}}}
63
  alm.content.append(alm.el);if(alm.transition==='fade'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
64
- if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});});}else{alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
65
- if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});}}else if(alm.transition==='none'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.show();if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});}else{alm.el.show();if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}}
66
  alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}}else{if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
67
- if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
68
- if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});}}}else{if(!alm.init){$('.alm-paging-content',alm.el).html('').append(alm.data).almWaitForImages().done(function(){$('.alm-paging-loading',alm.el).fadeOut(alm.speed);if($.isFunction($.fn.almOnPagingComplete)){$.fn.almOnPagingComplete(alm);}
69
- if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}});}else{if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}}}
70
  if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
71
  if(!alm.cache){if(alm.posts>=alm.totalposts&&!alm.previous_post){alm.AjaxLoadMore.triggerDone();}}else{if(total<alm.posts_per_page){alm.AjaxLoadMore.triggerDone();}}}else{if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.AjaxLoadMore.resetBtnText();}
72
  alm.AjaxLoadMore.triggerDone();}
73
  if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
74
  if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
75
  alm.init=false;};alm.AjaxLoadMore.pagingPreloadedInit=function(data){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.AjaxLoadMore.resetBtnText();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);}}
 
 
 
76
  alm.fetchingPreviousPost=false;alm.AjaxLoadMore.getPreviousPost=function(){alm.fetchingPreviousPost=true;$.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:{action:'alm_query_previous_post',id:alm.previous_post_id,taxonomy:alm.previous_post_taxonomy},success:function(data){if(data.has_previous_post){alm.content.attr('data-previous-post-id',data.prev_id);alm.previous_post_permalink=data.prev_permalink;alm.previous_post_title=data.prev_title;}else{if(!data.has_previous_post){alm.AjaxLoadMore.triggerDone();}}
77
  if($.isFunction($.fn.almSetPreviousPost)){$.fn.almSetPreviousPost(alm,data.current_id,data.permalink,data.title);}
78
- alm.fetchingPreviousPost=false;},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);alm.fetchingPreviousPost=false;}});};alm.AjaxLoadMore.triggerDone=function(){alm.loading=false;alm.finished=true;if(!alm.paging){alm.button.addClass('done');}
 
79
  if($.isFunction($.fn.almDone)){setTimeout(function(){$.fn.almDone(alm)},alm.speed+10);}};alm.AjaxLoadMore.resetBtnText=function(){if(alm.button_loading_label!==false){if(!alm.paging){alm.button.text(alm.button_label);}}};alm.AjaxLoadMore.error=function(jqXHR,textStatus,errorThrown){alm.loading=false;if(!alm.paging){alm.button.removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
80
  console.log(errorThrown);};if(!alm.paging&&!alm.fetchingPreviousPost){alm.button.on('click',function(){if(alm.pause==='true'){alm.pause=false;alm.pause_override=false;alm.AjaxLoadMore.loadPosts();}
81
  if(!alm.loading&&!alm.finished&&!$(this).hasClass('done')){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}});}
82
- if(alm.paging){alm.window.resize(function(){if($.isFunction($.fn.almOnWindowResize)){setTimeout(function(){$.fn.almOnWindowResize(alm);},250);}});}
 
83
  alm.AjaxLoadMore.isVisible=function(){alm.visible=false;if(alm.el.is(":visible")){alm.visible=true;}
84
  return alm.visible;};if(alm.scroll&&!alm.paging){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()&&!alm.fetchingPreviousPost){var content_offset=alm.button.offset(),top=Math.round(content_offset.top-(alm.window.height()-alm.scroll_distance));if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause==='true'&&alm.pause_override==='true'){alm.button.trigger('click');}
85
  else{if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause!=='true'){alm.page++;alm.AjaxLoadMore.loadPosts();}}}});}
86
  alm.AjaxLoadMore.init=function(){if(!alm.paging&&!alm.previous_post){if(alm.disable_ajax){alm.finished=true;alm.button.addClass('done');}else{if(alm.pause==='true'){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}}}
87
- if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();alm.loading=false;}}
88
- alm.AjaxLoadMore.init();setTimeout(function(){alm.proceed=true;},300);$.fn.almUpdateCurrentPage=function(current,obj,alm){alm.page=current;if(alm.paging_init&&alm.preloaded==='true'){var data=$('.alm-preloaded .alm-reveal',alm.el).html();$('.alm-preloaded',alm.el).remove();alm.preloaded_amount=0;alm.AjaxLoadMore.pagingPreloadedInit(data);alm.paging_init=false;alm.init=false;}else{alm.AjaxLoadMore.loadPosts();}};$.fn.almGetParentContainer=function(){return alm.el.closest('#ajax-load-more');};$.fn.almGetObj=function(){return alm;};$.fn.almTriggerClick=function(){alm.button.trigger('click');};$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b;}
 
 
 
 
89
  return-c/2*((--t)*(t-2)-1)+b;};};$.fn.almFilter=function(transition,speed,data){if(data.target){$(".ajax-load-more-wrap[data-id='"+data.target+"']").each(function(e){var el=$(this);$.fn.almFilterTransition(transition,speed,data,el);});}else{$(".ajax-load-more-wrap").each(function(e){var el=$(this);$.fn.almFilterTransition(transition,speed,data,el);});}};$.fn.almFilterTransition=function(transition,speed,data,el){if(transition==='slide'){el.slideUp(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else if(transition==='fade'){el.fadeOut(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else{$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);}};$.fn.almSetFilters=function(el,data){$.each(data,function(key,value){key=key.replace(/\W+/g,'-').replace(/([a-z\d])([A-Z])/g,'$1-$2');$('.alm-listing',el).attr('data-'+key,value);});if($.isFunction($.fn.almFilterComplete)){$.fn.almFilterComplete();}
90
  if(data.target){$(".ajax-load-more-wrap[data-id="+data.target+"").ajaxloadmore();}else{$(".ajax-load-more-wrap").ajaxloadmore();}};$.fn.ajaxloadmore=function(){return this.each(function(e){$(this).data('alm',new $.ajaxloadmore($(this),e));});};if($(".ajax-load-more-wrap").length){$(".ajax-load-more-wrap").ajaxloadmore();}})(jQuery);;(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory(require('jquery'));}else{factory(jQuery);}}(function($){var eventNamespace='almWaitForImages';$.almWaitForImages={hasImageProperties:['backgroundImage','listStyleImage','borderImage','borderCornerImage','cursor'],hasImageAttributes:['srcset']};$.expr[':']['has-src']=function(obj){return $(obj).is('img[src][src!=""]');};$.expr[':'].uncached=function(obj){if(!$(obj).is(':has-src')){return false;}
91
  return!obj.complete;};$.fn.almWaitForImages=function(){var allImgsLength=0;var allImgsLoaded=0;var deferred=$.Deferred();var finishedCallback;var eachCallback;var waitForAll;if($.isPlainObject(arguments[0])){waitForAll=arguments[0].waitForAll;eachCallback=arguments[0].each;finishedCallback=arguments[0].finished;}else{if(arguments.length===1&&$.type(arguments[0])==='boolean'){waitForAll=arguments[0];}else{finishedCallback=arguments[0];eachCallback=arguments[1];waitForAll=arguments[2];}}
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.posts=0;alm.totalposts=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-alm-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.is_search=alm.el.attr('data-search');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.cta_array='';alm.cta=alm.content.attr('data-cta');alm.cta_position=alm.content.attr('data-cta-position');alm.cta_repeater=alm.content.attr('data-cta-repeater');alm.cta_theme_repeater=alm.content.attr('data-cta-theme-repeater');alm.nextpage_array='';alm.nextpage=alm.content.attr('data-nextpage');alm.nextpage_urls=alm.content.attr('data-nextpage-urls');alm.nextpage_scroll=alm.content.attr('data-nextpage-scroll');alm.nextpage_pageviews=alm.content.attr('data-nextpage-pageviews');alm.nextpage_post_id=alm.content.attr('data-nextpage-post-id');alm.nextpage_startpage=alm.content.attr('data-nextpage-startpage');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');alm.paging_init=true;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;}
12
  if(alm.preloaded_total_posts<=alm.preloaded_amount){alm.disable_ajax=true;}}else{alm.preloaded='false';}
13
  if(alm.seo===undefined){alm.seo=false;}
14
  if(alm.seo==='true'){alm.seo=true;}
15
+ if(alm.is_search===undefined){alm.is_search=false;}
16
+ alm.search_value=(alm.is_search==='true')?alm.slug:'';alm.permalink=alm.content.attr('data-seo-permalink');alm.pageview=alm.content.attr('data-seo-pageview');alm.start_page=alm.content.attr('data-seo-start-page');if(alm.start_page){alm.seo_scroll=alm.content.attr('data-seo-scroll');alm.seo_scroll_speed=alm.content.attr('data-seo-scroll-speed');alm.seo_scrolltop=alm.content.attr('data-seo-scrolltop');alm.isPaged=false;if(alm.start_page>1){alm.isPaged=true;alm.posts_per_page=alm.start_page*alm.posts_per_page;}
17
  if(alm.paging){alm.posts_per_page=alm.orginal_posts_per_page;}}else{alm.start_page=1;}
18
+ if(alm.nextpage==='true'){alm.nextpage=true;}else{alm.nextpage=false;}
19
+ if(alm.nextpage_urls===undefined){alm.nextpage='true';}
20
+ if(alm.nextpage_scroll===undefined){alm.nextpage_scroll='250:30';}
21
+ if(alm.nextpage_pageviews===undefined){alm.nextpage_pageviews='true';}
22
+ if(alm.nextpage_post_id===undefined){alm.nextpage=false;alm.nextpage_post_id=null;}
23
+ if(alm.nextpage_startpage===undefined){alm.nextpage_startpage=1;}
24
  if(alm.previous_post==='true'){alm.previous_post=true;alm.previous_post_permalink='';alm.previous_post_title='';}else{alm.previous_post=false;}
25
  if(alm.previous_post_id===undefined){alm.previous_post_id='';}
26
  if(alm.previous_post_taxonomy===undefined){alm.previous_post_taxonomy='';}
45
  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);}
46
  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);}}
47
  alm.loading=true;if(alm.cache==='true'&&!alm.cache_logged_in){var cache_page;if(alm.init&&alm.seo&&alm.isPaged){var firstpage='1';cache_page=alm.cache_path+'/page-'+firstpage+'-'+alm.start_page+'.html';}else{cache_page=alm.cache_path+'/page-'+(alm.page+1)+'.html';}
48
+ $.get(cache_page,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.nextpage){action='alm_nextpage_query';alm.nextpage_array={'nextpage':'true','urls':alm.nextpage_urls,'scroll':alm.nextpage_scroll,'pageviews':alm.nextpage_pageviews,'post_id':alm.nextpage_post_id,'startpage':alm.nextpage_startpage};}
49
+ 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');}
50
  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,};}
51
  if(alm.cta==='true'){alm.cta_array={'cta':'true','cta_position':alm.cta_position,'cta_repeater':alm.cta_repeater,'cta_theme_repeater':alm.cta_theme_repeater,};}
52
  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,id:el.attr('data-id')};$.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,html=results.html,meta=results.meta,postcount=meta.postcount,totalposts=meta.totalposts;$.each(html,function(e){var result=html[e];if(alm.restapi_debug==='true'){console.log(result);}
53
  data+=alm_template(result);});var obj={'html':data,'meta':{'postcount':postcount,'totalposts':totalposts},}
54
  alm.AjaxLoadMore.success(obj,false);}});}
55
+ 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,nextpage:alm.nextpage_array,cta:alm.cta_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,id:el.attr('data-id')},beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
56
+ else if(queryType==='totalpages'&&alm.paging&&alm.nextpage){if($.isFunction($.fn.almBuildPagination)){$.fn.almBuildPagination(data,alm);}}
57
+ 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){if(alm.nextpage){alm.AjaxLoadMore.ajax('totalpages');}else{alm.AjaxLoadMore.ajax('totalposts');}}
58
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
59
  var html,meta,total;if(is_cache){html=data;}else{html=data.html;meta=data.meta;alm.posts=alm.posts+meta.postcount;total=meta.postcount;alm.totalposts=meta.totalposts;if(alm.preloaded==='true'){alm.totalposts=alm.totalposts-alm.preloaded_amount;}}
60
  alm.data=$(html);if(is_cache){total=alm.data.length;}
64
  if(total>0){if(!alm.paging){if(alm.previous_post){alm.el=$('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');alm.el.append(alm.data).hide();}else{if(!alm.transition_container){alm.data.hide();alm.el=alm.data;}else{if(alm.init&&alm.start_page>1){var data=[],posts_per_page=parseInt(alm.posts_per_page);if(alm.cta==='true'){posts_per_page=posts_per_page+1;}
65
  var pages=Math.ceil(total/posts_per_page);for(var i=0;i<total;i+=posts_per_page){data.push(alm.data.slice(i,posts_per_page+i));}
66
  alm.el=alm.content;for(var k=0;k<data.length;k++){var p=0;if(alm.preloaded==='true'){p=1;}
67
+ var div;if(k>0||alm.preloaded==='true'){var pagenum=(k+1+p);if(alm.permalink==='default'){div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+alm.search_value+'&paged='+pagenum+'" data-page="'+pagenum+'" />');}else{div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+pagenum+'/'+alm.search_value+'" data-page="'+pagenum+'" />');}}else{div=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+alm.search_value+'" data-page="1" />');}
68
  div.append(data[k]);div=$(div);alm.el.append(div).hide();}}
69
  else{if(alm.seo&&alm.page>0||alm.preloaded==='true'){var p=0;if(alm.preloaded==='true'){p=1;}
70
+ var pagenum=(alm.page+1+p);if(alm.seo){if(alm.permalink==='default'){alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+alm.search_value+'&paged='+pagenum+'" data-page="'+pagenum+'" />');}else{alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+'page/'+pagenum+'/'+alm.search_value+'" data-page="'+pagenum+'" />');}}else{alm.el=$('<div class="alm-reveal" />');}}else{if(alm.seo){alm.el=$('<div class="alm-reveal alm-seo" data-url="'+alm.canonical_url+''+alm.search_value+'" data-page="1" />');}else{alm.el=$('<div class="alm-reveal" />');}}
71
  alm.el.append(alm.data).hide();}}}
72
  alm.content.append(alm.el);if(alm.transition==='fade'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
73
+ alm.AjaxLoadMore.triggerAddons(alm);});});}else{alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
74
+ alm.AjaxLoadMore.triggerAddons(alm);});}}else if(alm.transition==='none'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.show();alm.AjaxLoadMore.triggerAddons(alm);});}else{alm.el.show();alm.AjaxLoadMore.triggerAddons(alm);}
75
  alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}}else{if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
76
+ alm.AjaxLoadMore.triggerAddons(alm);});});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
77
+ alm.AjaxLoadMore.triggerAddons(alm);});}}}else{if(!alm.init){$('.alm-paging-content',alm.el).html('').append(alm.data).almWaitForImages().done(function(){$('.alm-paging-loading',alm.el).fadeOut(alm.speed);if($.isFunction($.fn.almOnPagingComplete)){$.fn.almOnPagingComplete(alm);}
78
+ alm.AjaxLoadMore.triggerAddons(alm);});}else{alm.AjaxLoadMore.triggerAddons(alm);}}
79
  if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
80
  if(!alm.cache){if(alm.posts>=alm.totalposts&&!alm.previous_post){alm.AjaxLoadMore.triggerDone();}}else{if(total<alm.posts_per_page){alm.AjaxLoadMore.triggerDone();}}}else{if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.AjaxLoadMore.resetBtnText();}
81
  alm.AjaxLoadMore.triggerDone();}
82
  if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
83
  if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
84
  alm.init=false;};alm.AjaxLoadMore.pagingPreloadedInit=function(data){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.AjaxLoadMore.resetBtnText();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);}}
85
+ alm.AjaxLoadMore.pagingNextpageInit=function(data){alm.el=$('<div class="alm-reveal alm-nextpage"/>');alm.el.append('<div class="alm-paging-content">'+data+'</div><div class="alm-paging-loading"></div>');alm.el.appendTo(alm.content);alm.content.parent().removeClass('loading');alm.AjaxLoadMore.resetBtnText();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.almSetNextPageVars)){$.fn.almSetNextPageVars(alm);}
86
+ setTimeout(function(){if($.isFunction($.fn.almFadePageControls)){$.fn.almFadePageControls(alm.btnWrap);}
87
+ if($.isFunction($.fn.almOnWindowResize)){$.fn.almOnWindowResize(alm);}},200);}
88
  alm.fetchingPreviousPost=false;alm.AjaxLoadMore.getPreviousPost=function(){alm.fetchingPreviousPost=true;$.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:{action:'alm_query_previous_post',id:alm.previous_post_id,taxonomy:alm.previous_post_taxonomy},success:function(data){if(data.has_previous_post){alm.content.attr('data-previous-post-id',data.prev_id);alm.previous_post_permalink=data.prev_permalink;alm.previous_post_title=data.prev_title;}else{if(!data.has_previous_post){alm.AjaxLoadMore.triggerDone();}}
89
  if($.isFunction($.fn.almSetPreviousPost)){$.fn.almSetPreviousPost(alm,data.current_id,data.permalink,data.title);}
90
+ alm.fetchingPreviousPost=false;},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);alm.fetchingPreviousPost=false;}});};alm.AjaxLoadMore.triggerAddons=function(alm){if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}
91
+ if($.isFunction($.fn.almSetNextPage)){$.fn.almSetNextPage(alm);}};alm.AjaxLoadMore.triggerDone=function(){alm.loading=false;alm.finished=true;if(!alm.paging){alm.button.addClass('done');}
92
  if($.isFunction($.fn.almDone)){setTimeout(function(){$.fn.almDone(alm)},alm.speed+10);}};alm.AjaxLoadMore.resetBtnText=function(){if(alm.button_loading_label!==false){if(!alm.paging){alm.button.text(alm.button_label);}}};alm.AjaxLoadMore.error=function(jqXHR,textStatus,errorThrown){alm.loading=false;if(!alm.paging){alm.button.removeClass('loading');alm.AjaxLoadMore.resetBtnText();}
93
  console.log(errorThrown);};if(!alm.paging&&!alm.fetchingPreviousPost){alm.button.on('click',function(){if(alm.pause==='true'){alm.pause=false;alm.pause_override=false;alm.AjaxLoadMore.loadPosts();}
94
  if(!alm.loading&&!alm.finished&&!$(this).hasClass('done')){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}});}
95
+ if(alm.paging){alm.window.bind('resizeEnd',function(){if($.isFunction($.fn.almOnWindowResize)){$.fn.almOnWindowResize(alm);}});alm.window.resize(function(){if(this.resizeTO){clearTimeout(this.resizeTO);}
96
+ this.resizeTO=setTimeout(function(){$(this).trigger('resizeEnd');},250);});}
97
  alm.AjaxLoadMore.isVisible=function(){alm.visible=false;if(alm.el.is(":visible")){alm.visible=true;}
98
  return alm.visible;};if(alm.scroll&&!alm.paging){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()&&!alm.fetchingPreviousPost){var content_offset=alm.button.offset(),top=Math.round(content_offset.top-(alm.window.height()-alm.scroll_distance));if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause==='true'&&alm.pause_override==='true'){alm.button.trigger('click');}
99
  else{if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause!=='true'){alm.page++;alm.AjaxLoadMore.loadPosts();}}}});}
100
  alm.AjaxLoadMore.init=function(){if(!alm.paging&&!alm.previous_post){if(alm.disable_ajax){alm.finished=true;alm.button.addClass('done');}else{if(alm.pause==='true'){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}}}
101
+ if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();alm.loading=false;}
102
+ if(alm.nextpage){if($('.alm-nextpage').length>1){var alm_nextpage_pages=$('.alm-nextpage').length,alm_nextpage_total=$('.alm-nextpage').eq(0).data('total-pages');if(alm_nextpage_pages==alm_nextpage_total){alm.AjaxLoadMore.triggerDone();}}}}
103
+ alm.AjaxLoadMore.init();setTimeout(function(){alm.proceed=true;},300);$.fn.almUpdateCurrentPage=function(current,obj,alm){alm.page=current;if(alm.nextpage&&!alm.paging){alm.page=alm.page-1;}
104
+ var data='';if(alm.paging_init&&alm.preloaded==='true'){data=$('.alm-preloaded .alm-reveal',alm.el).html();$('.alm-preloaded',alm.el).remove();alm.preloaded_amount=0;alm.AjaxLoadMore.pagingPreloadedInit(data);alm.paging_init=false;alm.init=false;}
105
+ else if(alm.paging_init&&alm.nextpage){data=$('.alm-nextpage',alm.el).html();$('.alm-nextpage',alm.el).remove();alm.AjaxLoadMore.pagingNextpageInit(data);alm.paging_init=false;alm.init=false;}
106
+ else{alm.AjaxLoadMore.loadPosts();}};$.fn.almGetParentContainer=function(){return alm.el.closest('#ajax-load-more');};$.fn.almGetObj=function(){return alm;};$.fn.almTriggerClick=function(){alm.button.trigger('click');};$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b;}
107
  return-c/2*((--t)*(t-2)-1)+b;};};$.fn.almFilter=function(transition,speed,data){if(data.target){$(".ajax-load-more-wrap[data-id='"+data.target+"']").each(function(e){var el=$(this);$.fn.almFilterTransition(transition,speed,data,el);});}else{$(".ajax-load-more-wrap").each(function(e){var el=$(this);$.fn.almFilterTransition(transition,speed,data,el);});}};$.fn.almFilterTransition=function(transition,speed,data,el){if(transition==='slide'){el.slideUp(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else if(transition==='fade'){el.fadeOut(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else{$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);}};$.fn.almSetFilters=function(el,data){$.each(data,function(key,value){key=key.replace(/\W+/g,'-').replace(/([a-z\d])([A-Z])/g,'$1-$2');$('.alm-listing',el).attr('data-'+key,value);});if($.isFunction($.fn.almFilterComplete)){$.fn.almFilterComplete();}
108
  if(data.target){$(".ajax-load-more-wrap[data-id="+data.target+"").ajaxloadmore();}else{$(".ajax-load-more-wrap").ajaxloadmore();}};$.fn.ajaxloadmore=function(){return this.each(function(e){$(this).data('alm',new $.ajaxloadmore($(this),e));});};if($(".ajax-load-more-wrap").length){$(".ajax-load-more-wrap").ajaxloadmore();}})(jQuery);;(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory(require('jquery'));}else{factory(jQuery);}}(function($){var eventNamespace='almWaitForImages';$.almWaitForImages={hasImageProperties:['backgroundImage','listStyleImage','borderImage','borderCornerImage','cursor'],hasImageAttributes:['srcset']};$.expr[':']['has-src']=function(obj){return $(obj).is('img[src][src!=""]');};$.expr[':'].uncached=function(obj){if(!$(obj).is(':has-src')){return false;}
109
  return!obj.complete;};$.fn.almWaitForImages=function(){var allImgsLength=0;var allImgsLoaded=0;var deferred=$.Deferred();var finishedCallback;var eachCallback;var waitForAll;if($.isPlainObject(arguments[0])){waitForAll=arguments[0].waitForAll;eachCallback=arguments[0].each;finishedCallback=arguments[0].finished;}else{if(arguments.length===1&&$.type(arguments[0])==='boolean'){waitForAll=arguments[0];}else{finishedCallback=arguments[0];eachCallback=arguments[1];waitForAll=arguments[2];}}
lang/ajax-load-more.pot CHANGED
@@ -1,42 +1,42 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
- "POT-Creation-Date: 2016-12-05 22:43-0500\n"
5
- "PO-Revision-Date: 2016-12-05 22:43-0500\n"
6
- "Last-Translator: Darren Cooney <darren.cooney@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.7\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../admin/admin.php:94 ../admin/admin.php:153 ../admin/admin.php:719
19
- #: ../admin/admin.php:763 ../admin/admin.php:813
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
  #: ../admin/admin.php:183 ../admin/editor/editor-build.php:72
24
- #: ../admin/views/licenses.php:65 ../admin/views/licenses.php:130
25
- #: ../admin/views/licenses.php:195 ../admin/views/licenses.php:261
26
- #: ../admin/views/licenses.php:328 ../admin/views/licenses.php:395
27
- #: ../admin/views/licenses.php:460 ../admin/views/licenses.php:524
28
- #: ../admin/views/licenses.php:590 ../admin/views/licenses.php:656
29
- #: ../admin/views/licenses.php:724
30
  msgid "Active"
31
  msgstr ""
32
 
33
  #: ../admin/admin.php:184 ../admin/editor/editor-build.php:73
34
- #: ../admin/views/licenses.php:69 ../admin/views/licenses.php:134
35
- #: ../admin/views/licenses.php:199 ../admin/views/licenses.php:265
36
- #: ../admin/views/licenses.php:332 ../admin/views/licenses.php:399
37
- #: ../admin/views/licenses.php:464 ../admin/views/licenses.php:528
38
- #: ../admin/views/licenses.php:594 ../admin/views/licenses.php:660
39
- #: ../admin/views/licenses.php:728
40
  msgid "Inactive"
41
  msgstr ""
42
 
@@ -84,135 +84,135 @@ msgid ""
84
  "to read and write files within the /ajax-load-more/core/repeater directory."
85
  msgstr ""
86
 
87
- #: ../admin/admin.php:677
88
  msgid "[Ajax Load More] Unable to open repeater template - "
89
  msgstr ""
90
 
91
- #: ../admin/admin.php:681
92
  msgid "[Ajax Load More] Error saving repeater template - "
93
  msgstr ""
94
 
95
- #: ../admin/admin.php:714
96
  msgid "Error Writing File"
97
  msgstr ""
98
 
99
- #: ../admin/admin.php:917 ../admin/shortcode-builder/shortcode-builder.php:730
100
  msgid "Container Type"
101
  msgstr ""
102
 
103
- #: ../admin/admin.php:925 ../admin/shortcode-builder/shortcode-builder.php:760
104
  msgid "Container Classes"
105
  msgstr ""
106
 
107
- #: ../admin/admin.php:933
108
  msgid "Disable CSS"
109
  msgstr ""
110
 
111
- #: ../admin/admin.php:941
112
  msgid "Button/Loading Style"
113
  msgstr ""
114
 
115
- #: ../admin/admin.php:949
116
  msgid "Button Classes"
117
  msgstr ""
118
 
119
- #: ../admin/admin.php:957
120
  msgid "Ajax Security"
121
  msgstr ""
122
 
123
- #: ../admin/admin.php:965
124
  msgid "Top of Page"
125
  msgstr ""
126
 
127
- #: ../admin/admin.php:973
128
  msgid "Dynamic Content"
129
  msgstr ""
130
 
131
- #: ../admin/admin.php:981
132
  msgid "Editor Button"
133
  msgstr ""
134
 
135
- #: ../admin/admin.php:989
136
  msgid "Error Notices"
137
  msgstr ""
138
 
139
- #: ../admin/admin.php:1060
140
  msgid ""
141
  "Customize the user experience of Ajax Load More by updating the fields below."
142
  msgstr ""
143
 
144
- #: ../admin/admin.php:1073
145
  msgid "The following settings affect the WordPress admin area only."
146
  msgstr ""
147
 
148
- #: ../admin/admin.php:1104
149
  msgid "I want to use my own CSS styles."
150
  msgstr ""
151
 
152
- #: ../admin/admin.php:1104
153
  msgid "View Ajax Load More CSS"
154
  msgstr ""
155
 
156
- #: ../admin/admin.php:1124
157
  msgid "Hide shortcode button in WYSIWYG editor."
158
  msgstr ""
159
 
160
- #: ../admin/admin.php:1145
161
  msgid ""
162
  "Display error messaging regarding repeater template updates in the browser "
163
  "console."
164
  msgstr ""
165
 
166
- #: ../admin/admin.php:1166
167
  msgid ""
168
  "Disable dynamic population of categories, tags and authors in the Shortcode "
169
  "Builder.<span style=\"display:block\">Recommended if you have an "
170
  "extraordinary number of categories, tags and/or authors."
171
  msgstr ""
172
 
173
- #: ../admin/admin.php:1187 ../admin/admin.php:1190
174
  msgid "Ajax Posts Here"
175
  msgstr ""
176
 
177
- #: ../admin/admin.php:1192
178
  msgid "You can modify the container type when building a shortcode."
179
  msgstr ""
180
 
181
- #: ../admin/admin.php:1209
182
  msgid ""
183
  "Add classes to Ajax Load More container - classes are applied globally and "
184
  "will appear with every instance of Ajax Load More. <span style=\"display:"
185
  "block\">You can also add classes when building a shortcode.</span>"
186
  msgstr ""
187
 
188
- #: ../admin/admin.php:1271
189
  msgid ""
190
  "Select an Ajax loading style - you can choose between a <strong>button</"
191
  "strong> or <strong>infinite scroll</strong>"
192
  msgstr ""
193
 
194
- #: ../admin/admin.php:1292
195
  msgid "Preview"
196
  msgstr ""
197
 
198
- #: ../admin/admin.php:1292
199
- #: ../admin/shortcode-builder/shortcode-builder.php:785
200
- #: ../core/classes/class.alm-shortcode.php:116
201
  msgid "Older Posts"
202
  msgstr ""
203
 
204
- #: ../admin/admin.php:1311
205
  msgid "Add classes to your <strong>Load More</strong> button"
206
  msgstr ""
207
 
208
- #: ../admin/admin.php:1354
209
  msgid ""
210
  "On initial page load, move the user's browser window to the top of the "
211
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
212
  "loading of unnecessary posts.</span>"
213
  msgstr ""
214
 
215
- #: ../admin/admin.php:1375
216
  msgid ""
217
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
218
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
@@ -250,7 +250,7 @@ msgid ""
250
  msgstr ""
251
 
252
  #: ../admin/includes/components/repeater-options.php:2
253
- #: ../admin/shortcode-builder/shortcode-builder.php:710
254
  msgid "Options"
255
  msgstr ""
256
 
@@ -319,13 +319,12 @@ msgid "Ajax Load More Demo Site"
319
  msgstr ""
320
 
321
  #: ../admin/includes/cta/resources.php:5
322
- msgid "Plugin Support and Issues"
323
  msgstr ""
324
 
325
  #: ../admin/includes/cta/resources.php:6
326
- #, fuzzy
327
- msgid "Twitter"
328
- msgstr "Partager sur Twitter"
329
 
330
  #: ../admin/includes/cta/resources.php:7
331
  msgid "Reviews"
@@ -333,14 +332,19 @@ msgstr ""
333
 
334
  #: ../admin/includes/cta/resources.php:8
335
  #, fuzzy
 
 
 
 
 
336
  msgid "Facebook"
337
  msgstr "Partager sur Facebook"
338
 
339
- #: ../admin/includes/cta/resources.php:9
340
  msgid "Github"
341
  msgstr ""
342
 
343
- #: ../admin/includes/cta/resources.php:11
344
  msgid "WordPress Repository"
345
  msgstr ""
346
 
@@ -474,7 +478,7 @@ msgstr ""
474
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
475
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
476
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
477
- #: ../admin/shortcode-builder/shortcode-builder.php:478
478
  msgid "Select Taxonomy"
479
  msgstr ""
480
 
@@ -491,7 +495,7 @@ msgid "Taxonomy Operator:"
491
  msgstr ""
492
 
493
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
494
- #: ../admin/shortcode-builder/shortcode-builder.php:1277
495
  msgid "Relation:"
496
  msgstr ""
497
 
@@ -511,12 +515,12 @@ msgid "Expand All"
511
  msgstr ""
512
 
513
  #: ../admin/shortcode-builder/shortcode-builder.php:16
514
- #: ../admin/views/add-ons.php:5
515
  msgid "Add-ons"
516
  msgstr ""
517
 
518
  #: ../admin/shortcode-builder/shortcode-builder.php:21
519
- #: ../admin/views/add-ons.php:20 ../admin/views/licenses.php:44
520
  #: ../admin/views/settings.php:53
521
  msgid "Cache"
522
  msgstr ""
@@ -528,34 +532,36 @@ msgstr ""
528
  #: ../admin/shortcode-builder/shortcode-builder.php:31
529
  #: ../admin/shortcode-builder/shortcode-builder.php:75
530
  #: ../admin/shortcode-builder/shortcode-builder.php:169
531
- #: ../admin/shortcode-builder/shortcode-builder.php:319
532
- #: ../admin/shortcode-builder/shortcode-builder.php:342
533
- #: ../admin/shortcode-builder/shortcode-builder.php:396
534
  #: ../admin/shortcode-builder/shortcode-builder.php:437
535
- #: ../admin/shortcode-builder/shortcode-builder.php:530
536
- #: ../admin/shortcode-builder/shortcode-builder.php:610
537
- #: ../admin/shortcode-builder/shortcode-builder.php:644
538
- #: ../admin/shortcode-builder/shortcode-builder.php:820
539
- #: ../admin/shortcode-builder/shortcode-builder.php:845
540
- #: ../admin/shortcode-builder/shortcode-builder.php:871
541
- #: ../admin/shortcode-builder/shortcode-builder.php:918
 
 
 
542
  msgid "True"
543
  msgstr ""
544
 
545
  #: ../admin/shortcode-builder/shortcode-builder.php:35
546
  #: ../admin/shortcode-builder/shortcode-builder.php:79
547
  #: ../admin/shortcode-builder/shortcode-builder.php:173
548
- #: ../admin/shortcode-builder/shortcode-builder.php:323
549
- #: ../admin/shortcode-builder/shortcode-builder.php:346
550
- #: ../admin/shortcode-builder/shortcode-builder.php:400
551
  #: ../admin/shortcode-builder/shortcode-builder.php:441
552
- #: ../admin/shortcode-builder/shortcode-builder.php:534
553
- #: ../admin/shortcode-builder/shortcode-builder.php:614
554
- #: ../admin/shortcode-builder/shortcode-builder.php:648
555
- #: ../admin/shortcode-builder/shortcode-builder.php:824
556
- #: ../admin/shortcode-builder/shortcode-builder.php:849
557
- #: ../admin/shortcode-builder/shortcode-builder.php:875
558
- #: ../admin/shortcode-builder/shortcode-builder.php:922
 
 
 
559
  msgid "False"
560
  msgstr ""
561
 
@@ -574,7 +580,7 @@ msgid "Generate Cache ID"
574
  msgstr ""
575
 
576
  #: ../admin/shortcode-builder/shortcode-builder.php:64
577
- #: ../admin/views/add-ons.php:47 ../admin/views/licenses.php:109
578
  msgid "Call to Actions"
579
  msgstr ""
580
 
@@ -610,7 +616,7 @@ msgid "Post #"
610
  msgstr ""
611
 
612
  #: ../admin/shortcode-builder/shortcode-builder.php:116
613
- #: ../admin/shortcode-builder/shortcode-builder.php:670
614
  msgid "Template"
615
  msgstr ""
616
 
@@ -633,7 +639,7 @@ msgid ""
633
  msgstr ""
634
 
635
  #: ../admin/shortcode-builder/shortcode-builder.php:159
636
- #: ../admin/views/add-ons.php:74 ../admin/views/licenses.php:174
637
  msgid "Comments"
638
  msgstr ""
639
 
@@ -642,12 +648,13 @@ msgid "Enable Ajax Load More to display blog comments."
642
  msgstr ""
643
 
644
  #: ../admin/shortcode-builder/shortcode-builder.php:184
645
- #: ../admin/shortcode-builder/shortcode-builder.php:451
 
646
  msgid "Post ID"
647
  msgstr ""
648
 
649
  #: ../admin/shortcode-builder/shortcode-builder.php:185
650
- #: ../admin/shortcode-builder/shortcode-builder.php:452
651
  msgid "The ID of the current single post."
652
  msgstr ""
653
 
@@ -709,7 +716,7 @@ msgid "Select a repeater template that will display comment data."
709
  msgstr ""
710
 
711
  #: ../admin/shortcode-builder/shortcode-builder.php:262
712
- #: ../admin/shortcode-builder/shortcode-builder.php:952
713
  msgid "None"
714
  msgstr ""
715
 
@@ -751,93 +758,180 @@ msgid ""
751
  msgstr ""
752
 
753
  #: ../admin/shortcode-builder/shortcode-builder.php:310
754
- #: ../admin/views/add-ons.php:153 ../admin/views/licenses.php:374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
755
  #: ../admin/views/settings.php:57
756
  msgid "Paging"
757
  msgstr ""
758
 
759
- #: ../admin/shortcode-builder/shortcode-builder.php:312
760
  msgid "Replace infinite scrolling with a paged ajax navigation system."
761
  msgstr ""
762
 
763
- #: ../admin/shortcode-builder/shortcode-builder.php:334
764
  msgid "Paging Controls"
765
  msgstr ""
766
 
767
- #: ../admin/shortcode-builder/shortcode-builder.php:335
768
  msgid "Show (&laquo;)previous and next(&raquo;) buttons."
769
  msgstr ""
770
 
771
- #: ../admin/shortcode-builder/shortcode-builder.php:355
772
  msgid "Paging Navigation Classes"
773
  msgstr ""
774
 
775
- #: ../admin/shortcode-builder/shortcode-builder.php:356
776
  msgid "Add custom CSS classes to the paging navigation menu."
777
  msgstr ""
778
 
779
- #: ../admin/shortcode-builder/shortcode-builder.php:367
780
  msgid "Show at Most"
781
  msgstr ""
782
 
783
- #: ../admin/shortcode-builder/shortcode-builder.php:368
784
  msgid ""
785
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
786
  msgstr ""
787
 
788
- #: ../admin/shortcode-builder/shortcode-builder.php:386
789
- #: ../admin/views/add-ons.php:180 ../admin/views/licenses.php:439
790
  msgid "Preloaded"
791
  msgstr ""
792
 
793
- #: ../admin/shortcode-builder/shortcode-builder.php:389
794
  msgid "Preload posts prior to making Ajax requests."
795
  msgstr ""
796
 
797
- #: ../admin/shortcode-builder/shortcode-builder.php:410
798
  msgid "Preload Amount"
799
  msgstr ""
800
 
801
- #: ../admin/shortcode-builder/shortcode-builder.php:411
802
  msgid "Enter the number of posts to preload."
803
  msgstr ""
804
 
805
- #: ../admin/shortcode-builder/shortcode-builder.php:427
806
- #: ../admin/views/add-ons.php:206 ../admin/views/licenses.php:503
807
  #: ../admin/views/settings.php:59
808
  msgid "Previous Post"
809
  msgstr ""
810
 
811
- #: ../admin/shortcode-builder/shortcode-builder.php:430
812
  msgid "Enable the infinite scrolling of single posts."
813
  msgstr ""
814
 
815
- #: ../admin/shortcode-builder/shortcode-builder.php:464
816
- #: ../admin/shortcode-builder/shortcode-builder.php:1217
817
  msgid "Taxonomy"
818
  msgstr ""
819
 
820
- #: ../admin/shortcode-builder/shortcode-builder.php:464
821
  msgid ""
822
  "Selecting a taxonomy means only previous posts from the same taxonomy will "
823
  "be returned"
824
  msgstr ""
825
 
826
- #: ../admin/shortcode-builder/shortcode-builder.php:465
827
  msgid "Query previous posts from the same taxonomy."
828
  msgstr ""
829
 
830
- #: ../admin/shortcode-builder/shortcode-builder.php:479
831
- #: ../admin/shortcode-builder/shortcode-builder.php:1098
832
  msgid "Category"
833
  msgstr ""
834
 
835
- #: ../admin/shortcode-builder/shortcode-builder.php:480
836
- #: ../admin/shortcode-builder/shortcode-builder.php:1158
837
  msgid "Tag"
838
  msgstr ""
839
 
840
- #: ../admin/shortcode-builder/shortcode-builder.php:494
841
  msgid ""
842
  "You must add the Previous Post shortcode directly to your single template "
843
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
@@ -846,85 +940,85 @@ msgid ""
846
  "target=\"_blank\">View documentation</a>"
847
  msgstr ""
848
 
849
- #: ../admin/shortcode-builder/shortcode-builder.php:520
850
- #: ../admin/views/add-ons.php:232 ../admin/views/licenses.php:569
851
  #: ../admin/views/settings.php:61
852
  msgid "REST API"
853
  msgstr ""
854
 
855
- #: ../admin/shortcode-builder/shortcode-builder.php:523
856
  msgid "Enable the WordPress REST API."
857
  msgstr ""
858
 
859
- #: ../admin/shortcode-builder/shortcode-builder.php:547
860
  msgid "Base URL"
861
  msgstr ""
862
 
863
- #: ../admin/shortcode-builder/shortcode-builder.php:548
864
  msgid "Set a default Base URL in the Ajax Load More settings panel"
865
  msgstr ""
866
 
867
- #: ../admin/shortcode-builder/shortcode-builder.php:549
868
  msgid "Enter the base URL to your installation of the REST API."
869
  msgstr ""
870
 
871
- #: ../admin/shortcode-builder/shortcode-builder.php:561
872
  msgid "Namespace"
873
  msgstr ""
874
 
875
- #: ../admin/shortcode-builder/shortcode-builder.php:562
876
  msgid "Set a default Namespace in the Ajax Load More settings panel"
877
  msgstr ""
878
 
879
- #: ../admin/shortcode-builder/shortcode-builder.php:563
880
  msgid "Enter the custom namespace for this Ajax Load More query."
881
  msgstr ""
882
 
883
- #: ../admin/shortcode-builder/shortcode-builder.php:575
884
  msgid "Endpoint"
885
  msgstr ""
886
 
887
- #: ../admin/shortcode-builder/shortcode-builder.php:576
888
  msgid "Set a default Endpoint in the Ajax Load More settings panel"
889
  msgstr ""
890
 
891
- #: ../admin/shortcode-builder/shortcode-builder.php:577
892
  msgid "Enter your custom endpoint for this Ajax Load More query."
893
  msgstr ""
894
 
895
- #: ../admin/shortcode-builder/shortcode-builder.php:589
896
  msgid "Template ID"
897
  msgstr ""
898
 
899
- #: ../admin/shortcode-builder/shortcode-builder.php:589
900
  msgid ""
901
  "Ajax Load More references this ID while looping and displaying your data. "
902
  "You must still select a repeater template for this instance of Ajax Load More"
903
  msgstr ""
904
 
905
- #: ../admin/shortcode-builder/shortcode-builder.php:590
906
  msgid ""
907
  "Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-"
908
  "template</em> = <em>alm-template</em>"
909
  msgstr ""
910
 
911
- #: ../admin/shortcode-builder/shortcode-builder.php:590
912
- #: ../admin/shortcode-builder/shortcode-builder.php:1103
913
- #: ../admin/shortcode-builder/shortcode-builder.php:1162
914
- #: ../admin/shortcode-builder/shortcode-builder.php:1362
915
  msgid "View Example"
916
  msgstr ""
917
 
918
- #: ../admin/shortcode-builder/shortcode-builder.php:602
919
  msgid "Debug Mode"
920
  msgstr ""
921
 
922
- #: ../admin/shortcode-builder/shortcode-builder.php:603
923
  msgid ""
924
  "Enable debugging (console.log) of REST API responses in the browser console. "
925
  msgstr ""
926
 
927
- #: ../admin/shortcode-builder/shortcode-builder.php:621
928
  msgid ""
929
  "Visit <a href=\"http://v2.wp-api.org/\" target=\"_blank\">http://v2.wp-api."
930
  "org</a> for documentation on creating custom <a href=\"http://v2.wp-api.org/"
@@ -932,575 +1026,589 @@ msgid ""
932
  "More."
933
  msgstr ""
934
 
935
- #: ../admin/shortcode-builder/shortcode-builder.php:634
936
  msgid "SEO (Search Engine Optimization)"
937
  msgstr ""
938
 
939
- #: ../admin/shortcode-builder/shortcode-builder.php:637
940
  msgid ""
941
  "Enable address bar URL rewrites as users page through ajax loaded content."
942
  msgstr ""
943
 
944
- #: ../admin/shortcode-builder/shortcode-builder.php:665
945
  msgid "Display Settings"
946
  msgstr ""
947
 
948
- #: ../admin/shortcode-builder/shortcode-builder.php:674
949
  msgid "Repeater Template"
950
  msgstr ""
951
 
952
- #: ../admin/shortcode-builder/shortcode-builder.php:676
953
  msgid ""
954
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
955
  "\"_parent\">repeater template</a> you would like to use."
956
  msgstr ""
957
 
958
- #: ../admin/shortcode-builder/shortcode-builder.php:714
959
  msgid "ID"
960
  msgstr ""
961
 
962
- #: ../admin/shortcode-builder/shortcode-builder.php:714
963
  msgid ""
964
  "Adding a unique ID will allow you target this specific Ajax Load More "
965
  "instance with the alm_query_args_id() filter."
966
  msgstr ""
967
 
968
- #: ../admin/shortcode-builder/shortcode-builder.php:715
969
  msgid "Set a unique ID for this Ajax Load More instance."
970
  msgstr ""
971
 
972
- #: ../admin/shortcode-builder/shortcode-builder.php:722
973
  msgid "Generate Unique ID"
974
  msgstr ""
975
 
976
- #: ../admin/shortcode-builder/shortcode-builder.php:730
977
  msgid ""
978
  "You can define a global container type on the Ajax Load More settings screen"
979
  msgstr ""
980
 
981
- #: ../admin/shortcode-builder/shortcode-builder.php:731
982
  msgid ""
983
  "Override the global Container Type that was set on <a href=\"admin.php?"
984
  "page=ajax-load-more\">ALM Settings page</a>."
985
  msgstr ""
986
 
987
- #: ../admin/shortcode-builder/shortcode-builder.php:760
988
  msgid ""
989
  "You can define global container classes on the Ajax Load More settings screen"
990
  msgstr ""
991
 
992
- #: ../admin/shortcode-builder/shortcode-builder.php:761
993
  msgid ""
994
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
995
  "portfolio-listing large-12 etc"
996
  msgstr ""
997
 
998
- #: ../admin/shortcode-builder/shortcode-builder.php:775
999
  msgid "Button Labels"
1000
  msgstr ""
1001
 
1002
- #: ../admin/shortcode-builder/shortcode-builder.php:780
1003
  msgid "Label"
1004
  msgstr ""
1005
 
1006
- #: ../admin/shortcode-builder/shortcode-builder.php:781
1007
  msgid "Customize the text of the <em>Load More</em> button."
1008
  msgstr ""
1009
 
1010
- #: ../admin/shortcode-builder/shortcode-builder.php:793
1011
  msgid "Loading Label"
1012
  msgstr ""
1013
 
1014
- #: ../admin/shortcode-builder/shortcode-builder.php:793
1015
  msgid "Leave field empty to not update text while loading content"
1016
  msgstr ""
1017
 
1018
- #: ../admin/shortcode-builder/shortcode-builder.php:794
1019
  msgid ""
1020
  "Update the text of the <em>Load More</em> button while content is loading."
1021
  msgstr ""
1022
 
1023
- #: ../admin/shortcode-builder/shortcode-builder.php:798
1024
  msgid "Loading Posts..."
1025
  msgstr ""
1026
 
1027
- #: ../admin/shortcode-builder/shortcode-builder.php:808
1028
  msgid "Images Loaded"
1029
  msgstr ""
1030
 
1031
- #: ../admin/shortcode-builder/shortcode-builder.php:811
1032
  msgid "Wait for all images to load before displaying ajax loaded content"
1033
  msgstr ""
1034
 
1035
- #: ../admin/shortcode-builder/shortcode-builder.php:812
1036
  msgid "Background images are currently not supported"
1037
  msgstr ""
1038
 
1039
- #: ../admin/shortcode-builder/shortcode-builder.php:835
1040
  msgid "Pause"
1041
  msgstr ""
1042
 
1043
- #: ../admin/shortcode-builder/shortcode-builder.php:838
1044
  msgid ""
1045
  "Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
1046
  msgstr ""
1047
 
1048
- #: ../admin/shortcode-builder/shortcode-builder.php:860
1049
  msgid "Scrolling"
1050
  msgstr ""
1051
 
1052
- #: ../admin/shortcode-builder/shortcode-builder.php:863
1053
  msgid "Enable Scrolling"
1054
  msgstr ""
1055
 
1056
- #: ../admin/shortcode-builder/shortcode-builder.php:864
1057
  msgid "Load more posts as the user scrolls the page."
1058
  msgstr ""
1059
 
1060
- #: ../admin/shortcode-builder/shortcode-builder.php:885
1061
  msgid "Scroll Distance"
1062
  msgstr ""
1063
 
1064
- #: ../admin/shortcode-builder/shortcode-builder.php:885
1065
  msgid ""
1066
  "Distance is based on the position of the loading button from the bottom of "
1067
  "the screen"
1068
  msgstr ""
1069
 
1070
- #: ../admin/shortcode-builder/shortcode-builder.php:886
1071
  msgid ""
1072
  "The distance from the bottom of the screen to trigger loading of posts. "
1073
  "(Default = 150)"
1074
  msgstr ""
1075
 
1076
- #: ../admin/shortcode-builder/shortcode-builder.php:898
1077
  msgid "Maximum Pages"
1078
  msgstr ""
1079
 
1080
- #: ../admin/shortcode-builder/shortcode-builder.php:898
1081
  msgid "If using an Infinite Scroll button style you should set this to 0"
1082
  msgstr ""
1083
 
1084
- #: ../admin/shortcode-builder/shortcode-builder.php:899
1085
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1086
  msgstr ""
1087
 
1088
- #: ../admin/shortcode-builder/shortcode-builder.php:911
1089
  msgid "Pause Override"
1090
  msgstr ""
1091
 
1092
- #: ../admin/shortcode-builder/shortcode-builder.php:912
1093
  msgid ""
1094
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1095
  "posts on scroll."
1096
  msgstr ""
1097
 
1098
- #: ../admin/shortcode-builder/shortcode-builder.php:933
1099
  msgid "Transition"
1100
  msgstr ""
1101
 
1102
- #: ../admin/shortcode-builder/shortcode-builder.php:936
1103
  msgid "Transition Type"
1104
  msgstr ""
1105
 
1106
- #: ../admin/shortcode-builder/shortcode-builder.php:937
1107
  msgid "Select a loading transition style."
1108
  msgstr ""
1109
 
1110
- #: ../admin/shortcode-builder/shortcode-builder.php:944
1111
  msgid "Slide"
1112
  msgstr ""
1113
 
1114
- #: ../admin/shortcode-builder/shortcode-builder.php:948
1115
  msgid "Fade"
1116
  msgstr ""
1117
 
1118
- #: ../admin/shortcode-builder/shortcode-builder.php:962
1119
  msgid "Transition Speed"
1120
  msgstr ""
1121
 
1122
- #: ../admin/shortcode-builder/shortcode-builder.php:962
1123
  msgid "0.5 seconds = 500, 1 second = 1000 etc."
1124
  msgstr ""
1125
 
1126
- #: ../admin/shortcode-builder/shortcode-builder.php:963
1127
  msgid "The speed of the loading transition in milliseconds"
1128
  msgstr ""
1129
 
1130
- #: ../admin/shortcode-builder/shortcode-builder.php:975
1131
  msgid "Transition Container"
1132
  msgstr ""
1133
 
1134
- #: ../admin/shortcode-builder/shortcode-builder.php:975
1135
  msgid ""
1136
  "Removing the transition container may have undesired results and is not "
1137
  "recommended."
1138
  msgstr ""
1139
 
1140
- #: ../admin/shortcode-builder/shortcode-builder.php:976
1141
  msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1142
  msgstr ""
1143
 
1144
- #: ../admin/shortcode-builder/shortcode-builder.php:994
 
 
 
 
1145
  msgid "Destroy After"
1146
  msgstr ""
1147
 
1148
- #: ../admin/shortcode-builder/shortcode-builder.php:997
1149
  msgid ""
1150
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1151
  "been loaded."
1152
  msgstr ""
1153
 
1154
- #: ../admin/shortcode-builder/shortcode-builder.php:1015
1155
  msgid "Query Parameters"
1156
  msgstr ""
1157
 
1158
- #: ../admin/shortcode-builder/shortcode-builder.php:1019
1159
  msgid "Posts Per Page"
1160
  msgstr ""
1161
 
1162
- #: ../admin/shortcode-builder/shortcode-builder.php:1022
1163
  msgid "Select the number of posts to load with each request."
1164
  msgstr ""
1165
 
1166
- #: ../admin/shortcode-builder/shortcode-builder.php:1041
1167
  msgid "Post Type"
1168
  msgstr ""
1169
 
1170
- #: ../admin/shortcode-builder/shortcode-builder.php:1044
1171
  msgid "Select Post Types to query."
1172
  msgstr ""
1173
 
1174
- #: ../admin/shortcode-builder/shortcode-builder.php:1069
1175
  msgid "Post Format"
1176
  msgstr ""
1177
 
1178
- #: ../admin/shortcode-builder/shortcode-builder.php:1072
1179
  msgid ""
1180
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
1181
  "\">Post Format</a> to query."
1182
  msgstr ""
1183
 
1184
- #: ../admin/shortcode-builder/shortcode-builder.php:1075
1185
  msgid "Select Post Format"
1186
  msgstr ""
1187
 
1188
- #: ../admin/shortcode-builder/shortcode-builder.php:1076
1189
  msgid "Standard"
1190
  msgstr ""
1191
 
1192
- #: ../admin/shortcode-builder/shortcode-builder.php:1102
1193
  msgid ""
1194
  "A comma separated list of categories to include by slug. (design, research "
1195
  "etc...)"
1196
  msgstr ""
1197
 
1198
- #: ../admin/shortcode-builder/shortcode-builder.php:1125
1199
- #: ../admin/shortcode-builder/shortcode-builder.php:1183
1200
- #: ../admin/shortcode-builder/shortcode-builder.php:1361
1201
  msgid "Exclude"
1202
  msgstr ""
1203
 
1204
- #: ../admin/shortcode-builder/shortcode-builder.php:1126
1205
  msgid ""
1206
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
1207
  msgstr ""
1208
 
1209
- #: ../admin/shortcode-builder/shortcode-builder.php:1161
1210
- #: ../admin/shortcode-builder/shortcode-builder.php:1350
1211
  msgid "Include"
1212
  msgstr ""
1213
 
1214
- #: ../admin/shortcode-builder/shortcode-builder.php:1162
1215
  msgid ""
1216
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
1217
  msgstr ""
1218
 
1219
- #: ../admin/shortcode-builder/shortcode-builder.php:1184
1220
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
1221
  msgstr ""
1222
 
1223
- #: ../admin/shortcode-builder/shortcode-builder.php:1220
1224
  msgid "Select a taxonomy then select the terms and an operator."
1225
  msgstr ""
1226
 
1227
- #: ../admin/shortcode-builder/shortcode-builder.php:1225
1228
- #: ../admin/shortcode-builder/shortcode-builder.php:1291
1229
  msgid "Add Another"
1230
  msgstr ""
1231
 
1232
- #: ../admin/shortcode-builder/shortcode-builder.php:1235
1233
  msgid "Date"
1234
  msgstr ""
1235
 
1236
- #: ../admin/shortcode-builder/shortcode-builder.php:1238
1237
  msgid ""
1238
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1239
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">View Example</a>"
1240
  msgstr ""
1241
 
1242
- #: ../admin/shortcode-builder/shortcode-builder.php:1244
1243
  msgid "Year:"
1244
  msgstr ""
1245
 
1246
- #: ../admin/shortcode-builder/shortcode-builder.php:1248
1247
  msgid "Month:"
1248
  msgstr ""
1249
 
1250
- #: ../admin/shortcode-builder/shortcode-builder.php:1252
1251
  msgid "Day:"
1252
  msgstr ""
1253
 
1254
- #: ../admin/shortcode-builder/shortcode-builder.php:1263
1255
  msgid "Custom Fields (Meta_Query)"
1256
  msgstr ""
1257
 
1258
- #: ../admin/shortcode-builder/shortcode-builder.php:1266
1259
  msgid ""
1260
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1261
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1262
  "and operator."
1263
  msgstr ""
1264
 
1265
- #: ../admin/shortcode-builder/shortcode-builder.php:1277
1266
  msgid ""
1267
  "The logical relationship between each custom field when there is more than "
1268
  "one."
1269
  msgstr ""
1270
 
1271
- #: ../admin/shortcode-builder/shortcode-builder.php:1307
1272
  msgid "Author"
1273
  msgstr ""
1274
 
1275
- #: ../admin/shortcode-builder/shortcode-builder.php:1310
1276
  msgid "Select an Author to query(by ID)."
1277
  msgstr ""
1278
 
1279
- #: ../admin/shortcode-builder/shortcode-builder.php:1331
1280
  msgid "Search Term"
1281
  msgstr ""
1282
 
1283
- #: ../admin/shortcode-builder/shortcode-builder.php:1334
1284
  msgid "Enter a search term to query."
1285
  msgstr ""
1286
 
1287
- #: ../admin/shortcode-builder/shortcode-builder.php:1338
1288
  msgid "Enter search term"
1289
  msgstr ""
1290
 
1291
- #: ../admin/shortcode-builder/shortcode-builder.php:1347
1292
  msgid "Post Parameters"
1293
  msgstr ""
1294
 
1295
- #: ../admin/shortcode-builder/shortcode-builder.php:1351
1296
  msgid "A comma separated list of post ID's to query."
1297
  msgstr ""
1298
 
1299
- #: ../admin/shortcode-builder/shortcode-builder.php:1355
1300
  msgid "225, 340, 818, etc..."
1301
  msgstr ""
1302
 
1303
- #: ../admin/shortcode-builder/shortcode-builder.php:1362
1304
  msgid "A comma separated list of post ID's to exclude from query."
1305
  msgstr ""
1306
 
1307
- #: ../admin/shortcode-builder/shortcode-builder.php:1372
1308
  msgid "Post Status"
1309
  msgstr ""
1310
 
1311
- #: ../admin/shortcode-builder/shortcode-builder.php:1372
1312
  msgid ""
1313
  "Post Status parameters are only available for logged in (admin) users. Non "
1314
  "logged in users will only have access to view content in a 'publish' or "
1315
  "'inherit' state. "
1316
  msgstr ""
1317
 
1318
- #: ../admin/shortcode-builder/shortcode-builder.php:1373
1319
  msgid "Select status of the post."
1320
  msgstr ""
1321
 
1322
- #: ../admin/shortcode-builder/shortcode-builder.php:1378
1323
  msgid "Published"
1324
  msgstr ""
1325
 
1326
- #: ../admin/shortcode-builder/shortcode-builder.php:1395
1327
  msgid "Ordering"
1328
  msgstr ""
1329
 
1330
- #: ../admin/shortcode-builder/shortcode-builder.php:1398
1331
  msgid "Sort posts by Order and Orderby parameters."
1332
  msgstr ""
1333
 
1334
- #: ../admin/shortcode-builder/shortcode-builder.php:1402
1335
  msgid "Order"
1336
  msgstr ""
1337
 
1338
- #: ../admin/shortcode-builder/shortcode-builder.php:1409
1339
  msgid "Order By"
1340
  msgstr ""
1341
 
1342
- #: ../admin/shortcode-builder/shortcode-builder.php:1429
1343
  msgid "Offset"
1344
  msgstr ""
1345
 
1346
- #: ../admin/shortcode-builder/shortcode-builder.php:1432
1347
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1348
  msgstr ""
1349
 
1350
- #: ../admin/shortcode-builder/shortcode-builder.php:1445
1351
  msgid "Custom Arguments"
1352
  msgstr ""
1353
 
1354
- #: ../admin/shortcode-builder/shortcode-builder.php:1448
1355
  msgid "A semicolon separated list of custom value:pair arguments."
1356
  msgstr ""
1357
 
1358
- #: ../admin/shortcode-builder/shortcode-builder.php:1448
1359
  msgid ""
1360
  "Custom Arguments can be used to query by parameters not available in the "
1361
  "Shortcode Builder."
1362
  msgstr ""
1363
 
1364
- #: ../admin/shortcode-builder/shortcode-builder.php:1452
1365
  msgid "event_display:upcoming"
1366
  msgstr ""
1367
 
1368
- #: ../admin/views/add-ons.php:6
1369
  msgid ""
1370
  "Add-ons are available to extend and enhance the core functionality of Ajax "
1371
  "Load More"
1372
  msgstr ""
1373
 
1374
- #: ../admin/views/add-ons.php:21
1375
  msgid "Improve performance with the Ajax Load More caching engine."
1376
  msgstr ""
1377
 
1378
- #: ../admin/views/add-ons.php:22
1379
  msgid ""
1380
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
1381
  "delivers those static files to your visitors."
1382
  msgstr ""
1383
 
1384
- #: ../admin/views/add-ons.php:48
1385
  msgid ""
1386
  "Ajax Load More extension for displaying advertisements and call to actions."
1387
  msgstr ""
1388
 
1389
- #: ../admin/views/add-ons.php:49
1390
  msgid ""
1391
  "The Call to Actions add-on will provide the ability to inject a custom CTA "
1392
  "template within each Ajax Load More loop."
1393
  msgstr ""
1394
 
1395
- #: ../admin/views/add-ons.php:75
1396
  msgid "Load blog comments on demand with Ajax Load More."
1397
  msgstr ""
1398
 
1399
- #: ../admin/views/add-ons.php:76
1400
  msgid ""
1401
  "The Comments add-on will display your blog comments with Ajax Load More's "
1402
  "infinite scroll functionality."
1403
  msgstr ""
1404
 
1405
- #: ../admin/views/add-ons.php:99 ../admin/views/licenses.php:240
1406
  msgid "Custom Repeaters"
1407
  msgstr ""
1408
 
1409
- #: ../admin/views/add-ons.php:100
1410
  msgid "Extend Ajax Load More with unlimited repeater templates."
1411
  msgstr ""
1412
 
1413
- #: ../admin/views/add-ons.php:101
1414
  msgid ""
1415
  "Create, delete and modify repeater templates as you need them with "
1416
  "absolutely zero restrictions."
1417
  msgstr ""
1418
 
1419
- #: ../admin/views/add-ons.php:127 ../admin/views/licenses.php:307
1420
  #: ../admin/views/settings.php:55
1421
  msgid "Layouts"
1422
  msgstr ""
1423
 
1424
- #: ../admin/views/add-ons.php:128
1425
  msgid "Predefined layouts for your repeater templates."
1426
  msgstr ""
1427
 
1428
- #: ../admin/views/add-ons.php:129
1429
  msgid ""
1430
  "The Layouts add-on provides a collection of unique, well designed and fully "
1431
  "responsive templates."
1432
  msgstr ""
1433
 
1434
- #: ../admin/views/add-ons.php:154
 
 
 
 
 
 
 
 
 
 
1435
  msgid "Extend Ajax Load More with a numbered navigation."
1436
  msgstr ""
1437
 
1438
- #: ../admin/views/add-ons.php:155
1439
  msgid ""
1440
  "The Paging add-on will transform the default infinite scroll functionality "
1441
  "into a robust ajax powered navigation system."
1442
  msgstr ""
1443
 
1444
- #: ../admin/views/add-ons.php:181
1445
  msgid "Load an initial set of posts before making Ajax requests to the server."
1446
  msgstr ""
1447
 
1448
- #: ../admin/views/add-ons.php:182
1449
  msgid ""
1450
  "The Preloaded add-on will display content quicker and allow caching of the "
1451
  "initial query which can reduce stress on your server."
1452
  msgstr ""
1453
 
1454
- #: ../admin/views/add-ons.php:207
1455
  msgid "An extension to enable infinite scrolling of single posts."
1456
  msgstr ""
1457
 
1458
- #: ../admin/views/add-ons.php:208
1459
  msgid ""
1460
  "The Previous Post add-on will load single posts as you scroll and update the "
1461
  "browser URL to the current post."
1462
  msgstr ""
1463
 
1464
- #: ../admin/views/add-ons.php:233
1465
  msgid "Infinite scroll with the WP REST API and Ajax Load More plugins."
1466
  msgstr ""
1467
 
1468
- #: ../admin/views/add-ons.php:234
1469
  msgid ""
1470
  "The REST API add-on will enable compatibility between Ajax Load More and the "
1471
  "WP REST API plugins.</p>"
1472
  msgstr ""
1473
 
1474
- #: ../admin/views/add-ons.php:260 ../admin/views/licenses.php:635
1475
  msgid "Search Engine Optimization"
1476
  msgstr ""
1477
 
1478
- #: ../admin/views/add-ons.php:261
1479
  msgid "Generate unique paging URLs with every Ajax Load More query."
1480
  msgstr ""
1481
 
1482
- #: ../admin/views/add-ons.php:262
1483
  msgid ""
1484
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1485
  "generating unique URLs with every query.</p>"
1486
  msgstr ""
1487
 
1488
- #: ../admin/views/add-ons.php:286 ../admin/views/licenses.php:703
1489
  #: ../admin/views/settings.php:65
1490
  msgid "Theme Repeaters"
1491
  msgstr ""
1492
 
1493
- #: ../admin/views/add-ons.php:287
1494
  msgid "Manage repeater templates within your current theme directory."
1495
  msgstr ""
1496
 
1497
- #: ../admin/views/add-ons.php:288
1498
  msgid ""
1499
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1500
  "from your current theme directory.</p>"
1501
  msgstr ""
1502
 
1503
- #: ../admin/views/add-ons.php:307
1504
  msgid ""
1505
  "All add-ons are installed as stand alone plugins and with a valid license "
1506
  "key will receive plugin update notifications directly within the <a href="
@@ -1596,98 +1704,99 @@ msgid ""
1596
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1597
  msgstr ""
1598
 
1599
- #: ../admin/views/licenses.php:53 ../admin/views/licenses.php:118
1600
- #: ../admin/views/licenses.php:183 ../admin/views/licenses.php:249
1601
- #: ../admin/views/licenses.php:316 ../admin/views/licenses.php:383
1602
- #: ../admin/views/licenses.php:448 ../admin/views/licenses.php:512
1603
- #: ../admin/views/licenses.php:578 ../admin/views/licenses.php:644
1604
- #: ../admin/views/licenses.php:712
1605
- msgid "Don't have a license?"
1606
- msgstr ""
1607
-
1608
  #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:119
1609
  #: ../admin/views/licenses.php:184 ../admin/views/licenses.php:250
1610
- #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:384
1611
- #: ../admin/views/licenses.php:449 ../admin/views/licenses.php:513
1612
  #: ../admin/views/licenses.php:579 ../admin/views/licenses.php:645
1613
- #: ../admin/views/licenses.php:713
 
 
 
 
 
 
 
 
 
1614
  msgid ""
1615
  "A valid license is required to activate and receive plugin updates directly "
1616
  "in your WordPress dashboard"
1617
  msgstr ""
1618
 
1619
- #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:119
1620
- #: ../admin/views/licenses.php:184 ../admin/views/licenses.php:250
1621
- #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:384
1622
- #: ../admin/views/licenses.php:449 ../admin/views/licenses.php:513
1623
- #: ../admin/views/licenses.php:579 ../admin/views/licenses.php:645
1624
- #: ../admin/views/licenses.php:713
1625
  msgid "Purchase Now"
1626
  msgstr ""
1627
 
1628
- #: ../admin/views/licenses.php:60 ../admin/views/licenses.php:62
1629
- #: ../admin/views/licenses.php:125 ../admin/views/licenses.php:127
1630
- #: ../admin/views/licenses.php:190 ../admin/views/licenses.php:192
1631
- #: ../admin/views/licenses.php:256 ../admin/views/licenses.php:258
1632
- #: ../admin/views/licenses.php:323 ../admin/views/licenses.php:325
1633
  #: ../admin/views/licenses.php:390 ../admin/views/licenses.php:392
1634
- #: ../admin/views/licenses.php:455 ../admin/views/licenses.php:457
1635
- #: ../admin/views/licenses.php:519 ../admin/views/licenses.php:521
1636
- #: ../admin/views/licenses.php:585 ../admin/views/licenses.php:587
1637
- #: ../admin/views/licenses.php:651 ../admin/views/licenses.php:653
1638
- #: ../admin/views/licenses.php:719 ../admin/views/licenses.php:721
 
1639
  msgid "Enter License Key"
1640
  msgstr ""
1641
 
1642
- #: ../admin/views/licenses.php:82 ../admin/views/licenses.php:147
1643
- #: ../admin/views/licenses.php:212 ../admin/views/licenses.php:278
1644
- #: ../admin/views/licenses.php:345 ../admin/views/licenses.php:412
1645
- #: ../admin/views/licenses.php:476 ../admin/views/licenses.php:541
1646
- #: ../admin/views/licenses.php:607 ../admin/views/licenses.php:673
1647
- #: ../admin/views/licenses.php:742
1648
  msgid "Activate License"
1649
  msgstr ""
1650
 
1651
- #: ../admin/views/licenses.php:86 ../admin/views/licenses.php:151
1652
- #: ../admin/views/licenses.php:216 ../admin/views/licenses.php:282
1653
- #: ../admin/views/licenses.php:349 ../admin/views/licenses.php:416
1654
- #: ../admin/views/licenses.php:480 ../admin/views/licenses.php:545
1655
- #: ../admin/views/licenses.php:611 ../admin/views/licenses.php:677
1656
- #: ../admin/views/licenses.php:746
1657
  msgid "Deactivate License"
1658
  msgstr ""
1659
 
1660
- #: ../admin/views/licenses.php:764
1661
  msgid "You do not have any Ajax Load More add-ons installed"
1662
  msgstr ""
1663
 
1664
- #: ../admin/views/licenses.php:764
1665
  msgid "Browse Add-ons"
1666
  msgstr ""
1667
 
1668
- #: ../admin/views/licenses.php:775
1669
  msgid "About Licenses"
1670
  msgstr ""
1671
 
1672
- #: ../admin/views/licenses.php:778
1673
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1674
  msgstr ""
1675
 
1676
- #: ../admin/views/licenses.php:779
1677
  msgid ""
1678
  "License keys are found in the purchase receipt email that was sent "
1679
  "immediately after your successful purchase and in the <a target=\"_blank\" "
1680
  "href=\"https://connekthq.com/account/\">Account</a> section on our website"
1681
  msgstr ""
1682
 
1683
- #: ../admin/views/licenses.php:780
1684
  msgid ""
1685
  "If you cannot locate your key please open a support ticket by filling out "
1686
  "the <a href=\"https://connekthq.com/contact/\">form</a> on our website and "
1687
  "reference the email address used when you completed the purchase."
1688
  msgstr ""
1689
 
1690
- #: ../admin/views/licenses.php:786
1691
  msgid "Legacy Users"
1692
  msgstr ""
1693
 
@@ -1825,11 +1934,11 @@ msgstr ""
1825
  msgid "Reset Shortcode Builder"
1826
  msgstr ""
1827
 
1828
- #: ../ajax-load-more.php:197
1829
  msgid "Settings"
1830
  msgstr ""
1831
 
1832
- #: ../core/functions.php:542
1833
  msgid "Pages:"
1834
  msgstr ""
1835
 
@@ -1870,9 +1979,6 @@ msgstr ""
1870
  #~ msgid "Share via Email"
1871
  #~ msgstr "Partager par courriel"
1872
 
1873
- #~ msgid "Print Page"
1874
- #~ msgstr "Imprimer cette page"
1875
-
1876
  #~ msgid "Your search returned <strong>%s</strong> result%s"
1877
  #~ msgstr "Votre recherche a généré <strong>%s</strong> résultat%s "
1878
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
+ "POT-Creation-Date: 2017-02-14 10:47-0500\n"
5
+ "PO-Revision-Date: 2017-02-14 10:47-0500\n"
6
+ "Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../admin/admin.php:94 ../admin/admin.php:153 ../admin/admin.php:720
19
+ #: ../admin/admin.php:764 ../admin/admin.php:814
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
  #: ../admin/admin.php:183 ../admin/editor/editor-build.php:72
24
+ #: ../admin/views/licenses.php:66 ../admin/views/licenses.php:131
25
+ #: ../admin/views/licenses.php:196 ../admin/views/licenses.php:262
26
+ #: ../admin/views/licenses.php:329 ../admin/views/licenses.php:395
27
+ #: ../admin/views/licenses.php:462 ../admin/views/licenses.php:527
28
+ #: ../admin/views/licenses.php:591 ../admin/views/licenses.php:657
29
+ #: ../admin/views/licenses.php:723 ../admin/views/licenses.php:791
30
  msgid "Active"
31
  msgstr ""
32
 
33
  #: ../admin/admin.php:184 ../admin/editor/editor-build.php:73
34
+ #: ../admin/views/licenses.php:70 ../admin/views/licenses.php:135
35
+ #: ../admin/views/licenses.php:200 ../admin/views/licenses.php:266
36
+ #: ../admin/views/licenses.php:333 ../admin/views/licenses.php:399
37
+ #: ../admin/views/licenses.php:466 ../admin/views/licenses.php:531
38
+ #: ../admin/views/licenses.php:595 ../admin/views/licenses.php:661
39
+ #: ../admin/views/licenses.php:727 ../admin/views/licenses.php:795
40
  msgid "Inactive"
41
  msgstr ""
42
 
84
  "to read and write files within the /ajax-load-more/core/repeater directory."
85
  msgstr ""
86
 
87
+ #: ../admin/admin.php:678
88
  msgid "[Ajax Load More] Unable to open repeater template - "
89
  msgstr ""
90
 
91
+ #: ../admin/admin.php:682
92
  msgid "[Ajax Load More] Error saving repeater template - "
93
  msgstr ""
94
 
95
+ #: ../admin/admin.php:715
96
  msgid "Error Writing File"
97
  msgstr ""
98
 
99
+ #: ../admin/admin.php:918 ../admin/shortcode-builder/shortcode-builder.php:848
100
  msgid "Container Type"
101
  msgstr ""
102
 
103
+ #: ../admin/admin.php:926 ../admin/shortcode-builder/shortcode-builder.php:878
104
  msgid "Container Classes"
105
  msgstr ""
106
 
107
+ #: ../admin/admin.php:934
108
  msgid "Disable CSS"
109
  msgstr ""
110
 
111
+ #: ../admin/admin.php:942
112
  msgid "Button/Loading Style"
113
  msgstr ""
114
 
115
+ #: ../admin/admin.php:950
116
  msgid "Button Classes"
117
  msgstr ""
118
 
119
+ #: ../admin/admin.php:958
120
  msgid "Ajax Security"
121
  msgstr ""
122
 
123
+ #: ../admin/admin.php:966
124
  msgid "Top of Page"
125
  msgstr ""
126
 
127
+ #: ../admin/admin.php:974
128
  msgid "Dynamic Content"
129
  msgstr ""
130
 
131
+ #: ../admin/admin.php:982
132
  msgid "Editor Button"
133
  msgstr ""
134
 
135
+ #: ../admin/admin.php:990
136
  msgid "Error Notices"
137
  msgstr ""
138
 
139
+ #: ../admin/admin.php:1061
140
  msgid ""
141
  "Customize the user experience of Ajax Load More by updating the fields below."
142
  msgstr ""
143
 
144
+ #: ../admin/admin.php:1074
145
  msgid "The following settings affect the WordPress admin area only."
146
  msgstr ""
147
 
148
+ #: ../admin/admin.php:1105
149
  msgid "I want to use my own CSS styles."
150
  msgstr ""
151
 
152
+ #: ../admin/admin.php:1105
153
  msgid "View Ajax Load More CSS"
154
  msgstr ""
155
 
156
+ #: ../admin/admin.php:1125
157
  msgid "Hide shortcode button in WYSIWYG editor."
158
  msgstr ""
159
 
160
+ #: ../admin/admin.php:1146
161
  msgid ""
162
  "Display error messaging regarding repeater template updates in the browser "
163
  "console."
164
  msgstr ""
165
 
166
+ #: ../admin/admin.php:1167
167
  msgid ""
168
  "Disable dynamic population of categories, tags and authors in the Shortcode "
169
  "Builder.<span style=\"display:block\">Recommended if you have an "
170
  "extraordinary number of categories, tags and/or authors."
171
  msgstr ""
172
 
173
+ #: ../admin/admin.php:1188 ../admin/admin.php:1191
174
  msgid "Ajax Posts Here"
175
  msgstr ""
176
 
177
+ #: ../admin/admin.php:1193
178
  msgid "You can modify the container type when building a shortcode."
179
  msgstr ""
180
 
181
+ #: ../admin/admin.php:1210
182
  msgid ""
183
  "Add classes to Ajax Load More container - classes are applied globally and "
184
  "will appear with every instance of Ajax Load More. <span style=\"display:"
185
  "block\">You can also add classes when building a shortcode.</span>"
186
  msgstr ""
187
 
188
+ #: ../admin/admin.php:1272
189
  msgid ""
190
  "Select an Ajax loading style - you can choose between a <strong>button</"
191
  "strong> or <strong>infinite scroll</strong>"
192
  msgstr ""
193
 
194
+ #: ../admin/admin.php:1293
195
  msgid "Preview"
196
  msgstr ""
197
 
198
+ #: ../admin/admin.php:1293
199
+ #: ../admin/shortcode-builder/shortcode-builder.php:903
200
+ #: ../core/classes/class.alm-shortcode.php:122
201
  msgid "Older Posts"
202
  msgstr ""
203
 
204
+ #: ../admin/admin.php:1312
205
  msgid "Add classes to your <strong>Load More</strong> button"
206
  msgstr ""
207
 
208
+ #: ../admin/admin.php:1355
209
  msgid ""
210
  "On initial page load, move the user's browser window to the top of the "
211
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
212
  "loading of unnecessary posts.</span>"
213
  msgstr ""
214
 
215
+ #: ../admin/admin.php:1376
216
  msgid ""
217
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
218
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
250
  msgstr ""
251
 
252
  #: ../admin/includes/components/repeater-options.php:2
253
+ #: ../admin/shortcode-builder/shortcode-builder.php:828
254
  msgid "Options"
255
  msgstr ""
256
 
319
  msgstr ""
320
 
321
  #: ../admin/includes/cta/resources.php:5
322
+ msgid "Documentation"
323
  msgstr ""
324
 
325
  #: ../admin/includes/cta/resources.php:6
326
+ msgid "Plugin Support and Issues"
327
+ msgstr ""
 
328
 
329
  #: ../admin/includes/cta/resources.php:7
330
  msgid "Reviews"
332
 
333
  #: ../admin/includes/cta/resources.php:8
334
  #, fuzzy
335
+ msgid "Twitter"
336
+ msgstr "Partager sur Twitter"
337
+
338
+ #: ../admin/includes/cta/resources.php:9
339
+ #, fuzzy
340
  msgid "Facebook"
341
  msgstr "Partager sur Facebook"
342
 
343
+ #: ../admin/includes/cta/resources.php:10
344
  msgid "Github"
345
  msgstr ""
346
 
347
+ #: ../admin/includes/cta/resources.php:12
348
  msgid "WordPress Repository"
349
  msgstr ""
350
 
478
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
479
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
480
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
481
+ #: ../admin/shortcode-builder/shortcode-builder.php:596
482
  msgid "Select Taxonomy"
483
  msgstr ""
484
 
495
  msgstr ""
496
 
497
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
498
+ #: ../admin/shortcode-builder/shortcode-builder.php:1395
499
  msgid "Relation:"
500
  msgstr ""
501
 
515
  msgstr ""
516
 
517
  #: ../admin/shortcode-builder/shortcode-builder.php:16
518
+ #: ../admin/views/add-ons.php:6
519
  msgid "Add-ons"
520
  msgstr ""
521
 
522
  #: ../admin/shortcode-builder/shortcode-builder.php:21
523
+ #: ../admin/views/add-ons.php:21 ../admin/views/licenses.php:45
524
  #: ../admin/views/settings.php:53
525
  msgid "Cache"
526
  msgstr ""
532
  #: ../admin/shortcode-builder/shortcode-builder.php:31
533
  #: ../admin/shortcode-builder/shortcode-builder.php:75
534
  #: ../admin/shortcode-builder/shortcode-builder.php:169
535
+ #: ../admin/shortcode-builder/shortcode-builder.php:320
 
 
536
  #: ../admin/shortcode-builder/shortcode-builder.php:437
537
+ #: ../admin/shortcode-builder/shortcode-builder.php:460
538
+ #: ../admin/shortcode-builder/shortcode-builder.php:514
539
+ #: ../admin/shortcode-builder/shortcode-builder.php:555
540
+ #: ../admin/shortcode-builder/shortcode-builder.php:648
541
+ #: ../admin/shortcode-builder/shortcode-builder.php:728
542
+ #: ../admin/shortcode-builder/shortcode-builder.php:762
543
+ #: ../admin/shortcode-builder/shortcode-builder.php:938
544
+ #: ../admin/shortcode-builder/shortcode-builder.php:963
545
+ #: ../admin/shortcode-builder/shortcode-builder.php:989
546
+ #: ../admin/shortcode-builder/shortcode-builder.php:1036
547
  msgid "True"
548
  msgstr ""
549
 
550
  #: ../admin/shortcode-builder/shortcode-builder.php:35
551
  #: ../admin/shortcode-builder/shortcode-builder.php:79
552
  #: ../admin/shortcode-builder/shortcode-builder.php:173
553
+ #: ../admin/shortcode-builder/shortcode-builder.php:324
 
 
554
  #: ../admin/shortcode-builder/shortcode-builder.php:441
555
+ #: ../admin/shortcode-builder/shortcode-builder.php:464
556
+ #: ../admin/shortcode-builder/shortcode-builder.php:518
557
+ #: ../admin/shortcode-builder/shortcode-builder.php:559
558
+ #: ../admin/shortcode-builder/shortcode-builder.php:652
559
+ #: ../admin/shortcode-builder/shortcode-builder.php:732
560
+ #: ../admin/shortcode-builder/shortcode-builder.php:766
561
+ #: ../admin/shortcode-builder/shortcode-builder.php:942
562
+ #: ../admin/shortcode-builder/shortcode-builder.php:967
563
+ #: ../admin/shortcode-builder/shortcode-builder.php:993
564
+ #: ../admin/shortcode-builder/shortcode-builder.php:1040
565
  msgid "False"
566
  msgstr ""
567
 
580
  msgstr ""
581
 
582
  #: ../admin/shortcode-builder/shortcode-builder.php:64
583
+ #: ../admin/views/add-ons.php:48 ../admin/views/licenses.php:110
584
  msgid "Call to Actions"
585
  msgstr ""
586
 
616
  msgstr ""
617
 
618
  #: ../admin/shortcode-builder/shortcode-builder.php:116
619
+ #: ../admin/shortcode-builder/shortcode-builder.php:788
620
  msgid "Template"
621
  msgstr ""
622
 
639
  msgstr ""
640
 
641
  #: ../admin/shortcode-builder/shortcode-builder.php:159
642
+ #: ../admin/views/add-ons.php:75 ../admin/views/licenses.php:175
643
  msgid "Comments"
644
  msgstr ""
645
 
648
  msgstr ""
649
 
650
  #: ../admin/shortcode-builder/shortcode-builder.php:184
651
+ #: ../admin/shortcode-builder/shortcode-builder.php:337
652
+ #: ../admin/shortcode-builder/shortcode-builder.php:569
653
  msgid "Post ID"
654
  msgstr ""
655
 
656
  #: ../admin/shortcode-builder/shortcode-builder.php:185
657
+ #: ../admin/shortcode-builder/shortcode-builder.php:570
658
  msgid "The ID of the current single post."
659
  msgstr ""
660
 
716
  msgstr ""
717
 
718
  #: ../admin/shortcode-builder/shortcode-builder.php:262
719
+ #: ../admin/shortcode-builder/shortcode-builder.php:1070
720
  msgid "None"
721
  msgstr ""
722
 
758
  msgstr ""
759
 
760
  #: ../admin/shortcode-builder/shortcode-builder.php:310
761
+ #: ../admin/views/add-ons.php:154 ../admin/views/licenses.php:374
762
+ #, fuzzy
763
+ msgid "Next Page"
764
+ msgstr "Imprimer cette page"
765
+
766
+ #: ../admin/shortcode-builder/shortcode-builder.php:313
767
+ msgid "Enable the infinite scrolling of multipage WordPress content using the"
768
+ msgstr ""
769
+
770
+ #: ../admin/shortcode-builder/shortcode-builder.php:313
771
+ msgid "Quicktag"
772
+ msgstr ""
773
+
774
+ #: ../admin/shortcode-builder/shortcode-builder.php:338
775
+ msgid "The ID of the current page/post."
776
+ msgstr ""
777
+
778
+ #: ../admin/shortcode-builder/shortcode-builder.php:350
779
+ msgid "URL Rewrite"
780
+ msgstr ""
781
+
782
+ #: ../admin/shortcode-builder/shortcode-builder.php:351
783
+ msgid "Update the browser address bar as pages come into view"
784
+ msgstr ""
785
+
786
+ #: ../admin/shortcode-builder/shortcode-builder.php:358
787
+ msgid "Yes, update the URL"
788
+ msgstr ""
789
+
790
+ #: ../admin/shortcode-builder/shortcode-builder.php:370
791
+ msgid "Google Analytics"
792
+ msgstr ""
793
+
794
+ #: ../admin/shortcode-builder/shortcode-builder.php:371
795
+ msgid ""
796
+ "You must have a reference to your Google Analytics tracking code already on "
797
+ "the page"
798
+ msgstr ""
799
+
800
+ #: ../admin/shortcode-builder/shortcode-builder.php:373
801
+ msgid "Each time a page is loaded it will count as a pageview"
802
+ msgstr ""
803
+
804
+ #: ../admin/shortcode-builder/shortcode-builder.php:380
805
+ msgid "Yes, send pageviews to Google Analytics"
806
+ msgstr ""
807
+
808
+ #: ../admin/shortcode-builder/shortcode-builder.php:391
809
+ msgid "Scroll to Page"
810
+ msgstr ""
811
+
812
+ #: ../admin/shortcode-builder/shortcode-builder.php:392
813
+ msgid "Set Scroll Speed to 0 to disable scrolling to page"
814
+ msgstr ""
815
+
816
+ #: ../admin/shortcode-builder/shortcode-builder.php:395
817
+ msgid "Scroll users automatically to the next page on 'Load More' button click"
818
+ msgstr ""
819
+
820
+ #: ../admin/shortcode-builder/shortcode-builder.php:401
821
+ msgid "Scroll Speed"
822
+ msgstr ""
823
+
824
+ #: ../admin/shortcode-builder/shortcode-builder.php:402
825
+ msgid "Scrolling speed in milliseconds (e.g. 1 second = 1000)"
826
+ msgstr ""
827
+
828
+ #: ../admin/shortcode-builder/shortcode-builder.php:408
829
+ msgid "Scroll Top"
830
+ msgstr ""
831
+
832
+ #: ../admin/shortcode-builder/shortcode-builder.php:409
833
+ msgid ""
834
+ "The scrolltop position of the window (used with scrolling and fwd/back "
835
+ "browser buttons)"
836
+ msgstr ""
837
+
838
+ #: ../admin/shortcode-builder/shortcode-builder.php:416
839
+ msgid ""
840
+ "You must add the Next Page shortcode directly to your single template file "
841
+ "using the <a href=\"https://developer.wordpress.org/reference/functions/"
842
+ "do_shortcode/\" target=\"_blank\">do_shortcode</a> method. &raquo; <a href="
843
+ "\"https://connekthq.com/plugins/ajax-load-more/add-ons/next-page/\" target="
844
+ "\"_blank\">View documentation</a>"
845
+ msgstr ""
846
+
847
+ #: ../admin/shortcode-builder/shortcode-builder.php:428
848
+ #: ../admin/views/add-ons.php:180 ../admin/views/licenses.php:441
849
  #: ../admin/views/settings.php:57
850
  msgid "Paging"
851
  msgstr ""
852
 
853
+ #: ../admin/shortcode-builder/shortcode-builder.php:430
854
  msgid "Replace infinite scrolling with a paged ajax navigation system."
855
  msgstr ""
856
 
857
+ #: ../admin/shortcode-builder/shortcode-builder.php:452
858
  msgid "Paging Controls"
859
  msgstr ""
860
 
861
+ #: ../admin/shortcode-builder/shortcode-builder.php:453
862
  msgid "Show (&laquo;)previous and next(&raquo;) buttons."
863
  msgstr ""
864
 
865
+ #: ../admin/shortcode-builder/shortcode-builder.php:473
866
  msgid "Paging Navigation Classes"
867
  msgstr ""
868
 
869
+ #: ../admin/shortcode-builder/shortcode-builder.php:474
870
  msgid "Add custom CSS classes to the paging navigation menu."
871
  msgstr ""
872
 
873
+ #: ../admin/shortcode-builder/shortcode-builder.php:485
874
  msgid "Show at Most"
875
  msgstr ""
876
 
877
+ #: ../admin/shortcode-builder/shortcode-builder.php:486
878
  msgid ""
879
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
880
  msgstr ""
881
 
882
+ #: ../admin/shortcode-builder/shortcode-builder.php:504
883
+ #: ../admin/views/add-ons.php:207 ../admin/views/licenses.php:506
884
  msgid "Preloaded"
885
  msgstr ""
886
 
887
+ #: ../admin/shortcode-builder/shortcode-builder.php:507
888
  msgid "Preload posts prior to making Ajax requests."
889
  msgstr ""
890
 
891
+ #: ../admin/shortcode-builder/shortcode-builder.php:528
892
  msgid "Preload Amount"
893
  msgstr ""
894
 
895
+ #: ../admin/shortcode-builder/shortcode-builder.php:529
896
  msgid "Enter the number of posts to preload."
897
  msgstr ""
898
 
899
+ #: ../admin/shortcode-builder/shortcode-builder.php:545
900
+ #: ../admin/views/add-ons.php:233 ../admin/views/licenses.php:570
901
  #: ../admin/views/settings.php:59
902
  msgid "Previous Post"
903
  msgstr ""
904
 
905
+ #: ../admin/shortcode-builder/shortcode-builder.php:548
906
  msgid "Enable the infinite scrolling of single posts."
907
  msgstr ""
908
 
909
+ #: ../admin/shortcode-builder/shortcode-builder.php:582
910
+ #: ../admin/shortcode-builder/shortcode-builder.php:1335
911
  msgid "Taxonomy"
912
  msgstr ""
913
 
914
+ #: ../admin/shortcode-builder/shortcode-builder.php:582
915
  msgid ""
916
  "Selecting a taxonomy means only previous posts from the same taxonomy will "
917
  "be returned"
918
  msgstr ""
919
 
920
+ #: ../admin/shortcode-builder/shortcode-builder.php:583
921
  msgid "Query previous posts from the same taxonomy."
922
  msgstr ""
923
 
924
+ #: ../admin/shortcode-builder/shortcode-builder.php:597
925
+ #: ../admin/shortcode-builder/shortcode-builder.php:1216
926
  msgid "Category"
927
  msgstr ""
928
 
929
+ #: ../admin/shortcode-builder/shortcode-builder.php:598
930
+ #: ../admin/shortcode-builder/shortcode-builder.php:1276
931
  msgid "Tag"
932
  msgstr ""
933
 
934
+ #: ../admin/shortcode-builder/shortcode-builder.php:612
935
  msgid ""
936
  "You must add the Previous Post shortcode directly to your single template "
937
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
940
  "target=\"_blank\">View documentation</a>"
941
  msgstr ""
942
 
943
+ #: ../admin/shortcode-builder/shortcode-builder.php:638
944
+ #: ../admin/views/add-ons.php:259 ../admin/views/licenses.php:636
945
  #: ../admin/views/settings.php:61
946
  msgid "REST API"
947
  msgstr ""
948
 
949
+ #: ../admin/shortcode-builder/shortcode-builder.php:641
950
  msgid "Enable the WordPress REST API."
951
  msgstr ""
952
 
953
+ #: ../admin/shortcode-builder/shortcode-builder.php:665
954
  msgid "Base URL"
955
  msgstr ""
956
 
957
+ #: ../admin/shortcode-builder/shortcode-builder.php:666
958
  msgid "Set a default Base URL in the Ajax Load More settings panel"
959
  msgstr ""
960
 
961
+ #: ../admin/shortcode-builder/shortcode-builder.php:667
962
  msgid "Enter the base URL to your installation of the REST API."
963
  msgstr ""
964
 
965
+ #: ../admin/shortcode-builder/shortcode-builder.php:679
966
  msgid "Namespace"
967
  msgstr ""
968
 
969
+ #: ../admin/shortcode-builder/shortcode-builder.php:680
970
  msgid "Set a default Namespace in the Ajax Load More settings panel"
971
  msgstr ""
972
 
973
+ #: ../admin/shortcode-builder/shortcode-builder.php:681
974
  msgid "Enter the custom namespace for this Ajax Load More query."
975
  msgstr ""
976
 
977
+ #: ../admin/shortcode-builder/shortcode-builder.php:693
978
  msgid "Endpoint"
979
  msgstr ""
980
 
981
+ #: ../admin/shortcode-builder/shortcode-builder.php:694
982
  msgid "Set a default Endpoint in the Ajax Load More settings panel"
983
  msgstr ""
984
 
985
+ #: ../admin/shortcode-builder/shortcode-builder.php:695
986
  msgid "Enter your custom endpoint for this Ajax Load More query."
987
  msgstr ""
988
 
989
+ #: ../admin/shortcode-builder/shortcode-builder.php:707
990
  msgid "Template ID"
991
  msgstr ""
992
 
993
+ #: ../admin/shortcode-builder/shortcode-builder.php:707
994
  msgid ""
995
  "Ajax Load More references this ID while looping and displaying your data. "
996
  "You must still select a repeater template for this instance of Ajax Load More"
997
  msgstr ""
998
 
999
+ #: ../admin/shortcode-builder/shortcode-builder.php:708
1000
  msgid ""
1001
  "Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-"
1002
  "template</em> = <em>alm-template</em>"
1003
  msgstr ""
1004
 
1005
+ #: ../admin/shortcode-builder/shortcode-builder.php:708
1006
+ #: ../admin/shortcode-builder/shortcode-builder.php:1221
1007
+ #: ../admin/shortcode-builder/shortcode-builder.php:1280
1008
+ #: ../admin/shortcode-builder/shortcode-builder.php:1480
1009
  msgid "View Example"
1010
  msgstr ""
1011
 
1012
+ #: ../admin/shortcode-builder/shortcode-builder.php:720
1013
  msgid "Debug Mode"
1014
  msgstr ""
1015
 
1016
+ #: ../admin/shortcode-builder/shortcode-builder.php:721
1017
  msgid ""
1018
  "Enable debugging (console.log) of REST API responses in the browser console. "
1019
  msgstr ""
1020
 
1021
+ #: ../admin/shortcode-builder/shortcode-builder.php:739
1022
  msgid ""
1023
  "Visit <a href=\"http://v2.wp-api.org/\" target=\"_blank\">http://v2.wp-api."
1024
  "org</a> for documentation on creating custom <a href=\"http://v2.wp-api.org/"
1026
  "More."
1027
  msgstr ""
1028
 
1029
+ #: ../admin/shortcode-builder/shortcode-builder.php:752
1030
  msgid "SEO (Search Engine Optimization)"
1031
  msgstr ""
1032
 
1033
+ #: ../admin/shortcode-builder/shortcode-builder.php:755
1034
  msgid ""
1035
  "Enable address bar URL rewrites as users page through ajax loaded content."
1036
  msgstr ""
1037
 
1038
+ #: ../admin/shortcode-builder/shortcode-builder.php:783
1039
  msgid "Display Settings"
1040
  msgstr ""
1041
 
1042
+ #: ../admin/shortcode-builder/shortcode-builder.php:792
1043
  msgid "Repeater Template"
1044
  msgstr ""
1045
 
1046
+ #: ../admin/shortcode-builder/shortcode-builder.php:794
1047
  msgid ""
1048
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
1049
  "\"_parent\">repeater template</a> you would like to use."
1050
  msgstr ""
1051
 
1052
+ #: ../admin/shortcode-builder/shortcode-builder.php:832
1053
  msgid "ID"
1054
  msgstr ""
1055
 
1056
+ #: ../admin/shortcode-builder/shortcode-builder.php:832
1057
  msgid ""
1058
  "Adding a unique ID will allow you target this specific Ajax Load More "
1059
  "instance with the alm_query_args_id() filter."
1060
  msgstr ""
1061
 
1062
+ #: ../admin/shortcode-builder/shortcode-builder.php:833
1063
  msgid "Set a unique ID for this Ajax Load More instance."
1064
  msgstr ""
1065
 
1066
+ #: ../admin/shortcode-builder/shortcode-builder.php:840
1067
  msgid "Generate Unique ID"
1068
  msgstr ""
1069
 
1070
+ #: ../admin/shortcode-builder/shortcode-builder.php:848
1071
  msgid ""
1072
  "You can define a global container type on the Ajax Load More settings screen"
1073
  msgstr ""
1074
 
1075
+ #: ../admin/shortcode-builder/shortcode-builder.php:849
1076
  msgid ""
1077
  "Override the global Container Type that was set on <a href=\"admin.php?"
1078
  "page=ajax-load-more\">ALM Settings page</a>."
1079
  msgstr ""
1080
 
1081
+ #: ../admin/shortcode-builder/shortcode-builder.php:878
1082
  msgid ""
1083
  "You can define global container classes on the Ajax Load More settings screen"
1084
  msgstr ""
1085
 
1086
+ #: ../admin/shortcode-builder/shortcode-builder.php:879
1087
  msgid ""
1088
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1089
  "portfolio-listing large-12 etc"
1090
  msgstr ""
1091
 
1092
+ #: ../admin/shortcode-builder/shortcode-builder.php:893
1093
  msgid "Button Labels"
1094
  msgstr ""
1095
 
1096
+ #: ../admin/shortcode-builder/shortcode-builder.php:898
1097
  msgid "Label"
1098
  msgstr ""
1099
 
1100
+ #: ../admin/shortcode-builder/shortcode-builder.php:899
1101
  msgid "Customize the text of the <em>Load More</em> button."
1102
  msgstr ""
1103
 
1104
+ #: ../admin/shortcode-builder/shortcode-builder.php:911
1105
  msgid "Loading Label"
1106
  msgstr ""
1107
 
1108
+ #: ../admin/shortcode-builder/shortcode-builder.php:911
1109
  msgid "Leave field empty to not update text while loading content"
1110
  msgstr ""
1111
 
1112
+ #: ../admin/shortcode-builder/shortcode-builder.php:912
1113
  msgid ""
1114
  "Update the text of the <em>Load More</em> button while content is loading."
1115
  msgstr ""
1116
 
1117
+ #: ../admin/shortcode-builder/shortcode-builder.php:916
1118
  msgid "Loading Posts..."
1119
  msgstr ""
1120
 
1121
+ #: ../admin/shortcode-builder/shortcode-builder.php:926
1122
  msgid "Images Loaded"
1123
  msgstr ""
1124
 
1125
+ #: ../admin/shortcode-builder/shortcode-builder.php:929
1126
  msgid "Wait for all images to load before displaying ajax loaded content"
1127
  msgstr ""
1128
 
1129
+ #: ../admin/shortcode-builder/shortcode-builder.php:930
1130
  msgid "Background images are currently not supported"
1131
  msgstr ""
1132
 
1133
+ #: ../admin/shortcode-builder/shortcode-builder.php:953
1134
  msgid "Pause"
1135
  msgstr ""
1136
 
1137
+ #: ../admin/shortcode-builder/shortcode-builder.php:956
1138
  msgid ""
1139
  "Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
1140
  msgstr ""
1141
 
1142
+ #: ../admin/shortcode-builder/shortcode-builder.php:978
1143
  msgid "Scrolling"
1144
  msgstr ""
1145
 
1146
+ #: ../admin/shortcode-builder/shortcode-builder.php:981
1147
  msgid "Enable Scrolling"
1148
  msgstr ""
1149
 
1150
+ #: ../admin/shortcode-builder/shortcode-builder.php:982
1151
  msgid "Load more posts as the user scrolls the page."
1152
  msgstr ""
1153
 
1154
+ #: ../admin/shortcode-builder/shortcode-builder.php:1003
1155
  msgid "Scroll Distance"
1156
  msgstr ""
1157
 
1158
+ #: ../admin/shortcode-builder/shortcode-builder.php:1003
1159
  msgid ""
1160
  "Distance is based on the position of the loading button from the bottom of "
1161
  "the screen"
1162
  msgstr ""
1163
 
1164
+ #: ../admin/shortcode-builder/shortcode-builder.php:1004
1165
  msgid ""
1166
  "The distance from the bottom of the screen to trigger loading of posts. "
1167
  "(Default = 150)"
1168
  msgstr ""
1169
 
1170
+ #: ../admin/shortcode-builder/shortcode-builder.php:1016
1171
  msgid "Maximum Pages"
1172
  msgstr ""
1173
 
1174
+ #: ../admin/shortcode-builder/shortcode-builder.php:1016
1175
  msgid "If using an Infinite Scroll button style you should set this to 0"
1176
  msgstr ""
1177
 
1178
+ #: ../admin/shortcode-builder/shortcode-builder.php:1017
1179
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1180
  msgstr ""
1181
 
1182
+ #: ../admin/shortcode-builder/shortcode-builder.php:1029
1183
  msgid "Pause Override"
1184
  msgstr ""
1185
 
1186
+ #: ../admin/shortcode-builder/shortcode-builder.php:1030
1187
  msgid ""
1188
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1189
  "posts on scroll."
1190
  msgstr ""
1191
 
1192
+ #: ../admin/shortcode-builder/shortcode-builder.php:1051
1193
  msgid "Transition"
1194
  msgstr ""
1195
 
1196
+ #: ../admin/shortcode-builder/shortcode-builder.php:1054
1197
  msgid "Transition Type"
1198
  msgstr ""
1199
 
1200
+ #: ../admin/shortcode-builder/shortcode-builder.php:1055
1201
  msgid "Select a loading transition style."
1202
  msgstr ""
1203
 
1204
+ #: ../admin/shortcode-builder/shortcode-builder.php:1062
1205
  msgid "Slide"
1206
  msgstr ""
1207
 
1208
+ #: ../admin/shortcode-builder/shortcode-builder.php:1066
1209
  msgid "Fade"
1210
  msgstr ""
1211
 
1212
+ #: ../admin/shortcode-builder/shortcode-builder.php:1080
1213
  msgid "Transition Speed"
1214
  msgstr ""
1215
 
1216
+ #: ../admin/shortcode-builder/shortcode-builder.php:1080
1217
  msgid "0.5 seconds = 500, 1 second = 1000 etc."
1218
  msgstr ""
1219
 
1220
+ #: ../admin/shortcode-builder/shortcode-builder.php:1081
1221
  msgid "The speed of the loading transition in milliseconds"
1222
  msgstr ""
1223
 
1224
+ #: ../admin/shortcode-builder/shortcode-builder.php:1093
1225
  msgid "Transition Container"
1226
  msgstr ""
1227
 
1228
+ #: ../admin/shortcode-builder/shortcode-builder.php:1093
1229
  msgid ""
1230
  "Removing the transition container may have undesired results and is not "
1231
  "recommended."
1232
  msgstr ""
1233
 
1234
+ #: ../admin/shortcode-builder/shortcode-builder.php:1094
1235
  msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1236
  msgstr ""
1237
 
1238
+ #: ../admin/shortcode-builder/shortcode-builder.php:1101
1239
+ msgid "Remove Container"
1240
+ msgstr ""
1241
+
1242
+ #: ../admin/shortcode-builder/shortcode-builder.php:1112
1243
  msgid "Destroy After"
1244
  msgstr ""
1245
 
1246
+ #: ../admin/shortcode-builder/shortcode-builder.php:1115
1247
  msgid ""
1248
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1249
  "been loaded."
1250
  msgstr ""
1251
 
1252
+ #: ../admin/shortcode-builder/shortcode-builder.php:1133
1253
  msgid "Query Parameters"
1254
  msgstr ""
1255
 
1256
+ #: ../admin/shortcode-builder/shortcode-builder.php:1137
1257
  msgid "Posts Per Page"
1258
  msgstr ""
1259
 
1260
+ #: ../admin/shortcode-builder/shortcode-builder.php:1140
1261
  msgid "Select the number of posts to load with each request."
1262
  msgstr ""
1263
 
1264
+ #: ../admin/shortcode-builder/shortcode-builder.php:1159
1265
  msgid "Post Type"
1266
  msgstr ""
1267
 
1268
+ #: ../admin/shortcode-builder/shortcode-builder.php:1162
1269
  msgid "Select Post Types to query."
1270
  msgstr ""
1271
 
1272
+ #: ../admin/shortcode-builder/shortcode-builder.php:1187
1273
  msgid "Post Format"
1274
  msgstr ""
1275
 
1276
+ #: ../admin/shortcode-builder/shortcode-builder.php:1190
1277
  msgid ""
1278
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
1279
  "\">Post Format</a> to query."
1280
  msgstr ""
1281
 
1282
+ #: ../admin/shortcode-builder/shortcode-builder.php:1193
1283
  msgid "Select Post Format"
1284
  msgstr ""
1285
 
1286
+ #: ../admin/shortcode-builder/shortcode-builder.php:1194
1287
  msgid "Standard"
1288
  msgstr ""
1289
 
1290
+ #: ../admin/shortcode-builder/shortcode-builder.php:1220
1291
  msgid ""
1292
  "A comma separated list of categories to include by slug. (design, research "
1293
  "etc...)"
1294
  msgstr ""
1295
 
1296
+ #: ../admin/shortcode-builder/shortcode-builder.php:1243
1297
+ #: ../admin/shortcode-builder/shortcode-builder.php:1301
1298
+ #: ../admin/shortcode-builder/shortcode-builder.php:1479
1299
  msgid "Exclude"
1300
  msgstr ""
1301
 
1302
+ #: ../admin/shortcode-builder/shortcode-builder.php:1244
1303
  msgid ""
1304
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
1305
  msgstr ""
1306
 
1307
+ #: ../admin/shortcode-builder/shortcode-builder.php:1279
1308
+ #: ../admin/shortcode-builder/shortcode-builder.php:1468
1309
  msgid "Include"
1310
  msgstr ""
1311
 
1312
+ #: ../admin/shortcode-builder/shortcode-builder.php:1280
1313
  msgid ""
1314
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
1315
  msgstr ""
1316
 
1317
+ #: ../admin/shortcode-builder/shortcode-builder.php:1302
1318
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
1319
  msgstr ""
1320
 
1321
+ #: ../admin/shortcode-builder/shortcode-builder.php:1338
1322
  msgid "Select a taxonomy then select the terms and an operator."
1323
  msgstr ""
1324
 
1325
+ #: ../admin/shortcode-builder/shortcode-builder.php:1343
1326
+ #: ../admin/shortcode-builder/shortcode-builder.php:1409
1327
  msgid "Add Another"
1328
  msgstr ""
1329
 
1330
+ #: ../admin/shortcode-builder/shortcode-builder.php:1353
1331
  msgid "Date"
1332
  msgstr ""
1333
 
1334
+ #: ../admin/shortcode-builder/shortcode-builder.php:1356
1335
  msgid ""
1336
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1337
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">View Example</a>"
1338
  msgstr ""
1339
 
1340
+ #: ../admin/shortcode-builder/shortcode-builder.php:1362
1341
  msgid "Year:"
1342
  msgstr ""
1343
 
1344
+ #: ../admin/shortcode-builder/shortcode-builder.php:1366
1345
  msgid "Month:"
1346
  msgstr ""
1347
 
1348
+ #: ../admin/shortcode-builder/shortcode-builder.php:1370
1349
  msgid "Day:"
1350
  msgstr ""
1351
 
1352
+ #: ../admin/shortcode-builder/shortcode-builder.php:1381
1353
  msgid "Custom Fields (Meta_Query)"
1354
  msgstr ""
1355
 
1356
+ #: ../admin/shortcode-builder/shortcode-builder.php:1384
1357
  msgid ""
1358
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1359
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1360
  "and operator."
1361
  msgstr ""
1362
 
1363
+ #: ../admin/shortcode-builder/shortcode-builder.php:1395
1364
  msgid ""
1365
  "The logical relationship between each custom field when there is more than "
1366
  "one."
1367
  msgstr ""
1368
 
1369
+ #: ../admin/shortcode-builder/shortcode-builder.php:1425
1370
  msgid "Author"
1371
  msgstr ""
1372
 
1373
+ #: ../admin/shortcode-builder/shortcode-builder.php:1428
1374
  msgid "Select an Author to query(by ID)."
1375
  msgstr ""
1376
 
1377
+ #: ../admin/shortcode-builder/shortcode-builder.php:1449
1378
  msgid "Search Term"
1379
  msgstr ""
1380
 
1381
+ #: ../admin/shortcode-builder/shortcode-builder.php:1452
1382
  msgid "Enter a search term to query."
1383
  msgstr ""
1384
 
1385
+ #: ../admin/shortcode-builder/shortcode-builder.php:1456
1386
  msgid "Enter search term"
1387
  msgstr ""
1388
 
1389
+ #: ../admin/shortcode-builder/shortcode-builder.php:1465
1390
  msgid "Post Parameters"
1391
  msgstr ""
1392
 
1393
+ #: ../admin/shortcode-builder/shortcode-builder.php:1469
1394
  msgid "A comma separated list of post ID's to query."
1395
  msgstr ""
1396
 
1397
+ #: ../admin/shortcode-builder/shortcode-builder.php:1473
1398
  msgid "225, 340, 818, etc..."
1399
  msgstr ""
1400
 
1401
+ #: ../admin/shortcode-builder/shortcode-builder.php:1480
1402
  msgid "A comma separated list of post ID's to exclude from query."
1403
  msgstr ""
1404
 
1405
+ #: ../admin/shortcode-builder/shortcode-builder.php:1490
1406
  msgid "Post Status"
1407
  msgstr ""
1408
 
1409
+ #: ../admin/shortcode-builder/shortcode-builder.php:1490
1410
  msgid ""
1411
  "Post Status parameters are only available for logged in (admin) users. Non "
1412
  "logged in users will only have access to view content in a 'publish' or "
1413
  "'inherit' state. "
1414
  msgstr ""
1415
 
1416
+ #: ../admin/shortcode-builder/shortcode-builder.php:1491
1417
  msgid "Select status of the post."
1418
  msgstr ""
1419
 
1420
+ #: ../admin/shortcode-builder/shortcode-builder.php:1496
1421
  msgid "Published"
1422
  msgstr ""
1423
 
1424
+ #: ../admin/shortcode-builder/shortcode-builder.php:1513
1425
  msgid "Ordering"
1426
  msgstr ""
1427
 
1428
+ #: ../admin/shortcode-builder/shortcode-builder.php:1516
1429
  msgid "Sort posts by Order and Orderby parameters."
1430
  msgstr ""
1431
 
1432
+ #: ../admin/shortcode-builder/shortcode-builder.php:1520
1433
  msgid "Order"
1434
  msgstr ""
1435
 
1436
+ #: ../admin/shortcode-builder/shortcode-builder.php:1527
1437
  msgid "Order By"
1438
  msgstr ""
1439
 
1440
+ #: ../admin/shortcode-builder/shortcode-builder.php:1547
1441
  msgid "Offset"
1442
  msgstr ""
1443
 
1444
+ #: ../admin/shortcode-builder/shortcode-builder.php:1550
1445
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1446
  msgstr ""
1447
 
1448
+ #: ../admin/shortcode-builder/shortcode-builder.php:1563
1449
  msgid "Custom Arguments"
1450
  msgstr ""
1451
 
1452
+ #: ../admin/shortcode-builder/shortcode-builder.php:1566
1453
  msgid "A semicolon separated list of custom value:pair arguments."
1454
  msgstr ""
1455
 
1456
+ #: ../admin/shortcode-builder/shortcode-builder.php:1566
1457
  msgid ""
1458
  "Custom Arguments can be used to query by parameters not available in the "
1459
  "Shortcode Builder."
1460
  msgstr ""
1461
 
1462
+ #: ../admin/shortcode-builder/shortcode-builder.php:1570
1463
  msgid "event_display:upcoming"
1464
  msgstr ""
1465
 
1466
+ #: ../admin/views/add-ons.php:7
1467
  msgid ""
1468
  "Add-ons are available to extend and enhance the core functionality of Ajax "
1469
  "Load More"
1470
  msgstr ""
1471
 
1472
+ #: ../admin/views/add-ons.php:22
1473
  msgid "Improve performance with the Ajax Load More caching engine."
1474
  msgstr ""
1475
 
1476
+ #: ../admin/views/add-ons.php:23
1477
  msgid ""
1478
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
1479
  "delivers those static files to your visitors."
1480
  msgstr ""
1481
 
1482
+ #: ../admin/views/add-ons.php:49
1483
  msgid ""
1484
  "Ajax Load More extension for displaying advertisements and call to actions."
1485
  msgstr ""
1486
 
1487
+ #: ../admin/views/add-ons.php:50
1488
  msgid ""
1489
  "The Call to Actions add-on will provide the ability to inject a custom CTA "
1490
  "template within each Ajax Load More loop."
1491
  msgstr ""
1492
 
1493
+ #: ../admin/views/add-ons.php:76
1494
  msgid "Load blog comments on demand with Ajax Load More."
1495
  msgstr ""
1496
 
1497
+ #: ../admin/views/add-ons.php:77
1498
  msgid ""
1499
  "The Comments add-on will display your blog comments with Ajax Load More's "
1500
  "infinite scroll functionality."
1501
  msgstr ""
1502
 
1503
+ #: ../admin/views/add-ons.php:100 ../admin/views/licenses.php:241
1504
  msgid "Custom Repeaters"
1505
  msgstr ""
1506
 
1507
+ #: ../admin/views/add-ons.php:101
1508
  msgid "Extend Ajax Load More with unlimited repeater templates."
1509
  msgstr ""
1510
 
1511
+ #: ../admin/views/add-ons.php:102
1512
  msgid ""
1513
  "Create, delete and modify repeater templates as you need them with "
1514
  "absolutely zero restrictions."
1515
  msgstr ""
1516
 
1517
+ #: ../admin/views/add-ons.php:128 ../admin/views/licenses.php:308
1518
  #: ../admin/views/settings.php:55
1519
  msgid "Layouts"
1520
  msgstr ""
1521
 
1522
+ #: ../admin/views/add-ons.php:129
1523
  msgid "Predefined layouts for your repeater templates."
1524
  msgstr ""
1525
 
1526
+ #: ../admin/views/add-ons.php:130
1527
  msgid ""
1528
  "The Layouts add-on provides a collection of unique, well designed and fully "
1529
  "responsive templates."
1530
  msgstr ""
1531
 
1532
+ #: ../admin/views/add-ons.php:155
1533
+ msgid "Load and display multipage WordPress content."
1534
+ msgstr ""
1535
+
1536
+ #: ../admin/views/add-ons.php:156
1537
+ msgid ""
1538
+ "The Next Page add-on will provide functionality for infinite scrolling "
1539
+ "paginated posts and pages."
1540
+ msgstr ""
1541
+
1542
+ #: ../admin/views/add-ons.php:181
1543
  msgid "Extend Ajax Load More with a numbered navigation."
1544
  msgstr ""
1545
 
1546
+ #: ../admin/views/add-ons.php:182
1547
  msgid ""
1548
  "The Paging add-on will transform the default infinite scroll functionality "
1549
  "into a robust ajax powered navigation system."
1550
  msgstr ""
1551
 
1552
+ #: ../admin/views/add-ons.php:208
1553
  msgid "Load an initial set of posts before making Ajax requests to the server."
1554
  msgstr ""
1555
 
1556
+ #: ../admin/views/add-ons.php:209
1557
  msgid ""
1558
  "The Preloaded add-on will display content quicker and allow caching of the "
1559
  "initial query which can reduce stress on your server."
1560
  msgstr ""
1561
 
1562
+ #: ../admin/views/add-ons.php:234
1563
  msgid "An extension to enable infinite scrolling of single posts."
1564
  msgstr ""
1565
 
1566
+ #: ../admin/views/add-ons.php:235
1567
  msgid ""
1568
  "The Previous Post add-on will load single posts as you scroll and update the "
1569
  "browser URL to the current post."
1570
  msgstr ""
1571
 
1572
+ #: ../admin/views/add-ons.php:260
1573
  msgid "Infinite scroll with the WP REST API and Ajax Load More plugins."
1574
  msgstr ""
1575
 
1576
+ #: ../admin/views/add-ons.php:261
1577
  msgid ""
1578
  "The REST API add-on will enable compatibility between Ajax Load More and the "
1579
  "WP REST API plugins.</p>"
1580
  msgstr ""
1581
 
1582
+ #: ../admin/views/add-ons.php:287 ../admin/views/licenses.php:702
1583
  msgid "Search Engine Optimization"
1584
  msgstr ""
1585
 
1586
+ #: ../admin/views/add-ons.php:288
1587
  msgid "Generate unique paging URLs with every Ajax Load More query."
1588
  msgstr ""
1589
 
1590
+ #: ../admin/views/add-ons.php:289
1591
  msgid ""
1592
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1593
  "generating unique URLs with every query.</p>"
1594
  msgstr ""
1595
 
1596
+ #: ../admin/views/add-ons.php:313 ../admin/views/licenses.php:770
1597
  #: ../admin/views/settings.php:65
1598
  msgid "Theme Repeaters"
1599
  msgstr ""
1600
 
1601
+ #: ../admin/views/add-ons.php:314
1602
  msgid "Manage repeater templates within your current theme directory."
1603
  msgstr ""
1604
 
1605
+ #: ../admin/views/add-ons.php:315
1606
  msgid ""
1607
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1608
  "from your current theme directory.</p>"
1609
  msgstr ""
1610
 
1611
+ #: ../admin/views/add-ons.php:334
1612
  msgid ""
1613
  "All add-ons are installed as stand alone plugins and with a valid license "
1614
  "key will receive plugin update notifications directly within the <a href="
1704
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1705
  msgstr ""
1706
 
 
 
 
 
 
 
 
 
 
1707
  #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:119
1708
  #: ../admin/views/licenses.php:184 ../admin/views/licenses.php:250
1709
+ #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:383
1710
+ #: ../admin/views/licenses.php:450 ../admin/views/licenses.php:515
1711
  #: ../admin/views/licenses.php:579 ../admin/views/licenses.php:645
1712
+ #: ../admin/views/licenses.php:711 ../admin/views/licenses.php:779
1713
+ msgid "Don't have a license?"
1714
+ msgstr ""
1715
+
1716
+ #: ../admin/views/licenses.php:55 ../admin/views/licenses.php:120
1717
+ #: ../admin/views/licenses.php:185 ../admin/views/licenses.php:251
1718
+ #: ../admin/views/licenses.php:318 ../admin/views/licenses.php:384
1719
+ #: ../admin/views/licenses.php:451 ../admin/views/licenses.php:516
1720
+ #: ../admin/views/licenses.php:580 ../admin/views/licenses.php:646
1721
+ #: ../admin/views/licenses.php:712 ../admin/views/licenses.php:780
1722
  msgid ""
1723
  "A valid license is required to activate and receive plugin updates directly "
1724
  "in your WordPress dashboard"
1725
  msgstr ""
1726
 
1727
+ #: ../admin/views/licenses.php:55 ../admin/views/licenses.php:120
1728
+ #: ../admin/views/licenses.php:185 ../admin/views/licenses.php:251
1729
+ #: ../admin/views/licenses.php:318 ../admin/views/licenses.php:384
1730
+ #: ../admin/views/licenses.php:451 ../admin/views/licenses.php:516
1731
+ #: ../admin/views/licenses.php:580 ../admin/views/licenses.php:646
1732
+ #: ../admin/views/licenses.php:712 ../admin/views/licenses.php:780
1733
  msgid "Purchase Now"
1734
  msgstr ""
1735
 
1736
+ #: ../admin/views/licenses.php:61 ../admin/views/licenses.php:63
1737
+ #: ../admin/views/licenses.php:126 ../admin/views/licenses.php:128
1738
+ #: ../admin/views/licenses.php:191 ../admin/views/licenses.php:193
1739
+ #: ../admin/views/licenses.php:257 ../admin/views/licenses.php:259
1740
+ #: ../admin/views/licenses.php:324 ../admin/views/licenses.php:326
1741
  #: ../admin/views/licenses.php:390 ../admin/views/licenses.php:392
1742
+ #: ../admin/views/licenses.php:457 ../admin/views/licenses.php:459
1743
+ #: ../admin/views/licenses.php:522 ../admin/views/licenses.php:524
1744
+ #: ../admin/views/licenses.php:586 ../admin/views/licenses.php:588
1745
+ #: ../admin/views/licenses.php:652 ../admin/views/licenses.php:654
1746
+ #: ../admin/views/licenses.php:718 ../admin/views/licenses.php:720
1747
+ #: ../admin/views/licenses.php:786 ../admin/views/licenses.php:788
1748
  msgid "Enter License Key"
1749
  msgstr ""
1750
 
1751
+ #: ../admin/views/licenses.php:83 ../admin/views/licenses.php:148
1752
+ #: ../admin/views/licenses.php:213 ../admin/views/licenses.php:279
1753
+ #: ../admin/views/licenses.php:346 ../admin/views/licenses.php:412
1754
+ #: ../admin/views/licenses.php:479 ../admin/views/licenses.php:543
1755
+ #: ../admin/views/licenses.php:608 ../admin/views/licenses.php:674
1756
+ #: ../admin/views/licenses.php:740 ../admin/views/licenses.php:809
1757
  msgid "Activate License"
1758
  msgstr ""
1759
 
1760
+ #: ../admin/views/licenses.php:87 ../admin/views/licenses.php:152
1761
+ #: ../admin/views/licenses.php:217 ../admin/views/licenses.php:283
1762
+ #: ../admin/views/licenses.php:350 ../admin/views/licenses.php:416
1763
+ #: ../admin/views/licenses.php:483 ../admin/views/licenses.php:547
1764
+ #: ../admin/views/licenses.php:612 ../admin/views/licenses.php:678
1765
+ #: ../admin/views/licenses.php:744 ../admin/views/licenses.php:813
1766
  msgid "Deactivate License"
1767
  msgstr ""
1768
 
1769
+ #: ../admin/views/licenses.php:831
1770
  msgid "You do not have any Ajax Load More add-ons installed"
1771
  msgstr ""
1772
 
1773
+ #: ../admin/views/licenses.php:831
1774
  msgid "Browse Add-ons"
1775
  msgstr ""
1776
 
1777
+ #: ../admin/views/licenses.php:842
1778
  msgid "About Licenses"
1779
  msgstr ""
1780
 
1781
+ #: ../admin/views/licenses.php:845
1782
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1783
  msgstr ""
1784
 
1785
+ #: ../admin/views/licenses.php:846
1786
  msgid ""
1787
  "License keys are found in the purchase receipt email that was sent "
1788
  "immediately after your successful purchase and in the <a target=\"_blank\" "
1789
  "href=\"https://connekthq.com/account/\">Account</a> section on our website"
1790
  msgstr ""
1791
 
1792
+ #: ../admin/views/licenses.php:847
1793
  msgid ""
1794
  "If you cannot locate your key please open a support ticket by filling out "
1795
  "the <a href=\"https://connekthq.com/contact/\">form</a> on our website and "
1796
  "reference the email address used when you completed the purchase."
1797
  msgstr ""
1798
 
1799
+ #: ../admin/views/licenses.php:853
1800
  msgid "Legacy Users"
1801
  msgstr ""
1802
 
1934
  msgid "Reset Shortcode Builder"
1935
  msgstr ""
1936
 
1937
+ #: ../ajax-load-more.php:238
1938
  msgid "Settings"
1939
  msgstr ""
1940
 
1941
+ #: ../core/functions.php:575
1942
  msgid "Pages:"
1943
  msgstr ""
1944
 
1979
  #~ msgid "Share via Email"
1980
  #~ msgstr "Partager par courriel"
1981
 
 
 
 
1982
  #~ msgid "Your search returned <strong>%s</strong> result%s"
1983
  #~ msgstr "Votre recherche a généré <strong>%s</strong> résultat%s "
1984