WordPress Infinite Scroll – Ajax Load More - Version 4.0

Version Description

  • November 5, 2018 =
  • NEW - Introducing Ajax Load More Pro! Access to every Ajax Load More add-on in a single installation.
  • NEW - Adding category__and and tag__and support for querying categories and tags.
  • UPDATE - Adding fix for permission error on repeater template directory by replacing mkdir() with WordPress core function wp_mkdir_p.
  • FIX - Fixed issue with Filters onComplete functions triggering before Ajax results were rendered on the screen.
  • FIX - Adding fix for alm_get_canonical_url function when getting URLs of child category and tag archives.
Download this release

Release Info

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

Code changes from version 3.7.1 to 4.0

.babelrc ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ {
2
+ "presets": ["es2015"]
3
+ }
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dcooney, connekthq
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 3.6
6
- Tested up to: 4.9.8
7
- Stable tag: 3.7.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,8 +75,10 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
75
  * **sticky_posts** - Preserve sticky post ordering in Ajax listing. Default = false
76
  * **post_format** - Query by post format. Default = null
77
  * **category** - A comma separated list of categories to include by slug. Default = null
 
78
  * **category__not_in** - A comma separated list of categories to exclude by ID. Default = null
79
  * **tag** - A comma separated list of tags to include by slug. Default = null
 
80
  * **tag__not_in** - A comma separated list of tags to exclude by ID. Default = null
81
  * **taxonomy** - Query by custom taxonomy name. Default = null
82
  * **taxonomy_terms** - Comma separated list of custom taxonomy terms(slug). Default = null
@@ -369,11 +371,19 @@ How to install Ajax Load More.
369
 
370
  == Changelog ==
371
 
 
 
 
 
 
 
 
 
372
  = 3.7.1 - October 3, 2018 =
373
  Minor point release that affects Preloaded and Search Engine Optimization add-on users only. This release fixes 2 critical bugs in Ajax Load More 3.7.
374
 
375
- * FIX - Fix for Preloaded add-on not parsing multiple Post Types (I'm sorry about that!).
376
- * FIX - Adding `.alm-reveal` div and `css_classes` to NO_SCRIPT render to keep styling and layouts consistent.
377
 
378
 
379
  = 3.7 - September 19, 2018 =
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, woocommerce, ajax load more, masonry
5
  Requires at least: 3.6
6
+ Tested up to: 5.0
7
+ Stable tag: 4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
75
  * **sticky_posts** - Preserve sticky post ordering in Ajax listing. Default = false
76
  * **post_format** - Query by post format. Default = null
77
  * **category** - A comma separated list of categories to include by slug. Default = null
78
+ * **category__and** - A comma separated list of categories to include by ID. Default = null
79
  * **category__not_in** - A comma separated list of categories to exclude by ID. Default = null
80
  * **tag** - A comma separated list of tags to include by slug. Default = null
81
+ * **tag__and** - A comma separated list of tags to include by ID. Default = null
82
  * **tag__not_in** - A comma separated list of tags to exclude by ID. Default = null
83
  * **taxonomy** - Query by custom taxonomy name. Default = null
84
  * **taxonomy_terms** - Comma separated list of custom taxonomy terms(slug). Default = null
371
 
372
  == Changelog ==
373
 
374
+ = 4.0 - November 5, 2018 =
375
+ * NEW - Introducing [Ajax Load More Pro](https://connekthq.com/plugins/ajax-load-more/pro/)! Access to every Ajax Load More add-on in a single installation.
376
+ * NEW - Adding `category__and` and `tag__and` support for querying categories and tags.
377
+ * UPDATE - Adding fix for permission error on repeater template directory by replacing `mkdir()` with WordPress core function `wp_mkdir_p`.
378
+ * FIX - Fixed issue with Filters onComplete functions triggering before Ajax results were rendered on the screen.
379
+ * FIX - Adding fix for `alm_get_canonical_url` function when getting URLs of child category and tag archives.
380
+
381
+
382
  = 3.7.1 - October 3, 2018 =
383
  Minor point release that affects Preloaded and Search Engine Optimization add-on users only. This release fixes 2 critical bugs in Ajax Load More 3.7.
384
 
385
+ * FIX - Fix for Preloaded not parsing multiple Post Types (Sorry about that)
386
+ * FIX - Adding `.alm-reveal` div and `css_classes` to NO_SCRIPT render.
387
 
388
 
389
  = 3.7 - September 19, 2018 =
admin/admin.php CHANGED
@@ -9,10 +9,81 @@ add_action( 'wp_ajax_alm_license_activation', 'alm_license_activation' ); // Act
9
  add_action( 'alm_get_layouts', 'alm_get_layouts' ); // Add layout selection
10
  add_action( 'wp_ajax_alm_get_layout', 'alm_get_layout' ); // Get layout
11
  add_action( 'wp_ajax_alm_dismiss_sharing', 'alm_dismiss_sharing' ); // Dismiss sharing
 
12
  add_filter( 'admin_footer_text', 'alm_filter_admin_footer_text'); // Admin menu text
13
 
14
 
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  /*
17
  * alm_repeaters_export
18
  * This function will export a repeater template and force download
@@ -57,7 +128,7 @@ function alm_admin_notice_errors() {
57
 
58
  if(has_action('alm_pro_installed')){ // Pro
59
  $addons = alm_get_pro_addon();
60
- $message = __( 'You have an invalid <a href="admin.php?page=ajax-load-more"><b>Ajax Load More Pro</b></a> license key - please visit the <a href="admin.php?page=ajax-load-more-licenses">License</a> section to input your key or <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank">purchase</a> one now.', 'ajax-load-more' );
61
 
62
  } else {
63
  $addons = alm_get_addons();
@@ -257,6 +328,7 @@ function alm_admin_vars() { ?>
257
  'select_authors' => __('Select Author(s)', 'ajax-load-more'),
258
  'select_cats' => __('Select Categories', 'ajax-load-more'),
259
  'select_tags' => __('Select Tags', 'ajax-load-more'),
 
260
  'jump_to_option' => __('Jump to Option', 'ajax-load-more'),
261
  'jump_to_template' => __('Jump to Template', 'ajax-load-more'),
262
  'install_now' => __('Are you sure you want to install this Ajax Load More extension?', 'ajax-load-more'),
@@ -462,11 +534,11 @@ function alm_admin_menu() {
462
  'alm_help_page'
463
  );
464
 
465
- $license_ttl = (has_action('alm_pro_installed')) ? __('License', 'ajax-load-more') : __('Licenses', 'ajax-load-more');
466
  $alm_licenses_page = add_submenu_page(
467
  'ajax-load-more',
468
- $license_ttl,
469
- $license_ttl,
470
  'edit_theme_options',
471
  'ajax-load-more-licenses',
472
  'alm_licenses_page'
@@ -488,6 +560,15 @@ function alm_admin_menu() {
488
  'ajax-load-more-pro',
489
  'alm_pro_page'
490
  );
 
 
 
 
 
 
 
 
 
491
  }
492
 
493
 
@@ -537,7 +618,8 @@ function alm_admin_menu() {
537
  add_action( 'load-' . $alm_help_page, 'alm_load_admin_js' );
538
  add_action( 'load-' . $alm_help_page, 'alm_set_admin_nonce' );
539
 
540
- if(has_action('alm_pro_installed')){ // Pro
 
541
  add_action( 'load-' . $alm_pro_page, 'alm_load_admin_js' );
542
  add_action( 'load-' . $alm_pro_page, 'alm_load_pro_admin_js' );
543
  add_action( 'load-' . $alm_pro_page, 'alm_set_admin_nonce' );
@@ -545,7 +627,8 @@ function alm_admin_menu() {
545
  } else {
546
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
547
  add_action( 'load-' . $alm_addons_page, 'alm_set_admin_nonce' );
548
-
 
549
  }
550
  add_action( 'load-' . $alm_extensions_page, 'alm_load_admin_js' );
551
  add_action( 'load-' . $alm_extensions_page, 'alm_set_admin_nonce' );
@@ -622,6 +705,19 @@ function alm_extensions_page(){
622
 
623
 
624
 
 
 
 
 
 
 
 
 
 
 
 
 
 
625
  /*
626
  * alm_example_page
627
  * Examples Page
@@ -998,7 +1094,6 @@ function alm_get_tax_terms(){
998
  */
999
  function alm_layouts_dismiss(){
1000
  if (current_user_can( 'edit_theme_options' )){
1001
-
1002
  $nonce = $_POST["nonce"];
1003
 
1004
  // Check our nonce, if they don't match then bounce!
@@ -1053,6 +1148,10 @@ function alm_filter_admin_footer_text( $text ) {
1053
  }
1054
 
1055
  echo '<strong>Ajax Load More</strong> is made with <span style="color: #e25555;">♥</span> by <a href="https://connekthq.com" target="_blank" style="font-weight: 500;">Connekt</a> | <a href="https://wordpress.org/support/plugin/ajax-load-more/reviews/" target="_blank" style="font-weight: 500;">Leave a Review</a> | <a href="https://connekthq.com/plugins/ajax-load-more/support/" target="_blank" style="font-weight: 500;">Get Support</a>';
 
 
 
 
1056
  }
1057
 
1058
 
9
  add_action( 'alm_get_layouts', 'alm_get_layouts' ); // Add layout selection
10
  add_action( 'wp_ajax_alm_get_layout', 'alm_get_layout' ); // Get layout
11
  add_action( 'wp_ajax_alm_dismiss_sharing', 'alm_dismiss_sharing' ); // Dismiss sharing
12
+ add_action( 'wp_ajax_alm_set_transient', 'alm_set_transient' ); // Set transient
13
  add_filter( 'admin_footer_text', 'alm_filter_admin_footer_text'); // Admin menu text
14
 
15
 
16
 
17
+
18
+ /*
19
+ * alm_render_transient_notification
20
+ * Render a notification in the dashboard
21
+ *
22
+ * @since 4.0
23
+ */
24
+ function alm_render_transient_notification(){
25
+ if(!has_action('alm_pro_installed')){
26
+
27
+ $msg = '🔥 Introducing <strong><a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank">Ajax Load More Pro</a></strong> - get instant access to all 13 add-ons in a single installation! &nbsp; <strong><a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank" class="button button-primary">Upgrade Now</a></strong>';
28
+
29
+ alm_transient_notification($msg, 'alm_pro_upgrade', 'YEAR_IN_SECONDS', true);
30
+ }
31
+ }
32
+
33
+
34
+
35
+ /*
36
+ * alm_transient_notification
37
+ * Display a notification on pages with transient
38
+ *
39
+ * @since 4.0
40
+ */
41
+ function alm_transient_notification($message = '', $transient = '', $duration = 'YEAR_IN_SECONDS', $dismissible = true, $type = 'info'){
42
+ if(!empty($transient)){
43
+ $transient_value = get_transient( $transient );
44
+ $dismissible = ($dismissible) ? ' is-dismissible' : '';
45
+ if(!isset($transient_value) || empty($transient_value) && !empty($message)){
46
+ ?>
47
+ <div class="alm-admin-notice notice-<?php echo $type; ?> notice<?php echo $dismissible; ?> alm-transient" data-transient="<?php echo $transient; ?>" data-duration="<?php echo $duration; ?>"><p><?php echo $message; ?></p></div>
48
+ <?php
49
+ }
50
+ }
51
+ }
52
+
53
+
54
+
55
+ /*
56
+ * alm_set_transient
57
+ * Set transient via Ajax.
58
+ *
59
+ * @since 4.0
60
+ */
61
+ function alm_set_transient(){
62
+
63
+ if (current_user_can( 'edit_theme_options' )){
64
+
65
+ $nonce = $_POST["nonce"];
66
+ $transient = $_POST["transient_name"];
67
+ $duration = $_POST["duration"];
68
+
69
+ $duration = (!isset($duration)) ? 'YEAR_IN_SECONDS' : $duration;
70
+
71
+ // Check our nonce, if they don't match then bounce!
72
+ if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
73
+ die(__('Error - unable to verify nonce, please try again.', 'ajax-load-more'));
74
+
75
+ if($transient){
76
+ set_transient( $transient, 'true', constant($duration) );
77
+ echo __('Transient set successfully', 'ajax-load-more');
78
+ }
79
+
80
+ wp_die();
81
+ }
82
+ }
83
+
84
+
85
+
86
+
87
  /*
88
  * alm_repeaters_export
89
  * This function will export a repeater template and force download
128
 
129
  if(has_action('alm_pro_installed')){ // Pro
130
  $addons = alm_get_pro_addon();
131
+ $message = __( 'You have an invalid or expired <a href="admin.php?page=ajax-load-more"><b>Ajax Load More Pro</b></a> license key - please visit the <a href="admin.php?page=ajax-load-more-licenses">License</a> section to input your key or <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank">purchase</a> one now.', 'ajax-load-more' );
132
 
133
  } else {
134
  $addons = alm_get_addons();
328
  'select_authors' => __('Select Author(s)', 'ajax-load-more'),
329
  'select_cats' => __('Select Categories', 'ajax-load-more'),
330
  'select_tags' => __('Select Tags', 'ajax-load-more'),
331
+ 'select' => __('Select', 'ajax-load-more'),
332
  'jump_to_option' => __('Jump to Option', 'ajax-load-more'),
333
  'jump_to_template' => __('Jump to Template', 'ajax-load-more'),
334
  'install_now' => __('Are you sure you want to install this Ajax Load More extension?', 'ajax-load-more'),
534
  'alm_help_page'
535
  );
536
 
537
+ $license_title = (has_action('alm_pro_installed')) ? __('License', 'ajax-load-more') : __('Licenses', 'ajax-load-more');
538
  $alm_licenses_page = add_submenu_page(
539
  'ajax-load-more',
540
+ $license_title,
541
+ $license_title,
542
  'edit_theme_options',
543
  'ajax-load-more-licenses',
544
  'alm_licenses_page'
560
  'ajax-load-more-pro',
561
  'alm_pro_page'
562
  );
563
+ } else {
564
+ $alm_go_pro_page = add_submenu_page(
565
+ 'ajax-load-more',
566
+ __('Pro', 'ajax-load-more'),
567
+ $before_link . '<span class="dashicons dashicons-plus-alt" '.$style_link_icon.'></span> '. __('Go Pro', 'ajax-load-more') . $after_link,
568
+ 'edit_theme_options',
569
+ 'ajax-load-more-go-pro',
570
+ 'alm_go_pro_page'
571
+ );
572
  }
573
 
574
 
618
  add_action( 'load-' . $alm_help_page, 'alm_load_admin_js' );
619
  add_action( 'load-' . $alm_help_page, 'alm_set_admin_nonce' );
620
 
621
+ // Pro
622
+ if(has_action('alm_pro_installed')){
623
  add_action( 'load-' . $alm_pro_page, 'alm_load_admin_js' );
624
  add_action( 'load-' . $alm_pro_page, 'alm_load_pro_admin_js' );
625
  add_action( 'load-' . $alm_pro_page, 'alm_set_admin_nonce' );
627
  } else {
628
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
629
  add_action( 'load-' . $alm_addons_page, 'alm_set_admin_nonce' );
630
+ add_action( 'load-' . $alm_go_pro_page, 'alm_load_admin_js' );
631
+ add_action( 'load-' . $alm_go_pro_page, 'alm_set_admin_nonce' );
632
  }
633
  add_action( 'load-' . $alm_extensions_page, 'alm_load_admin_js' );
634
  add_action( 'load-' . $alm_extensions_page, 'alm_set_admin_nonce' );
705
 
706
 
707
 
708
+ /*
709
+ * alm_extensions_ons_page
710
+ * Ajax Load More Add-ons
711
+ *
712
+ * @since 4.0.0
713
+ */
714
+
715
+ function alm_go_pro_page(){
716
+ include_once( ALM_PATH . 'admin/views/go-pro.php');
717
+ }
718
+
719
+
720
+
721
  /*
722
  * alm_example_page
723
  * Examples Page
1094
  */
1095
  function alm_layouts_dismiss(){
1096
  if (current_user_can( 'edit_theme_options' )){
 
1097
  $nonce = $_POST["nonce"];
1098
 
1099
  // Check our nonce, if they don't match then bounce!
1148
  }
1149
 
1150
  echo '<strong>Ajax Load More</strong> is made with <span style="color: #e25555;">♥</span> by <a href="https://connekthq.com" target="_blank" style="font-weight: 500;">Connekt</a> | <a href="https://wordpress.org/support/plugin/ajax-load-more/reviews/" target="_blank" style="font-weight: 500;">Leave a Review</a> | <a href="https://connekthq.com/plugins/ajax-load-more/support/" target="_blank" style="font-weight: 500;">Get Support</a>';
1151
+
1152
+ if(!has_action('alm_pro_installed')){
1153
+ echo ' | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank" style="font-weight: 500;">Go Pro</a>';
1154
+ }
1155
  }
1156
 
1157
 
admin/dist/css/admin.css CHANGED
@@ -553,6 +553,208 @@ disabled look for disabled choices in the results dropdown
553
  top: -2px;
554
  left: 5px; }
555
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
  .ajax-load-more .cnkt-sidebar {
557
  width: 33%;
558
  float: right;
@@ -697,7 +899,8 @@ body.ajax-load-more_page_ajax-load-more-help,
697
  body.ajax-load-more_page_ajax-load-more-licenses,
698
  body.ajax-load-more_page_ajax-load-more-cache,
699
  body.ajax-load-more_page_ajax-load-more-filters,
700
- body.ajax-load-more_page_ajax-load-more-pro {
 
701
  background-color: #f7f7f7; }
702
  body.toplevel_page_ajax-load-more #wpcontent,
703
  body.ajax-load-more_page_ajax-load-more-repeaters #wpcontent,
@@ -708,7 +911,8 @@ body.ajax-load-more_page_ajax-load-more-pro {
708
  body.ajax-load-more_page_ajax-load-more-licenses #wpcontent,
709
  body.ajax-load-more_page_ajax-load-more-cache #wpcontent,
710
  body.ajax-load-more_page_ajax-load-more-filters #wpcontent,
711
- body.ajax-load-more_page_ajax-load-more-pro #wpcontent {
 
712
  padding-left: 0;
713
  padding-bottom: 40px;
714
  background-color: #efefef; }
@@ -721,7 +925,8 @@ body.ajax-load-more_page_ajax-load-more-pro {
721
  body.ajax-load-more_page_ajax-load-more-licenses #wpbody-content,
722
  body.ajax-load-more_page_ajax-load-more-cache #wpbody-content,
723
  body.ajax-load-more_page_ajax-load-more-filters #wpbody-content,
724
- body.ajax-load-more_page_ajax-load-more-pro #wpbody-content {
 
725
  padding-bottom: 0; }
726
 
727
  body.toplevel_page_ajax-load-more,
@@ -733,7 +938,8 @@ body.ajax-load-more_page_ajax-load-more-help,
733
  body.ajax-load-more_page_ajax-load-more-licenses,
734
  body.ajax-load-more_page_ajax-load-more-cache,
735
  body.ajax-load-more_page_ajax-load-more-filters,
736
- body.ajax-load-more_page_ajax-load-more-pro {
 
737
  background: #efefef; }
738
  body.toplevel_page_ajax-load-more #wpfooter,
739
  body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter,
@@ -744,7 +950,8 @@ body.ajax-load-more_page_ajax-load-more-pro {
744
  body.ajax-load-more_page_ajax-load-more-licenses #wpfooter,
745
  body.ajax-load-more_page_ajax-load-more-cache #wpfooter,
746
  body.ajax-load-more_page_ajax-load-more-filters #wpfooter,
747
- body.ajax-load-more_page_ajax-load-more-pro #wpfooter {
 
748
  padding-top: 0;
749
  padding-bottom: 0;
750
  line-height: 40px;
@@ -762,7 +969,8 @@ body.ajax-load-more_page_ajax-load-more-pro {
762
  body.ajax-load-more_page_ajax-load-more-licenses #wpfooter p,
763
  body.ajax-load-more_page_ajax-load-more-cache #wpfooter p,
764
  body.ajax-load-more_page_ajax-load-more-filters #wpfooter p,
765
- body.ajax-load-more_page_ajax-load-more-pro #wpfooter p {
 
766
  line-height: 40px; }
767
  @media screen and (min-width: 901px) {
768
  body.toplevel_page_ajax-load-more .ajax-load-more .cnkt-main,
@@ -774,7 +982,8 @@ body.ajax-load-more_page_ajax-load-more-pro {
774
  body.ajax-load-more_page_ajax-load-more-licenses .ajax-load-more .cnkt-main,
775
  body.ajax-load-more_page_ajax-load-more-cache .ajax-load-more .cnkt-main,
776
  body.ajax-load-more_page_ajax-load-more-filters .ajax-load-more .cnkt-main,
777
- body.ajax-load-more_page_ajax-load-more-pro .ajax-load-more .cnkt-main {
 
778
  min-height: 100vh; } }
779
 
780
  body.ajax-load-more_page_ajax-load-more-extensions,
@@ -795,6 +1004,21 @@ body.ajax-load-more_page_ajax-load-more-pro {
795
  max-width: 1440px;
796
  position: relative; }
797
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
798
  /*
799
  * Admin - Popup Generator
800
  *
@@ -1561,20 +1785,26 @@ hr.indented {
1561
  float: left;
1562
  padding: 20px 0 20px 20px;
1563
  width: 35%; }
 
 
 
 
 
 
1564
 
1565
  .ajax-load-more .section-title.full {
1566
  width: 100%;
1567
  float: none; }
1568
 
1569
  .ajax-load-more .section-title h4 {
1570
- font-size: 15px;
1571
  font-weight: 600;
1572
  margin-bottom: 15px; }
1573
 
1574
  .ajax-load-more .section-title p,
1575
  .ajax-load-more .wrap p.descriptor {
1576
- font-size: 14px;
1577
- line-height: 22px;
1578
  color: #999; }
1579
 
1580
  .ajax-load-more .wrap p.descriptor {
@@ -1844,11 +2074,11 @@ hr.indented {
1844
 
1845
  .form-table .template-tags {
1846
  overflow: hidden;
1847
- border-left: 5px solid #dfd8c2;
1848
- padding: 16px;
1849
  background: #fff9ea;
1850
  margin: 20px 0 0;
1851
- border-radius: 2px; }
1852
 
1853
  .form-table .template-tags h4,
1854
  .form-table .template-tags li {
@@ -2196,6 +2426,49 @@ table.highlight {
2196
  border-radius: 0;
2197
  border-top: none;
2198
  border-left: none; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2199
  #alm-add-ons .group.installed {
2200
  opacity: 0.85;
2201
  -webkit-filter: grayscale(1);
@@ -2214,7 +2487,7 @@ table.highlight {
2214
  width: calc(100% - 40px);
2215
  display: block;
2216
  font-size: 14px;
2217
- padding: 10px 14px;
2218
  -webkit-transition: all 0.15s ease;
2219
  transition: all 0.15s ease;
2220
  border-bottom: none;
@@ -2230,6 +2503,9 @@ table.highlight {
2230
  padding: 25px 25px 70px;
2231
  position: relative; }
2232
 
 
 
 
2233
  #alm-add-ons .group:hover h2 {
2234
  text-decoration: underline; }
2235
 
@@ -2243,189 +2519,6 @@ table.highlight {
2243
  #alm-add-ons .group.installed a:hover h2 {
2244
  color: #444 !important; }
2245
 
2246
- /* Pro Add-on Listing */
2247
- .alm-pro-listing {
2248
- padding: 0;
2249
- border-top: none;
2250
- position: relative;
2251
- padding-bottom: 20px; }
2252
- .alm-pro-listing .loader {
2253
- position: absolute;
2254
- left: 0;
2255
- top: 0;
2256
- width: 100%;
2257
- height: 100%;
2258
- z-index: 99;
2259
- display: none; }
2260
- .alm-pro-listing.loading .loader {
2261
- display: block; }
2262
- .alm-pro-listing--header {
2263
- border: 1px solid #e1e1e1;
2264
- background: #f7f7f7;
2265
- padding: 15px;
2266
- font-size: 13px;
2267
- font-weight: 600;
2268
- text-transform: uppercase;
2269
- color: #23282d;
2270
- position: relative;
2271
- margin-bottom: 30px;
2272
- border-radius: 2px; }
2273
- .alm-pro-listing--header div {
2274
- position: absolute;
2275
- right: 15px;
2276
- top: 50%;
2277
- -webkit-transform: translateY(-50%);
2278
- -ms-transform: translateY(-50%);
2279
- transform: translateY(-50%);
2280
- font-size: 13px;
2281
- opacity: 0.7;
2282
- font-weight: normal;
2283
- text-transform: none;
2284
- font-style: italic; }
2285
- @media screen and (max-width: 480px) {
2286
- .alm-pro-listing--header div {
2287
- display: none; } }
2288
- .alm-pro-listing--wrap {
2289
- display: -webkit-box;
2290
- display: -ms-flexbox;
2291
- display: flex;
2292
- -ms-flex-wrap: wrap;
2293
- flex-wrap: wrap;
2294
- -webkit-box-pack: justify;
2295
- -ms-flex-pack: justify;
2296
- justify-content: space-between; }
2297
- .alm-pro-listing .item {
2298
- width: 49.5%;
2299
- display: -webkit-box;
2300
- display: -ms-flexbox;
2301
- display: flex;
2302
- margin-bottom: 10px; }
2303
- @media screen and (min-width: 1500px) {
2304
- .alm-pro-listing .item {
2305
- width: 32.775%; } }
2306
- @media screen and (max-width: 480px) {
2307
- .alm-pro-listing .item {
2308
- width: 100%; } }
2309
- .alm-pro-listing .item h2, .alm-pro-listing .item p, .alm-pro-listing .item img, .alm-pro-listing .item .state {
2310
- -webkit-transition: all 0.15s ease;
2311
- transition: all 0.15s ease; }
2312
- .alm-pro-listing .item a {
2313
- text-decoration: none !important;
2314
- padding: 0 55px 0 0;
2315
- position: relative;
2316
- display: -webkit-box;
2317
- display: -ms-flexbox;
2318
- display: flex;
2319
- border: 1px solid #e1e1e1;
2320
- -webkit-transition: all 0.15s ease;
2321
- transition: all 0.15s ease;
2322
- border-radius: 2px; }
2323
- .alm-pro-listing .item a:hover, .alm-pro-listing .item a:focus {
2324
- border-color: #bbb; }
2325
- .alm-pro-listing .item a:hover h2, .alm-pro-listing .item a:focus h2 {
2326
- text-decoration: underline; }
2327
- .alm-pro-listing .item--detail {
2328
- padding: 15px 20px;
2329
- position: relative;
2330
- min-height: 110px;
2331
- display: -webkit-box;
2332
- display: -ms-flexbox;
2333
- display: flex;
2334
- -webkit-box-align: center;
2335
- -ms-flex-align: center;
2336
- align-items: center; }
2337
- .alm-pro-listing .item--detail div {
2338
- padding: 0; }
2339
- .alm-pro-listing .item--detail img {
2340
- width: 95px;
2341
- height: auto;
2342
- margin-right: 20px; }
2343
- @media screen and (max-width: 768px) {
2344
- .alm-pro-listing .item--detail img {
2345
- display: none; } }
2346
- .alm-pro-listing .item--detail a {
2347
- text-decoration: none; }
2348
- .alm-pro-listing .item--detail a:hover {
2349
- text-decoration: underline; }
2350
- .alm-pro-listing .item--detail h2 {
2351
- margin: 0 0 7px;
2352
- font-size: 16px;
2353
- line-height: 1;
2354
- -webkit-transition: all 0.15s ease;
2355
- transition: all 0.15s ease; }
2356
- .alm-pro-listing .item--detail p {
2357
- margin: 0;
2358
- padding: 0;
2359
- font-size: 14px; }
2360
- .alm-pro-listing .item--detail p.link {
2361
- font-size: 13px;
2362
- padding-top: 2px;
2363
- opacity: 0;
2364
- -webkit-transition: opacity 0.15s ease;
2365
- transition: opacity 0.15s ease; }
2366
- .alm-pro-listing .item .result {
2367
- position: absolute;
2368
- right: 8px;
2369
- bottom: 8px;
2370
- font-size: 12px;
2371
- opacity: 0;
2372
- -webkit-transition: all 0.25s ease;
2373
- transition: all 0.25s ease; }
2374
- .alm-pro-listing .item .result.in-view {
2375
- opacity: 0.7; }
2376
- .alm-pro-listing .item .result .type {
2377
- background: #47bd79;
2378
- color: #fff;
2379
- display: none;
2380
- border-radius: 2px;
2381
- padding: 3px 6px;
2382
- display: inline-block; }
2383
- .alm-pro-listing .item .result .type.inactive {
2384
- background: #c54545;
2385
- display: none; }
2386
- .alm-pro-listing .item .state {
2387
- width: 22px;
2388
- height: 22px;
2389
- position: absolute;
2390
- right: 8px;
2391
- top: 8px;
2392
- border-radius: 2px;
2393
- background: #57d48c;
2394
- color: #fff;
2395
- display: -webkit-box;
2396
- display: -ms-flexbox;
2397
- display: flex;
2398
- -webkit-box-align: center;
2399
- -ms-flex-align: center;
2400
- align-items: center;
2401
- -webkit-box-pack: center;
2402
- -ms-flex-pack: center;
2403
- justify-content: center;
2404
- text-decoration: none !important;
2405
- font-size: 12px;
2406
- -webkit-transition: all 0.15s ease;
2407
- transition: all 0.15s ease; }
2408
- .alm-pro-listing .item .state:before {
2409
- font-family: 'FontAwesome';
2410
- content: '\f00c';
2411
- display: block; }
2412
- .alm-pro-listing .item.active a {
2413
- border-color: #57d48c; }
2414
- .alm-pro-listing .item.active:hover .state {
2415
- opacity: 0.9; }
2416
- .alm-pro-listing .item.inactive h2, .alm-pro-listing .item.inactive p, .alm-pro-listing .item.inactive img, .alm-pro-listing .item.inactive .state {
2417
- opacity: 0.5; }
2418
- .alm-pro-listing .item.inactive .state {
2419
- background: #e1e1e1; }
2420
- .alm-pro-listing .item.inactive .state:before {
2421
- opacity: 0; }
2422
- .alm-pro-listing .item.inactive:hover h2, .alm-pro-listing .item.inactive:hover p, .alm-pro-listing .item.inactive:hover img, .alm-pro-listing .item.inactive:hover .state {
2423
- opacity: 0.8; }
2424
- .alm-pro-listing .item.inactive:hover .state {
2425
- background: #ccc; }
2426
- .alm-pro-listing .item.inactive:hover .state:before {
2427
- opacity: 1; }
2428
-
2429
  /* Add-on Callout! */
2430
  .call-out {
2431
  background: #63ccb2;
@@ -2649,7 +2742,7 @@ span.cnkt-button.installed i,
2649
  .license-no-addons {
2650
  overflow: hidden;
2651
  display: block;
2652
- padding: 15px;
2653
  border: 1px solid #e1e1e1;
2654
  border-top: none;
2655
  background-color: #fff;
@@ -2792,10 +2885,29 @@ span.cnkt-button.installed i,
2792
  .ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner {
2793
  overflow: hidden; }
2794
 
2795
- .ajax-load-more .cnkt-sidebar .cta.dyk img {
2796
- padding: 0 20px 10px 0;
2797
- max-width: 40%;
2798
- float: left; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2799
 
2800
  .ajax-load-more .cnkt-sidebar .cta.dyk p {
2801
  margin: 0 0 15px;
@@ -2803,7 +2915,8 @@ span.cnkt-button.installed i,
2803
  .ajax-load-more .cnkt-sidebar .cta.dyk p:last-child {
2804
  margin: 0; }
2805
  .ajax-load-more .cnkt-sidebar .cta.dyk p.addon-intro {
2806
- margin-top: -3px; }
 
2807
 
2808
  .ajax-load-more .cnkt-sidebar ul {
2809
  padding: 5px 0 0;
@@ -3144,6 +3257,21 @@ span.cnkt-button.installed i,
3144
  height: 10px;
3145
  clear: both;
3146
  display: block; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3147
 
3148
  /*
3149
  * Cache
@@ -3152,11 +3280,6 @@ span.cnkt-button.installed i,
3152
  .alm-cache {
3153
  /* Live Search */
3154
  /* Directory Listing */ }
3155
- .alm-cache .generate-id {
3156
- margin: 10px 0 0 !important;
3157
- font-size: 12px !important; }
3158
- .alm-cache .generate-cache-id i {
3159
- margin: 0 5px 0 0; }
3160
  .alm-cache .row:first-of-type {
3161
  margin-top: 0 !important; }
3162
  .alm-cache .alm-cache-search-wrap {
@@ -3187,10 +3310,6 @@ span.cnkt-button.installed i,
3187
  border: none;
3188
  padding: 0;
3189
  margin: 0; }
3190
- .alm-cache .alm-dir-listing.theme-repeaters p.theme-title {
3191
- font-weight: 600;
3192
- margin: 0 0 15px;
3193
- padding: 0 5px; }
3194
  .alm-cache .alm-dir-listing.theme-repeaters i {
3195
  color: #ccc;
3196
  font-size: 1.1em; }
@@ -3230,36 +3349,6 @@ span.cnkt-button.installed i,
3230
  .alm-cache .alm-dir-listing .dir-title .delete:active {
3231
  -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
3232
  box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2); }
3233
- .alm-cache .alm-dir-listing ul {
3234
- padding: 20px 0 0;
3235
- margin: 10px 0 0;
3236
- border-top: 1px solid #efefef; }
3237
- .alm-cache .alm-dir-listing ul li {
3238
- margin: 0 -2px;
3239
- padding: 7px 0 7px 40px;
3240
- display: inline-block;
3241
- vertical-align: top;
3242
- overflow: hidden;
3243
- width: 47%;
3244
- font-size: 14px;
3245
- background: transparent url(../../img/directory-list.gif) no-repeat left center; }
3246
- .alm-cache .alm-dir-listing.theme-repeaters ul li {
3247
- display: block;
3248
- width: 100%;
3249
- padding-top: 12px; }
3250
- .alm-cache .alm-dir-listing.theme-repeaters ul li label {
3251
- display: block;
3252
- width: 100%; }
3253
- .alm-cache .alm-dir-listing ul li:last-child,
3254
- .alm-cache .alm-dir-listing ul li:nth-last-child(2) {
3255
- background-image: url(../../img/directory-list-btm.gif); }
3256
- .alm-cache .alm-dir-listing.theme-repeaters ul li:nth-last-child(2) {
3257
- background: transparent url(../../img/directory-list.gif) no-repeat left center; }
3258
- .alm-cache .alm-dir-listing ul li a {
3259
- text-decoration: none; }
3260
- .alm-cache .alm-dir-listing li i {
3261
- color: #999;
3262
- padding: 0 5px 0 0; }
3263
  .alm-cache .cache-page-title {
3264
  font-size: 14px;
3265
  display: block;
@@ -3333,6 +3422,49 @@ span.cnkt-button.installed i,
3333
  color: #fff;
3334
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1); }
3335
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3336
  /*
3337
  * Error Handling
3338
  *
@@ -3364,11 +3496,19 @@ span.cnkt-button.installed i,
3364
  min-height: 23px;
3365
  width: 100%;
3366
  display: inline-block;
3367
- padding: 1px 0 0 30px;
3368
  margin: 0 0 5px;
3369
  font-size: 14px;
3370
  line-height: 1.5;
3371
  cursor: pointer !important; }
 
 
 
 
 
 
 
 
3372
 
3373
  .shortcode-builder input[type=radio] + label,
3374
  .ajax-load-more .form-table input[type=radio] + label {
@@ -4242,7 +4382,8 @@ span.dismiss a {
4242
  clear: both;
4243
  margin: 0;
4244
  width: 100%;
4245
- position: static !important; }
 
4246
  .admin.ajax-load-more.settings .form-table td {
4247
  padding: 24px 17px 20px; }
4248
  .call-out.light {
553
  top: -2px;
554
  left: 5px; }
555
 
556
+ /* Pro Add-on Listing */
557
+ .alm-pro-listing {
558
+ padding: 0;
559
+ border-top: none;
560
+ position: relative;
561
+ padding-bottom: 20px; }
562
+ .alm-pro-listing .loader {
563
+ position: absolute;
564
+ left: 0;
565
+ top: 0;
566
+ width: 100%;
567
+ height: 100%;
568
+ z-index: 99;
569
+ display: none; }
570
+ .alm-pro-listing.loading .loader {
571
+ display: block; }
572
+ .alm-pro-listing--header {
573
+ border: 1px solid #e1e1e1;
574
+ background: #f7f7f7;
575
+ padding: 18px;
576
+ font-size: 13px;
577
+ font-weight: 600;
578
+ text-transform: uppercase;
579
+ color: #23282d;
580
+ position: relative;
581
+ margin-bottom: 30px;
582
+ border-radius: 2px; }
583
+ .alm-pro-listing--header div {
584
+ position: absolute;
585
+ right: 15px;
586
+ top: 50%;
587
+ -webkit-transform: translateY(-50%);
588
+ -ms-transform: translateY(-50%);
589
+ transform: translateY(-50%);
590
+ font-size: 13px;
591
+ opacity: 0.7;
592
+ font-weight: normal;
593
+ text-transform: none;
594
+ font-style: italic; }
595
+ @media screen and (max-width: 480px) {
596
+ .alm-pro-listing--header div {
597
+ display: none; } }
598
+ .alm-pro-listing--wrap {
599
+ display: -webkit-box;
600
+ display: -ms-flexbox;
601
+ display: flex;
602
+ -ms-flex-wrap: wrap;
603
+ flex-wrap: wrap;
604
+ -webkit-box-pack: justify;
605
+ -ms-flex-pack: justify;
606
+ justify-content: space-between; }
607
+ .alm-pro-listing .item {
608
+ width: 49.5%;
609
+ display: -webkit-box;
610
+ display: -ms-flexbox;
611
+ display: flex;
612
+ margin-bottom: 10px; }
613
+ @media screen and (min-width: 1500px) {
614
+ .alm-pro-listing .item {
615
+ width: 32.775%; } }
616
+ @media screen and (max-width: 480px) {
617
+ .alm-pro-listing .item {
618
+ width: 100%; } }
619
+ .alm-pro-listing .item h2, .alm-pro-listing .item p, .alm-pro-listing .item img, .alm-pro-listing .item .state {
620
+ -webkit-transition: all 0.15s ease;
621
+ transition: all 0.15s ease; }
622
+ .alm-pro-listing .item a {
623
+ text-decoration: none !important;
624
+ padding: 0 55px 0 0;
625
+ position: relative;
626
+ display: -webkit-box;
627
+ display: -ms-flexbox;
628
+ display: flex;
629
+ border: 1px solid #e1e1e1;
630
+ -webkit-transition: all 0.15s ease;
631
+ transition: all 0.15s ease;
632
+ border-radius: 2px; }
633
+ @media screen and (min-width: 768px) and (max-width: 1100px) {
634
+ .alm-pro-listing .item a {
635
+ padding: 0 40px; } }
636
+ .alm-pro-listing .item a:hover, .alm-pro-listing .item a:focus {
637
+ border-color: #bbb; }
638
+ .alm-pro-listing .item a:hover h2, .alm-pro-listing .item a:focus h2 {
639
+ text-decoration: none; }
640
+ .alm-pro-listing .item--detail {
641
+ padding: 20px;
642
+ position: relative;
643
+ min-height: 110px;
644
+ display: -webkit-box;
645
+ display: -ms-flexbox;
646
+ display: flex;
647
+ -webkit-box-align: center;
648
+ -ms-flex-align: center;
649
+ align-items: center; }
650
+ @media screen and (min-width: 768px) and (max-width: 1100px) {
651
+ .alm-pro-listing .item--detail {
652
+ display: block;
653
+ text-align: center; }
654
+ .alm-pro-listing .item--detail img {
655
+ padding-bottom: 20px; } }
656
+ .alm-pro-listing .item--detail div {
657
+ padding: 0; }
658
+ .alm-pro-listing .item--detail img {
659
+ width: 110px;
660
+ height: auto;
661
+ margin-right: 15px; }
662
+ @media screen and (max-width: 768px) {
663
+ .alm-pro-listing .item--detail img {
664
+ display: none; } }
665
+ .alm-pro-listing .item--detail a {
666
+ text-decoration: none; }
667
+ .alm-pro-listing .item--detail a:hover, .alm-pro-listing .item--detail a:focus {
668
+ text-decoration: none; }
669
+ .alm-pro-listing .item--detail a:hover h2, .alm-pro-listing .item--detail a:focus h2 {
670
+ text-decoration: none; }
671
+ .alm-pro-listing .item--detail h2 {
672
+ margin: 0 0 7px;
673
+ font-size: 16px;
674
+ line-height: 1;
675
+ -webkit-transition: all 0.15s ease;
676
+ transition: all 0.15s ease; }
677
+ .alm-pro-listing .item--detail h2 span {
678
+ font-weight: 400;
679
+ opacity: 0.4;
680
+ font-size: 12px;
681
+ position: relative;
682
+ top: 0;
683
+ left: 3px;
684
+ text-decoration: none !important; }
685
+ .alm-pro-listing .item--detail p {
686
+ margin: 0;
687
+ padding: 0;
688
+ font-size: 14px; }
689
+ .alm-pro-listing .item--detail p.link {
690
+ font-size: 13px;
691
+ padding-top: 2px;
692
+ opacity: 0;
693
+ -webkit-transition: opacity 0.15s ease;
694
+ transition: opacity 0.15s ease; }
695
+ .alm-pro-listing .item .result {
696
+ position: absolute;
697
+ right: 6px;
698
+ bottom: 6px;
699
+ font-size: 12px;
700
+ opacity: 0;
701
+ -webkit-transition: all 0.25s ease;
702
+ transition: all 0.25s ease; }
703
+ .alm-pro-listing .item .result.in-view {
704
+ opacity: 0.7; }
705
+ .alm-pro-listing .item .result .type {
706
+ background: #47bd79;
707
+ color: #fff;
708
+ display: none;
709
+ border-radius: 2px;
710
+ padding: 3px 6px;
711
+ display: inline-block; }
712
+ .alm-pro-listing .item .result .type.inactive {
713
+ background: #c54545;
714
+ display: none; }
715
+ .alm-pro-listing .item .state {
716
+ width: 22px;
717
+ height: 22px;
718
+ position: absolute;
719
+ right: 6px;
720
+ top: 6px;
721
+ border-radius: 2px;
722
+ background: #57d48c;
723
+ color: #fff;
724
+ display: -webkit-box;
725
+ display: -ms-flexbox;
726
+ display: flex;
727
+ -webkit-box-align: center;
728
+ -ms-flex-align: center;
729
+ align-items: center;
730
+ -webkit-box-pack: center;
731
+ -ms-flex-pack: center;
732
+ justify-content: center;
733
+ text-decoration: none !important;
734
+ font-size: 12px;
735
+ -webkit-transition: all 0.15s ease;
736
+ transition: all 0.15s ease; }
737
+ .alm-pro-listing .item .state:before {
738
+ font-family: 'FontAwesome';
739
+ content: '\f00c';
740
+ display: block; }
741
+ .alm-pro-listing .item.active a {
742
+ border-color: #57d48c; }
743
+ .alm-pro-listing .item.active:hover .state {
744
+ opacity: 0.9; }
745
+ .alm-pro-listing .item.inactive h2, .alm-pro-listing .item.inactive p, .alm-pro-listing .item.inactive img, .alm-pro-listing .item.inactive .state {
746
+ opacity: 0.5; }
747
+ .alm-pro-listing .item.inactive .state {
748
+ background: #e1e1e1; }
749
+ .alm-pro-listing .item.inactive .state:before {
750
+ opacity: 0; }
751
+ .alm-pro-listing .item.inactive:hover h2, .alm-pro-listing .item.inactive:hover p, .alm-pro-listing .item.inactive:hover img, .alm-pro-listing .item.inactive:hover .state {
752
+ opacity: 0.8; }
753
+ .alm-pro-listing .item.inactive:hover .state {
754
+ background: #ccc; }
755
+ .alm-pro-listing .item.inactive:hover .state:before {
756
+ opacity: 1; }
757
+
758
  .ajax-load-more .cnkt-sidebar {
759
  width: 33%;
760
  float: right;
899
  body.ajax-load-more_page_ajax-load-more-licenses,
900
  body.ajax-load-more_page_ajax-load-more-cache,
901
  body.ajax-load-more_page_ajax-load-more-filters,
902
+ body.ajax-load-more_page_ajax-load-more-pro,
903
+ body.ajax-load-more_page_ajax-load-more-go-pro {
904
  background-color: #f7f7f7; }
905
  body.toplevel_page_ajax-load-more #wpcontent,
906
  body.ajax-load-more_page_ajax-load-more-repeaters #wpcontent,
911
  body.ajax-load-more_page_ajax-load-more-licenses #wpcontent,
912
  body.ajax-load-more_page_ajax-load-more-cache #wpcontent,
913
  body.ajax-load-more_page_ajax-load-more-filters #wpcontent,
914
+ body.ajax-load-more_page_ajax-load-more-pro #wpcontent,
915
+ body.ajax-load-more_page_ajax-load-more-go-pro #wpcontent {
916
  padding-left: 0;
917
  padding-bottom: 40px;
918
  background-color: #efefef; }
925
  body.ajax-load-more_page_ajax-load-more-licenses #wpbody-content,
926
  body.ajax-load-more_page_ajax-load-more-cache #wpbody-content,
927
  body.ajax-load-more_page_ajax-load-more-filters #wpbody-content,
928
+ body.ajax-load-more_page_ajax-load-more-pro #wpbody-content,
929
+ body.ajax-load-more_page_ajax-load-more-go-pro #wpbody-content {
930
  padding-bottom: 0; }
931
 
932
  body.toplevel_page_ajax-load-more,
938
  body.ajax-load-more_page_ajax-load-more-licenses,
939
  body.ajax-load-more_page_ajax-load-more-cache,
940
  body.ajax-load-more_page_ajax-load-more-filters,
941
+ body.ajax-load-more_page_ajax-load-more-pro,
942
+ body.ajax-load-more_page_ajax-load-more-go-pro {
943
  background: #efefef; }
944
  body.toplevel_page_ajax-load-more #wpfooter,
945
  body.ajax-load-more_page_ajax-load-more-repeaters #wpfooter,
950
  body.ajax-load-more_page_ajax-load-more-licenses #wpfooter,
951
  body.ajax-load-more_page_ajax-load-more-cache #wpfooter,
952
  body.ajax-load-more_page_ajax-load-more-filters #wpfooter,
953
+ body.ajax-load-more_page_ajax-load-more-pro #wpfooter,
954
+ body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter {
955
  padding-top: 0;
956
  padding-bottom: 0;
957
  line-height: 40px;
969
  body.ajax-load-more_page_ajax-load-more-licenses #wpfooter p,
970
  body.ajax-load-more_page_ajax-load-more-cache #wpfooter p,
971
  body.ajax-load-more_page_ajax-load-more-filters #wpfooter p,
972
+ body.ajax-load-more_page_ajax-load-more-pro #wpfooter p,
973
+ body.ajax-load-more_page_ajax-load-more-go-pro #wpfooter p {
974
  line-height: 40px; }
975
  @media screen and (min-width: 901px) {
976
  body.toplevel_page_ajax-load-more .ajax-load-more .cnkt-main,
982
  body.ajax-load-more_page_ajax-load-more-licenses .ajax-load-more .cnkt-main,
983
  body.ajax-load-more_page_ajax-load-more-cache .ajax-load-more .cnkt-main,
984
  body.ajax-load-more_page_ajax-load-more-filters .ajax-load-more .cnkt-main,
985
+ body.ajax-load-more_page_ajax-load-more-pro .ajax-load-more .cnkt-main,
986
+ body.ajax-load-more_page_ajax-load-more-go-pro .ajax-load-more .cnkt-main {
987
  min-height: 100vh; } }
988
 
989
  body.ajax-load-more_page_ajax-load-more-extensions,
1004
  max-width: 1440px;
1005
  position: relative; }
1006
 
1007
+ .ajax-load-more .alm-transient {
1008
+ padding: 6px 12px; }
1009
+ .ajax-load-more .alm-transient p {
1010
+ margin: 0.5em 0; }
1011
+ .ajax-load-more .alm-transient p a {
1012
+ font-weight: 600; }
1013
+ .ajax-load-more .alm-transient a.button {
1014
+ position: static;
1015
+ vertical-align: inherit !important; }
1016
+ .ajax-load-more .alm-transient button {
1017
+ -webkit-transform: translateY(-50%);
1018
+ -ms-transform: translateY(-50%);
1019
+ transform: translateY(-50%);
1020
+ top: 50%; }
1021
+
1022
  /*
1023
  * Admin - Popup Generator
1024
  *
1785
  float: left;
1786
  padding: 20px 0 20px 20px;
1787
  width: 35%; }
1788
+ .ajax-load-more .section-title p:last-of-type {
1789
+ margin-bottom: 0; }
1790
+ .ajax-load-more .section-title small {
1791
+ font-size: 11px;
1792
+ padding-top: 8px;
1793
+ display: block; }
1794
 
1795
  .ajax-load-more .section-title.full {
1796
  width: 100%;
1797
  float: none; }
1798
 
1799
  .ajax-load-more .section-title h4 {
1800
+ font-size: 14px;
1801
  font-weight: 600;
1802
  margin-bottom: 15px; }
1803
 
1804
  .ajax-load-more .section-title p,
1805
  .ajax-load-more .wrap p.descriptor {
1806
+ font-size: 13px;
1807
+ line-height: 20px;
1808
  color: #999; }
1809
 
1810
  .ajax-load-more .wrap p.descriptor {
2074
 
2075
  .form-table .template-tags {
2076
  overflow: hidden;
2077
+ border-left: 6px solid #dfd8c2;
2078
+ padding: 15px;
2079
  background: #fff9ea;
2080
  margin: 20px 0 0;
2081
+ border-radius: 3px; }
2082
 
2083
  .form-table .template-tags h4,
2084
  .form-table .template-tags li {
2426
  border-radius: 0;
2427
  border-top: none;
2428
  border-left: none; }
2429
+ #alm-add-ons .group.highlighted {
2430
+ width: 100%; }
2431
+ #alm-add-ons .group.highlighted a {
2432
+ background: #f7f7f7;
2433
+ border: 10px solid rgba(0, 0, 0, 0.025); }
2434
+ #alm-add-ons .group.highlighted img {
2435
+ padding: 10px; }
2436
+ @media screen and (min-width: 768px) {
2437
+ #alm-add-ons .group.highlighted {
2438
+ text-align: left; }
2439
+ #alm-add-ons .group.highlighted a {
2440
+ padding: 25px;
2441
+ overflow: hidden;
2442
+ display: -webkit-box;
2443
+ display: -ms-flexbox;
2444
+ display: flex;
2445
+ -ms-flex-wrap: nowrap;
2446
+ flex-wrap: nowrap;
2447
+ -webkit-box-align: center;
2448
+ -ms-flex-align: center;
2449
+ align-items: center; }
2450
+ #alm-add-ons .group.highlighted .pro-img,
2451
+ #alm-add-ons .group.highlighted .pro-details {
2452
+ -webkit-box-flex: 1;
2453
+ -ms-flex: 1;
2454
+ flex: 1; }
2455
+ #alm-add-ons .group.highlighted .pro-img {
2456
+ max-width: 355px; }
2457
+ #alm-add-ons .group.highlighted .pro-details {
2458
+ padding: 0 15px 0 35px; }
2459
+ #alm-add-ons .group.highlighted img {
2460
+ position: static; }
2461
+ #alm-add-ons .group.highlighted span.cnkt-button {
2462
+ position: static;
2463
+ width: auto;
2464
+ display: inline-block;
2465
+ padding: 13px 30px;
2466
+ text-align: center;
2467
+ margin-top: 15px;
2468
+ font-size: 14px; } }
2469
+ @media screen and (min-width: 769px) and (max-width: 1270px) {
2470
+ #alm-add-ons .group.highlighted .pro-desc {
2471
+ display: none; } }
2472
  #alm-add-ons .group.installed {
2473
  opacity: 0.85;
2474
  -webkit-filter: grayscale(1);
2487
  width: calc(100% - 40px);
2488
  display: block;
2489
  font-size: 14px;
2490
+ padding: 11px 14px;
2491
  -webkit-transition: all 0.15s ease;
2492
  transition: all 0.15s ease;
2493
  border-bottom: none;
2503
  padding: 25px 25px 70px;
2504
  position: relative; }
2505
 
2506
+ #alm-add-ons .group--pro a {
2507
+ padding-bottom: 17px; }
2508
+
2509
  #alm-add-ons .group:hover h2 {
2510
  text-decoration: underline; }
2511
 
2519
  #alm-add-ons .group.installed a:hover h2 {
2520
  color: #444 !important; }
2521
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2522
  /* Add-on Callout! */
2523
  .call-out {
2524
  background: #63ccb2;
2742
  .license-no-addons {
2743
  overflow: hidden;
2744
  display: block;
2745
+ padding: 18px 15px;
2746
  border: 1px solid #e1e1e1;
2747
  border-top: none;
2748
  background-color: #fff;
2885
  .ajax-load-more .cnkt-sidebar .cta.dyk .cta-inner {
2886
  overflow: hidden; }
2887
 
2888
+ .ajax-load-more .cnkt-sidebar .cta.dyk .img {
2889
+ float: left;
2890
+ width: 40%;
2891
+ padding: 0 10px 10px 0; }
2892
+
2893
+ .ajax-load-more .cnkt-sidebar .cta.dyk .text {
2894
+ float: left;
2895
+ width: 60%;
2896
+ padding: 0 0 10px 10px; }
2897
+
2898
+ @media screen and (min-width: 900px) and (max-width: 1300px) {
2899
+ .ajax-load-more .cnkt-sidebar .cta.dyk .img,
2900
+ .ajax-load-more .cnkt-sidebar .cta.dyk .text {
2901
+ float: none;
2902
+ padding: 0 0 10px;
2903
+ width: 100%; } }
2904
+
2905
+ @media screen and (max-width: 480px) {
2906
+ .ajax-load-more .cnkt-sidebar .cta.dyk .img,
2907
+ .ajax-load-more .cnkt-sidebar .cta.dyk .text {
2908
+ float: none;
2909
+ padding: 0 0 10px;
2910
+ width: 100%; } }
2911
 
2912
  .ajax-load-more .cnkt-sidebar .cta.dyk p {
2913
  margin: 0 0 15px;
2915
  .ajax-load-more .cnkt-sidebar .cta.dyk p:last-child {
2916
  margin: 0; }
2917
  .ajax-load-more .cnkt-sidebar .cta.dyk p.addon-intro {
2918
+ margin-top: -1px;
2919
+ font-size: 16px; }
2920
 
2921
  .ajax-load-more .cnkt-sidebar ul {
2922
  padding: 5px 0 0;
3257
  height: 10px;
3258
  clear: both;
3259
  display: block; }
3260
+ .spacer.lg {
3261
+ height: 20px; }
3262
+
3263
+ .alm-text-center {
3264
+ text-align: center; }
3265
+
3266
+ .ajax-load-more p.generate-id {
3267
+ margin: 5px 0 0 !important;
3268
+ padding: 0 0 0 5px;
3269
+ font-size: 12px !important; }
3270
+ .ajax-load-more p.generate-id i {
3271
+ margin: 0 2px 0 0;
3272
+ color: #999; }
3273
+ .ajax-load-more p.generate-id a {
3274
+ text-decoration: none; }
3275
 
3276
  /*
3277
  * Cache
3280
  .alm-cache {
3281
  /* Live Search */
3282
  /* Directory Listing */ }
 
 
 
 
 
3283
  .alm-cache .row:first-of-type {
3284
  margin-top: 0 !important; }
3285
  .alm-cache .alm-cache-search-wrap {
3310
  border: none;
3311
  padding: 0;
3312
  margin: 0; }
 
 
 
 
3313
  .alm-cache .alm-dir-listing.theme-repeaters i {
3314
  color: #ccc;
3315
  font-size: 1.1em; }
3349
  .alm-cache .alm-dir-listing .dir-title .delete:active {
3350
  -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
3351
  box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3352
  .alm-cache .cache-page-title {
3353
  font-size: 14px;
3354
  display: block;
3422
  color: #fff;
3423
  text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1); }
3424
 
3425
+ .alm-dir-listing ul {
3426
+ padding: 20px 0 0;
3427
+ margin: 10px 0 0;
3428
+ border-top: 1px solid #efefef; }
3429
+
3430
+ p.theme-title {
3431
+ font-weight: 600;
3432
+ margin: 0 0 15px !important;
3433
+ padding: 0 5px; }
3434
+
3435
+ .alm-dir-listing ul li {
3436
+ margin: 0 -2px;
3437
+ padding: 7px 0 7px 40px;
3438
+ display: inline-block;
3439
+ vertical-align: top;
3440
+ overflow: hidden;
3441
+ width: 47%;
3442
+ font-size: 14px;
3443
+ background: transparent url(../../img/directory-list.gif) no-repeat left center; }
3444
+
3445
+ .alm-dir-listing.theme-repeaters ul li {
3446
+ display: block;
3447
+ width: 100%;
3448
+ padding-top: 12px; }
3449
+
3450
+ .alm-dir-listing.theme-repeaters ul li label {
3451
+ display: block;
3452
+ width: 100%; }
3453
+
3454
+ .alm-dir-listing ul li:last-child,
3455
+ .alm-dir-listing ul li:nth-last-child(2) {
3456
+ background-image: url(../../img/directory-list-btm.gif); }
3457
+
3458
+ .alm-dir-listing.theme-repeaters ul li:nth-last-child(2) {
3459
+ background: transparent url(../../img/directory-list.gif) no-repeat left center; }
3460
+
3461
+ .alm-dir-listing ul li a {
3462
+ text-decoration: none; }
3463
+
3464
+ .alm-dir-listing li i {
3465
+ color: #999;
3466
+ padding: 0 5px 0 0; }
3467
+
3468
  /*
3469
  * Error Handling
3470
  *
3496
  min-height: 23px;
3497
  width: 100%;
3498
  display: inline-block;
3499
+ padding: 0 0 0 30px;
3500
  margin: 0 0 5px;
3501
  font-size: 14px;
3502
  line-height: 1.5;
3503
  cursor: pointer !important; }
3504
+ .shortcode-builder input[type=checkbox] + label span,
3505
+ .ajax-load-more .form-table input[type=checkbox] + label span,
3506
+ .shortcode-builder input[type=radio] + label span,
3507
+ .ajax-load-more .form-table input[type=radio] + label span {
3508
+ display: inline-block;
3509
+ padding-left: 4px;
3510
+ font-size: 12px;
3511
+ color: #999; }
3512
 
3513
  .shortcode-builder input[type=radio] + label,
3514
  .ajax-load-more .form-table input[type=radio] + label {
4382
  clear: both;
4383
  margin: 0;
4384
  width: 100%;
4385
+ position: static !important;
4386
+ border: none; }
4387
  .admin.ajax-load-more.settings .form-table td {
4388
  padding: 24px 17px 20px; }
4389
  .call-out.light {
admin/dist/js/admin.js CHANGED
@@ -1321,7 +1321,7 @@ jQuery(document).ready(function ($) {
1321
  setTimeout(function () {
1322
  settingsTarget.classList.remove('--saved');
1323
  }, 2500);
1324
- }, 1000);
1325
  },
1326
 
1327
  // Error
@@ -1339,7 +1339,7 @@ jQuery(document).ready(function ($) {
1339
  setTimeout(function () {
1340
  settingsTarget.classList.remove('--error');
1341
  }, 2500);
1342
- }, 1000);
1343
  }
1344
  });
1345
  return false;
@@ -1686,6 +1686,36 @@ jQuery(document).ready(function ($) {
1686
  });
1687
  });
1688
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1689
  /*
1690
  * Scroll to setting section
1691
  * @since 2.7.3
1321
  setTimeout(function () {
1322
  settingsTarget.classList.remove('--saved');
1323
  }, 2500);
1324
+ }, 500);
1325
  },
1326
 
1327
  // Error
1339
  setTimeout(function () {
1340
  settingsTarget.classList.remove('--error');
1341
  }, 2500);
1342
+ }, 500);
1343
  }
1344
  });
1345
  return false;
1686
  });
1687
  });
1688
 
1689
+ /*
1690
+ * Set Transient (Transient)
1691
+ * @since 4.0
1692
+ */
1693
+ $(document).on('click', '.alm-transient button.notice-dismiss', function (e) {
1694
+ e.preventDefault();
1695
+ var el = $(this),
1696
+ container = el.parent('.alm-transient'),
1697
+ transient_name = container.data('transient'),
1698
+ duration = container.data('duration');
1699
+
1700
+ // Get value from Ajax
1701
+ $.ajax({
1702
+ type: 'POST',
1703
+ url: alm_admin_localize.ajax_admin_url,
1704
+ data: {
1705
+ action: 'alm_set_transient',
1706
+ nonce: alm_admin_localize.alm_admin_nonce,
1707
+ transient_name: transient_name,
1708
+ duration: duration
1709
+ },
1710
+ success: function success(data) {
1711
+ container.fadeOut();
1712
+ },
1713
+ error: function error(xhr, status, _error4) {
1714
+ console.log(status);
1715
+ }
1716
+ });
1717
+ });
1718
+
1719
  /*
1720
  * Scroll to setting section
1721
  * @since 2.7.3
admin/img/add-ons/pro-bundle-add-on.png ADDED
Binary file
admin/includes/cta/add-ons.php CHANGED
@@ -1,10 +1,10 @@
1
  <div class="cta">
2
- <h3><?php _e('About ALM Add-ons', 'ajax-load-more'); ?></h3>
3
  <div class="cta-inner">
4
  <p style="padding-bottom: 10px;">Ajax Load More offers a variety of unique <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/" target="_blank">add-ons</a> that will extend and enhance the core functionality of the plugin.</p>
5
- <p>Add-ons can be purchased individually or in a <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/bundle/?utm_source=WP%20Admin&utm_medium=ALM%20Dashboard&utm_campaign=Bundle" target="_blank">bundle</a> which gives you access to nine Ajax Load More add-ons at over 50% off the regular price!</p>
6
  </div>
7
  <div class="major-publishing-actions">
8
- <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/" class="button button-primary" target="_blank">View Add-ons</a>
9
  </div>
10
  </div>
1
  <div class="cta">
2
+ <h3><?php _e('About the Add-ons', 'ajax-load-more'); ?></h3>
3
  <div class="cta-inner">
4
  <p style="padding-bottom: 10px;">Ajax Load More offers a variety of unique <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/" target="_blank">add-ons</a> that will extend and enhance the core functionality of the plugin.</p>
5
+ <p>Add-ons can be purchased individually or in a <a href="https://connekthq.com/plugins/ajax-load-more/pro/?utm_source=WP%20Admin&utm_medium=Addons%20Dashboard&utm_campaign=Pro%20Bundle" target="_blank">Pro bundle</a> which gives you access to all current and future Ajax Load More add-ons at over 50% off the regular price!</p>
6
  </div>
7
  <div class="major-publishing-actions">
8
+ <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/" class="button" target="_blank"><?php _e('View Add-ons', 'ajax-load-more'); ?></a>
9
  </div>
10
  </div>
admin/includes/cta/dyk.php CHANGED
@@ -1,56 +1,93 @@
 
1
  <div class="cta dyk">
2
  <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
3
- <?php $random = rand(1, 5); ?>
4
  <?php if($random == 1){ ?>
5
  <div class="cta-inner">
6
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg">
7
- <p class="addon-intro">You can generate shortcodes while editing pages!</p>
8
- <p>Click the Ajax Load More icon in the content editor toolbar and the <a href="?page=ajax-load-more-shortcode-builder">shortcode builder</a> will open up in a lightbox window.</p>
 
 
 
 
9
  </div>
10
  <?php } ?>
11
 
12
  <?php if($random == 2){ ?>
13
  <div class="cta-inner">
 
14
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg">
15
- <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
16
- <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Cache</a> add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.</p>
 
 
 
17
  </div>
18
  <div class="major-publishing-actions">
19
- <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Learn More</a>
20
  </div>
21
  <?php } ?>
22
 
23
  <?php if($random == 3){ ?>
24
  <div class="cta-inner">
 
25
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg">
26
- <p class="addon-intro">You can lazy load single posts with Ajax Load More!</p>
27
- <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Previous Post</a> add-on will load single posts as you scroll and update the browser URL to the current post.</p>
 
 
 
28
  </div>
29
  <div class="major-publishing-actions">
30
- <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Learn More</a>
31
  </div>
32
  <?php } ?>
33
 
34
  <?php if($random == 4){ ?>
35
  <div class="cta-inner">
36
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg">
37
- <p class="addon-intro">You can lazy load blog comments with Ajax Load More!</p>
38
- <p>The <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">Comments</a> add-on will load and display blog comments using the core Ajax Load More infinite scroll functionality.</p>
 
 
 
 
39
  </div>
40
  <div class="major-publishing-actions">
41
- <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More</a>
42
  </div>
43
  <?php } ?>
44
 
45
  <?php if($random == 5){ ?>
46
  <div class="cta-inner">
 
47
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/next-page-add-on.jpg">
48
- <p class="addon-intro">You can infinite scroll just about anything with the Next Page add-on!</p>
49
- <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>
 
 
 
50
  </div>
51
  <div class="major-publishing-actions">
52
- <a target="blank" class="button button-primary" 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</a>
53
  </div>
54
  <?php } ?>
55
 
56
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if(!has_action('alm_pro_installed')){ ?>
2
  <div class="cta dyk">
3
  <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
4
+ <?php $random = rand(1, 6); ?>
5
  <?php if($random == 1){ ?>
6
  <div class="cta-inner">
7
+ <div class="img">
8
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg">
9
+ </div>
10
+ <div class="text">
11
+ <p class="addon-intro">You can generate shortcodes while editing pages!</p>
12
+ <p>Click the Ajax Load More icon in the content editor toolbar and the <a href="?page=ajax-load-more-shortcode-builder">shortcode builder</a> will open up in a lightbox window.</p>
13
+ </div>
14
  </div>
15
  <?php } ?>
16
 
17
  <?php if($random == 2){ ?>
18
  <div class="cta-inner">
19
+ <div class="img">
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg">
21
+ </div>
22
+ <div class="text">
23
+ <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
24
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Cache</a> add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.</p>
25
+ </div>
26
  </div>
27
  <div class="major-publishing-actions">
28
+ <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Learn More</a>
29
  </div>
30
  <?php } ?>
31
 
32
  <?php if($random == 3){ ?>
33
  <div class="cta-inner">
34
+ <div class="img">
35
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg">
36
+ </div>
37
+ <div class="text">
38
+ <p class="addon-intro">You can lazy load single posts with Ajax Load More!</p>
39
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Previous Post</a> add-on will load single posts as you scroll and update the browser URL to the current post.</p>
40
+ </div>
41
  </div>
42
  <div class="major-publishing-actions">
43
+ <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Learn More</a>
44
  </div>
45
  <?php } ?>
46
 
47
  <?php if($random == 4){ ?>
48
  <div class="cta-inner">
49
+ <div class="img">
50
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg">
51
+ </div>
52
+ <div class="text">
53
+ <p class="addon-intro">You can lazy load blog comments with Ajax Load More!</p>
54
+ <p>The <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">Comments</a> add-on will load and display blog comments using the core Ajax Load More infinite scroll functionality.</p>
55
+ </div>
56
  </div>
57
  <div class="major-publishing-actions">
58
+ <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More</a>
59
  </div>
60
  <?php } ?>
61
 
62
  <?php if($random == 5){ ?>
63
  <div class="cta-inner">
64
+ <div class="img">
65
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/next-page-add-on.jpg">
66
+ </div>
67
+ <div class="text">
68
+ <p class="addon-intro">You can infinite scroll just about anything with the Next Page add-on!</p>
69
+ <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>
70
+ </div>
71
  </div>
72
  <div class="major-publishing-actions">
73
+ <a target="blank" class="button button-primary" 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</a>
74
  </div>
75
  <?php } ?>
76
 
77
+ <?php if($random == 6){ ?>
78
+ <div class="cta-inner">
79
+ <div class="img">
80
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/pro-bundle-add-on.png">
81
+ </div>
82
+ <div class="text">
83
+ <p class="addon-intro">Ajax Load More PRO</p>
84
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/pro/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Pro">Pro</a> add-on bundle provides access to all current and future Ajax Load More add-ons in a single installation!</p>
85
+ </div>
86
+ </div>
87
+ <div class="major-publishing-actions">
88
+ <a target="blank" class="button button-primary" href="https://connekthq.com/plugins/ajax-load-more/pro/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Pro">Learn More</a>
89
+ </div>
90
+ <?php } ?>
91
+
92
+ </div>
93
+ <?php } ?>
admin/includes/cta/pro-hero.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!has_action('alm_pro_installed')){
3
+ $pro_addon = alm_get_pro_addon();
4
+ foreach($pro_addon as $pro){
5
+ $name = $pro['name'];
6
+ $intro = $pro['intro'];
7
+ $desc = $pro['desc'];
8
+ $action = $pro['action'];
9
+ $key = $pro['key'];
10
+ $status = $pro['status'];
11
+ $settings_field = $pro['settings_field'];
12
+ $url = $pro['url'];
13
+ $img = $pro['img'];
14
+ ?>
15
+ <div class="group no-shadow highlighted">
16
+ <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=<?php echo $name; ?>" <?php echo $target; ?>>
17
+ <div class="pro-img">
18
+ <img src="<?php echo ALM_ADMIN_URL; ?><?php echo $img; ?>" alt="">
19
+ </div>
20
+ <div class="pro-details">
21
+ <h2 class="addon-title"><?php echo $name; ?></h2>
22
+ <p class="addon-intro"><?php echo $intro; ?></p>
23
+ <p class="pro-desc"><?php echo $desc; ?></p>
24
+ <?php
25
+ if (has_action($action)){
26
+ echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> '. __('Installed', 'ajax-load-more') .'</span>';
27
+ }else{
28
+ echo '<span class="cnkt-button">'. __('Upgrade to Pro', 'ajax-load-more') .'</span>';
29
+ }
30
+ ?>
31
+
32
+ </div>
33
+ </a>
34
+ </div>
35
+ <?php
36
+ }
37
+ }
38
+ ?>
admin/includes/cta/resources.php CHANGED
@@ -4,7 +4,11 @@
4
  <ul>
5
  <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>
6
  <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>
 
7
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Support and Issues', 'ajax-load-more'); ?></a></li>
 
 
 
8
  <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>
9
  <li><a target="blank" href="https://wordpress.org/plugins/ajax-load-more/"><i class="fa fa-wordpress"></i> <?php _e('WordPress', '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>
4
  <ul>
5
  <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>
6
  <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>
7
+ <?php if(!has_action('alm_pro_installed')){ ?>
8
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Support and Issues', 'ajax-load-more'); ?></a></li>
9
+ <?php } else { ?>
10
+ <li><a target="blank" href="https://connekthq.com/support/?product=Ajax%20Load%20More"><i class="fa fa-question-circle"></i> <?php _e('Support and Issues', 'ajax-load-more'); ?></a></li>
11
+ <?php } ?>
12
  <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>
13
  <li><a target="blank" href="https://wordpress.org/plugins/ajax-load-more/"><i class="fa fa-wordpress"></i> <?php _e('WordPress', 'ajax-load-more'); ?></a></li>
14
  <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>
admin/shortcode-builder/components/users.php CHANGED
@@ -30,8 +30,7 @@
30
  </div>
31
  <div class="wrap">
32
  <div class="inner">
33
- <select class="alm_element" id="users-role" name="users-role">
34
- <option value="" selected="selected">-- <?php _e('Select Role', 'ajax-load-more'); ?> --</option>
35
  <option value="all"><?php _e('All Roles', 'ajax-load-more'); ?></option>
36
  <?php
37
  if(function_exists('alm_role_encrypt')) :
30
  </div>
31
  <div class="wrap">
32
  <div class="inner">
33
+ <select class="alm_element multiple" id="users-role" name="users-role" multiple="multiple">
 
34
  <option value="all"><?php _e('All Roles', 'ajax-load-more'); ?></option>
35
  <?php
36
  if(function_exists('alm_role_encrypt')) :
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -16,19 +16,15 @@ jQuery(document).ready(function($) {
16
  * @since 2.5.0
17
  */
18
  _alm.select2 = function(){
 
19
  // Default Select2
20
  $('.row select, .cnkt-main select, select.jump-menu').not('.multiple, .meta-compare, .meta-type, .alm-filter-select').select2({});
21
 
22
- // multiple
23
- $('.ajax-load-more .categories select.multiple').select2({
24
- placeholder : '-- '+ alm_admin_localize.select_cats +' --',
25
- });
26
- $('.ajax-load-more .tags select.multiple').select2({
27
- placeholder : '-- '+ alm_admin_localize.select_tags +' --'
28
- });
29
- $('.ajax-load-more .authors select.multiple').select2({
30
- placeholder : '-- '+ alm_admin_localize.select_authors +' --'
31
  });
 
32
  };
33
  _alm.select2();
34
 
@@ -320,28 +316,28 @@ jQuery(document).ready(function($) {
320
 
321
  $('.filters_options').slideDown(150, 'alm_easeInOutQuad');
322
 
323
-
324
  var filters_id = $('#alm-filters select');
325
  if(filters_id.length){
326
  if(filters_id.val() !== ''){
327
  output += ' target="'+filters_id.val().trim()+'"';
328
  }
329
  }
330
-
331
- output += ' filters="'+filters+'"';
332
-
333
  var filters_analytics = $('#alm-filters input[name=filters-analytics]:checked').val().trim();
334
  if(filters_analytics !== '' && filters_analytics !== 'true')
335
  output += ' filters_analytics="'+filters_analytics+'"';
336
-
337
  var filters_debug = $('#alm-filters input[name=filters-debug]:checked').val().trim();
338
  if(filters_debug !== '' && filters_debug !== 'false')
339
  output += ' filters_debug="'+filters_debug+'"';
340
 
341
  }else{
342
-
343
  $('.filters_options').slideUp(150, 'alm_easeInOutQuad');
344
-
345
  }
346
 
347
 
@@ -393,8 +389,8 @@ jQuery(document).ready(function($) {
393
  var paging_classes = $('#alm-paging input#paging-classes').val();
394
  if(paging !== 'false' && paging != undefined){
395
  output += ' paging="'+paging+'"';
396
- output += ' paging_controls="'+paging_controls+'"';
397
- if(paging_show_at_most !== ''){
398
  output += ' paging_show_at_most="'+paging_show_at_most+'"';
399
  }
400
  if(paging_classes !== ''){
@@ -519,11 +515,30 @@ jQuery(document).ready(function($) {
519
  var users_per_page = $('#alm-users input#users-per-page').val();
520
  var users_order = $('#alm-users select#users-order').val();
521
  var users_orderby = $('#alm-users select#users-orderby').val();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
  $('#users-extended').slideDown(150, 'alm_easeInOutQuad');
523
 
524
  output += ' users="'+users+'"';
525
-
526
- if(users_role !== ''){
527
  output += ' users_role="'+ users_role +'"';
528
  }
529
  if(users_include !== ''){
@@ -541,8 +556,8 @@ jQuery(document).ready(function($) {
541
  if(users_orderby !== 'login'){
542
  output += ' users_orderby="'+ users_orderby +'"';
543
  }
544
-
545
-
546
  }else{
547
  $('#users-extended').slideUp(150, 'alm_easeInOutQuad');
548
  }
@@ -629,10 +644,37 @@ jQuery(document).ready(function($) {
629
  // - Categories
630
  // ---------------------------
631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
632
  // IN
633
  var cat = $('.categories #category-select').val();
634
- if(cat !== '' && cat !== undefined && cat !== null)
635
  output += ' category="'+cat+'"';
 
 
 
 
 
 
 
636
 
637
  // NOT_IN
638
  var cat_not_in = $('.categories #category-exclude-select').val();
@@ -644,9 +686,38 @@ jQuery(document).ready(function($) {
644
  // - Tags
645
  // ---------------------------
646
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
647
  var tag = $('.tags #tag-select').val();
648
- if(tag !== '' && tag !== undefined && tag !== null)
649
  output += ' tag="'+tag+'"';
 
 
 
 
 
 
 
650
 
651
  // NOT_IN
652
  var tag_not_in = $('.tags #tag-exclude-select').val();
@@ -978,19 +1049,19 @@ jQuery(document).ready(function($) {
978
 
979
  var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
980
  if(scroll_load === 'f'){
981
-
982
  $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideUp(150, 'alm_easeInOutQuad');
983
  if($('.scroll_load input').hasClass('changed'))
984
  output += ' scroll="false"';
985
-
986
  }else{
987
-
988
  $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideDown(150, 'alm_easeInOutQuad');
989
 
990
  var scroll_distance = $('.scroll_distance input').val();
991
  if(scroll_distance != 150)
992
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
993
-
994
  var scroll_container = $('.scroll_container input').val();
995
  if(scroll_container != '')
996
  output += ' scroll_container="'+$('.scroll_container input').val()+'"';
@@ -1015,7 +1086,7 @@ jQuery(document).ready(function($) {
1015
  output += ' transition="'+transition+'"';
1016
 
1017
  if(transition === 'masonry'){
1018
-
1019
  $('.masonry-options').slideDown(150, 'alm_easeInOutQuad');
1020
  $('.masonry-options-hide').slideUp(150, 'alm_easeInOutQuad');
1021
  var masonry_selector = $('.transition input#masonry-item').val();
@@ -1034,9 +1105,9 @@ jQuery(document).ready(function($) {
1034
  if(masonry_horizontalorder !== 't'){
1035
  output += ' masonry_horizontalorder="false"';
1036
  }
1037
-
1038
  }else{
1039
-
1040
  $('.masonry-options').slideUp(150, 'alm_easeInOutQuad');
1041
  $('.masonry-options-hide').slideDown(150, 'alm_easeInOutQuad');
1042
 
@@ -1049,12 +1120,12 @@ jQuery(document).ready(function($) {
1049
  }else{
1050
  $('.transition-container-classes-wrap').slideDown(150, 'alm_easeInOutQuad');
1051
  }
1052
-
1053
  // Hide transition_container_classes if Previous Post or Next Page is true.
1054
  if(transition_container_classes !== '' && transition_container !== 'f' && previous !== 'true' && nextpage !== 'true'){
1055
  output += ' transition_container_classes="'+ transition_container_classes +'"';
1056
  }
1057
-
1058
  }
1059
 
1060
 
@@ -1262,7 +1333,7 @@ jQuery(document).ready(function($) {
1262
  } else {
1263
  $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_option +' --</option>');
1264
  }
1265
-
1266
  $('.table-of-contents .toc').append(jumpMenuOptions).select2();
1267
 
1268
  $('.table-of-contents .toc').change(function() {
@@ -1273,7 +1344,7 @@ jQuery(document).ready(function($) {
1273
  }, 500, 'alm_easeInOutQuad');
1274
  }
1275
  });
1276
-
1277
 
1278
 
1279
  /*
16
  * @since 2.5.0
17
  */
18
  _alm.select2 = function(){
19
+
20
  // Default Select2
21
  $('.row select, .cnkt-main select, select.jump-menu').not('.multiple, .meta-compare, .meta-type, .alm-filter-select').select2({});
22
 
23
+ // Set placeholder
24
+ $('.ajax-load-more select.multiple').select2({
25
+ placeholder : '-- '+ alm_admin_localize.select +' --'
 
 
 
 
 
 
26
  });
27
+
28
  };
29
  _alm.select2();
30
 
316
 
317
  $('.filters_options').slideDown(150, 'alm_easeInOutQuad');
318
 
319
+
320
  var filters_id = $('#alm-filters select');
321
  if(filters_id.length){
322
  if(filters_id.val() !== ''){
323
  output += ' target="'+filters_id.val().trim()+'"';
324
  }
325
  }
326
+
327
+ output += ' filters="'+filters+'"';
328
+
329
  var filters_analytics = $('#alm-filters input[name=filters-analytics]:checked').val().trim();
330
  if(filters_analytics !== '' && filters_analytics !== 'true')
331
  output += ' filters_analytics="'+filters_analytics+'"';
332
+
333
  var filters_debug = $('#alm-filters input[name=filters-debug]:checked').val().trim();
334
  if(filters_debug !== '' && filters_debug !== 'false')
335
  output += ' filters_debug="'+filters_debug+'"';
336
 
337
  }else{
338
+
339
  $('.filters_options').slideUp(150, 'alm_easeInOutQuad');
340
+
341
  }
342
 
343
 
389
  var paging_classes = $('#alm-paging input#paging-classes').val();
390
  if(paging !== 'false' && paging != undefined){
391
  output += ' paging="'+paging+'"';
392
+ output += ' paging_controls="'+paging_controls+'"';
393
+ if(paging_show_at_most !== ''){
394
  output += ' paging_show_at_most="'+paging_show_at_most+'"';
395
  }
396
  if(paging_classes !== ''){
515
  var users_per_page = $('#alm-users input#users-per-page').val();
516
  var users_order = $('#alm-users select#users-order').val();
517
  var users_orderby = $('#alm-users select#users-orderby').val();
518
+
519
+ // Deselect other roles if 'All Roles' is selected.
520
+ var UsersList = document.querySelector("#alm-users select#users-role");
521
+ var users_all_selected = false;
522
+ // Loop all roles
523
+ for (var i = 0; i < UsersList.length; i++){
524
+ if (UsersList.options[i].selected ){
525
+ if(users_all_selected){
526
+ UsersList.options[i].selected = false
527
+ }
528
+ if(UsersList.options[i].value === 'all'){
529
+ users_all_selected = true;
530
+ }
531
+ }
532
+ }
533
+ $('#alm-users select#users-role').select2(); // Reset Select2
534
+ users_role = $('#alm-users select#users-role').val(); // Get new users_role value
535
+
536
+
537
  $('#users-extended').slideDown(150, 'alm_easeInOutQuad');
538
 
539
  output += ' users="'+users+'"';
540
+
541
+ if(users_role !== '' && users_role != undefined){
542
  output += ' users_role="'+ users_role +'"';
543
  }
544
  if(users_include !== ''){
556
  if(users_orderby !== 'login'){
557
  output += ' users_orderby="'+ users_orderby +'"';
558
  }
559
+
560
+
561
  }else{
562
  $('#users-extended').slideUp(150, 'alm_easeInOutQuad');
563
  }
644
  // - Categories
645
  // ---------------------------
646
 
647
+ var category_type = $('.categories #category__and');
648
+ var category_populate = $('.categories .alm-populate');
649
+ var category_populate_eg = $('.categories .alm-populate-eg');
650
+ // If checked
651
+ if(category_type.length){
652
+ if(category_type.get(0).checked){
653
+ $('.category-toggle.category_name').hide()
654
+ $('.category-toggle.category_name select').select2('val','');
655
+ $('.category-toggle.category__and').show();
656
+ category_populate.text('ID');
657
+ category_populate_eg.text('e.g. 2, 9, 7 etc...');
658
+ } else {
659
+ $('.category-toggle.category__and').hide()
660
+ $('.category-toggle.category__and select').select2('val','');
661
+ $('.category-toggle.category_name').show();
662
+ category_populate.text('slug');
663
+ category_populate_eg.text('e.g. design, research etc...');
664
+ }
665
+ }
666
+
667
  // IN
668
  var cat = $('.categories #category-select').val();
669
+ if(cat !== '' && cat !== undefined && cat !== null){
670
  output += ' category="'+cat+'"';
671
+ }
672
+
673
+ // AND
674
+ var cat__and = $('.categories #category--and-select').val();
675
+ if(cat__and !== '' && cat__and !== undefined && cat__and !== null){
676
+ output += ' category__and="'+cat__and+'"';
677
+ }
678
 
679
  // NOT_IN
680
  var cat_not_in = $('.categories #category-exclude-select').val();
686
  // - Tags
687
  // ---------------------------
688
 
689
+ var tag_type = $('.tags #tag__and');
690
+ var tag_populate = $('.tags .alm-populate');
691
+ var tag_populate_eg = $('.tags .alm-populate-eg');
692
+
693
+ // If checked
694
+ if(tag_type.length){
695
+ if(tag_type.get(0).checked){
696
+ $('.tag-toggle.tag_normal').hide()
697
+ $('.tag-toggle.tag_normal select').select2('val','');
698
+ $('.tag-toggle.tag__and').show();
699
+ tag_populate.text('ID');
700
+ tag_populate_eg.text('e.g. 3, 4, 6 etc...');
701
+ } else {
702
+ $('.tag-toggle.tag__and').hide()
703
+ $('.tag-toggle.tag__and select').select2('val','');
704
+ $('.tag-toggle.tag_normal').show();
705
+ tag_populate.text('slug');
706
+ tag_populate_eg.text('e.g. toronto, canada etc...');
707
+ }
708
+ }
709
+
710
+ // IN
711
  var tag = $('.tags #tag-select').val();
712
+ if(tag !== '' && tag !== undefined && tag !== null){
713
  output += ' tag="'+tag+'"';
714
+ }
715
+
716
+ // AND
717
+ var tag__and = $('.tags #tag--and-select').val();
718
+ if(tag__and !== '' && tag__and !== undefined && tag__and !== null){
719
+ output += ' tag__and="'+tag__and+'"';
720
+ }
721
 
722
  // NOT_IN
723
  var tag_not_in = $('.tags #tag-exclude-select').val();
1049
 
1050
  var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
1051
  if(scroll_load === 'f'){
1052
+
1053
  $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideUp(150, 'alm_easeInOutQuad');
1054
  if($('.scroll_load input').hasClass('changed'))
1055
  output += ' scroll="false"';
1056
+
1057
  }else{
1058
+
1059
  $('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideDown(150, 'alm_easeInOutQuad');
1060
 
1061
  var scroll_distance = $('.scroll_distance input').val();
1062
  if(scroll_distance != 150)
1063
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
1064
+
1065
  var scroll_container = $('.scroll_container input').val();
1066
  if(scroll_container != '')
1067
  output += ' scroll_container="'+$('.scroll_container input').val()+'"';
1086
  output += ' transition="'+transition+'"';
1087
 
1088
  if(transition === 'masonry'){
1089
+
1090
  $('.masonry-options').slideDown(150, 'alm_easeInOutQuad');
1091
  $('.masonry-options-hide').slideUp(150, 'alm_easeInOutQuad');
1092
  var masonry_selector = $('.transition input#masonry-item').val();
1105
  if(masonry_horizontalorder !== 't'){
1106
  output += ' masonry_horizontalorder="false"';
1107
  }
1108
+
1109
  }else{
1110
+
1111
  $('.masonry-options').slideUp(150, 'alm_easeInOutQuad');
1112
  $('.masonry-options-hide').slideDown(150, 'alm_easeInOutQuad');
1113
 
1120
  }else{
1121
  $('.transition-container-classes-wrap').slideDown(150, 'alm_easeInOutQuad');
1122
  }
1123
+
1124
  // Hide transition_container_classes if Previous Post or Next Page is true.
1125
  if(transition_container_classes !== '' && transition_container !== 'f' && previous !== 'true' && nextpage !== 'true'){
1126
  output += ' transition_container_classes="'+ transition_container_classes +'"';
1127
  }
1128
+
1129
  }
1130
 
1131
 
1333
  } else {
1334
  $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_option +' --</option>');
1335
  }
1336
+
1337
  $('.table-of-contents .toc').append(jumpMenuOptions).select2();
1338
 
1339
  $('.table-of-contents .toc').change(function() {
1344
  }, 500, 'alm_easeInOutQuad');
1345
  }
1346
  });
1347
+
1348
 
1349
 
1350
  /*
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -102,7 +102,10 @@
102
  <!-- Container Classes -->
103
  <div class="section-title">
104
  <h4><?php _e('Container Classes', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define global container classes on the Ajax Load More settings screen','ajax-load-more'); ?>."></a></h4>
105
- <p><?php _e('Add custom CSS classes to the <span>.alm-listing</span> container. <br/><br/> e.g. portfolio-listing large-12 etc', 'ajax-load-more'); ?></p>
 
 
 
106
  </div>
107
  <div class="wrap">
108
  <div class="inner">
@@ -407,6 +410,21 @@
407
 
408
  <!-- Hide transition_container if Masonry is selected -->
409
  <div class="masonry-options-hide">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
 
411
  <div class="clear"></div>
412
  <hr>
@@ -426,21 +444,6 @@
426
  </div>
427
  </div>
428
 
429
- <div class="transition-container-classes-wrap">
430
- <div class="clear"></div>
431
- <hr>
432
-
433
- <div class="section-title">
434
- <h4><?php _e('Transition Container Classes', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('This setting is not available with the Previous Post or Next Page add-ons','ajax-load-more'); ?>."></a></h4>
435
- <p><?php _e('Add custom classes to the <span>.alm-reveal</span> loading container', 'ajax-load-more'); ?>.</p>
436
- </div>
437
- <div class="wrap">
438
- <div class="inner">
439
- <input type="text" class="alm_element" name="transition-container-classes" id="transition-container-classes" placeholder="row large-12 etc">
440
- </div>
441
- </div>
442
- </div>
443
-
444
  </div>
445
  <!-- End Hide transition_container if Masonry is selected -->
446
 
@@ -559,7 +562,7 @@
559
  </div>
560
  <div class="wrap">
561
  <div class="inner">
562
- <input type="number" class="alm_element numbers-only" name="destroy-after" id="disable-after" step="1" min="0" value="">
563
  </div>
564
  </div>
565
  </div>
@@ -689,28 +692,55 @@
689
  }else{
690
  $cats = get_categories();
691
  }
692
- if($cats){ ?>
 
 
693
  <div class="row checkboxes categories" id="alm-categories">
694
  <h3 class="heading" tabindex="0"><?php _e('Category', 'ajax-load-more'); ?></h3>
695
  <div class="expand-wrap">
696
  <div class="section-title">
697
- <h4>Include</h4>
698
- <p><?php _e('A comma separated list of categories to include by slug. (design, research etc...)', 'ajax-load-more'); ?><br/>
 
 
699
  &raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-category" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
700
  </div>
701
  <div class="wrap">
702
  <div class="inner">
703
- <?php
704
- if(!$disable_dynamic_content){
705
- echo '<select class="alm_element multiple" name="category-select" id="category-select" multiple="multiple">';
706
- foreach( $cats as $cat ){
707
- echo '<option name="chk-'.$cat->slug.'" id="chk-'.$cat->slug.'" value="'.$cat->slug.'">'.$cat->name.'</option>';
708
- }
709
- echo '</select>';
710
- }else{
711
- echo '<input type="text" class="alm_element" name="category-select" id="category-select" placeholder="design, development, science etc...">';
712
- }
713
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
714
  </div>
715
  </div>
716
 
@@ -719,7 +749,10 @@
719
 
720
  <div class="section-title">
721
  <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
722
- <p><?php _e('A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)', 'ajax-load-more'); ?></p>
 
 
 
723
  </div>
724
  <div class="wrap">
725
  <div class="inner">
@@ -749,35 +782,68 @@
749
  }else{
750
  $tags = get_tags();
751
  }
752
- if($tags){ ?>
 
 
753
  <div class="row checkboxes tags" id="alm-tags">
754
  <h3 class="heading" tabindex="0"><?php _e('Tag', 'ajax-load-more'); ?></h3>
755
  <div class="expand-wrap">
756
  <div class="section-title">
757
- <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
758
- <p><?php _e('A comma separated list of tags to include by slug. (toronto, canada etc...)', 'ajax-load-more'); ?><br/>&raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-tag" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
 
 
 
 
759
  </div>
760
  <div class="wrap">
761
  <div class="inner">
762
- <?php
763
- if(!$disable_dynamic_content){
764
- echo '<select class="alm_element multiple" name="tag-select" id="tag-select" multiple="multiple">';
765
- foreach( $tags as $tag ){
766
- echo '<option name="chk-'.$tag->slug.'" id="chk-'.$tag->slug.'" value="'.$tag->slug.'">'.$tag->name.'</option>';
767
- }
768
- echo '</select>';
769
- }else{
770
- echo '<input type="text" class="alm_element" name="tag-select" id="tag-select" placeholder="hockey, puck, crosby etc...">';
771
- }
772
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
773
  </div>
774
- </div>
775
- <div class="clear"></div>
776
  <hr/>
 
777
 
778
  <div class="section-title">
779
  <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
780
- <p><?php _e('A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)', 'ajax-load-more'); ?></p>
 
 
 
781
  </div>
782
  <div class="wrap">
783
  <div class="inner">
@@ -826,34 +892,6 @@
826
  <?php }?>
827
  <!-- End Taxonomies -->
828
 
829
- <!-- Date -->
830
- <div class="row input date" id="alm-date">
831
- <h3 class="heading" tabindex="0"><?php _e('Date', 'ajax-load-more'); ?></h3>
832
- <div class="expand-wrap">
833
- <div class="section-title">
834
- <p><?php _e('Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-date" target="_blank">View Example</a>', 'ajax-load-more'); ?></p>
835
- </div>
836
- <div class="wrap">
837
- <div class="inner">
838
- <div class="wrap-30">
839
- <?php $today = getdate(); ?>
840
- <label for="input-year" class="full"><?php _e('Year:', 'ajax-load-more'); ?></label>
841
- <input name="input-year" class="alm_element sm numbers-only" type="text" id="input-year" maxlength="4" placeholder="<?php echo $today['year']; ?>">
842
- </div>
843
- <div class="wrap-30">
844
- <label for="input-month" class="full"><?php _e('Month:', 'ajax-load-more'); ?></label>
845
- <input name="input-month" class="alm_element sm numbers-only" type="text" id="input-month" maxlength="2" placeholder="<?php echo $today['mon']; ?>">
846
- </div>
847
- <div class="wrap-30">
848
- <label for="input-day" class="full"><?php _e('Day:', 'ajax-load-more'); ?></label>
849
- <input name="input-day" class="alm_element sm numbers-only" type="text" id="input-day" maxlength="2" placeholder="<?php echo $today['mday']; ?>">
850
- </div>
851
- </div>
852
- </div>
853
- </div>
854
- </div>
855
- <!-- End Date -->
856
-
857
  <!-- Meta_Query -->
858
  <div class="row input meta-key" id="alm-meta-key">
859
  <h3 class="heading" tabindex="0"><?php _e('Custom Fields (Meta_Query)', 'ajax-load-more'); ?></h3>
@@ -892,6 +930,34 @@
892
  </div>
893
  <!-- End Meta Query -->
894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
895
  <?php // List Authors
896
  if($disable_dynamic_content){
897
  $authors = 'null';
@@ -1042,7 +1108,7 @@
1042
  <h3 class="heading" tabindex="0"><?php _e('Custom Arguments', 'ajax-load-more'); ?></h3>
1043
  <div class="expand-wrap">
1044
  <div class="section-title">
1045
- <p><?php _e('A semicolon separated list of custom value:pair arguments.', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Custom Arguments can be used to query by parameters not available in the Shortcode Builder','ajax-load-more'); ?>."></a><br/><br/>e.g. tag_slug__and:design,development; event_display:upcoming</p>
1046
  </div>
1047
  <div class="wrap">
1048
  <div class="inner">
102
  <!-- Container Classes -->
103
  <div class="section-title">
104
  <h4><?php _e('Container Classes', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define global container classes on the Ajax Load More settings screen','ajax-load-more'); ?>."></a></h4>
105
+ <p>
106
+ <?php _e('Add custom CSS classes to the <span>.alm-listing</span> container.', 'ajax-load-more'); ?>
107
+ <small>e.g. blog-listing large-12 etc...</small>
108
+ </p>
109
  </div>
110
  <div class="wrap">
111
  <div class="inner">
410
 
411
  <!-- Hide transition_container if Masonry is selected -->
412
  <div class="masonry-options-hide">
413
+
414
+ <div class="transition-container-classes-wrap">
415
+ <div class="clear"></div>
416
+ <hr>
417
+
418
+ <div class="section-title">
419
+ <h4><?php _e('Transition Container Classes', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('This setting is not available with the Previous Post or Next Page add-ons','ajax-load-more'); ?>."></a></h4>
420
+ <p><?php _e('Add custom classes to the <span>.alm-reveal</span> loading container', 'ajax-load-more'); ?>.</p>
421
+ </div>
422
+ <div class="wrap">
423
+ <div class="inner">
424
+ <input type="text" class="alm_element" name="transition-container-classes" id="transition-container-classes" placeholder="row large-12 etc">
425
+ </div>
426
+ </div>
427
+ </div>
428
 
429
  <div class="clear"></div>
430
  <hr>
444
  </div>
445
  </div>
446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
447
  </div>
448
  <!-- End Hide transition_container if Masonry is selected -->
449
 
562
  </div>
563
  <div class="wrap">
564
  <div class="inner">
565
+ <input type="number" class="alm_element numbers-only" placeholder="0" name="destroy-after" id="disable-after" step="1" min="0" value="">
566
  </div>
567
  </div>
568
  </div>
692
  }else{
693
  $cats = get_categories();
694
  }
695
+ if($cats){
696
+ $cat_link = 'https://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters';
697
+ ?>
698
  <div class="row checkboxes categories" id="alm-categories">
699
  <h3 class="heading" tabindex="0"><?php _e('Category', 'ajax-load-more'); ?></h3>
700
  <div class="expand-wrap">
701
  <div class="section-title">
702
+ <h4><?php _e('Include', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Get posts by category using a category_name or category__and query','ajax-load-more'); ?>."></a></h4>
703
+ <p><?php _e('Comma separated list of categories to include by', 'ajax-load-more'); ?> <strong class="alm-populate"><?php _e('slug', 'ajax-load-more'); ?></strong>.
704
+ <small class="alm-populate-eg">e.g. design, research etc...</small>
705
+ <br/>
706
  &raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-category" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
707
  </div>
708
  <div class="wrap">
709
  <div class="inner">
710
+ <div class="category-toggle category_name">
711
+ <?php
712
+ if(!$disable_dynamic_content){
713
+ echo '<select class="alm_element multiple" name="category-select" id="category-select" multiple="multiple">';
714
+ foreach( $cats as $cat ){
715
+ echo '<option name="chk-'.$cat->slug.'" id="chk-'.$cat->slug.'" value="'.$cat->slug.'">'.$cat->name.'</option>';
716
+ }
717
+ echo '</select>';
718
+ }else{
719
+ echo '<input type="text" class="alm_element" name="category-select" id="category-select" placeholder="design, development, science etc...">';
720
+ }
721
+ ?>
722
+ </div>
723
+ <div class="category-toggle category__and" style="display: none;">
724
+ <?php
725
+ if(!$disable_dynamic_content){
726
+ echo '<select class="alm_element multiple" name="category--and-select" id="category--and-select" multiple="multiple">';
727
+ foreach( $cats as $cat ){
728
+ echo '<option name="chk-'.$cat->term_id.'" id="chk-'.$cat->term_id.'" value="'.$cat->term_id.'">'.$cat->name.'</option>';
729
+ }
730
+ echo '</select>';
731
+ }else{
732
+ echo '<input type="text" class="alm_element" name="category--and-select" id="category--and-select" placeholder="10,29,31 etc...">';
733
+ }
734
+ ?>
735
+ </div>
736
+ <ul style="padding: 20px 0 0;">
737
+ <li style="width: 100%;">
738
+ <input class="alm_element" type="checkbox" name="category-select-type" value="category__and" id="category__and">
739
+ <label for="category__and">
740
+ category__and <span>(<a href="<?php echo $cat_link; ?>" target="_blank"><?php _e('What\'s this', 'ajax-load-more'); ?>?</a>)</span>
741
+ </label>
742
+ </li>
743
+ </ul>
744
  </div>
745
  </div>
746
 
749
 
750
  <div class="section-title">
751
  <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
752
+ <p>
753
+ <?php _e('Comma separated list of categories to exclude by ID.', 'ajax-load-more'); ?>
754
+ <small>e.g. 3, 12, 35 etc..</small>
755
+ </p>
756
  </div>
757
  <div class="wrap">
758
  <div class="inner">
782
  }else{
783
  $tags = get_tags();
784
  }
785
+ if($tags){
786
+ $tag_link = 'https://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters';
787
+ ?>
788
  <div class="row checkboxes tags" id="alm-tags">
789
  <h3 class="heading" tabindex="0"><?php _e('Tag', 'ajax-load-more'); ?></h3>
790
  <div class="expand-wrap">
791
  <div class="section-title">
792
+ <h4><?php _e('Include', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Get posts by tags using a tag or tag__and query','ajax-load-more'); ?>."></a></h4>
793
+ <p><?php _e('Comma separated list of tags to include by', 'ajax-load-more'); ?> <strong class="alm-populate"><?php _e('slug', 'ajax-load-more'); ?></strong>.
794
+ <small class="alm-populate-eg">e.g. toronto, canada etc...</small>
795
+ <br/>&raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-tag" target="_blank">
796
+ <?php _e('View Example', 'ajax-load-more'); ?>
797
+ </a></p>
798
  </div>
799
  <div class="wrap">
800
  <div class="inner">
801
+ <div class="tag-toggle tag_normal">
802
+ <?php
803
+ if(!$disable_dynamic_content){
804
+ echo '<select class="alm_element multiple" name="tag-select" id="tag-select" multiple="multiple">';
805
+ foreach( $tags as $tag ){
806
+ echo '<option name="chk-'.$tag->slug.'" id="chk-'.$tag->slug.'" value="'.$tag->slug.'">'.$tag->name.'</option>';
807
+ }
808
+ echo '</select>';
809
+ }else{
810
+ echo '<input type="text" class="alm_element" name="tag-select" id="tag-select" placeholder="hockey, puck, crosby etc...">';
811
+ }
812
+ ?>
813
+ </div>
814
+ <div class="tag-toggle tag__and" style="display: none;">
815
+ <?php
816
+ if(!$disable_dynamic_content){
817
+ echo '<select class="alm_element multiple" name="tag--and-select" id="tag--and-select" multiple="multiple">';
818
+ foreach( $tags as $tag ){
819
+ echo '<option name="chk-'.$tag->term_id.'" id="chk-'.$tag->term_id.'" value="'.$tag->term_id.'">'.$tag->name.'</option>';
820
+ }
821
+ echo '</select>';
822
+ }else{
823
+ echo '<input type="text" class="alm_element" name="tag--and-select" id="tag--and-select" placeholder="12, 23, 29 etc...">';
824
+ }
825
+ ?>
826
+ </div>
827
+ <ul style="padding: 20px 0 0;">
828
+ <li style="width: 100%;">
829
+ <input class="alm_element" type="checkbox" name="tag-select-type" value="tag__and" id="tag__and">
830
+ <label for="tag__and">
831
+ tag__and <span>(<a href="<?php echo $tag_link; ?>" target="_blank"><?php _e('What\'s this', 'ajax-load-more'); ?>?</a>)</span>
832
+ </label>
833
+ </li>
834
+ </ul>
835
  </div>
836
+ </div>
837
+ <div class="clear"></div>
838
  <hr/>
839
+
840
 
841
  <div class="section-title">
842
  <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
843
+ <p>
844
+ <?php _e('Comma separated list of tags to exclude by ID', 'ajax-load-more'); ?>.
845
+ <small>e.g. 30, 12, 99 etc..</small>
846
+ </p>
847
  </div>
848
  <div class="wrap">
849
  <div class="inner">
892
  <?php }?>
893
  <!-- End Taxonomies -->
894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
895
  <!-- Meta_Query -->
896
  <div class="row input meta-key" id="alm-meta-key">
897
  <h3 class="heading" tabindex="0"><?php _e('Custom Fields (Meta_Query)', 'ajax-load-more'); ?></h3>
930
  </div>
931
  <!-- End Meta Query -->
932
 
933
+ <!-- Date -->
934
+ <div class="row input date" id="alm-date">
935
+ <h3 class="heading" tabindex="0"><?php _e('Date', 'ajax-load-more'); ?></h3>
936
+ <div class="expand-wrap">
937
+ <div class="section-title">
938
+ <p><?php _e('Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a href="admin.php?page=ajax-load-more-help&section=examples#example-date" target="_blank">View Example</a>', 'ajax-load-more'); ?></p>
939
+ </div>
940
+ <div class="wrap">
941
+ <div class="inner">
942
+ <div class="wrap-30">
943
+ <?php $today = getdate(); ?>
944
+ <label for="input-year" class="full"><?php _e('Year:', 'ajax-load-more'); ?></label>
945
+ <input name="input-year" class="alm_element sm numbers-only" type="text" id="input-year" maxlength="4" placeholder="<?php echo $today['year']; ?>">
946
+ </div>
947
+ <div class="wrap-30">
948
+ <label for="input-month" class="full"><?php _e('Month:', 'ajax-load-more'); ?></label>
949
+ <input name="input-month" class="alm_element sm numbers-only" type="text" id="input-month" maxlength="2" placeholder="<?php echo $today['mon']; ?>">
950
+ </div>
951
+ <div class="wrap-30">
952
+ <label for="input-day" class="full"><?php _e('Day:', 'ajax-load-more'); ?></label>
953
+ <input name="input-day" class="alm_element sm numbers-only" type="text" id="input-day" maxlength="2" placeholder="<?php echo $today['mday']; ?>">
954
+ </div>
955
+ </div>
956
+ </div>
957
+ </div>
958
+ </div>
959
+ <!-- End Date -->
960
+
961
  <?php // List Authors
962
  if($disable_dynamic_content){
963
  $authors = 'null';
1108
  <h3 class="heading" tabindex="0"><?php _e('Custom Arguments', 'ajax-load-more'); ?></h3>
1109
  <div class="expand-wrap">
1110
  <div class="section-title">
1111
+ <p><?php _e('A semicolon separated list of custom value:pair arguments.', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Custom Arguments can be used to query by parameters not available in the Shortcode Builder','ajax-load-more'); ?>."></a><br/><small>e.g. event_display:upcoming</small></p>
1112
  </div>
1113
  <div class="wrap">
1114
  <div class="inner">
admin/src/js/admin.js CHANGED
@@ -52,7 +52,7 @@ jQuery(document).ready(function($) {
52
  settingsTarget.classList.remove('--saved');
53
  }, 2500);
54
 
55
- }, 1000);
56
 
57
  },
58
 
@@ -72,7 +72,7 @@ jQuery(document).ready(function($) {
72
  settingsTarget.classList.remove('--error');
73
  }, 2500);
74
 
75
- }, 1000);
76
  }
77
  });
78
  return false;
@@ -449,6 +449,38 @@ jQuery(document).ready(function($) {
449
 
450
 
451
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
 
453
  /*
454
  * Scroll to setting section
52
  settingsTarget.classList.remove('--saved');
53
  }, 2500);
54
 
55
+ }, 500);
56
 
57
  },
58
 
72
  settingsTarget.classList.remove('--error');
73
  }, 2500);
74
 
75
+ }, 500);
76
  }
77
  });
78
  return false;
449
 
450
 
451
 
452
+ /*
453
+ * Set Transient (Transient)
454
+ * @since 4.0
455
+ */
456
+ $(document).on('click', '.alm-transient button.notice-dismiss', function(e){
457
+ e.preventDefault();
458
+ var el = $(this),
459
+ container = el.parent('.alm-transient'),
460
+ transient_name = container.data('transient'),
461
+ duration = container.data('duration');
462
+
463
+ // Get value from Ajax
464
+ $.ajax({
465
+ type: 'POST',
466
+ url: alm_admin_localize.ajax_admin_url,
467
+ data: {
468
+ action: 'alm_set_transient',
469
+ nonce: alm_admin_localize.alm_admin_nonce,
470
+ transient_name: transient_name,
471
+ duration: duration
472
+ },
473
+ success: function(data) {
474
+ container.fadeOut();
475
+ },
476
+ error: function(xhr, status, error) {
477
+ console.log(status);
478
+ }
479
+ });
480
+
481
+ });
482
+
483
+
484
 
485
  /*
486
  * Scroll to setting section
admin/src/scss/admin.scss CHANGED
@@ -3,6 +3,7 @@
3
  'libs/select2',
4
  'variables',
5
  'partials/header',
 
6
  'partials/sidebar',
7
  'partials/alm-settings-feedback',
8
  'partials/select2';
@@ -16,7 +17,8 @@ body.ajax-load-more_page_ajax-load-more-help,
16
  body.ajax-load-more_page_ajax-load-more-licenses,
17
  body.ajax-load-more_page_ajax-load-more-cache,
18
  body.ajax-load-more_page_ajax-load-more-filters,
19
- body.ajax-load-more_page_ajax-load-more-pro{
 
20
  background-color: #f7f7f7;
21
  #wpcontent{
22
  padding-left: 0;
@@ -36,7 +38,8 @@ body.ajax-load-more_page_ajax-load-more-help,
36
  body.ajax-load-more_page_ajax-load-more-licenses,
37
  body.ajax-load-more_page_ajax-load-more-cache,
38
  body.ajax-load-more_page_ajax-load-more-filters,
39
- body.ajax-load-more_page_ajax-load-more-pro{
 
40
  background: #efefef;
41
  #wpfooter {
42
  padding-top: 0;
@@ -83,6 +86,24 @@ body.ajax-load-more_page_ajax-load-more-pro{
83
  position: relative;
84
  }
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  /*
87
  * Admin - Popup Generator
88
  *
@@ -940,6 +961,14 @@ hr.indented{ // Indented as fake padding in shortcode builder
940
  float: left;
941
  padding: 20px 0 20px 20px;
942
  width: 35%;
 
 
 
 
 
 
 
 
943
  }
944
 
945
  .ajax-load-more .section-title.full {
@@ -947,14 +976,14 @@ hr.indented{ // Indented as fake padding in shortcode builder
947
  float: none;
948
  }
949
  .ajax-load-more .section-title h4{
950
- font-size: 15px;
951
  font-weight: 600;
952
  margin-bottom: 15px;
953
  }
954
  .ajax-load-more .section-title p,
955
  .ajax-load-more .wrap p.descriptor{
956
- font-size: 14px;
957
- line-height: 22px;
958
  color: #999;
959
  }
960
  .ajax-load-more .wrap p.descriptor{
@@ -1245,11 +1274,11 @@ hr.indented{ // Indented as fake padding in shortcode builder
1245
 
1246
  .form-table .template-tags{
1247
  overflow: hidden;
1248
- border-left: 5px solid #dfd8c2;
1249
- padding: 16px;
1250
  background: #fff9ea;
1251
  margin: 20px 0 0;
1252
- border-radius: 2px;
1253
  }
1254
  .form-table .template-tags h4,
1255
  .form-table .template-tags li{
@@ -1492,7 +1521,6 @@ table.highlight{
1492
  display: block;
1493
  clear: both;
1494
  }
1495
-
1496
  .ajax-load-more .cnkt-main .group,
1497
  .ajax-load-more .cnkt-sidebar .cta,
1498
  .call-out.light{
@@ -1610,6 +1638,7 @@ table.highlight{
1610
  border-top: 1px solid #e1e1e1;
1611
  border-left: 1px solid #e1e1e1;
1612
  }
 
1613
  #alm-add-ons {}
1614
  #alm-add-ons .group{
1615
  overflow: hidden;
@@ -1622,6 +1651,55 @@ table.highlight{
1622
  border-radius: 0;
1623
  border-top: none;
1624
  border-left: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1625
  &.installed{
1626
  opacity: 0.85;
1627
  filter: grayscale(1);
@@ -1642,7 +1720,7 @@ table.highlight{
1642
  width: calc(100% - 40px);
1643
  display: block;
1644
  font-size: 14px;
1645
- padding: 10px 14px;
1646
  transition: all 0.15s ease;
1647
  border-bottom: none;
1648
  border-left: none;
@@ -1651,12 +1729,20 @@ table.highlight{
1651
  #alm-add-ons .group img{
1652
  padding: 0 15px 15px;
1653
  }
1654
- #alm-add-ons .group a{
1655
- text-decoration: none;
1656
- display: block;
1657
- padding: 25px 25px 70px;
1658
- position: relative;
 
 
 
 
 
 
 
1659
  }
 
1660
  #alm-add-ons .group:hover h2{
1661
  text-decoration: underline;
1662
  }
@@ -1670,212 +1756,6 @@ table.highlight{
1670
  color: #444 !important;
1671
  }
1672
 
1673
-
1674
- /* Pro Add-on Listing */
1675
- .alm-pro-listing{
1676
- padding: 0;
1677
- border-top: none;
1678
- position: relative;
1679
- padding-bottom: 20px;
1680
- .loader{
1681
- position: absolute;
1682
- left: 0;
1683
- top: 0;
1684
- width: 100%;
1685
- height: 100%;
1686
- z-index: 99;
1687
- display: none;
1688
- }
1689
- &.loading{
1690
- .loader{
1691
- display: block;
1692
- }
1693
- }
1694
- &--header{
1695
- border: 1px solid #e1e1e1;
1696
- background: #f7f7f7;
1697
- padding: 15px;
1698
- font-size: 13px;
1699
- font-weight: 600;
1700
- text-transform: uppercase;
1701
- color: #23282d;
1702
- position: relative;
1703
- margin-bottom: 30px;
1704
- border-radius: 2px;
1705
- div{
1706
- position: absolute;
1707
- right: 15px;
1708
- top: 50%;
1709
- transform: translateY(-50%);
1710
- font-size: 13px;
1711
- opacity: 0.7;
1712
- font-weight: normal;
1713
- text-transform: none;
1714
- font-style: italic;
1715
- @media screen and (max-width: 480px){
1716
- display: none;
1717
- }
1718
- }
1719
- }
1720
- &--wrap{
1721
- display: flex;
1722
- flex-wrap: wrap;
1723
- justify-content: space-between;
1724
- }
1725
-
1726
- .item{
1727
- width: 49.5%;
1728
- display: flex;
1729
- margin-bottom: 10px;
1730
- @media screen and (min-width: 1500px){
1731
- width: 32.775%;
1732
- }
1733
- @media screen and (max-width: 480px){
1734
- width: 100%;
1735
- }
1736
- h2, p, img, .state{
1737
- transition: all 0.15s ease;
1738
- }
1739
- a{
1740
- text-decoration: none !important;
1741
- padding: 0 55px 0 0;
1742
- position: relative;
1743
- display: flex;
1744
- border: 1px solid #e1e1e1;
1745
- transition: all 0.15s ease;
1746
- border-radius: 2px;
1747
- &:hover,
1748
- &:focus{
1749
- border-color: #bbb;
1750
- h2{
1751
- text-decoration: underline;
1752
- }
1753
- }
1754
- }
1755
- &--detail{
1756
- padding: 15px 20px;
1757
- position: relative;
1758
- min-height: 110px;
1759
- display: flex;
1760
- align-items: center;
1761
- div{
1762
- padding: 0;
1763
- }
1764
- img{
1765
- width: 95px;
1766
- height: auto;
1767
- margin-right: 20px;
1768
- @media screen and (max-width: 768px){
1769
- display: none;
1770
- }
1771
- }
1772
- a{
1773
- text-decoration: none;
1774
- &:hover{
1775
- text-decoration: underline;
1776
- }
1777
- }
1778
- h2{
1779
- margin: 0 0 7px;
1780
- font-size: 16px;
1781
- line-height: 1;
1782
- transition: all 0.15s ease;
1783
- }
1784
- p{
1785
- margin: 0;
1786
- padding: 0;
1787
- font-size: 14px;
1788
- &.link{
1789
- font-size: 13px;
1790
- padding-top: 2px;
1791
- opacity: 0;
1792
- transition: opacity 0.15s ease;
1793
- }
1794
- }
1795
- }
1796
- .result{
1797
- position: absolute;
1798
- right: 8px;
1799
- bottom: 8px;
1800
- font-size: 12px;
1801
- opacity: 0;
1802
- transition: all 0.25s ease;
1803
- &.in-view{
1804
- opacity: 0.7;
1805
- }
1806
- .type{
1807
- background: #47bd79;
1808
- color: #fff;
1809
- display: none;
1810
- border-radius: 2px;
1811
- padding: 3px 6px;
1812
- display: inline-block;
1813
- }
1814
- .type.inactive{
1815
- background: #c54545;
1816
- display: none;
1817
- }
1818
- }
1819
- .state{
1820
- width: 22px;
1821
- height: 22px;
1822
- position: absolute;
1823
- right: 8px;
1824
- top: 8px;
1825
- border-radius: 2px;
1826
- background: #57d48c;
1827
- color: #fff;
1828
- display: flex;
1829
- align-items: center;
1830
- justify-content: center;
1831
- text-decoration: none !important;
1832
- font-size: 12px;
1833
- transition: all 0.15s ease;
1834
- &:before{
1835
- font-family: 'FontAwesome';
1836
- content: '\f00c';
1837
- display: block;
1838
-
1839
- }
1840
- }
1841
-
1842
- &.active{
1843
- a{
1844
- border-color: #57d48c
1845
- }
1846
- &:hover{
1847
- .state{
1848
- opacity: 0.9;
1849
- }
1850
- }
1851
- }
1852
-
1853
- &.inactive{
1854
- h2, p, img, .state{
1855
- opacity: 0.5;
1856
- }
1857
- .state{
1858
- background: #e1e1e1;
1859
- &:before{
1860
- opacity: 0;
1861
- }
1862
- }
1863
- &:hover{
1864
- h2, p, img, .state{
1865
- opacity: 0.8;
1866
- }
1867
-
1868
- .state{
1869
- background: #ccc;
1870
- &:before{
1871
- opacity: 1;
1872
- }
1873
- }
1874
- }
1875
- }
1876
- }
1877
- }
1878
-
1879
 
1880
  /* Add-on Callout! */
1881
  .call-out{
@@ -2093,7 +1973,7 @@ table.highlight{
2093
  line-height: 18px;
2094
  }
2095
  .license-btn-wrap .msg strong{
2096
- display: block;
2097
  }
2098
  .license-btn-wrap .msg em{
2099
  opacity: 0.7;
@@ -2104,7 +1984,7 @@ table.highlight{
2104
  .license-no-addons{
2105
  overflow: hidden;
2106
  display: block;
2107
- padding: 15px;
2108
  border: 1px solid #e1e1e1;
2109
  border-top: none;
2110
  background-color: #fff;
@@ -2255,11 +2135,32 @@ table.highlight{
2255
  .cta-inner{
2256
  overflow: hidden;
2257
  }
2258
- img{
2259
- padding: 0 20px 10px 0;
2260
- max-width: 40%;
 
 
 
2261
  float: left;
 
 
2262
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2263
  p{
2264
  margin: 0 0 15px;
2265
  clear: none;
@@ -2267,7 +2168,8 @@ table.highlight{
2267
  margin: 0;
2268
  }
2269
  &.addon-intro{
2270
- margin-top: -3px;
 
2271
  }
2272
  }
2273
  }
@@ -2617,24 +2519,33 @@ table.highlight{
2617
  height:10px;
2618
  clear:both;
2619
  display:block;
 
 
 
 
 
 
2620
  }
2621
 
 
 
 
 
 
 
 
 
 
 
 
 
2622
 
2623
  /*
2624
  * Cache
2625
  * @since 2.6.0
2626
  */
2627
 
2628
- .alm-cache{
2629
-
2630
- .generate-id{
2631
- margin: 10px 0 0 !important;
2632
- font-size: 12px !important;
2633
- }
2634
- .generate-cache-id i{
2635
- margin: 0 5px 0 0;
2636
- }
2637
-
2638
  .row{
2639
  &:first-of-type{
2640
  margin-top: 0 !important;
@@ -2663,8 +2574,7 @@ table.highlight{
2663
  }
2664
  }
2665
 
2666
- /* Directory Listing */
2667
-
2668
  .alm-dir-listing{
2669
  border: 1px solid #e1e1e1;
2670
  padding: 0;
@@ -2677,11 +2587,6 @@ table.highlight{
2677
  padding: 0;
2678
  margin: 0;
2679
  }
2680
- p.theme-title{
2681
- font-weight: 600;
2682
- margin: 0 0 15px;
2683
- padding: 0 5px;
2684
- }
2685
  i{
2686
  color: #ccc;
2687
  font-size: 1.1em;
@@ -2692,8 +2597,7 @@ table.highlight{
2692
  .alm-dir-listing.deleting{
2693
  opacity: 0.5;
2694
  background: #fff url("../../img/loader-unlimited.gif") no-repeat center center;
2695
- }
2696
-
2697
  .alm-dir-listing .dir-title{
2698
  margin: 0 0 5px;
2699
  position: relative;
@@ -2738,46 +2642,7 @@ table.highlight{
2738
  -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2739
  -moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2740
  box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2741
- }
2742
- .alm-dir-listing ul{
2743
- padding: 20px 0 0;
2744
- margin: 10px 0 0;
2745
- border-top: 1px solid #efefef;
2746
- }
2747
- .alm-dir-listing ul li{
2748
- margin: 0 -2px;
2749
- padding: 7px 0 7px 40px;
2750
- display: inline-block;
2751
- vertical-align: top;
2752
- overflow: hidden;
2753
- width: 47%;
2754
- font-size: 14px;
2755
- background: transparent url(../../img/directory-list.gif) no-repeat left center;
2756
- }
2757
- .alm-dir-listing.theme-repeaters ul li{
2758
- display: block;
2759
- width: 100%;
2760
- padding-top: 12px;
2761
- }
2762
- .alm-dir-listing.theme-repeaters ul li label{
2763
- display: block;
2764
- width: 100%;
2765
- }
2766
-
2767
- .alm-dir-listing ul li:last-child,
2768
- .alm-dir-listing ul li:nth-last-child(2){
2769
- background-image: url(../../img/directory-list-btm.gif);
2770
- }
2771
- .alm-dir-listing.theme-repeaters ul li:nth-last-child(2){
2772
- background: transparent url(../../img/directory-list.gif) no-repeat left center;
2773
- }
2774
- .alm-dir-listing ul li a{
2775
- text-decoration: none;
2776
- }
2777
- .alm-dir-listing li i{
2778
- color: #999;
2779
- padding: 0 5px 0 0;
2780
- }
2781
 
2782
  .cache-page-title{
2783
  font-size: 14px;
@@ -2834,8 +2699,7 @@ table.highlight{
2834
  font-size: 12px;
2835
  font-weight: 600;
2836
  }
2837
- }
2838
-
2839
  .cnkt-sidebar .item{
2840
  padding: 20px;
2841
  display: block;
@@ -2855,15 +2719,8 @@ table.highlight{
2855
  margin: 0 9px 0 0;
2856
  font-weight: 700;
2857
  font-size: 15px;
2858
- -webkit-border-radius: 2px;
2859
- -moz-border-radius:2px;
2860
  border-radius: 2px;
2861
  background: #a4a5e2;
2862
- background: -moz-linear-gradient(top, #a4a5e2 0%, #9ea0d9 50%, #8d8fce 51%, #a4a5e2 100%);
2863
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a4a5e2), color-stop(50%,#9ea0d9), color-stop(51%,#8d8fce), color-stop(100%,#a4a5e2));
2864
- background: -webkit-linear-gradient(top, #a4a5e2 0%,#9ea0d9 50%,#8d8fce 51%,#a4a5e2 100%);
2865
- background: -o-linear-gradient(top, #a4a5e2 0%,#9ea0d9 50%,#8d8fce 51%,#a4a5e2 100%);
2866
- background: -ms-linear-gradient(top, #a4a5e2 0%,#9ea0d9 50%,#8d8fce 51%,#a4a5e2 100%);
2867
  background: linear-gradient(to bottom, #a4a5e2 0%,#9ea0d9 50%,#8d8fce 51%,#a4a5e2 100%);
2868
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a5e2', endColorstr='#a4a5e2',GradientType=0 );
2869
  border: 1px solid #8586be;
@@ -2874,6 +2731,52 @@ table.highlight{
2874
  }
2875
  }
2876
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2877
 
2878
  /*
2879
  * Error Handling
@@ -2911,11 +2814,17 @@ table.highlight{
2911
  min-height: 23px;
2912
  width: 100%;
2913
  display:inline-block;
2914
- padding: 1px 0 0 30px;
2915
  margin: 0 0 5px;
2916
  font-size: 14px;
2917
  line-height: 1.5;
2918
  cursor: pointer !important;
 
 
 
 
 
 
2919
  }
2920
  .shortcode-builder input[type=radio] + label,
2921
  .ajax-load-more .form-table input[type=radio] + label{
@@ -3878,6 +3787,7 @@ table.highlight{
3878
  margin: 0;
3879
  width: 100%;
3880
  position: static !important;
 
3881
  }
3882
  .admin.ajax-load-more.settings .form-table td{
3883
  padding: 24px 17px 20px
3
  'libs/select2',
4
  'variables',
5
  'partials/header',
6
+ 'partials/pro-listing',
7
  'partials/sidebar',
8
  'partials/alm-settings-feedback',
9
  'partials/select2';
17
  body.ajax-load-more_page_ajax-load-more-licenses,
18
  body.ajax-load-more_page_ajax-load-more-cache,
19
  body.ajax-load-more_page_ajax-load-more-filters,
20
+ body.ajax-load-more_page_ajax-load-more-pro,
21
+ body.ajax-load-more_page_ajax-load-more-go-pro{
22
  background-color: #f7f7f7;
23
  #wpcontent{
24
  padding-left: 0;
38
  body.ajax-load-more_page_ajax-load-more-licenses,
39
  body.ajax-load-more_page_ajax-load-more-cache,
40
  body.ajax-load-more_page_ajax-load-more-filters,
41
+ body.ajax-load-more_page_ajax-load-more-pro,
42
+ body.ajax-load-more_page_ajax-load-more-go-pro{
43
  background: #efefef;
44
  #wpfooter {
45
  padding-top: 0;
86
  position: relative;
87
  }
88
 
89
+ .ajax-load-more .alm-transient{
90
+ padding: 6px 12px;
91
+ p{
92
+ margin: 0.5em 0;
93
+ a{
94
+ font-weight: 600;
95
+ }
96
+ }
97
+ a.button{
98
+ position: static;
99
+ vertical-align: inherit !important;
100
+ }
101
+ button{
102
+ transform: translateY(-50%);
103
+ top: 50%;
104
+ }
105
+ }
106
+
107
  /*
108
  * Admin - Popup Generator
109
  *
961
  float: left;
962
  padding: 20px 0 20px 20px;
963
  width: 35%;
964
+ p:last-of-type{
965
+ margin-bottom: 0;
966
+ }
967
+ small{
968
+ font-size: 11px;
969
+ padding-top: 8px;
970
+ display: block;
971
+ }
972
  }
973
 
974
  .ajax-load-more .section-title.full {
976
  float: none;
977
  }
978
  .ajax-load-more .section-title h4{
979
+ font-size: 14px;
980
  font-weight: 600;
981
  margin-bottom: 15px;
982
  }
983
  .ajax-load-more .section-title p,
984
  .ajax-load-more .wrap p.descriptor{
985
+ font-size: 13px;
986
+ line-height: 20px;
987
  color: #999;
988
  }
989
  .ajax-load-more .wrap p.descriptor{
1274
 
1275
  .form-table .template-tags{
1276
  overflow: hidden;
1277
+ border-left: 6px solid #dfd8c2;
1278
+ padding: 15px;
1279
  background: #fff9ea;
1280
  margin: 20px 0 0;
1281
+ border-radius: 3px;
1282
  }
1283
  .form-table .template-tags h4,
1284
  .form-table .template-tags li{
1521
  display: block;
1522
  clear: both;
1523
  }
 
1524
  .ajax-load-more .cnkt-main .group,
1525
  .ajax-load-more .cnkt-sidebar .cta,
1526
  .call-out.light{
1638
  border-top: 1px solid #e1e1e1;
1639
  border-left: 1px solid #e1e1e1;
1640
  }
1641
+
1642
  #alm-add-ons {}
1643
  #alm-add-ons .group{
1644
  overflow: hidden;
1651
  border-radius: 0;
1652
  border-top: none;
1653
  border-left: none;
1654
+
1655
+ // Featured Addon
1656
+ &.highlighted{
1657
+ width: 100%;
1658
+ a{
1659
+ background: #f7f7f7;
1660
+ border: 10px solid rgba(0, 0, 0, 0.025);
1661
+ }
1662
+ img{
1663
+ padding: 10px;
1664
+ }
1665
+ @media screen and (min-width: 768px){
1666
+ text-align: left;
1667
+ a{
1668
+ padding: 25px;
1669
+ overflow: hidden;
1670
+ display: flex;
1671
+ flex-wrap: nowrap;
1672
+ align-items: center;
1673
+ }
1674
+ .pro-img,
1675
+ .pro-details{
1676
+ flex: 1;
1677
+ }
1678
+ .pro-img{
1679
+ max-width: 355px;
1680
+ }
1681
+ .pro-details{
1682
+ padding: 0 15px 0 35px;
1683
+ }
1684
+ img{
1685
+ position: static;
1686
+ }
1687
+ span.cnkt-button{
1688
+ position: static;
1689
+ width: auto;
1690
+ display: inline-block;
1691
+ padding: 13px 30px;
1692
+ text-align: center;
1693
+ margin-top: 15px;
1694
+ font-size: 14px;
1695
+ }
1696
+ }
1697
+ @media screen and (min-width: 769px) and (max-width: 1270px){
1698
+ .pro-desc{
1699
+ display: none;
1700
+ }
1701
+ }
1702
+ }
1703
  &.installed{
1704
  opacity: 0.85;
1705
  filter: grayscale(1);
1720
  width: calc(100% - 40px);
1721
  display: block;
1722
  font-size: 14px;
1723
+ padding: 11px 14px;
1724
  transition: all 0.15s ease;
1725
  border-bottom: none;
1726
  border-left: none;
1729
  #alm-add-ons .group img{
1730
  padding: 0 15px 15px;
1731
  }
1732
+ #alm-add-ons .group{
1733
+ a{
1734
+ text-decoration: none;
1735
+ display: block;
1736
+ padding: 25px 25px 70px;
1737
+ position: relative;
1738
+ }
1739
+ &--pro{
1740
+ a{
1741
+ padding-bottom: 17px;
1742
+ }
1743
+ }
1744
  }
1745
+
1746
  #alm-add-ons .group:hover h2{
1747
  text-decoration: underline;
1748
  }
1756
  color: #444 !important;
1757
  }
1758
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1759
 
1760
  /* Add-on Callout! */
1761
  .call-out{
1973
  line-height: 18px;
1974
  }
1975
  .license-btn-wrap .msg strong{
1976
+ display: block;
1977
  }
1978
  .license-btn-wrap .msg em{
1979
  opacity: 0.7;
1984
  .license-no-addons{
1985
  overflow: hidden;
1986
  display: block;
1987
+ padding: 18px 15px;
1988
  border: 1px solid #e1e1e1;
1989
  border-top: none;
1990
  background-color: #fff;
2135
  .cta-inner{
2136
  overflow: hidden;
2137
  }
2138
+ .img{
2139
+ float: left;
2140
+ width: 40%;
2141
+ padding: 0 10px 10px 0;
2142
+ }
2143
+ .text{
2144
  float: left;
2145
+ width: 60%;
2146
+ padding: 0 0 10px 10px;
2147
  }
2148
+ @media screen and (min-width: 900px) and (max-width: 1300px){
2149
+ .img,
2150
+ .text{
2151
+ float: none;
2152
+ padding: 0 0 10px;
2153
+ width: 100%;
2154
+ }
2155
+ }
2156
+ @media screen and (max-width: 480px){
2157
+ .img,
2158
+ .text{
2159
+ float: none;
2160
+ padding: 0 0 10px;
2161
+ width: 100%;
2162
+ }
2163
+ }
2164
  p{
2165
  margin: 0 0 15px;
2166
  clear: none;
2168
  margin: 0;
2169
  }
2170
  &.addon-intro{
2171
+ margin-top: -1px;
2172
+ font-size: 16px;
2173
  }
2174
  }
2175
  }
2519
  height:10px;
2520
  clear:both;
2521
  display:block;
2522
+ &.lg{
2523
+ height: 20px;
2524
+ }
2525
+ }
2526
+ .alm-text-center{
2527
+ text-align: center;
2528
  }
2529
 
2530
+ .ajax-load-more p.generate-id{
2531
+ margin: 5px 0 0 !important;
2532
+ padding: 0 0 0 5px;
2533
+ font-size: 12px !important;
2534
+ i{
2535
+ margin: 0 2px 0 0;
2536
+ color: #999;
2537
+ }
2538
+ a{
2539
+ text-decoration: none;
2540
+ }
2541
+ }
2542
 
2543
  /*
2544
  * Cache
2545
  * @since 2.6.0
2546
  */
2547
 
2548
+ .alm-cache{
 
 
 
 
 
 
 
 
 
2549
  .row{
2550
  &:first-of-type{
2551
  margin-top: 0 !important;
2574
  }
2575
  }
2576
 
2577
+ /* Directory Listing */
 
2578
  .alm-dir-listing{
2579
  border: 1px solid #e1e1e1;
2580
  padding: 0;
2587
  padding: 0;
2588
  margin: 0;
2589
  }
 
 
 
 
 
2590
  i{
2591
  color: #ccc;
2592
  font-size: 1.1em;
2597
  .alm-dir-listing.deleting{
2598
  opacity: 0.5;
2599
  background: #fff url("../../img/loader-unlimited.gif") no-repeat center center;
2600
+ }
 
2601
  .alm-dir-listing .dir-title{
2602
  margin: 0 0 5px;
2603
  position: relative;
2642
  -webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2643
  -moz-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2644
  box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
2645
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2646
 
2647
  .cache-page-title{
2648
  font-size: 14px;
2699
  font-size: 12px;
2700
  font-weight: 600;
2701
  }
2702
+ }
 
2703
  .cnkt-sidebar .item{
2704
  padding: 20px;
2705
  display: block;
2719
  margin: 0 9px 0 0;
2720
  font-weight: 700;
2721
  font-size: 15px;
 
 
2722
  border-radius: 2px;
2723
  background: #a4a5e2;
 
 
 
 
 
2724
  background: linear-gradient(to bottom, #a4a5e2 0%,#9ea0d9 50%,#8d8fce 51%,#a4a5e2 100%);
2725
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a5e2', endColorstr='#a4a5e2',GradientType=0 );
2726
  border: 1px solid #8586be;
2731
  }
2732
  }
2733
 
2734
+ // Directory Listing
2735
+ .alm-dir-listing ul{
2736
+ padding: 20px 0 0;
2737
+ margin: 10px 0 0;
2738
+ border-top: 1px solid #efefef;
2739
+ }
2740
+ p.theme-title{
2741
+ font-weight: 600;
2742
+ margin: 0 0 15px !important;
2743
+ padding: 0 5px;
2744
+ }
2745
+ .alm-dir-listing ul li{
2746
+ margin: 0 -2px;
2747
+ padding: 7px 0 7px 40px;
2748
+ display: inline-block;
2749
+ vertical-align: top;
2750
+ overflow: hidden;
2751
+ width: 47%;
2752
+ font-size: 14px;
2753
+ background: transparent url(../../img/directory-list.gif) no-repeat left center;
2754
+ }
2755
+ .alm-dir-listing.theme-repeaters ul li{
2756
+ display: block;
2757
+ width: 100%;
2758
+ padding-top: 12px;
2759
+ }
2760
+ .alm-dir-listing.theme-repeaters ul li label{
2761
+ display: block;
2762
+ width: 100%;
2763
+ }
2764
+
2765
+ .alm-dir-listing ul li:last-child,
2766
+ .alm-dir-listing ul li:nth-last-child(2){
2767
+ background-image: url(../../img/directory-list-btm.gif);
2768
+ }
2769
+ .alm-dir-listing.theme-repeaters ul li:nth-last-child(2){
2770
+ background: transparent url(../../img/directory-list.gif) no-repeat left center;
2771
+ }
2772
+ .alm-dir-listing ul li a{
2773
+ text-decoration: none;
2774
+ }
2775
+ .alm-dir-listing li i{
2776
+ color: #999;
2777
+ padding: 0 5px 0 0;
2778
+ }
2779
+
2780
 
2781
  /*
2782
  * Error Handling
2814
  min-height: 23px;
2815
  width: 100%;
2816
  display:inline-block;
2817
+ padding: 0 0 0 30px;
2818
  margin: 0 0 5px;
2819
  font-size: 14px;
2820
  line-height: 1.5;
2821
  cursor: pointer !important;
2822
+ span{
2823
+ display: inline-block;
2824
+ padding-left: 4px;
2825
+ font-size: 12px;
2826
+ color: #999;
2827
+ }
2828
  }
2829
  .shortcode-builder input[type=radio] + label,
2830
  .ajax-load-more .form-table input[type=radio] + label{
3787
  margin: 0;
3788
  width: 100%;
3789
  position: static !important;
3790
+ border: none;
3791
  }
3792
  .admin.ajax-load-more.settings .form-table td{
3793
  padding: 24px 17px 20px
admin/src/scss/partials/_pro-listing.scss ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /* Pro Add-on Listing */
3
+ .alm-pro-listing{
4
+ padding: 0;
5
+ border-top: none;
6
+ position: relative;
7
+ padding-bottom: 20px;
8
+ .loader{
9
+ position: absolute;
10
+ left: 0;
11
+ top: 0;
12
+ width: 100%;
13
+ height: 100%;
14
+ z-index: 99;
15
+ display: none;
16
+ }
17
+ &.loading{
18
+ .loader{
19
+ display: block;
20
+ }
21
+ }
22
+ &--header{
23
+ border: 1px solid #e1e1e1;
24
+ background: #f7f7f7;
25
+ padding: 18px;
26
+ font-size: 13px;
27
+ font-weight: 600;
28
+ text-transform: uppercase;
29
+ color: #23282d;
30
+ position: relative;
31
+ margin-bottom: 30px;
32
+ border-radius: 2px;
33
+ div{
34
+ position: absolute;
35
+ right: 15px;
36
+ top: 50%;
37
+ transform: translateY(-50%);
38
+ font-size: 13px;
39
+ opacity: 0.7;
40
+ font-weight: normal;
41
+ text-transform: none;
42
+ font-style: italic;
43
+ @media screen and (max-width: 480px){
44
+ display: none;
45
+ }
46
+ }
47
+ }
48
+ &--wrap{
49
+ display: flex;
50
+ flex-wrap: wrap;
51
+ justify-content: space-between;
52
+ }
53
+
54
+ .item{
55
+ width: 49.5%;
56
+ display: flex;
57
+ margin-bottom: 10px;
58
+ @media screen and (min-width: 1500px){
59
+ width: 32.775%;
60
+ }
61
+ @media screen and (max-width: 480px){
62
+ width: 100%;
63
+ }
64
+ h2, p, img, .state{
65
+ transition: all 0.15s ease;
66
+ }
67
+ a{
68
+ text-decoration: none !important;
69
+ padding: 0 55px 0 0;
70
+ position: relative;
71
+ display: flex;
72
+ border: 1px solid #e1e1e1;
73
+ transition: all 0.15s ease;
74
+ border-radius: 2px;
75
+ @media screen and (min-width: 768px) and (max-width: 1100px){
76
+ padding: 0 40px;
77
+ }
78
+ &:hover,
79
+ &:focus{
80
+ border-color: #bbb;
81
+ h2{
82
+ text-decoration: none;
83
+ }
84
+ }
85
+ }
86
+ &--detail{
87
+ padding: 20px;
88
+ position: relative;
89
+ min-height: 110px;
90
+ display: flex;
91
+ align-items: center;
92
+ @media screen and (min-width: 768px) and (max-width: 1100px){
93
+ display: block;
94
+ text-align: center;
95
+ img{
96
+ padding-bottom: 20px;
97
+ }
98
+ }
99
+ div{
100
+ padding: 0;
101
+ }
102
+ img{
103
+ width: 110px;
104
+ height: auto;
105
+ margin-right: 15px;
106
+ @media screen and (max-width: 768px){
107
+ display: none;
108
+ }
109
+ }
110
+ a{
111
+ text-decoration: none;
112
+ &:hover,
113
+ &:focus{
114
+ text-decoration: none;
115
+ h2{
116
+ text-decoration: none;
117
+ }
118
+ }
119
+ }
120
+ h2{
121
+ margin: 0 0 7px;
122
+ font-size: 16px;
123
+ line-height: 1;
124
+ transition: all 0.15s ease;
125
+ span{
126
+ font-weight: 400;
127
+ opacity: 0.4;
128
+ font-size: 12px;
129
+ position: relative;
130
+ top: 0;
131
+ left: 3px;
132
+ text-decoration: none !important;
133
+ }
134
+ }
135
+ p{
136
+ margin: 0;
137
+ padding: 0;
138
+ font-size: 14px;
139
+ &.link{
140
+ font-size: 13px;
141
+ padding-top: 2px;
142
+ opacity: 0;
143
+ transition: opacity 0.15s ease;
144
+ }
145
+ }
146
+ }
147
+ .result{
148
+ position: absolute;
149
+ right: 6px;
150
+ bottom: 6px;
151
+ font-size: 12px;
152
+ opacity: 0;
153
+ transition: all 0.25s ease;
154
+ &.in-view{
155
+ opacity: 0.7;
156
+ }
157
+ .type{
158
+ background: #47bd79;
159
+ color: #fff;
160
+ display: none;
161
+ border-radius: 2px;
162
+ padding: 3px 6px;
163
+ display: inline-block;
164
+ }
165
+ .type.inactive{
166
+ background: #c54545;
167
+ display: none;
168
+ }
169
+ }
170
+ .state{
171
+ width: 22px;
172
+ height: 22px;
173
+ position: absolute;
174
+ right: 6px;
175
+ top: 6px;
176
+ border-radius: 2px;
177
+ background: #57d48c;
178
+ color: #fff;
179
+ display: flex;
180
+ align-items: center;
181
+ justify-content: center;
182
+ text-decoration: none !important;
183
+ font-size: 12px;
184
+ transition: all 0.15s ease;
185
+ &:before{
186
+ font-family: 'FontAwesome';
187
+ content: '\f00c';
188
+ display: block;
189
+
190
+ }
191
+ }
192
+
193
+ &.active{
194
+ a{
195
+ border-color: #57d48c;
196
+ }
197
+ &:hover{
198
+ .state{
199
+ opacity: 0.9;
200
+ }
201
+ }
202
+ }
203
+
204
+ &.inactive{
205
+ h2, p, img, .state{
206
+ opacity: 0.5;
207
+ }
208
+ .state{
209
+ background: #e1e1e1;
210
+ &:before{
211
+ opacity: 0;
212
+ }
213
+ }
214
+ &:hover{
215
+ h2, p, img, .state{
216
+ opacity: 0.8;
217
+ }
218
+
219
+ .state{
220
+ background: #ccc;
221
+ &:before{
222
+ opacity: 1;
223
+ }
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
admin/views/add-ons.php CHANGED
@@ -6,13 +6,16 @@
6
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong>
7
  <em><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more'); ?>.</em>
8
  </h1>
 
9
  </header>
10
 
11
  <div class="ajax-load-more-inner-wrapper">
12
 
13
  <div class="cnkt-main">
14
 
15
- <div class="flexbox-wrap">
 
 
16
  <?php
17
  $target = 'target="_blank"';
18
  $addons = alm_get_addons();
@@ -37,7 +40,7 @@
37
  if (has_action($action)){
38
  echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> '. __('Installed', 'ajax-load-more') .'</span> ';
39
  }else{
40
- echo '<span class="cnkt-button"><i class="fa fa-download"></i> '. __('Purchase', 'ajax-load-more') .'</span>';
41
  }
42
  ?>
43
  </a>
6
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong>
7
  <em><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more'); ?>.</em>
8
  </h1>
9
+ <?php alm_render_transient_notification(); ?>
10
  </header>
11
 
12
  <div class="ajax-load-more-inner-wrapper">
13
 
14
  <div class="cnkt-main">
15
 
16
+ <div class="flexbox-wrap">
17
+ <?php include_once( ALM_PATH . 'admin/includes/cta/pro-hero.php'); ?>
18
+
19
  <?php
20
  $target = 'target="_blank"';
21
  $addons = alm_get_addons();
40
  if (has_action($action)){
41
  echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> '. __('Installed', 'ajax-load-more') .'</span> ';
42
  }else{
43
+ echo '<span class="cnkt-button">'. __('Purchase', 'ajax-load-more') .'</span>';
44
  }
45
  ?>
46
  </a>
admin/views/extensions.php CHANGED
@@ -5,6 +5,7 @@
5
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Extensions', 'ajax-load-more'); ?></strong>
6
  <em><?php _e('Free extensions that provide compatibility with popular plugins and core WordPress functionality', 'ajax-load-more'); ?>.</em>
7
  </h1>
 
8
  </header>
9
 
10
  <div class="ajax-load-more-inner-wrapper">
5
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Extensions', 'ajax-load-more'); ?></strong>
6
  <em><?php _e('Free extensions that provide compatibility with popular plugins and core WordPress functionality', 'ajax-load-more'); ?>.</em>
7
  </h1>
8
+ <?php alm_render_transient_notification(); ?>
9
  </header>
10
 
11
  <div class="ajax-load-more-inner-wrapper">
admin/views/go-pro.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="admin ajax-load-more" id="alm-add-ons">
2
+ <div class="wrap main-cnkt-wrap">
3
+ <header class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Pro', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('All current and future add-ons in a single installation.', 'ajax-load-more'); ?></em>
7
+ </h1>
8
+ </header>
9
+
10
+ <div class="ajax-load-more-inner-wrapper">
11
+
12
+ <div class="cnkt-main">
13
+
14
+ <div class="flexbox-wrap">
15
+ <?php include_once( ALM_PATH . 'admin/includes/cta/pro-hero.php'); ?>
16
+ </div>
17
+
18
+ <div class="spacer lg"></div>
19
+
20
+ <p class="alm-text-center"><?php _e('The following products are included when you purchase the Ajax Load More Pro add-on:', 'ajax-load-more'); ?></p>
21
+ <div class="flexbox-wrap">
22
+ <?php
23
+ $target = 'target="_blank"';
24
+ $addons = alm_get_addons();
25
+ foreach($addons as $addon){
26
+ $name = $addon['name'];
27
+ $intro = $addon['intro'];
28
+ $desc = $addon['desc'];
29
+ $action = $addon['action'];
30
+ $key = $addon['key'];
31
+ $status = $addon['status'];
32
+ $settings_field = $addon['settings_field'];
33
+ $url = $addon['url'];
34
+ $img = $addon['img'];
35
+ ?>
36
+ <div class="group group--pro no-shadow">
37
+ <a href="<?php echo $url; ?>?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=<?php echo $name; ?>" <?php echo $target; ?>>
38
+ <img src="<?php echo ALM_ADMIN_URL; ?><?php echo $img; ?>" alt="">
39
+ <h2 class="addon-title"><?php echo $name; ?></h2>
40
+ <p class="addon-intro"><?php echo $intro; ?></p>
41
+ <p><?php echo $desc; ?></p>
42
+ </a>
43
+ </div>
44
+ <?php } ?>
45
+ </div>
46
+
47
+ </div>
48
+
49
+ <aside class="cnkt-sidebar">
50
+ <div id="cnkt-sticky-wrapper">
51
+ <div id="cnkt-sticky">
52
+ <div class="cta">
53
+ <h3><?php _e('About the Pro Bundle', 'ajax-load-more'); ?></h3>
54
+ <div class="cta-inner">
55
+ <p style="padding-bottom: 10px;"><?php _e('The Ajax Load More Pro bundle is installed as a single add-on with one license and contains every add-on currently available.', 'ajax-load-more'); ?></p>
56
+ <p style="padding-bottom: 10px;"><?php _e('Once installed, add-ons are able to be activated and deactivated with ease from the Pro dashboard inside your WordPress admin.', 'ajax-load-more'); ?></p>
57
+ <p style="padding: 15px 0 0 0; border-top: 1px solid #efefef; font-size: 12px;"><strong><?php _e('Please note:', 'ajax-load-more'); ?></strong> <?php _e('The core Ajax Load More plugin is <u>still</u> required when using the Pro add-on.', 'ajax-load-more'); ?></p>
58
+ </div>
59
+ <div class="major-publishing-actions">
60
+ <a href="https://connekthq.com/plugins/ajax-load-more/pro/?utm_source=WP%20Admin&utm_medium=Go%20Pro%20Dashboard&utm_campaign=ProUpgrade" class="button button-primary" target="_blank"><?php _e('Get More Information', 'ajax-load-more'); ?></a>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </aside>
66
+
67
+ <div class="clear"></div>
68
+ </div>
69
+
70
+ </div>
71
+ </div>
admin/views/help.php CHANGED
@@ -18,6 +18,7 @@
18
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Help', 'ajax-load-more'); ?></strong>
19
  <em><?php echo $subtitle; ?></em>
20
  </h1>
 
21
  </header>
22
 
23
  <div class="ajax-load-more-inner-wrapper">
18
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Help', 'ajax-load-more'); ?></strong>
19
  <em><?php echo $subtitle; ?></em>
20
  </h1>
21
+ <?php alm_render_transient_notification(); ?>
22
  </header>
23
 
24
  <div class="ajax-load-more-inner-wrapper">
admin/views/licenses.php CHANGED
@@ -9,6 +9,7 @@
9
  <?php echo ALM_TITLE; ?>: <strong><?php echo $pg_title; ?></strong>
10
  <em><?php echo $pg_desc; ?>.</em>
11
  </h1>
 
12
  </header>
13
 
14
  <div class="ajax-load-more-inner-wrapper">
@@ -112,7 +113,7 @@
112
  <div class="loading"></div>
113
  </div>
114
  <?php } ?>
115
- <?php } ?>
116
 
117
 
118
  <?php
@@ -121,7 +122,7 @@
121
  ?>
122
  <div class="spacer"></div>
123
  <div class="license-no-addons">
124
- <p><?php _e('You do not have any Ajax Load More add-ons installed', 'ajax-load-more'); ?>. &raquo; <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e('Browse Add-ons', 'ajax-load-more'); ?></strong></a></p>
125
  </div>
126
  <?php endif; ?>
127
 
9
  <?php echo ALM_TITLE; ?>: <strong><?php echo $pg_title; ?></strong>
10
  <em><?php echo $pg_desc; ?>.</em>
11
  </h1>
12
+ <?php alm_render_transient_notification(); ?>
13
  </header>
14
 
15
  <div class="ajax-load-more-inner-wrapper">
113
  <div class="loading"></div>
114
  </div>
115
  <?php } ?>
116
+ <?php } unset($addons); ?>
117
 
118
 
119
  <?php
122
  ?>
123
  <div class="spacer"></div>
124
  <div class="license-no-addons">
125
+ <p><?php _e('You do not have any Ajax Load More add-ons installed', 'ajax-load-more'); ?> | <a href="admin.php?page=ajax-load-more-add-ons"><strong><?php _e('Browse Add-ons', 'ajax-load-more'); ?></strong></a> | <a href="https://connekthq.com/plugins/ajax-load-more/pro/" target="_blank"><strong><?php _e('Go Pro', 'ajax-load-more'); ?></strong></a></p>
126
  </div>
127
  <?php endif; ?>
128
 
admin/views/repeater-templates.php CHANGED
@@ -14,6 +14,7 @@
14
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
15
  <em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
16
  </h1>
 
17
  </header>
18
 
19
  <div class="ajax-load-more-inner-wrapper">
14
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
15
  <em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
16
  </h1>
17
+ <?php alm_render_transient_notification(); ?>
18
  </header>
19
 
20
  <div class="ajax-load-more-inner-wrapper">
admin/views/settings.php CHANGED
@@ -5,16 +5,19 @@
5
  <div class="wrap main-cnkt-wrap">
6
 
7
  <header class="header-wrap">
8
- <h1><?php echo ALM_TITLE; ?> <span><?php echo ALM_VERSION; ?></span>
9
- <em><?php _e('A powerful plugin to add infinite scroll functionality to your website.', 'ajax-load-more'); ?></em>
 
10
  </h1>
 
 
11
  </header>
12
 
13
  <div class="ajax-load-more-inner-wrapper">
14
 
15
  <div class="cnkt-main">
16
 
17
- <?php // include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
18
 
19
  <?php
20
  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')) {
5
  <div class="wrap main-cnkt-wrap">
6
 
7
  <header class="header-wrap">
8
+ <h1>
9
+ <?php echo ALM_TITLE; ?> <span><?php echo ALM_VERSION; ?></span>
10
+ <em><?php _e('A powerful plugin to add infinite scroll functionality to your website.', 'ajax-load-more'); ?></em>
11
  </h1>
12
+ <?php alm_render_transient_notification(); ?>
13
+
14
  </header>
15
 
16
  <div class="ajax-load-more-inner-wrapper">
17
 
18
  <div class="cnkt-main">
19
 
20
+ <?php //include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
21
 
22
  <?php
23
  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')) {
admin/views/shortcode-builder.php CHANGED
@@ -6,6 +6,7 @@
6
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Shortcode Builder', 'ajax-load-more'); ?></strong>
7
  <em><?php _e('Create your own Ajax Load More <a href="http://en.support.wordpress.com/shortcodes/" target="_blank">shortcode</a> by adjusting the values below', 'ajax-load-more'); ?></em>
8
  </h1>
 
9
  </header>
10
 
11
  <div class="ajax-load-more-inner-wrapper">
6
  <?php echo ALM_TITLE; ?>: <strong><?php _e('Shortcode Builder', 'ajax-load-more'); ?></strong>
7
  <em><?php _e('Create your own Ajax Load More <a href="http://en.support.wordpress.com/shortcodes/" target="_blank">shortcode</a> by adjusting the values below', 'ajax-load-more'); ?></em>
8
  </h1>
9
+ <?php alm_render_transient_notification(); ?>
10
  </header>
11
 
12
  <div class="ajax-load-more-inner-wrapper">
ajax-load-more.php CHANGED
@@ -7,14 +7,14 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
- Version: 3.7.1
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
- define('ALM_VERSION', '3.7.1');
17
- define('ALM_RELEASE', 'October 3, 2018');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
@@ -222,7 +222,7 @@ if( !class_exists('AjaxLoadMore') ):
222
 
223
  // Does $dir exist?
224
  if( !is_dir($dir) ) {
225
- mkdir($dir, 0755);
226
 
227
  // Check again after creating it (permission checker)
228
  if( !is_dir($dir) ) {
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: https://connekthq.com
10
+ Version: 4.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
+ define('ALM_VERSION', '4.0');
17
+ define('ALM_RELEASE', 'November 3, 2018');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
222
 
223
  // Does $dir exist?
224
  if( !is_dir($dir) ) {
225
+ wp_mkdir_p($dir);
226
 
227
  // Check again after creating it (permission checker)
228
  if( !is_dir($dir) ) {
core/classes/class.alm-queryargs.php CHANGED
@@ -46,10 +46,12 @@ if(!class_exists('ALM_QUERY_ARGS')):
46
 
47
  // Category
48
  $category = (isset($a['category'])) ? $a['category'] : '';
 
49
  $category__not_in = (isset($a['category__not_in'])) ? $a['category__not_in'] : '';
50
 
51
  // Tags
52
  $tag = (isset($a['tag'])) ? $a['tag'] : '';
 
53
  $tag__not_in = (isset($a['tag__not_in'])) ? $a['tag__not_in'] : '';
54
 
55
  // Taxonomy
@@ -194,6 +196,9 @@ if(!class_exists('ALM_QUERY_ARGS')):
194
  if(!empty($category)){
195
  $args['category_name'] = $category;
196
  }
 
 
 
197
 
198
  // Category Not In
199
  if(!empty($category__not_in)){
@@ -204,6 +209,9 @@ if(!class_exists('ALM_QUERY_ARGS')):
204
  // Tag
205
  if(!empty($tag)){
206
  $args['tag'] = $tag;
 
 
 
207
  }
208
 
209
  // Tag Not In
46
 
47
  // Category
48
  $category = (isset($a['category'])) ? $a['category'] : '';
49
+ $category__and = (isset($a['category__and'])) ? $a['category__and'] : '';
50
  $category__not_in = (isset($a['category__not_in'])) ? $a['category__not_in'] : '';
51
 
52
  // Tags
53
  $tag = (isset($a['tag'])) ? $a['tag'] : '';
54
+ $tag__and = (isset($a['tag__and'])) ? $a['tag__and'] : '';
55
  $tag__not_in = (isset($a['tag__not_in'])) ? $a['tag__not_in'] : '';
56
 
57
  // Taxonomy
196
  if(!empty($category)){
197
  $args['category_name'] = $category;
198
  }
199
+ if(!empty($category__and)){
200
+ $args['category__and'] = explode(",", $category__and);
201
+ }
202
 
203
  // Category Not In
204
  if(!empty($category__not_in)){
209
  // Tag
210
  if(!empty($tag)){
211
  $args['tag'] = $tag;
212
+ }
213
+ if(!empty($tag__and)){
214
+ $args['tag__and'] = explode(",", $tag__and);
215
  }
216
 
217
  // Tag Not In
core/classes/class.alm-shortcode.php CHANGED
@@ -110,8 +110,10 @@ if( !class_exists('ALM_SHORTCODE') ):
110
  'sticky_posts' => false,
111
  'post_format' => '',
112
  'category' => '',
 
113
  'category__not_in' => '',
114
  'tag' => '',
 
115
  'tag__not_in' => '',
116
  'taxonomy' => '',
117
  'taxonomy_terms' => '',
@@ -474,8 +476,10 @@ if( !class_exists('ALM_SHORTCODE') ):
474
  'sticky_posts' => $sticky_posts,
475
  'post_format' => $post_format,
476
  'category' => $category,
 
477
  'category__not_in' => $category__not_in,
478
  'tag' => $tag,
 
479
  'tag__not_in' => $tag__not_in,
480
  'taxonomy' => $taxonomy,
481
  'taxonomy_terms' => $taxonomy_terms,
@@ -704,10 +708,12 @@ if( !class_exists('ALM_SHORTCODE') ):
704
 
705
  // Category
706
  $ajaxloadmore .= (!empty($category)) ? ' data-category="'.$category.'"' : '';
 
707
  $ajaxloadmore .= (!empty($category__not_in)) ? ' data-category-not-in="'.$category__not_in.'"' : '';
708
 
709
  // Tag
710
  $ajaxloadmore .= (!empty($tag)) ? ' data-tag="'.$tag.'"' : '';
 
711
  $ajaxloadmore .= (!empty($tag__not_in)) ? ' data-tag-not-in="'.$tag__not_in.'"' : '';
712
 
713
  // Taxonomy
@@ -743,7 +749,7 @@ if( !class_exists('ALM_SHORTCODE') ):
743
  $ajaxloadmore .= (!empty($custom_args)) ? ' data-custom-args="'.$custom_args.'"' : '';
744
 
745
  // Status
746
- $ajaxloadmore .= ' data-post-status="'.$post_status.'"';
747
 
748
  // Order
749
  $ajaxloadmore .= ' data-order="'.$order.'"';
110
  'sticky_posts' => false,
111
  'post_format' => '',
112
  'category' => '',
113
+ 'category__and' => '',
114
  'category__not_in' => '',
115
  'tag' => '',
116
+ 'tag__and' => '',
117
  'tag__not_in' => '',
118
  'taxonomy' => '',
119
  'taxonomy_terms' => '',
476
  'sticky_posts' => $sticky_posts,
477
  'post_format' => $post_format,
478
  'category' => $category,
479
+ 'category__and' => $category__and,
480
  'category__not_in' => $category__not_in,
481
  'tag' => $tag,
482
+ 'tag__and' => $tag__and,
483
  'tag__not_in' => $tag__not_in,
484
  'taxonomy' => $taxonomy,
485
  'taxonomy_terms' => $taxonomy_terms,
708
 
709
  // Category
710
  $ajaxloadmore .= (!empty($category)) ? ' data-category="'.$category.'"' : '';
711
+ $ajaxloadmore .= (!empty($category__and)) ? ' data-category-and="'.$category__and.'"' : '';
712
  $ajaxloadmore .= (!empty($category__not_in)) ? ' data-category-not-in="'.$category__not_in.'"' : '';
713
 
714
  // Tag
715
  $ajaxloadmore .= (!empty($tag)) ? ' data-tag="'.$tag.'"' : '';
716
+ $ajaxloadmore .= (!empty($tag__and)) ? ' data-tag-and="'.$tag__and.'"' : '';
717
  $ajaxloadmore .= (!empty($tag__not_in)) ? ' data-tag-not-in="'.$tag__not_in.'"' : '';
718
 
719
  // Taxonomy
749
  $ajaxloadmore .= (!empty($custom_args)) ? ' data-custom-args="'.$custom_args.'"' : '';
750
 
751
  // Status
752
+ $ajaxloadmore .= (!empty($post_status)) ? ' data-post-status="'.$post_status.'"' : '';
753
 
754
  // Order
755
  $ajaxloadmore .= ' data-order="'.$order.'"';
core/dist/js/ajax-load-more.js CHANGED
@@ -170,12 +170,18 @@ var almGetAjaxParams = function almGetAjaxParams(alm, action, queryType) {
170
  if (alm.content.attr('data-category')) {
171
  data.category = alm.content.attr('data-category');
172
  }
 
 
 
173
  if (alm.content.attr('data-category-not-in')) {
174
  data.category__not_in = alm.content.attr('data-category-not-in');
175
  }
176
  if (alm.content.attr('data-tag')) {
177
  data.tag = alm.content.attr('data-tag');
178
  }
 
 
 
179
  if (alm.content.attr('data-tag-not-in')) {
180
  data.tag__not_in = alm.content.attr('data-tag-not-in');
181
  }
@@ -391,22 +397,17 @@ var alm_is_filtering = false; // Global Masonry/Filtering var
391
  * @since 2.6.1
392
  */
393
  var almSetFilters = function almSetFilters(speed, data, el) {
 
 
394
  $.each(data, function (key, value) {
395
  key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2'); // Convert camelCase data() object back to dash (-)
396
  $('.alm-listing', el).attr('data-' + key, value);
397
  });
398
- // Regular Filtering
399
- if ($.isFunction($.fn.almFilterComplete)) {
400
- $.fn.almFilterComplete();
401
- }
402
- // Filters Add-on
403
- if (typeof almFiltersAddonComplete == "function") {
404
- almFiltersAddonComplete(el);
405
- }
406
 
407
- alm_is_filtering = true;
408
  el.fadeIn(speed); // Fade ALM back in
409
 
 
 
410
  // re-initiate Ajax Load More
411
  if (data.target) {
412
  // if a target has been specified
@@ -1535,6 +1536,18 @@ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr
1535
  // End ALM Complete
1536
 
1537
 
 
 
 
 
 
 
 
 
 
 
 
 
1538
  // ALM Done
1539
  if (!alm.cache) {
1540
  // Not Cache & Previous Post
170
  if (alm.content.attr('data-category')) {
171
  data.category = alm.content.attr('data-category');
172
  }
173
+ if (alm.content.attr('data-category-and')) {
174
+ data.category__and = alm.content.attr('data-category-and');
175
+ }
176
  if (alm.content.attr('data-category-not-in')) {
177
  data.category__not_in = alm.content.attr('data-category-not-in');
178
  }
179
  if (alm.content.attr('data-tag')) {
180
  data.tag = alm.content.attr('data-tag');
181
  }
182
+ if (alm.content.attr('data-tag-and')) {
183
+ data.tag__and = alm.content.attr('data-tag-and');
184
+ }
185
  if (alm.content.attr('data-tag-not-in')) {
186
  data.tag__not_in = alm.content.attr('data-tag-not-in');
187
  }
397
  * @since 2.6.1
398
  */
399
  var almSetFilters = function almSetFilters(speed, data, el) {
400
+
401
+ // Update data attributes
402
  $.each(data, function (key, value) {
403
  key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2'); // Convert camelCase data() object back to dash (-)
404
  $('.alm-listing', el).attr('data-' + key, value);
405
  });
 
 
 
 
 
 
 
 
406
 
 
407
  el.fadeIn(speed); // Fade ALM back in
408
 
409
+ alm_is_filtering = true;
410
+
411
  // re-initiate Ajax Load More
412
  if (data.target) {
413
  // if a target has been specified
1536
  // End ALM Complete
1537
 
1538
 
1539
+ // Filters Add-on Complete
1540
+ if ($.isFunction($.fn.almFilterComplete)) {
1541
+ // Standard Filtering
1542
+ $.fn.almFilterComplete();
1543
+ }
1544
+ if (typeof almFiltersAddonComplete == "function") {
1545
+ // Filters Add-on
1546
+ almFiltersAddonComplete(el);
1547
+ }
1548
+ // End Filters Add-on Complete
1549
+
1550
+
1551
  // ALM Done
1552
  if (!alm.cache) {
1553
  // Not Cache & Previous Post
core/dist/js/ajax-load-more.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Array.from||(Array.from=function(){var a=Object.prototype.toString,l=function(t){return"function"==typeof t||"[object Function]"===a.call(t)},o=Math.pow(2,53)-1,d=function(t){var a,e=(a=Number(t),isNaN(a)?0:0!==a&&isFinite(a)?(0<a?1:-1)*Math.floor(Math.abs(a)):a);return Math.min(Math.max(e,0),o)};return function(t){var a=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var e,o=1<arguments.length?arguments[1]:void 0;if(void 0!==o){if(!l(o))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(e=arguments[2])}for(var n,r=d(a.length),s=l(this)?Object(new this(r)):new Array(r),i=0;i<r;)n=a[i],s[i]=o?void 0===e?o(n,i):o.call(e,n,i):n,i+=1;return s.length=r,s}}());var almGetParameterByName=function(t,a){a||(a=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(a);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null},almGetAjaxParams=function(t,a,e){var o={action:a,nonce:alm_localize.alm_nonce,query_type:e,id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:t.canonical_url,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};return t.theme_repeater&&(o.theme_repeater=t.theme_repeater),t.paging&&(o.paging=t.paging),t.preloaded&&(o.preloaded=t.preloaded,o.preloaded_amount=t.preloaded_amount),"true"===t.cache&&(o.cache_id=t.cache_id,o.cache_logged_in=t.cache_logged_in),t.acf_array&&(o.acf=t.acf_array),t.cta_array&&(o.cta=t.cta_array),t.comments_array&&(o.comments=t.comments_array),t.nextpage_array&&(o.nextpage=t.nextpage_array),t.previous_post_array&&(o.previous_post=t.previous_post_array),t.users_array&&(o.users=t.users_array),t.content.attr("data-lang")&&(o.lang=t.content.attr("data-lang")),t.content.attr("data-sticky-posts")&&(o.sticky_posts=t.content.attr("data-sticky-posts")),t.content.attr("data-post-format")&&(o.post_format=t.content.attr("data-post-format")),t.content.attr("data-category")&&(o.category=t.content.attr("data-category")),t.content.attr("data-category-not-in")&&(o.category__not_in=t.content.attr("data-category-not-in")),t.content.attr("data-tag")&&(o.tag=t.content.attr("data-tag")),t.content.attr("data-tag-not-in")&&(o.tag__not_in=t.content.attr("data-tag-not-in")),t.content.attr("data-taxonomy")&&(o.taxonomy=t.content.attr("data-taxonomy")),t.content.attr("data-taxonomy-terms")&&(o.taxonomy_terms=t.content.attr("data-taxonomy-terms")),t.content.attr("data-taxonomy-operator")&&(o.taxonomy_operator=t.content.attr("data-taxonomy-operator")),t.content.attr("data-taxonomy-relation")&&(o.taxonomy_relation=t.content.attr("data-taxonomy-relation")),t.content.attr("data-meta-key")&&(o.meta_key=t.content.attr("data-meta-key")),t.content.attr("data-meta-value")&&(o.meta_value=t.content.attr("data-meta-value")),t.content.attr("data-meta-compare")&&(o.meta_compare=t.content.attr("data-meta-compare")),t.content.attr("data-meta-relation")&&(o.meta_relation=t.content.attr("data-meta-relation")),t.content.attr("data-meta-type")&&(o.meta_type=t.content.attr("data-meta-type")),t.content.attr("data-author")&&(o.author=t.content.attr("data-author")),t.content.attr("data-year")&&(o.year=t.content.attr("data-year")),t.content.attr("data-month")&&(o.month=t.content.attr("data-month")),t.content.attr("data-day")&&(o.day=t.content.attr("data-day")),t.content.attr("data-order")&&(o.order=t.content.attr("data-order")),t.content.attr("data-orderby")&&(o.orderby=t.content.attr("data-orderby")),t.content.attr("data-post-status")&&(o.post_status=t.content.attr("data-post-status")),t.content.attr("data-post-in")&&(o.post__in=t.content.attr("data-post-in")),t.content.attr("data-post-not-in")&&(o.post__not_in=t.content.attr("data-post-not-in")),t.content.attr("data-exclude")&&(o.exclude=t.content.attr("data-exclude")),t.content.attr("data-search")&&(o.search=t.content.attr("data-search")),t.content.attr("data-s")&&(o.search=t.content.attr("data-s")),t.content.attr("data-custom-args")&&(o.custom_args=t.content.attr("data-custom-args")),o},almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:t.canonical_url,post_type:t.post_type,post_format:t.content.attr("data-post-format"),category:t.content.attr("data-category"),category__not_in:t.content.attr("data-category-not-in"),tag:t.content.attr("data-tag"),tag__not_in:t.content.attr("data-tag-not-in"),taxonomy:t.content.attr("data-taxonomy"),taxonomy_terms:t.content.attr("data-taxonomy-terms"),taxonomy_operator:t.content.attr("data-taxonomy-operator"),taxonomy_relation:t.content.attr("data-taxonomy-relation"),meta_key:t.content.attr("data-meta-key"),meta_value:t.content.attr("data-meta-value"),meta_compare:t.content.attr("data-meta-compare"),meta_relation:t.content.attr("data-meta-relation"),meta_type:t.content.attr("data-meta-type"),author:t.content.attr("data-author"),year:t.content.attr("data-year"),month:t.content.attr("data-month"),day:t.content.attr("data-day"),post_status:t.content.attr("data-post-status"),order:t.content.attr("data-order"),orderby:t.content.attr("data-orderby"),post__in:t.content.attr("data-post-in"),post__not_in:t.content.attr("data-post-not-in"),search:t.content.attr("data-search"),custom_args:t.content.attr("data-custom-args"),lang:t.lang,preloaded:t.preloaded,preloaded_amount:t.preloaded_amount,seo_start_page:t.start_page}};function _toConsumableArray(t){if(Array.isArray(t)){for(var a=0,e=Array(t.length);a<t.length;a++)e[a]=t[a];return e}return Array.from(t)}var alm_is_filtering=!1;!function(r){r.fn.almFilter=function(e,o,n){n.target?r(".ajax-load-more-wrap[data-id='"+n.target+"']").each(function(t){var a=r(this);r.fn.almFilterTransition(e,o,n,a)}):r(".ajax-load-more-wrap").each(function(t){var a=r(this);r.fn.almFilterTransition(e,o,n,a)})},r.fn.almFilterTransition=function(t,a,e,o){"slide"===t?o.slideUp(a,function(){n(a,e,o)}):"fade"===t||"masonry"===t?o.fadeOut(a,function(){n(a,e,o)}):n(a,e,o)};var n=function(t,a,e){var o=e.get(0),n=o.querySelectorAll(".alm-listing");[].concat(_toConsumableArray(n)).forEach(function(t){t.innerHTML=""});var r=o.querySelector(".alm-load-more-btn");r&&r.classList.remove("done"),s(t,a,e)},s=function(t,a,e){r.each(a,function(t,a){t=t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2"),r(".alm-listing",e).attr("data-"+t,a)}),r.isFunction(r.fn.almFilterComplete)&&r.fn.almFilterComplete(),"function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(e),alm_is_filtering=!0,e.fadeIn(t),a.target?r(".ajax-load-more-wrap[data-id="+a.target+"]").ajaxloadmore():r(".ajax-load-more-wrap").ajaxloadmore()}}(jQuery);var almMasonry=function t(o,a,n,r,e,s,i,l,d,p){var c=(i+100)/1e3+"s",_="scale(0.5)",g="scale(1)";"zoom-out"===e&&(_="translateY(-20px) scale(1.25)",g="translateY(0) scale(1)"),"slide-up"===e&&(_="translateY(50px)",g="translateY(0)"),"slide-down"===e&&(_="translateY(-50px)",g="translateY(0)"),"none"===e&&(g=_="translateY(0)"),r?isNaN(r)||(r=parseInt(r)):r=n,s="true"===s,p?(o.masonry("destroy"),o[0].parentNode.style.opacity=0,o.append(a),t(o,a,n,r,e,s,i,!0,!0,!1)):l&&d?o.imagesLoaded(function(){var a={itemSelector:n,transitionDuration:c,columnWidth:r,horizontalOrder:s,hiddenStyle:{transform:_,opacity:0},visibleStyle:{transform:g,opacity:1}},e=e;e&&Object.keys(e).forEach(function(t){a[t]=e[t]}),o.masonry(a),almMasonryFadeIn(o[0].parentNode,i)}):a.imagesLoaded(function(){o.append(a).masonry("appended",a)})},almMasonryFadeIn=function(t,a){a/=10;var e=parseInt(t.style.opacity),o=setInterval(function(){.9<e&&(t.style.opacity=1,clearInterval(o)),t.style.opacity=e,e+=.1},a)};function _toConsumableArray(t){if(Array.isArray(t)){for(var a=0,e=Array(t.length);a<t.length;a++)e[a]=t[a];return e}return Array.from(t)}!function(x){x.ajaxloadmore=function(t,a){"true"===alm_localize.scrolltop&&x(window).scrollTop(0);var h=this;if(h.AjaxLoadMore={},h.window=x(window),h.page=0,h.posts=0,h.totalposts=0,h.proceed=!1,h.disable_ajax=!1,h.init=!0,h.loading=!0,h.finished=!1,h.prefix="alm-",h.el=t,h.master_id=h.el.get(0).id,h.container=t,h.container.addClass("alm-"+a).attr("data-alm-id",a),h.content=x(".alm-ajax",h.container),h.content_preloaded=x(".alm-preloaded",h.container),h.canonical_url=h.el.attr("data-canonical-url"),h.is_search=h.el.attr("data-search"),h.slug=h.el.attr("data-slug"),h.post_id=h.el.attr("data-post-id"),h.id=h.el.attr("data-id")?h.el.attr("data-id"):"",h.repeater=h.content.attr("data-repeater"),h.theme_repeater=h.content.attr("data-theme-repeater"),h.post_type=h.content.attr("data-post-type"),h.post_type=h.post_type.split(","),h.sticky_posts=h.content.attr("data-sticky-posts"),h.btnWrap=x(".alm-btn-wrap",h.container),h.btnWrap.get(0).style.visibility="visible",h.button_label=h.content.attr("data-button-label"),h.button_loading_label=h.content.attr("data-button-loading-label"),h.scroll_distance=h.content.attr("data-scroll-distance"),h.scroll_distance=h.scroll_distance?parseInt(h.scroll_distance):150,h.scroll_container=h.content.attr("data-scroll-container"),h.max_pages=h.content.attr("data-max-pages"),h.max_pages=h.max_pages?parseInt(h.max_pages):0,h.pause_override=h.content.attr("data-pause-override"),h.pause=h.content.attr("data-pause"),h.transition=h.content.attr("data-transition"),h.transition_container=h.content.attr("data-transition-container"),h.tcc=h.content.attr("data-transition-container-classes"),h.speed=250,h.images_loaded=h.content.attr("data-images-loaded"),h.destroy_after=h.content.attr("data-destroy-after"),h.orginal_posts_per_page=h.content.attr("data-posts-per-page"),h.posts_per_page=h.content.attr("data-posts-per-page"),h.offset=h.content.attr("data-offset"),h.cache=h.content.attr("data-cache"),h.cache_id=h.content.attr("data-cache-id"),h.cache_path=h.content.attr("data-cache-path"),h.cache_logged_in=h.content.attr("data-cache-logged-in"),h.cta=h.content.attr("data-cta"),h.cta_position=h.content.attr("data-cta-position"),h.cta_repeater=h.content.attr("data-cta-repeater"),h.cta_theme_repeater=h.content.attr("data-cta-theme-repeater"),h.acf=h.content.attr("data-acf"),h.acf_field_type=h.content.attr("data-acf-field-type"),h.acf_field_name=h.content.attr("data-acf-field-name"),h.acf_post_id=h.content.attr("data-acf-post-id"),h.nextpage=h.content.attr("data-nextpage"),h.nextpage_urls=h.content.attr("data-nextpage-urls"),h.nextpage_scroll=h.content.attr("data-nextpage-scroll"),h.nextpage_pageviews=h.content.attr("data-nextpage-pageviews"),h.nextpage_post_id=h.content.attr("data-nextpage-post-id"),h.nextpage_startpage=h.content.attr("data-nextpage-startpage"),h.previous_post=h.content.attr("data-previous-post"),h.previous_post_id=h.content.attr("data-previous-post-id"),h.previous_post_taxonomy=h.content.attr("data-previous-post-taxonomy"),h.previous_post_excluded_terms=h.content.attr("data-previous-post-excluded-terms"),h.comments=h.content.attr("data-comments"),"true"===h.comments&&(h.content=x(".alm-comments",h.container)),h.comments_post_id=h.content.attr("data-comments_post_id"),h.comments_per_page=h.content.attr("data-comments_per_page"),h.comments_type=h.content.attr("data-comments_type"),h.comments_style=h.content.attr("data-comments_style"),h.comments_template=h.content.attr("data-comments_template"),h.comments_callback=h.content.attr("data-comments_callback"),h.filters=h.content.attr("data-filters"),h.restapi=h.content.attr("data-restapi"),h.restapi_base_url=h.content.attr("data-restapi-base-url"),h.restapi_namespace=h.content.attr("data-restapi-namespace"),h.restapi_endpoint=h.content.attr("data-restapi-endpoint"),h.restapi_template_id=h.content.attr("data-restapi-template-id"),h.restapi_debug=h.content.attr("data-restapi-debug"),h.seo=h.content.attr("data-seo"),h.preloaded=h.content.attr("data-preloaded"),h.preloaded_amount=h.content.attr("data-preloaded-amount"),h.is_preloaded="true"===h.content.attr("data-is-preloaded"),h.paging=h.content.attr("data-paging"),h.users="true"===h.content.attr("data-users"),h.users&&(h.orginal_posts_per_page=h.content.attr("data-users-per-page"),h.posts_per_page=h.content.attr("data-users-per-page")),"true"===h.filters){h.filters=!0,h.filters_analtyics=h.content.attr("data-filters-analtyics"),h.filters_debug=h.content.attr("data-filters-debug"),h.filters_startpage=0;var e=almGetParameterByName("pg");null!==e&&(h.filters_startpage=parseInt(e),h.page=h.filters_startpage),h.isPaged=!1,0<h.filters_startpage&&(h.isPaged=!0,h.page=h.filters_startpage-1)}else h.filters=!1;if("true"===h.restapi?(h.restapi=!0,void 0===h.restapi_debug&&(h.restapi_debug=!1),""===h.restapi_template_id&&(h.restapi=!1)):h.restapi=!1,"true"===h.paging?(h.paging=!0,h.paging_controls=!!h.content.attr("data-paging-controls"),h.paging_show_at_most=h.content.attr("data-paging-show-at-most"),h.paging_classes=h.content.attr("data-paging-classes"),h.paging_init=!0,h.paging_show_at_most=void 0===h.paging_show_at_most?7:h.paging_show_at_most,h.pause="true"===h.preloaded||h.pause):h.paging=!1,void 0===h.cache&&(h.cache=!1),void 0===h.cache_logged_in&&(h.cache_logged_in=!1),void 0===h.comments_per_page&&(h.comments_per_page="5"),"true"===h.preloaded){h.preloaded_amount=void 0===h.preloaded_amount?h.posts_per_page:h.preloaded_amount;var o=h.master_id.replace(/-/g,"_");o+="_vars";var n=window[o];n&&n.total_posts&&parseInt(n.total_posts)<=parseInt(h.preloaded_amount)&&(h.preloaded_total_posts=n.total_posts,h.disable_ajax=!0)}else h.preloaded="false";void 0===h.seo&&(h.seo=!1),"true"===h.seo&&(h.seo=!0),void 0===h.is_search&&(h.is_search=!1),h.search_value="true"===h.is_search?h.slug:"",h.permalink=h.content.attr("data-seo-permalink"),h.pageview=h.content.attr("data-seo-pageview"),h.start_page=h.content.attr("data-seo-start-page"),h.seo_trailing_slash="false"===h.content.attr("data-seo-trailing-slash")?"":"/",h.seo_leading_slash="true"===h.content.attr("data-seo-leading-slash")?"/":"",h.start_page?(h.seo_scroll=h.content.attr("data-seo-scroll"),h.seo_scroll_speed=h.content.attr("data-seo-scroll-speed"),h.seo_scrolltop=h.content.attr("data-seo-scrolltop"),h.seo_controls=h.content.attr("data-seo-controls"),h.isPaged=!1,1<h.start_page&&(h.isPaged=!0,h.posts_per_page=h.start_page*h.posts_per_page),h.paging&&(h.posts_per_page=h.orginal_posts_per_page)):h.start_page=1,"true"===h.nextpage?(h.nextpage=!0,h.posts_per_page=1):h.nextpage=!1,void 0===h.nextpage_urls&&(h.nextpage_urls="true"),void 0===h.nextpage_scroll&&(h.nextpage_scroll="250:30"),void 0===h.nextpage_pageviews&&(h.nextpage_pageviews="true"),void 0===h.nextpage_post_id&&(h.nextpage=!1,h.nextpage_post_id=null),void 0===h.nextpage_startpage&&(h.nextpage_startpage=1),1<h.nextpage_startpage&&(h.isPaged=!0),h.acf="true"===h.acf,void 0!==h.acf_field_type&&void 0!==h.acf_field_name&&void 0!==h.acf_post_id||(h.acf=!1),"true"===h.previous_post?(h.previous_post=!0,h.previous_post_permalink="",h.previous_post_title="",h.previous_post_slug=""):h.previous_post=!1,void 0===h.previous_post_id&&(h.previous_post_id=""),void 0===h.previous_post_taxonomy&&(h.previous_post_taxonomy=""),void 0===h.previous_post_excluded_terms&&(h.previous_post_excluded_terms=""),h.previous_post_title_template=h.content.attr("data-previous-post-title-template"),h.siteTitle=h.content.attr("data-previous-post-site-title"),h.siteTagline=h.content.attr("data-previous-post-site-tagline"),h.previous_post_pageview=h.content.attr("data-previous-post-pageview"),h.previous_post_scroll=h.content.attr("data-previous-post-scroll"),h.previous_post_scroll_speed=h.content.attr("data-previous-post-scroll-speed"),h.previous_post_scroll_top=h.content.attr("data-previous-post-scrolltop"),h.previous_post_controls=h.content.attr("data-previous-post-controls"),h.offset=void 0===h.offset?0:h.offset,(void 0===h.pause||h.seo&&1<h.start_page)&&(h.pause=!1),"true"===h.preloaded&&h.seo&&0<h.start_page&&(h.pause=!1),"true"===h.preloaded&&h.paging&&(h.pause=!0),void 0===h.repeater&&(h.repeater="default"),h.theme_repeater=void 0!==h.theme_repeater&&h.theme_repeater,h.max_pages=void 0===h.max_pages||0===h.max_pages?1e4:h.max_pages,h.scroll_distance=void 0===h.scroll_distance?150:h.scroll_distance,h.scroll_container=void 0===h.scroll_container?"":h.scroll_container,h.transition=void 0===h.transition?"fade":h.transition,h.tcc=void 0===h.tcc?"":h.tcc,h.is_masonry_preloaded=!1,"masonry"===h.transition&&(h.masonry_init=!0,h.masonry_selector=h.content.attr("data-masonry-selector"),h.masonry_columnwidth=h.content.attr("data-masonry-columnwidth"),h.masonry_animation=h.content.attr("data-masonry-animation"),h.masonry_horizontalorder=h.content.attr("data-masonry-horizontalorder"),void 0===h.masonry_animation&&(h.masonry_animation="standard"),void 0===h.masonry_horizontalorder&&(h.masonry_horizontalorder="true"),h.masonry_wrap=h.content,h.transition_container=!1,"true"===h.preloaded&&(h.is_masonry_preloaded=!0)),void 0===h.content.attr("data-scroll")?h.scroll=!0:"false"===h.content.attr("data-scroll")?h.scroll=!1:h.scroll=!0,h.transition_container=void 0===h.transition_container||"true"===h.transition_container,h.images_loaded=void 0===h.images_loaded?"false":h.images_loaded,h.button_label=void 0===h.button_label?"Older Posts":h.button_label,h.button_loading_label=void 0!==h.button_loading_label&&h.button_loading_label,h.paging?h.content.parent().addClass("loading"):h.button=x(".alm-load-more-btn",h.container),h.AjaxLoadMore.loadPosts=function(){if(!h.disable_ajax)if(h.paging||(h.button.addClass("loading"),!1!==h.button_loading_label&&h.button.html(h.button_loading_label)),h.container.addClass("alm-loading"),h.loading=!0,"true"!==h.cache||h.cache_logged_in)h.AjaxLoadMore.ajax("standard");else{var t;if(h.init&&h.seo&&h.isPaged){t=h.cache_path+h.cache_id+"/page-1-"+h.start_page+".html"}else if(h.nextpage){var a;h.paging?a=parseInt(h.page)+1:(a=parseInt(h.page)+2,h.isPaged&&(a=parseInt(h.page)+parseInt(h.nextpage_startpage)+1)),t=h.cache_path+h.cache_id+"/page-"+a+".html"}else t=h.previous_post?h.cache_path+h.cache_id+"/"+h.previous_post_id+".html":h.cache_path+h.cache_id+"/page-"+(h.page+1)+".html";x.get(t,function(t){h.AjaxLoadMore.success(t,!0)}).fail(function(){h.AjaxLoadMore.ajax("standard")})}},h.AjaxLoadMore.ajax=function(a){var t="alm_query_posts";if(h.acf_array="",h.acf&&("relationship"!==h.acf_field_type&&(t="alm_acf_query"),h.acf_array={acf:"true",post_id:h.acf_post_id,field_type:h.acf_field_type,field_name:h.acf_field_name}),h.nextpage_array="",h.nextpage&&(t="alm_nextpage_query",h.nextpage_array={nextpage:"true",urls:h.nextpage_urls,scroll:h.nextpage_scroll,pageviews:h.nextpage_pageviews,post_id:h.nextpage_post_id,startpage:h.nextpage_startpage}),h.previous_post_array="",h.previous_post&&(h.previous_post_array={previous_post:"true",id:h.previous_post_id,slug:h.previous_post_slug}),h.comments_array="","true"===h.comments&&(t="alm_comments_query",h.posts_per_page=h.comments_per_page,h.comments_array={comments:"true",post_id:h.comments_post_id,per_page:h.comments_per_page,type:h.comments_type,style:h.comments_style,template:h.comments_template,callback:h.comments_callback}),h.users_array="",h.users&&(t="alm_users_query",h.users_array={users:"true",role:h.content.attr("data-users-role"),include:h.content.attr("data-users-include"),exclude:h.content.attr("data-users-exclude"),per_page:h.posts_per_page,order:h.content.attr("data-users-order"),orderby:h.content.attr("data-users-orderby")}),h.cta_array="","true"===h.cta&&(h.cta_array={cta:"true",cta_position:h.cta_position,cta_repeater:h.cta_repeater,cta_theme_repeater:h.cta_theme_repeater}),h.restapi){var i=wp.template(h.restapi_template_id),e=h.restapi_base_url+"/"+h.restapi_namespace+"/"+h.restapi_endpoint,o=almGetRestParams(h);x.ajax({type:"GET",url:e,data:o,dataType:"JSON",beforeSend:function(){1==h.page||h.paging||h.button.addClass("loading")},success:function(t){var e="",o=t.html,a=t.meta,n=a.postcount,r=a.totalposts;x.each(o,function(t){var a=o[t];"true"===h.restapi_debug&&console.log(a),e+=i(a)});var s={html:e,meta:{postcount:n,totalposts:r}};h.AjaxLoadMore.success(s,!1)}})}else{var n=almGetAjaxParams(h,t,a);x.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:n,beforeSend:function(){1==h.page||h.paging||h.button.addClass("loading")},success:function(t){"standard"===a?h.AjaxLoadMore.success(t,!1):"totalpages"===a&&h.paging&&h.nextpage?x.isFunction(x.fn.almBuildPagination)&&x.fn.almBuildPagination(t,h):"totalposts"===a&&h.paging&&x.isFunction(x.fn.almBuildPagination)&&x.fn.almBuildPagination(t,h)},error:function(t,a,e){h.AjaxLoadMore.error(t,a,e)}})}},h.paging&&(h.nextpage?h.AjaxLoadMore.ajax("totalpages"):h.AjaxLoadMore.ajax("totalposts")),h.AjaxLoadMore.success=function(t,a){h.previous_post&&h.AjaxLoadMore.getPreviousPost();var e,o,n,r='style="opacity: 0; height: 0;"';if(a?e=t:(e=t.html,o=t.meta,h.posts=h.posts+o.postcount,n=o.postcount,h.totalposts=o.totalposts,"true"===h.preloaded&&(h.totalposts=h.totalposts-h.preloaded_amount)),h.data=x(e),a&&(n=h.data.length),h.init&&(o&&o.totalposts&&h.el.attr("data-total-posts",o.totalposts),h.paging?0<n&&(h.el=x('<div class="alm-reveal'+h.tcc+'" '+r+"/>"),h.el.append('<div class="alm-paging-content'+h.tcc+'"></div><div class="alm-paging-loading"></div>'),x(".alm-paging-content",h.el).append(h.data),h.content.append(h.el),h.AjaxLoadMore.fadeIn(h.el.get(0),h.speed),h.content.parent().removeClass("loading"),h.AjaxLoadMore.resetBtnText(),setTimeout(function(){x(".alm-paging-content",h.el).fadeIn(h.speed,"alm_easeInOutQuad",function(){var t=parseInt(h.content.css("padding-top")),a=parseInt(h.content.css("padding-bottom"));h.content.css("height",h.el.height()+t+a+"px"),x.isFunction(x.fn.almFadePageControls)&&x.fn.almFadePageControls(h.btnWrap)})},h.speed)):h.button.html(h.button_label),0===n&&(h.paging&&x.isFunction(x.fn.almPagingEmpty)&&x.fn.almPagingEmpty(h),x.isFunction(x.fn.almEmpty)&&x.fn.almEmpty(h)),h.isPaged&&(h.posts_per_page=h.users?h.content.attr("data-users-per-page"):h.content.attr("data-posts-per-page"),h.page=h.start_page?h.start_page-1:h.page,h.filters&&h.filters_startpage&&(h.page=h.filters_startpage-1,h.posts_per_page=h.content.attr("data-posts-per-page")))),0<n){if(h.paging)h.init?(h.container.removeClass("alm-loading"),h.AjaxLoadMore.triggerAddons(h)):x(".alm-paging-content",h.el).html("").append(h.data).almWaitForImages().done(function(){x(".alm-paging-loading",h.el).fadeOut(h.speed),x.isFunction(x.fn.almOnPagingComplete)&&x.fn.almOnPagingComplete(h),h.container.removeClass("alm-loading"),h.AjaxLoadMore.triggerAddons(h)});else{if(h.previous_post)h.el=x('<div class="alm-reveal alm-previous-post post-'+h.previous_post_id+'" '+r+' data-id="'+h.previous_post_id+'" data-title="'+h.previous_post_title+'" data-url="'+h.previous_post_permalink+'" data-page="'+h.page+'"/>'),h.el.append(h.data);else if(h.transition_container){var s=void 0,i=window.location.search;if(h.init&&1<h.start_page){var l=[],d=[],p=parseInt(h.posts_per_page);Math.ceil(n/p);h.el=h.content,"true"===h.cta&&(p+=1,n=Math.ceil(n/p)+n);for(var c=0;c<n;c+=p)l.push(h.data.slice(c,p+c));for(var _=0;_<l.length;_++){var g="true"===h.preloaded?1:0,m=void 0;if(0<_||"true"===h.preloaded)s=_+1+g,m="default"===h.permalink?x('<div class="alm-reveal alm-seo'+h.tcc+'" data-url="'+h.canonical_url+h.search_value+"&paged="+s+'" data-page="'+s+'" />'):x('<div class="alm-reveal alm-seo'+h.tcc+'" data-url="'+h.canonical_url+h.seo_leading_slash+"page/"+s+h.seo_trailing_slash+h.search_value+'" data-page="'+s+'" />');else{var u=h.is_preloaded?" alm-preloaded":"";m=x('<div class="alm-reveal alm-seo'+u+h.tcc+'" data-url="'+h.canonical_url+h.search_value+'" data-page="1" />')}d.push(m.append(l[_]))}for(var f=0;f<d.length;f++)h.el.append(d[f]);h.el.get(0).style.opacity=0,h.el.get(0).style.height=0}else{if(h.seo&&0<h.page||"true"===h.preloaded){var y="true"===h.preloaded?1:0;s=h.page+1+y,h.seo?"default"===h.permalink?h.el=x('<div class="alm-reveal alm-seo'+h.tcc+'" '+r+' data-url="'+h.canonical_url+h.search_value+"&paged="+s+'" data-page="'+s+'" />'):h.el=x('<div class="alm-reveal alm-seo'+h.tcc+'" '+r+' data-url="'+h.canonical_url+h.seo_leading_slash+"page/"+s+h.seo_trailing_slash+h.search_value+'" data-page="'+s+'" />'):h.filters?h.el=x('<div class="alm-reveal alm-filters'+h.tcc+'" '+r+' data-url="'+h.canonical_url+i+'" data-page="'+s+'" />'):h.el=x('<div class="alm-reveal'+h.tcc+'" '+r+" />")}else h.filters?h.el=x('<div class="alm-reveal alm-filters'+h.tcc+'" '+r+' data-url="'+h.canonical_url+i+'" data-page="'+(h.page+1)+'" />'):h.seo?h.el=x('<div class="alm-reveal alm-seo'+h.tcc+'" '+r+' data-url="'+h.canonical_url+h.search_value+'" data-page="1" />'):h.el=x('<div class="alm-reveal'+h.tcc+'" '+r+" />");h.el.append(h.data)}}else h.el=h.data;("masonry"!==h.transition||h.init&&!h.is_masonry_preloaded)&&h.content.append(h.el),"masonry"===h.transition?(almMasonry(h.masonry_wrap,h.el,h.masonry_selector,h.masonry_columnwidth,h.masonry_animation,h.masonry_horizontalorder,h.speed,h.masonry_init,h.init,alm_is_filtering),h.masonry_init=!1,h.AjaxLoadMore.transitionEnd()):"none"===h.transition?(h.AjaxLoadMore.fadeIn(h.el.get(0),0),h.AjaxLoadMore.transitionEnd()):"true"===h.images_loaded?h.el.almWaitForImages().done(function(){h.transition_container&&h.AjaxLoadMore.fadeIn(h.el.get(0),h.speed),h.AjaxLoadMore.transitionEnd()}):(h.transition_container&&h.AjaxLoadMore.fadeIn(h.el.get(0),h.speed),h.AjaxLoadMore.transitionEnd())}x.isFunction(x.fn.almComplete)&&("true"===h.images_loaded?h.el.almWaitForImages().done(function(){x.fn.almComplete(h)}):x.fn.almComplete(h)),h.cache?n<h.posts_per_page&&h.AjaxLoadMore.triggerDone():h.posts>=h.totalposts&&!h.previous_post&&h.AjaxLoadMore.triggerDone()}else h.paging||(h.button.delay(h.speed).removeClass("loading").addClass("done"),h.AjaxLoadMore.resetBtnText()),h.AjaxLoadMore.triggerDone();if(void 0!==h.destroy_after&&""!==h.destroy_after){var v=h.page+1;"true"===h.preloaded&&v++,v==h.destroy_after&&h.AjaxLoadMore.destroyed()}alm_is_filtering=!1,h.init=!1},h.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,h.el=x('<div class="alm-reveal'+h.tcc+'"/>'),h.el.append('<div class="alm-paging-content">'+t+'</div><div class="alm-paging-loading"></div>'),h.content.append(h.el),h.content.parent().removeClass("loading"),h.AjaxLoadMore.resetBtnText();var a=parseInt(h.content.css("padding-top")),e=parseInt(h.content.css("padding-bottom"));h.content.css("height",h.el.height()+a+e+"px"),""===t&&(x.isFunction(x.fn.almPagingEmpty)&&x.fn.almPagingEmpty(h),x.isFunction(x.fn.almEmpty)&&x.fn.almEmpty(h)),setTimeout(function(){x.isFunction(x.fn.almFadePageControls)&&x.fn.almFadePageControls(h.btnWrap)},h.speed)},h.AjaxLoadMore.pagingNextpageInit=function(t){h.el=x('<div class="alm-reveal alm-nextpage"/>'),h.el.append('<div class="alm-paging-content">'+t+'</div><div class="alm-paging-loading"></div>'),h.el.appendTo(h.content),h.content.parent().removeClass("loading"),h.AjaxLoadMore.resetBtnText();var a=parseInt(h.content.css("padding-top")),e=parseInt(h.content.css("padding-bottom"));h.content.css("height",h.el.height()+a+e+"px"),x.isFunction(x.fn.almSetNextPageVars)&&x.fn.almSetNextPageVars(h),setTimeout(function(){x.isFunction(x.fn.almFadePageControls)&&x.fn.almFadePageControls(h.btnWrap),x.isFunction(x.fn.almOnWindowResize)&&x.fn.almOnWindowResize(h)},h.speed)},h.fetchingPreviousPost=!1,h.AjaxLoadMore.getPreviousPost=function(){h.fetchingPreviousPost=!0;var t={action:"alm_query_previous_post",id:h.previous_post_id,taxonomy:h.previous_post_taxonomy,excluded_terms:h.previous_post_excluded_terms};x.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:t,success:function(t){t.has_previous_post?(h.content.attr("data-previous-post-id",t.prev_id),h.previous_post_id=t.prev_id,h.previous_post_permalink=t.prev_permalink,h.previous_post_title=t.prev_title,h.previous_post_slug=t.prev_slug):t.has_previous_post||h.AjaxLoadMore.triggerDone(),x.isFunction(x.fn.almSetPreviousPost)&&x.fn.almSetPreviousPost(h,t.current_id,t.permalink,t.title),h.fetchingPreviousPost=!1},error:function(t,a,e){h.AjaxLoadMore.error(t,a,e),h.fetchingPreviousPost=!1}})},h.AjaxLoadMore.triggerAddons=function(t){x.isFunction(x.fn.almSEO)&&t.seo&&x.fn.almSEO(t,!1),x.isFunction(x.fn.almSetNextPage)&&x.fn.almSetNextPage(t)},h.AjaxLoadMore.triggerDone=function(){h.loading=!1,h.finished=!0,h.paging||h.button.addClass("done"),x.isFunction(x.fn.almDone)&&setTimeout(function(){x.fn.almDone(h)},h.speed+10)},h.AjaxLoadMore.resetBtnText=function(){!1===h.button_loading_label||h.paging||h.button.html(h.button_label)},h.AjaxLoadMore.error=function(t,a,e){h.loading=!1,h.paging||(h.button.removeClass("loading"),h.AjaxLoadMore.resetBtnText()),console.log(e)},h.paging||h.fetchingPreviousPost||(h.button.unbind("click"),h.button.on("click",function(t){t.preventDefault(),"true"===h.pause&&(h.pause=!1,h.pause_override=!1,h.AjaxLoadMore.loadPosts()),h.loading||h.finished||x(this).hasClass("done")||(h.loading=!0,h.page++,h.AjaxLoadMore.loadPosts()),h.filters&&"function"==typeof almFiltersPaged&&almFiltersPaged(h)})),h.paging&&(h.window.unbind("resizeEnd"),h.window.bind("resizeEnd",function(){x.isFunction(x.fn.almOnWindowResize)&&x.fn.almOnWindowResize(h)}),h.window.unbind("resize"),h.window.bind("resize",function(){this.resizeTO&&clearTimeout(this.resizeTO),this.resizeTO=setTimeout(function(){x(this).trigger("resizeEnd")},h.speed)})),h.AjaxLoadMore.isVisible=function(){return h.visible=!1,h.el.is(":visible")&&(h.visible=!0),h.visible},h.scroll&&!h.paging&&(""!==h.scroll_container&&x(h.scroll_container).length&&(h.window=x(h.scroll_container)),h.window.bind("scroll touchstart",function(){if(h.AjaxLoadMore.isVisible()&&!h.fetchingPreviousPost){var t=h.button.offset().top,a=Math.round(t-(h.window.height()-h.scroll_distance)),e=h.window.scrollTop()>=a;""!==h.scroll_container&&(e=h.button.offset().top-(h.window.height()-h.scroll_distance)<h.window.offset().top),!h.loading&&!h.finished&&e&&h.page<h.max_pages-1&&h.proceed&&"true"===h.pause&&"true"===h.pause_override?h.button.trigger("click"):!h.loading&&!h.finished&&e&&h.page<h.max_pages-1&&h.proceed&&"true"!==h.pause&&h.button.trigger("click")}})),h.AjaxLoadMore.destroyed=function(){h.disable_ajax=!0,h.paging||(h.button.delay(h.speed).fadeOut(h.speed),x.isFunction(x.fn.almDestroyed)&&x.fn.almDestroyed(h))},h.AjaxLoadMore.fadeIn=function(t,a){if(0==a)t.style.opacity=1,t.style.height="auto";else{a/=10;var e=0,o=setInterval(function(){.9<e&&(t.style.opacity=1,clearInterval(o)),t.style.opacity=e,e+=.1},a);t.style.height="auto"}},h.AjaxLoadMore.transitionEnd=function(){setTimeout(function(){h.loading=!1,h.container.removeClass("alm-loading"),h.AjaxLoadMore.triggerAddons(h),h.paging||(h.button.delay(h.speed).removeClass("loading"),h.AjaxLoadMore.resetBtnText())},h.speed)},h.AjaxLoadMore.init=function(){("true"===h.preloaded&&1==h.destroy_after&&h.AjaxLoadMore.destroyed(),h.paging||h.previous_post||(h.disable_ajax?(h.finished=!0,h.button.addClass("done")):"true"===h.pause?(h.button.html(h.button_label),h.loading=!1):h.AjaxLoadMore.loadPosts()),h.previous_post&&(h.AjaxLoadMore.getPreviousPost(),h.loading=!1),"true"===h.preloaded&&h.seo&&!h.paging&&setTimeout(function(){x.isFunction(x.fn.almSEO)&&h.start_page<1&&x.fn.almSEO(h,!0)},h.speed),"true"!==h.preloaded||h.paging||setTimeout(function(){h.preloaded_total_posts<=parseInt(h.preloaded_amount)&&h.AjaxLoadMore.triggerDone(),0==h.preloaded_total_posts&&x.isFunction(x.fn.almEmpty)&&x.fn.almEmpty(h)},h.speed),h.nextpage)&&(1<x(".alm-nextpage").length&&x(".alm-nextpage").length==x(".alm-nextpage").eq(0).data("total-pages")&&h.AjaxLoadMore.triggerDone());h.window.bind("load",function(){h.is_masonry_preloaded&&(almMasonry(h.masonry_wrap,h.el,h.masonry_selector,h.masonry_columnwidth,h.masonry_animation,h.masonry_horizontalorder,h.speed,h.masonry_init,!0,!1),h.masonry_init=!1)})},h.AjaxLoadMore.init(),setTimeout(function(){h.proceed=!0},150),x.fn.almUpdateCurrentPage=function(t,a,e){e.page=t,e.nextpage&&!e.paging&&(e.page=e.page-1);var o="";e.paging_init&&"true"===e.preloaded?(o=x(".alm-reveal",e.el).html(),x(".alm-reveal",e.el).remove(),e.preloaded_amount=0,e.AjaxLoadMore.pagingPreloadedInit(o),e.paging_init=!1,e.init=!1):e.paging_init&&e.nextpage?(o=x(".alm-nextpage",e.el).html(),x(".alm-nextpage",e.el).remove(),e.AjaxLoadMore.pagingNextpageInit(o),e.paging_init=!1,e.init=!1):e.AjaxLoadMore.loadPosts()},x.fn.almGetParentContainer=function(){return h.el.closest("#ajax-load-more")},x.fn.almGetObj=function(){return h},x.fn.almTriggerClick=function(){h.button.trigger("click")},x.easing.alm_easeInOutQuad=function(t,a,e,o,n){return(a/=n/2)<1?o/2*a*a+e:-o/2*(--a*(a-2)-1)+e}},x.fn.ajaxloadmore=function(){return this.each(function(t){new x.ajaxloadmore(x(this),t)})};var t=document.querySelectorAll(".ajax-load-more-wrap");t.length&&[].concat(_toConsumableArray(t)).forEach(function(t,a){new x.ajaxloadmore(x(t),a)})}(jQuery);var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(require("jquery")):t(jQuery)}(function(g){var m="almWaitForImages";g.almWaitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},g.expr[":"]["has-src"]=function(t){return g(t).is('img[src][src!=""]')},g.expr[":"].uncached=function(t){return!!g(t).is(":has-src")&&!t.complete},g.fn.almWaitForImages=function(){var l,d,e,p=0,c=0,_=g.Deferred();if(g.isPlainObject(arguments[0])?(e=arguments[0].waitForAll,d=arguments[0].each,l=arguments[0].finished):1===arguments.length&&"boolean"===g.type(arguments[0])?e=arguments[0]:(l=arguments[0],d=arguments[1],e=arguments[2]),l=l||g.noop,d=d||g.noop,e=!!e,!g.isFunction(l)||!g.isFunction(d))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=g(this),s=[],t=g.almWaitForImages.hasImageProperties||[],a=g.almWaitForImages.hasImageAttributes||[],i=/url\(\s*(['"]?)(.*?)\1\s*\)/g;e?r.find("*").addBack().each(function(){var n=g(this);n.is("img:has-src")&&s.push({src:n.attr("src"),element:n[0]}),g.each(t,function(t,a){var e,o=n.css(a);if(!o)return!0;for(;e=i.exec(o);)s.push({src:e[2],element:n[0]})}),g.each(a,function(t,a){var e,o=n.attr(a);if(!o)return!0;e=o.split(","),g.each(e,function(t,a){a=g.trim(a).split(" ")[0],s.push({src:a,element:n[0]})})})}):r.find("img:has-src").each(function(){s.push({src:this.src,element:this})}),p=s.length,(c=0)===p&&(l.call(r[0]),_.resolveWith(r[0])),g.each(s,function(t,o){var a=new Image,n="load."+m+" error."+m;g(a).one(n,function t(a){var e=[c,p,"load"==a.type];if(c++,d.apply(o.element,e),_.notifyWith(o.element,e),g(this).off(n,t),c==p)return l.call(r[0]),_.resolveWith(r[0]),!1}),a.src=o.src})}),_.promise()}});
1
+ "use strict";Array.from||(Array.from=function(){var a=Object.prototype.toString,l=function(t){return"function"==typeof t||"[object Function]"===a.call(t)},o=Math.pow(2,53)-1,d=function(t){var a,e=(a=Number(t),isNaN(a)?0:0!==a&&isFinite(a)?(0<a?1:-1)*Math.floor(Math.abs(a)):a);return Math.min(Math.max(e,0),o)};return function(t){var a=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var e,o=1<arguments.length?arguments[1]:void 0;if(void 0!==o){if(!l(o))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(e=arguments[2])}for(var n,r=d(a.length),s=l(this)?Object(new this(r)):new Array(r),i=0;i<r;)n=a[i],s[i]=o?void 0===e?o(n,i):o.call(e,n,i):n,i+=1;return s.length=r,s}}());var almGetParameterByName=function(t,a){a||(a=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var e=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(a);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null},almGetAjaxParams=function(t,a,e){var o={action:a,nonce:alm_localize.alm_nonce,query_type:e,id:t.id,post_id:t.post_id,slug:t.slug,canonical_url:t.canonical_url,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,post_type:t.post_type,repeater:t.repeater,seo_start_page:t.start_page};return t.theme_repeater&&(o.theme_repeater=t.theme_repeater),t.paging&&(o.paging=t.paging),t.preloaded&&(o.preloaded=t.preloaded,o.preloaded_amount=t.preloaded_amount),"true"===t.cache&&(o.cache_id=t.cache_id,o.cache_logged_in=t.cache_logged_in),t.acf_array&&(o.acf=t.acf_array),t.cta_array&&(o.cta=t.cta_array),t.comments_array&&(o.comments=t.comments_array),t.nextpage_array&&(o.nextpage=t.nextpage_array),t.previous_post_array&&(o.previous_post=t.previous_post_array),t.users_array&&(o.users=t.users_array),t.content.attr("data-lang")&&(o.lang=t.content.attr("data-lang")),t.content.attr("data-sticky-posts")&&(o.sticky_posts=t.content.attr("data-sticky-posts")),t.content.attr("data-post-format")&&(o.post_format=t.content.attr("data-post-format")),t.content.attr("data-category")&&(o.category=t.content.attr("data-category")),t.content.attr("data-category-and")&&(o.category__and=t.content.attr("data-category-and")),t.content.attr("data-category-not-in")&&(o.category__not_in=t.content.attr("data-category-not-in")),t.content.attr("data-tag")&&(o.tag=t.content.attr("data-tag")),t.content.attr("data-tag-and")&&(o.tag__and=t.content.attr("data-tag-and")),t.content.attr("data-tag-not-in")&&(o.tag__not_in=t.content.attr("data-tag-not-in")),t.content.attr("data-taxonomy")&&(o.taxonomy=t.content.attr("data-taxonomy")),t.content.attr("data-taxonomy-terms")&&(o.taxonomy_terms=t.content.attr("data-taxonomy-terms")),t.content.attr("data-taxonomy-operator")&&(o.taxonomy_operator=t.content.attr("data-taxonomy-operator")),t.content.attr("data-taxonomy-relation")&&(o.taxonomy_relation=t.content.attr("data-taxonomy-relation")),t.content.attr("data-meta-key")&&(o.meta_key=t.content.attr("data-meta-key")),t.content.attr("data-meta-value")&&(o.meta_value=t.content.attr("data-meta-value")),t.content.attr("data-meta-compare")&&(o.meta_compare=t.content.attr("data-meta-compare")),t.content.attr("data-meta-relation")&&(o.meta_relation=t.content.attr("data-meta-relation")),t.content.attr("data-meta-type")&&(o.meta_type=t.content.attr("data-meta-type")),t.content.attr("data-author")&&(o.author=t.content.attr("data-author")),t.content.attr("data-year")&&(o.year=t.content.attr("data-year")),t.content.attr("data-month")&&(o.month=t.content.attr("data-month")),t.content.attr("data-day")&&(o.day=t.content.attr("data-day")),t.content.attr("data-order")&&(o.order=t.content.attr("data-order")),t.content.attr("data-orderby")&&(o.orderby=t.content.attr("data-orderby")),t.content.attr("data-post-status")&&(o.post_status=t.content.attr("data-post-status")),t.content.attr("data-post-in")&&(o.post__in=t.content.attr("data-post-in")),t.content.attr("data-post-not-in")&&(o.post__not_in=t.content.attr("data-post-not-in")),t.content.attr("data-exclude")&&(o.exclude=t.content.attr("data-exclude")),t.content.attr("data-search")&&(o.search=t.content.attr("data-search")),t.content.attr("data-s")&&(o.search=t.content.attr("data-s")),t.content.attr("data-custom-args")&&(o.custom_args=t.content.attr("data-custom-args")),o},almGetRestParams=function(t){return{id:t.id,post_id:t.post_id,posts_per_page:t.posts_per_page,page:t.page,offset:t.offset,slug:t.slug,canonical_url:t.canonical_url,post_type:t.post_type,post_format:t.content.attr("data-post-format"),category:t.content.attr("data-category"),category__not_in:t.content.attr("data-category-not-in"),tag:t.content.attr("data-tag"),tag__not_in:t.content.attr("data-tag-not-in"),taxonomy:t.content.attr("data-taxonomy"),taxonomy_terms:t.content.attr("data-taxonomy-terms"),taxonomy_operator:t.content.attr("data-taxonomy-operator"),taxonomy_relation:t.content.attr("data-taxonomy-relation"),meta_key:t.content.attr("data-meta-key"),meta_value:t.content.attr("data-meta-value"),meta_compare:t.content.attr("data-meta-compare"),meta_relation:t.content.attr("data-meta-relation"),meta_type:t.content.attr("data-meta-type"),author:t.content.attr("data-author"),year:t.content.attr("data-year"),month:t.content.attr("data-month"),day:t.content.attr("data-day"),post_status:t.content.attr("data-post-status"),order:t.content.attr("data-order"),orderby:t.content.attr("data-orderby"),post__in:t.content.attr("data-post-in"),post__not_in:t.content.attr("data-post-not-in"),search:t.content.attr("data-search"),custom_args:t.content.attr("data-custom-args"),lang:t.lang,preloaded:t.preloaded,preloaded_amount:t.preloaded_amount,seo_start_page:t.start_page}};function _toConsumableArray(t){if(Array.isArray(t)){for(var a=0,e=Array(t.length);a<t.length;a++)e[a]=t[a];return e}return Array.from(t)}var alm_is_filtering=!1;!function(r){r.fn.almFilter=function(e,o,n){n.target?r(".ajax-load-more-wrap[data-id='"+n.target+"']").each(function(t){var a=r(this);r.fn.almFilterTransition(e,o,n,a)}):r(".ajax-load-more-wrap").each(function(t){var a=r(this);r.fn.almFilterTransition(e,o,n,a)})},r.fn.almFilterTransition=function(t,a,e,o){"slide"===t?o.slideUp(a,function(){n(a,e,o)}):"fade"===t||"masonry"===t?o.fadeOut(a,function(){n(a,e,o)}):n(a,e,o)};var n=function(t,a,e){var o=e.get(0),n=o.querySelectorAll(".alm-listing");[].concat(_toConsumableArray(n)).forEach(function(t){t.innerHTML=""});var r=o.querySelector(".alm-load-more-btn");r&&r.classList.remove("done"),s(t,a,e)},s=function(t,a,e){r.each(a,function(t,a){t=t.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2"),r(".alm-listing",e).attr("data-"+t,a)}),e.fadeIn(t),alm_is_filtering=!0,a.target?r(".ajax-load-more-wrap[data-id="+a.target+"]").ajaxloadmore():r(".ajax-load-more-wrap").ajaxloadmore()}}(jQuery);var almMasonry=function t(o,a,n,r,e,s,i,l,d,p){var c=(i+100)/1e3+"s",_="scale(0.5)",g="scale(1)";"zoom-out"===e&&(_="translateY(-20px) scale(1.25)",g="translateY(0) scale(1)"),"slide-up"===e&&(_="translateY(50px)",g="translateY(0)"),"slide-down"===e&&(_="translateY(-50px)",g="translateY(0)"),"none"===e&&(g=_="translateY(0)"),r?isNaN(r)||(r=parseInt(r)):r=n,s="true"===s,p?(o.masonry("destroy"),o[0].parentNode.style.opacity=0,o.append(a),t(o,a,n,r,e,s,i,!0,!0,!1)):l&&d?o.imagesLoaded(function(){var a={itemSelector:n,transitionDuration:c,columnWidth:r,horizontalOrder:s,hiddenStyle:{transform:_,opacity:0},visibleStyle:{transform:g,opacity:1}},e=e;e&&Object.keys(e).forEach(function(t){a[t]=e[t]}),o.masonry(a),almMasonryFadeIn(o[0].parentNode,i)}):a.imagesLoaded(function(){o.append(a).masonry("appended",a)})},almMasonryFadeIn=function(t,a){a/=10;var e=parseInt(t.style.opacity),o=setInterval(function(){.9<e&&(t.style.opacity=1,clearInterval(o)),t.style.opacity=e,e+=.1},a)};function _toConsumableArray(t){if(Array.isArray(t)){for(var a=0,e=Array(t.length);a<t.length;a++)e[a]=t[a];return e}return Array.from(t)}!function(b){b.ajaxloadmore=function(h,t){"true"===alm_localize.scrolltop&&b(window).scrollTop(0);var x=this;if(x.AjaxLoadMore={},x.window=b(window),x.page=0,x.posts=0,x.totalposts=0,x.proceed=!1,x.disable_ajax=!1,x.init=!0,x.loading=!0,x.finished=!1,x.prefix="alm-",x.el=h,x.master_id=x.el.get(0).id,x.container=h,x.container.addClass("alm-"+t).attr("data-alm-id",t),x.content=b(".alm-ajax",x.container),x.content_preloaded=b(".alm-preloaded",x.container),x.canonical_url=x.el.attr("data-canonical-url"),x.is_search=x.el.attr("data-search"),x.slug=x.el.attr("data-slug"),x.post_id=x.el.attr("data-post-id"),x.id=x.el.attr("data-id")?x.el.attr("data-id"):"",x.repeater=x.content.attr("data-repeater"),x.theme_repeater=x.content.attr("data-theme-repeater"),x.post_type=x.content.attr("data-post-type"),x.post_type=x.post_type.split(","),x.sticky_posts=x.content.attr("data-sticky-posts"),x.btnWrap=b(".alm-btn-wrap",x.container),x.btnWrap.get(0).style.visibility="visible",x.button_label=x.content.attr("data-button-label"),x.button_loading_label=x.content.attr("data-button-loading-label"),x.scroll_distance=x.content.attr("data-scroll-distance"),x.scroll_distance=x.scroll_distance?parseInt(x.scroll_distance):150,x.scroll_container=x.content.attr("data-scroll-container"),x.max_pages=x.content.attr("data-max-pages"),x.max_pages=x.max_pages?parseInt(x.max_pages):0,x.pause_override=x.content.attr("data-pause-override"),x.pause=x.content.attr("data-pause"),x.transition=x.content.attr("data-transition"),x.transition_container=x.content.attr("data-transition-container"),x.tcc=x.content.attr("data-transition-container-classes"),x.speed=250,x.images_loaded=x.content.attr("data-images-loaded"),x.destroy_after=x.content.attr("data-destroy-after"),x.orginal_posts_per_page=x.content.attr("data-posts-per-page"),x.posts_per_page=x.content.attr("data-posts-per-page"),x.offset=x.content.attr("data-offset"),x.cache=x.content.attr("data-cache"),x.cache_id=x.content.attr("data-cache-id"),x.cache_path=x.content.attr("data-cache-path"),x.cache_logged_in=x.content.attr("data-cache-logged-in"),x.cta=x.content.attr("data-cta"),x.cta_position=x.content.attr("data-cta-position"),x.cta_repeater=x.content.attr("data-cta-repeater"),x.cta_theme_repeater=x.content.attr("data-cta-theme-repeater"),x.acf=x.content.attr("data-acf"),x.acf_field_type=x.content.attr("data-acf-field-type"),x.acf_field_name=x.content.attr("data-acf-field-name"),x.acf_post_id=x.content.attr("data-acf-post-id"),x.nextpage=x.content.attr("data-nextpage"),x.nextpage_urls=x.content.attr("data-nextpage-urls"),x.nextpage_scroll=x.content.attr("data-nextpage-scroll"),x.nextpage_pageviews=x.content.attr("data-nextpage-pageviews"),x.nextpage_post_id=x.content.attr("data-nextpage-post-id"),x.nextpage_startpage=x.content.attr("data-nextpage-startpage"),x.previous_post=x.content.attr("data-previous-post"),x.previous_post_id=x.content.attr("data-previous-post-id"),x.previous_post_taxonomy=x.content.attr("data-previous-post-taxonomy"),x.previous_post_excluded_terms=x.content.attr("data-previous-post-excluded-terms"),x.comments=x.content.attr("data-comments"),"true"===x.comments&&(x.content=b(".alm-comments",x.container)),x.comments_post_id=x.content.attr("data-comments_post_id"),x.comments_per_page=x.content.attr("data-comments_per_page"),x.comments_type=x.content.attr("data-comments_type"),x.comments_style=x.content.attr("data-comments_style"),x.comments_template=x.content.attr("data-comments_template"),x.comments_callback=x.content.attr("data-comments_callback"),x.filters=x.content.attr("data-filters"),x.restapi=x.content.attr("data-restapi"),x.restapi_base_url=x.content.attr("data-restapi-base-url"),x.restapi_namespace=x.content.attr("data-restapi-namespace"),x.restapi_endpoint=x.content.attr("data-restapi-endpoint"),x.restapi_template_id=x.content.attr("data-restapi-template-id"),x.restapi_debug=x.content.attr("data-restapi-debug"),x.seo=x.content.attr("data-seo"),x.preloaded=x.content.attr("data-preloaded"),x.preloaded_amount=x.content.attr("data-preloaded-amount"),x.is_preloaded="true"===x.content.attr("data-is-preloaded"),x.paging=x.content.attr("data-paging"),x.users="true"===x.content.attr("data-users"),x.users&&(x.orginal_posts_per_page=x.content.attr("data-users-per-page"),x.posts_per_page=x.content.attr("data-users-per-page")),"true"===x.filters){x.filters=!0,x.filters_analtyics=x.content.attr("data-filters-analtyics"),x.filters_debug=x.content.attr("data-filters-debug"),x.filters_startpage=0;var a=almGetParameterByName("pg");null!==a&&(x.filters_startpage=parseInt(a),x.page=x.filters_startpage),x.isPaged=!1,0<x.filters_startpage&&(x.isPaged=!0,x.page=x.filters_startpage-1)}else x.filters=!1;if("true"===x.restapi?(x.restapi=!0,void 0===x.restapi_debug&&(x.restapi_debug=!1),""===x.restapi_template_id&&(x.restapi=!1)):x.restapi=!1,"true"===x.paging?(x.paging=!0,x.paging_controls=!!x.content.attr("data-paging-controls"),x.paging_show_at_most=x.content.attr("data-paging-show-at-most"),x.paging_classes=x.content.attr("data-paging-classes"),x.paging_init=!0,x.paging_show_at_most=void 0===x.paging_show_at_most?7:x.paging_show_at_most,x.pause="true"===x.preloaded||x.pause):x.paging=!1,void 0===x.cache&&(x.cache=!1),void 0===x.cache_logged_in&&(x.cache_logged_in=!1),void 0===x.comments_per_page&&(x.comments_per_page="5"),"true"===x.preloaded){x.preloaded_amount=void 0===x.preloaded_amount?x.posts_per_page:x.preloaded_amount;var e=x.master_id.replace(/-/g,"_");e+="_vars";var o=window[e];o&&o.total_posts&&parseInt(o.total_posts)<=parseInt(x.preloaded_amount)&&(x.preloaded_total_posts=o.total_posts,x.disable_ajax=!0)}else x.preloaded="false";void 0===x.seo&&(x.seo=!1),"true"===x.seo&&(x.seo=!0),void 0===x.is_search&&(x.is_search=!1),x.search_value="true"===x.is_search?x.slug:"",x.permalink=x.content.attr("data-seo-permalink"),x.pageview=x.content.attr("data-seo-pageview"),x.start_page=x.content.attr("data-seo-start-page"),x.seo_trailing_slash="false"===x.content.attr("data-seo-trailing-slash")?"":"/",x.seo_leading_slash="true"===x.content.attr("data-seo-leading-slash")?"/":"",x.start_page?(x.seo_scroll=x.content.attr("data-seo-scroll"),x.seo_scroll_speed=x.content.attr("data-seo-scroll-speed"),x.seo_scrolltop=x.content.attr("data-seo-scrolltop"),x.seo_controls=x.content.attr("data-seo-controls"),x.isPaged=!1,1<x.start_page&&(x.isPaged=!0,x.posts_per_page=x.start_page*x.posts_per_page),x.paging&&(x.posts_per_page=x.orginal_posts_per_page)):x.start_page=1,"true"===x.nextpage?(x.nextpage=!0,x.posts_per_page=1):x.nextpage=!1,void 0===x.nextpage_urls&&(x.nextpage_urls="true"),void 0===x.nextpage_scroll&&(x.nextpage_scroll="250:30"),void 0===x.nextpage_pageviews&&(x.nextpage_pageviews="true"),void 0===x.nextpage_post_id&&(x.nextpage=!1,x.nextpage_post_id=null),void 0===x.nextpage_startpage&&(x.nextpage_startpage=1),1<x.nextpage_startpage&&(x.isPaged=!0),x.acf="true"===x.acf,void 0!==x.acf_field_type&&void 0!==x.acf_field_name&&void 0!==x.acf_post_id||(x.acf=!1),"true"===x.previous_post?(x.previous_post=!0,x.previous_post_permalink="",x.previous_post_title="",x.previous_post_slug=""):x.previous_post=!1,void 0===x.previous_post_id&&(x.previous_post_id=""),void 0===x.previous_post_taxonomy&&(x.previous_post_taxonomy=""),void 0===x.previous_post_excluded_terms&&(x.previous_post_excluded_terms=""),x.previous_post_title_template=x.content.attr("data-previous-post-title-template"),x.siteTitle=x.content.attr("data-previous-post-site-title"),x.siteTagline=x.content.attr("data-previous-post-site-tagline"),x.previous_post_pageview=x.content.attr("data-previous-post-pageview"),x.previous_post_scroll=x.content.attr("data-previous-post-scroll"),x.previous_post_scroll_speed=x.content.attr("data-previous-post-scroll-speed"),x.previous_post_scroll_top=x.content.attr("data-previous-post-scrolltop"),x.previous_post_controls=x.content.attr("data-previous-post-controls"),x.offset=void 0===x.offset?0:x.offset,(void 0===x.pause||x.seo&&1<x.start_page)&&(x.pause=!1),"true"===x.preloaded&&x.seo&&0<x.start_page&&(x.pause=!1),"true"===x.preloaded&&x.paging&&(x.pause=!0),void 0===x.repeater&&(x.repeater="default"),x.theme_repeater=void 0!==x.theme_repeater&&x.theme_repeater,x.max_pages=void 0===x.max_pages||0===x.max_pages?1e4:x.max_pages,x.scroll_distance=void 0===x.scroll_distance?150:x.scroll_distance,x.scroll_container=void 0===x.scroll_container?"":x.scroll_container,x.transition=void 0===x.transition?"fade":x.transition,x.tcc=void 0===x.tcc?"":x.tcc,x.is_masonry_preloaded=!1,"masonry"===x.transition&&(x.masonry_init=!0,x.masonry_selector=x.content.attr("data-masonry-selector"),x.masonry_columnwidth=x.content.attr("data-masonry-columnwidth"),x.masonry_animation=x.content.attr("data-masonry-animation"),x.masonry_horizontalorder=x.content.attr("data-masonry-horizontalorder"),void 0===x.masonry_animation&&(x.masonry_animation="standard"),void 0===x.masonry_horizontalorder&&(x.masonry_horizontalorder="true"),x.masonry_wrap=x.content,x.transition_container=!1,"true"===x.preloaded&&(x.is_masonry_preloaded=!0)),void 0===x.content.attr("data-scroll")?x.scroll=!0:"false"===x.content.attr("data-scroll")?x.scroll=!1:x.scroll=!0,x.transition_container=void 0===x.transition_container||"true"===x.transition_container,x.images_loaded=void 0===x.images_loaded?"false":x.images_loaded,x.button_label=void 0===x.button_label?"Older Posts":x.button_label,x.button_loading_label=void 0!==x.button_loading_label&&x.button_loading_label,x.paging?x.content.parent().addClass("loading"):x.button=b(".alm-load-more-btn",x.container),x.AjaxLoadMore.loadPosts=function(){if(!x.disable_ajax)if(x.paging||(x.button.addClass("loading"),!1!==x.button_loading_label&&x.button.html(x.button_loading_label)),x.container.addClass("alm-loading"),x.loading=!0,"true"!==x.cache||x.cache_logged_in)x.AjaxLoadMore.ajax("standard");else{var t;if(x.init&&x.seo&&x.isPaged){t=x.cache_path+x.cache_id+"/page-1-"+x.start_page+".html"}else if(x.nextpage){var a;x.paging?a=parseInt(x.page)+1:(a=parseInt(x.page)+2,x.isPaged&&(a=parseInt(x.page)+parseInt(x.nextpage_startpage)+1)),t=x.cache_path+x.cache_id+"/page-"+a+".html"}else t=x.previous_post?x.cache_path+x.cache_id+"/"+x.previous_post_id+".html":x.cache_path+x.cache_id+"/page-"+(x.page+1)+".html";b.get(t,function(t){x.AjaxLoadMore.success(t,!0)}).fail(function(){x.AjaxLoadMore.ajax("standard")})}},x.AjaxLoadMore.ajax=function(a){var t="alm_query_posts";if(x.acf_array="",x.acf&&("relationship"!==x.acf_field_type&&(t="alm_acf_query"),x.acf_array={acf:"true",post_id:x.acf_post_id,field_type:x.acf_field_type,field_name:x.acf_field_name}),x.nextpage_array="",x.nextpage&&(t="alm_nextpage_query",x.nextpage_array={nextpage:"true",urls:x.nextpage_urls,scroll:x.nextpage_scroll,pageviews:x.nextpage_pageviews,post_id:x.nextpage_post_id,startpage:x.nextpage_startpage}),x.previous_post_array="",x.previous_post&&(x.previous_post_array={previous_post:"true",id:x.previous_post_id,slug:x.previous_post_slug}),x.comments_array="","true"===x.comments&&(t="alm_comments_query",x.posts_per_page=x.comments_per_page,x.comments_array={comments:"true",post_id:x.comments_post_id,per_page:x.comments_per_page,type:x.comments_type,style:x.comments_style,template:x.comments_template,callback:x.comments_callback}),x.users_array="",x.users&&(t="alm_users_query",x.users_array={users:"true",role:x.content.attr("data-users-role"),include:x.content.attr("data-users-include"),exclude:x.content.attr("data-users-exclude"),per_page:x.posts_per_page,order:x.content.attr("data-users-order"),orderby:x.content.attr("data-users-orderby")}),x.cta_array="","true"===x.cta&&(x.cta_array={cta:"true",cta_position:x.cta_position,cta_repeater:x.cta_repeater,cta_theme_repeater:x.cta_theme_repeater}),x.restapi){var i=wp.template(x.restapi_template_id),e=x.restapi_base_url+"/"+x.restapi_namespace+"/"+x.restapi_endpoint,o=almGetRestParams(x);b.ajax({type:"GET",url:e,data:o,dataType:"JSON",beforeSend:function(){1==x.page||x.paging||x.button.addClass("loading")},success:function(t){var e="",o=t.html,a=t.meta,n=a.postcount,r=a.totalposts;b.each(o,function(t){var a=o[t];"true"===x.restapi_debug&&console.log(a),e+=i(a)});var s={html:e,meta:{postcount:n,totalposts:r}};x.AjaxLoadMore.success(s,!1)}})}else{var n=almGetAjaxParams(x,t,a);b.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:n,beforeSend:function(){1==x.page||x.paging||x.button.addClass("loading")},success:function(t){"standard"===a?x.AjaxLoadMore.success(t,!1):"totalpages"===a&&x.paging&&x.nextpage?b.isFunction(b.fn.almBuildPagination)&&b.fn.almBuildPagination(t,x):"totalposts"===a&&x.paging&&b.isFunction(b.fn.almBuildPagination)&&b.fn.almBuildPagination(t,x)},error:function(t,a,e){x.AjaxLoadMore.error(t,a,e)}})}},x.paging&&(x.nextpage?x.AjaxLoadMore.ajax("totalpages"):x.AjaxLoadMore.ajax("totalposts")),x.AjaxLoadMore.success=function(t,a){x.previous_post&&x.AjaxLoadMore.getPreviousPost();var e,o,n,r='style="opacity: 0; height: 0;"';if(a?e=t:(e=t.html,o=t.meta,x.posts=x.posts+o.postcount,n=o.postcount,x.totalposts=o.totalposts,"true"===x.preloaded&&(x.totalposts=x.totalposts-x.preloaded_amount)),x.data=b(e),a&&(n=x.data.length),x.init&&(o&&o.totalposts&&x.el.attr("data-total-posts",o.totalposts),x.paging?0<n&&(x.el=b('<div class="alm-reveal'+x.tcc+'" '+r+"/>"),x.el.append('<div class="alm-paging-content'+x.tcc+'"></div><div class="alm-paging-loading"></div>'),b(".alm-paging-content",x.el).append(x.data),x.content.append(x.el),x.AjaxLoadMore.fadeIn(x.el.get(0),x.speed),x.content.parent().removeClass("loading"),x.AjaxLoadMore.resetBtnText(),setTimeout(function(){b(".alm-paging-content",x.el).fadeIn(x.speed,"alm_easeInOutQuad",function(){var t=parseInt(x.content.css("padding-top")),a=parseInt(x.content.css("padding-bottom"));x.content.css("height",x.el.height()+t+a+"px"),b.isFunction(b.fn.almFadePageControls)&&b.fn.almFadePageControls(x.btnWrap)})},x.speed)):x.button.html(x.button_label),0===n&&(x.paging&&b.isFunction(b.fn.almPagingEmpty)&&b.fn.almPagingEmpty(x),b.isFunction(b.fn.almEmpty)&&b.fn.almEmpty(x)),x.isPaged&&(x.posts_per_page=x.users?x.content.attr("data-users-per-page"):x.content.attr("data-posts-per-page"),x.page=x.start_page?x.start_page-1:x.page,x.filters&&x.filters_startpage&&(x.page=x.filters_startpage-1,x.posts_per_page=x.content.attr("data-posts-per-page")))),0<n){if(x.paging)x.init?(x.container.removeClass("alm-loading"),x.AjaxLoadMore.triggerAddons(x)):b(".alm-paging-content",x.el).html("").append(x.data).almWaitForImages().done(function(){b(".alm-paging-loading",x.el).fadeOut(x.speed),b.isFunction(b.fn.almOnPagingComplete)&&b.fn.almOnPagingComplete(x),x.container.removeClass("alm-loading"),x.AjaxLoadMore.triggerAddons(x)});else{if(x.previous_post)x.el=b('<div class="alm-reveal alm-previous-post post-'+x.previous_post_id+'" '+r+' data-id="'+x.previous_post_id+'" data-title="'+x.previous_post_title+'" data-url="'+x.previous_post_permalink+'" data-page="'+x.page+'"/>'),x.el.append(x.data);else if(x.transition_container){var s=void 0,i=window.location.search;if(x.init&&1<x.start_page){var l=[],d=[],p=parseInt(x.posts_per_page);Math.ceil(n/p);x.el=x.content,"true"===x.cta&&(p+=1,n=Math.ceil(n/p)+n);for(var c=0;c<n;c+=p)l.push(x.data.slice(c,p+c));for(var _=0;_<l.length;_++){var g="true"===x.preloaded?1:0,m=void 0;if(0<_||"true"===x.preloaded)s=_+1+g,m="default"===x.permalink?b('<div class="alm-reveal alm-seo'+x.tcc+'" data-url="'+x.canonical_url+x.search_value+"&paged="+s+'" data-page="'+s+'" />'):b('<div class="alm-reveal alm-seo'+x.tcc+'" data-url="'+x.canonical_url+x.seo_leading_slash+"page/"+s+x.seo_trailing_slash+x.search_value+'" data-page="'+s+'" />');else{var u=x.is_preloaded?" alm-preloaded":"";m=b('<div class="alm-reveal alm-seo'+u+x.tcc+'" data-url="'+x.canonical_url+x.search_value+'" data-page="1" />')}d.push(m.append(l[_]))}for(var f=0;f<d.length;f++)x.el.append(d[f]);x.el.get(0).style.opacity=0,x.el.get(0).style.height=0}else{if(x.seo&&0<x.page||"true"===x.preloaded){var y="true"===x.preloaded?1:0;s=x.page+1+y,x.seo?"default"===x.permalink?x.el=b('<div class="alm-reveal alm-seo'+x.tcc+'" '+r+' data-url="'+x.canonical_url+x.search_value+"&paged="+s+'" data-page="'+s+'" />'):x.el=b('<div class="alm-reveal alm-seo'+x.tcc+'" '+r+' data-url="'+x.canonical_url+x.seo_leading_slash+"page/"+s+x.seo_trailing_slash+x.search_value+'" data-page="'+s+'" />'):x.filters?x.el=b('<div class="alm-reveal alm-filters'+x.tcc+'" '+r+' data-url="'+x.canonical_url+i+'" data-page="'+s+'" />'):x.el=b('<div class="alm-reveal'+x.tcc+'" '+r+" />")}else x.filters?x.el=b('<div class="alm-reveal alm-filters'+x.tcc+'" '+r+' data-url="'+x.canonical_url+i+'" data-page="'+(x.page+1)+'" />'):x.seo?x.el=b('<div class="alm-reveal alm-seo'+x.tcc+'" '+r+' data-url="'+x.canonical_url+x.search_value+'" data-page="1" />'):x.el=b('<div class="alm-reveal'+x.tcc+'" '+r+" />");x.el.append(x.data)}}else x.el=x.data;("masonry"!==x.transition||x.init&&!x.is_masonry_preloaded)&&x.content.append(x.el),"masonry"===x.transition?(almMasonry(x.masonry_wrap,x.el,x.masonry_selector,x.masonry_columnwidth,x.masonry_animation,x.masonry_horizontalorder,x.speed,x.masonry_init,x.init,alm_is_filtering),x.masonry_init=!1,x.AjaxLoadMore.transitionEnd()):"none"===x.transition?(x.AjaxLoadMore.fadeIn(x.el.get(0),0),x.AjaxLoadMore.transitionEnd()):"true"===x.images_loaded?x.el.almWaitForImages().done(function(){x.transition_container&&x.AjaxLoadMore.fadeIn(x.el.get(0),x.speed),x.AjaxLoadMore.transitionEnd()}):(x.transition_container&&x.AjaxLoadMore.fadeIn(x.el.get(0),x.speed),x.AjaxLoadMore.transitionEnd())}b.isFunction(b.fn.almComplete)&&("true"===x.images_loaded?x.el.almWaitForImages().done(function(){b.fn.almComplete(x)}):b.fn.almComplete(x)),b.isFunction(b.fn.almFilterComplete)&&b.fn.almFilterComplete(),"function"==typeof almFiltersAddonComplete&&almFiltersAddonComplete(h),x.cache?n<x.posts_per_page&&x.AjaxLoadMore.triggerDone():x.posts>=x.totalposts&&!x.previous_post&&x.AjaxLoadMore.triggerDone()}else x.paging||(x.button.delay(x.speed).removeClass("loading").addClass("done"),x.AjaxLoadMore.resetBtnText()),x.AjaxLoadMore.triggerDone();if(void 0!==x.destroy_after&&""!==x.destroy_after){var v=x.page+1;"true"===x.preloaded&&v++,v==x.destroy_after&&x.AjaxLoadMore.destroyed()}alm_is_filtering=!1,x.init=!1},x.AjaxLoadMore.pagingPreloadedInit=function(t){t=null==t?"":t,x.el=b('<div class="alm-reveal'+x.tcc+'"/>'),x.el.append('<div class="alm-paging-content">'+t+'</div><div class="alm-paging-loading"></div>'),x.content.append(x.el),x.content.parent().removeClass("loading"),x.AjaxLoadMore.resetBtnText();var a=parseInt(x.content.css("padding-top")),e=parseInt(x.content.css("padding-bottom"));x.content.css("height",x.el.height()+a+e+"px"),""===t&&(b.isFunction(b.fn.almPagingEmpty)&&b.fn.almPagingEmpty(x),b.isFunction(b.fn.almEmpty)&&b.fn.almEmpty(x)),setTimeout(function(){b.isFunction(b.fn.almFadePageControls)&&b.fn.almFadePageControls(x.btnWrap)},x.speed)},x.AjaxLoadMore.pagingNextpageInit=function(t){x.el=b('<div class="alm-reveal alm-nextpage"/>'),x.el.append('<div class="alm-paging-content">'+t+'</div><div class="alm-paging-loading"></div>'),x.el.appendTo(x.content),x.content.parent().removeClass("loading"),x.AjaxLoadMore.resetBtnText();var a=parseInt(x.content.css("padding-top")),e=parseInt(x.content.css("padding-bottom"));x.content.css("height",x.el.height()+a+e+"px"),b.isFunction(b.fn.almSetNextPageVars)&&b.fn.almSetNextPageVars(x),setTimeout(function(){b.isFunction(b.fn.almFadePageControls)&&b.fn.almFadePageControls(x.btnWrap),b.isFunction(b.fn.almOnWindowResize)&&b.fn.almOnWindowResize(x)},x.speed)},x.fetchingPreviousPost=!1,x.AjaxLoadMore.getPreviousPost=function(){x.fetchingPreviousPost=!0;var t={action:"alm_query_previous_post",id:x.previous_post_id,taxonomy:x.previous_post_taxonomy,excluded_terms:x.previous_post_excluded_terms};b.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:t,success:function(t){t.has_previous_post?(x.content.attr("data-previous-post-id",t.prev_id),x.previous_post_id=t.prev_id,x.previous_post_permalink=t.prev_permalink,x.previous_post_title=t.prev_title,x.previous_post_slug=t.prev_slug):t.has_previous_post||x.AjaxLoadMore.triggerDone(),b.isFunction(b.fn.almSetPreviousPost)&&b.fn.almSetPreviousPost(x,t.current_id,t.permalink,t.title),x.fetchingPreviousPost=!1},error:function(t,a,e){x.AjaxLoadMore.error(t,a,e),x.fetchingPreviousPost=!1}})},x.AjaxLoadMore.triggerAddons=function(t){b.isFunction(b.fn.almSEO)&&t.seo&&b.fn.almSEO(t,!1),b.isFunction(b.fn.almSetNextPage)&&b.fn.almSetNextPage(t)},x.AjaxLoadMore.triggerDone=function(){x.loading=!1,x.finished=!0,x.paging||x.button.addClass("done"),b.isFunction(b.fn.almDone)&&setTimeout(function(){b.fn.almDone(x)},x.speed+10)},x.AjaxLoadMore.resetBtnText=function(){!1===x.button_loading_label||x.paging||x.button.html(x.button_label)},x.AjaxLoadMore.error=function(t,a,e){x.loading=!1,x.paging||(x.button.removeClass("loading"),x.AjaxLoadMore.resetBtnText()),console.log(e)},x.paging||x.fetchingPreviousPost||(x.button.unbind("click"),x.button.on("click",function(t){t.preventDefault(),"true"===x.pause&&(x.pause=!1,x.pause_override=!1,x.AjaxLoadMore.loadPosts()),x.loading||x.finished||b(this).hasClass("done")||(x.loading=!0,x.page++,x.AjaxLoadMore.loadPosts()),x.filters&&"function"==typeof almFiltersPaged&&almFiltersPaged(x)})),x.paging&&(x.window.unbind("resizeEnd"),x.window.bind("resizeEnd",function(){b.isFunction(b.fn.almOnWindowResize)&&b.fn.almOnWindowResize(x)}),x.window.unbind("resize"),x.window.bind("resize",function(){this.resizeTO&&clearTimeout(this.resizeTO),this.resizeTO=setTimeout(function(){b(this).trigger("resizeEnd")},x.speed)})),x.AjaxLoadMore.isVisible=function(){return x.visible=!1,x.el.is(":visible")&&(x.visible=!0),x.visible},x.scroll&&!x.paging&&(""!==x.scroll_container&&b(x.scroll_container).length&&(x.window=b(x.scroll_container)),x.window.bind("scroll touchstart",function(){if(x.AjaxLoadMore.isVisible()&&!x.fetchingPreviousPost){var t=x.button.offset().top,a=Math.round(t-(x.window.height()-x.scroll_distance)),e=x.window.scrollTop()>=a;""!==x.scroll_container&&(e=x.button.offset().top-(x.window.height()-x.scroll_distance)<x.window.offset().top),!x.loading&&!x.finished&&e&&x.page<x.max_pages-1&&x.proceed&&"true"===x.pause&&"true"===x.pause_override?x.button.trigger("click"):!x.loading&&!x.finished&&e&&x.page<x.max_pages-1&&x.proceed&&"true"!==x.pause&&x.button.trigger("click")}})),x.AjaxLoadMore.destroyed=function(){x.disable_ajax=!0,x.paging||(x.button.delay(x.speed).fadeOut(x.speed),b.isFunction(b.fn.almDestroyed)&&b.fn.almDestroyed(x))},x.AjaxLoadMore.fadeIn=function(t,a){if(0==a)t.style.opacity=1,t.style.height="auto";else{a/=10;var e=0,o=setInterval(function(){.9<e&&(t.style.opacity=1,clearInterval(o)),t.style.opacity=e,e+=.1},a);t.style.height="auto"}},x.AjaxLoadMore.transitionEnd=function(){setTimeout(function(){x.loading=!1,x.container.removeClass("alm-loading"),x.AjaxLoadMore.triggerAddons(x),x.paging||(x.button.delay(x.speed).removeClass("loading"),x.AjaxLoadMore.resetBtnText())},x.speed)},x.AjaxLoadMore.init=function(){("true"===x.preloaded&&1==x.destroy_after&&x.AjaxLoadMore.destroyed(),x.paging||x.previous_post||(x.disable_ajax?(x.finished=!0,x.button.addClass("done")):"true"===x.pause?(x.button.html(x.button_label),x.loading=!1):x.AjaxLoadMore.loadPosts()),x.previous_post&&(x.AjaxLoadMore.getPreviousPost(),x.loading=!1),"true"===x.preloaded&&x.seo&&!x.paging&&setTimeout(function(){b.isFunction(b.fn.almSEO)&&x.start_page<1&&b.fn.almSEO(x,!0)},x.speed),"true"!==x.preloaded||x.paging||setTimeout(function(){x.preloaded_total_posts<=parseInt(x.preloaded_amount)&&x.AjaxLoadMore.triggerDone(),0==x.preloaded_total_posts&&b.isFunction(b.fn.almEmpty)&&b.fn.almEmpty(x)},x.speed),x.nextpage)&&(1<b(".alm-nextpage").length&&b(".alm-nextpage").length==b(".alm-nextpage").eq(0).data("total-pages")&&x.AjaxLoadMore.triggerDone());x.window.bind("load",function(){x.is_masonry_preloaded&&(almMasonry(x.masonry_wrap,x.el,x.masonry_selector,x.masonry_columnwidth,x.masonry_animation,x.masonry_horizontalorder,x.speed,x.masonry_init,!0,!1),x.masonry_init=!1)})},x.AjaxLoadMore.init(),setTimeout(function(){x.proceed=!0},150),b.fn.almUpdateCurrentPage=function(t,a,e){e.page=t,e.nextpage&&!e.paging&&(e.page=e.page-1);var o="";e.paging_init&&"true"===e.preloaded?(o=b(".alm-reveal",e.el).html(),b(".alm-reveal",e.el).remove(),e.preloaded_amount=0,e.AjaxLoadMore.pagingPreloadedInit(o),e.paging_init=!1,e.init=!1):e.paging_init&&e.nextpage?(o=b(".alm-nextpage",e.el).html(),b(".alm-nextpage",e.el).remove(),e.AjaxLoadMore.pagingNextpageInit(o),e.paging_init=!1,e.init=!1):e.AjaxLoadMore.loadPosts()},b.fn.almGetParentContainer=function(){return x.el.closest("#ajax-load-more")},b.fn.almGetObj=function(){return x},b.fn.almTriggerClick=function(){x.button.trigger("click")},b.easing.alm_easeInOutQuad=function(t,a,e,o,n){return(a/=n/2)<1?o/2*a*a+e:-o/2*(--a*(a-2)-1)+e}},b.fn.ajaxloadmore=function(){return this.each(function(t){new b.ajaxloadmore(b(this),t)})};var t=document.querySelectorAll(".ajax-load-more-wrap");t.length&&[].concat(_toConsumableArray(t)).forEach(function(t,a){new b.ajaxloadmore(b(t),a)})}(jQuery);var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(require("jquery")):t(jQuery)}(function(g){var m="almWaitForImages";g.almWaitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},g.expr[":"]["has-src"]=function(t){return g(t).is('img[src][src!=""]')},g.expr[":"].uncached=function(t){return!!g(t).is(":has-src")&&!t.complete},g.fn.almWaitForImages=function(){var l,d,e,p=0,c=0,_=g.Deferred();if(g.isPlainObject(arguments[0])?(e=arguments[0].waitForAll,d=arguments[0].each,l=arguments[0].finished):1===arguments.length&&"boolean"===g.type(arguments[0])?e=arguments[0]:(l=arguments[0],d=arguments[1],e=arguments[2]),l=l||g.noop,d=d||g.noop,e=!!e,!g.isFunction(l)||!g.isFunction(d))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var r=g(this),s=[],t=g.almWaitForImages.hasImageProperties||[],a=g.almWaitForImages.hasImageAttributes||[],i=/url\(\s*(['"]?)(.*?)\1\s*\)/g;e?r.find("*").addBack().each(function(){var n=g(this);n.is("img:has-src")&&s.push({src:n.attr("src"),element:n[0]}),g.each(t,function(t,a){var e,o=n.css(a);if(!o)return!0;for(;e=i.exec(o);)s.push({src:e[2],element:n[0]})}),g.each(a,function(t,a){var e,o=n.attr(a);if(!o)return!0;e=o.split(","),g.each(e,function(t,a){a=g.trim(a).split(" ")[0],s.push({src:a,element:n[0]})})})}):r.find("img:has-src").each(function(){s.push({src:this.src,element:this})}),p=s.length,(c=0)===p&&(l.call(r[0]),_.resolveWith(r[0])),g.each(s,function(t,o){var a=new Image,n="load."+m+" error."+m;g(a).one(n,function t(a){var e=[c,p,"load"==a.type];if(c++,d.apply(o.element,e),_.notifyWith(o.element,e),g(this).off(n,t),c==p)return l.call(r[0]),_.resolveWith(r[0]),!1}),a.src=o.src})}),_.promise()}});
core/functions.php CHANGED
@@ -10,20 +10,23 @@
10
 
11
  function alm_get_pro_addon(){
12
  $path_prefix = 'ajax-load-more-';
13
- $url_prefix = 'https://connekthq.com/plugins/ajax-load-more/pro/';
 
14
  $addons = array(
15
  array(
16
  'name' => __('Ajax Load More Pro', 'ajax-load-more'),
17
- 'intro' => __('Improve performance with the Ajax Load More caching engine.', 'ajax-load-more'),
18
- 'desc' => __('The Cache add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.', 'ajax-load-more'),
19
  'action' => 'alm_pro_installed',
20
  'key' => 'alm_pro_license_key',
21
  'status' => 'alm_pro_license_status',
22
  'settings_field' => 'alm_pro_license',
23
- 'img' => 'img/add-ons/pro-add-on.jpg',
24
  'url' => $url_prefix,
25
  'item_id' => ALM_PRO_ITEM_NAME,
 
26
  'path' => $path_prefix .'pro',
 
27
  )
28
  );
29
  return $addons;
@@ -54,13 +57,14 @@ function alm_get_addons(){
54
  'img' => 'img/add-ons/cache-add-on.jpg',
55
  'url' => $url_prefix .'cache/',
56
  'item_id' => ALM_CACHE_ITEM_NAME,
 
57
  'path' => $path_prefix .'cache',
58
  'slug' => 'cache'
59
  ),
60
  array(
61
  'name' => __('Call to Actions', 'ajax-load-more'),
62
  'intro' => __('Ajax Load More extension for displaying advertisements and call to actions.', 'ajax-load-more'),
63
- 'desc' => __('The Call to Actions add-on will provide the ability to inject a custom CTA template within each Ajax Load More loop.', 'ajax-load-more'),
64
  'action' => 'alm_cta_installed',
65
  'key' => 'alm_cta_license_key',
66
  'status' => 'alm_cta_license_status',
@@ -68,6 +72,7 @@ function alm_get_addons(){
68
  'img' => 'img/add-ons/cta-add-on.jpg',
69
  'url' => $url_prefix .'/call-to-actions/',
70
  'item_id' => ALM_CTA_ITEM_NAME,
 
71
  'path' => $path_prefix .'call-to-actions',
72
  'slug' => 'call-to-actions'
73
  ),
@@ -82,6 +87,7 @@ function alm_get_addons(){
82
  'img' => 'img/add-ons/comments-add-on.jpg',
83
  'url' => $url_prefix .'comments/',
84
  'item_id' => ALM_COMMENTS_ITEM_NAME,
 
85
  'path' => $path_prefix .'comments',
86
  'slug' => 'comments'
87
  ),
@@ -96,6 +102,7 @@ function alm_get_addons(){
96
  'img' => 'img/add-ons/unlimited-add-ons.jpg',
97
  'url' => $url_prefix .'custom-repeaters/',
98
  'item_id' => ALM_UNLIMITED_ITEM_NAME,
 
99
  'path' => $path_prefix .'repeaters-v2',
100
  'slug' => 'repeaters-v2'
101
  ),
@@ -110,6 +117,7 @@ function alm_get_addons(){
110
  'img' => 'img/add-ons/filters-add-on.jpg',
111
  'url' => $url_prefix .'filters/',
112
  'item_id' => ALM_FILTERS_ITEM_NAME,
 
113
  'path' => $path_prefix .'filters',
114
  'slug' => 'filters'
115
  ),
@@ -124,13 +132,14 @@ function alm_get_addons(){
124
  'img' => 'img/add-ons/layouts-add-on.jpg',
125
  'url' => $url_prefix .'layouts/',
126
  'item_id' => ALM_LAYOUTS_ITEM_NAME,
 
127
  'path' => $path_prefix .'layouts',
128
  'slug' => 'layouts'
129
  ),
130
  array(
131
  'name' => __('Next Page', 'ajax-load-more'),
132
  'intro' => __('Load and display multipage WordPress content.', 'ajax-load-more'),
133
- 'desc' => __('The Next Page add-on will provide functionality for infinite scrolling paginated posts and pages.', 'ajax-load-more'),
134
  'action' => 'alm_nextpage_installed',
135
  'key' => 'alm_nextpage_license_key',
136
  'status' => 'alm_nextpage_license_status',
@@ -138,6 +147,7 @@ function alm_get_addons(){
138
  'img' => 'img/add-ons/next-page-add-on.jpg',
139
  'url' => $url_prefix .'nextpage/',
140
  'item_id' => ALM_NEXTPAGE_ITEM_NAME,
 
141
  'path' => $path_prefix .'next-page',
142
  'slug' => 'next-page'
143
  ),
@@ -152,6 +162,7 @@ function alm_get_addons(){
152
  'img' => 'img/add-ons/paging-add-ons.jpg',
153
  'url' => $url_prefix .'paging/',
154
  'item_id' => ALM_PAGING_ITEM_NAME,
 
155
  'path' => $path_prefix .'paging',
156
  'slug' => 'paging'
157
  ),
@@ -166,6 +177,7 @@ function alm_get_addons(){
166
  'img' => 'img/add-ons/preloaded-add-ons.jpg',
167
  'url' => $url_prefix .'preloaded/',
168
  'item_id' => ALM_PRELOADED_ITEM_NAME,
 
169
  'path' => $path_prefix .'preloaded',
170
  'slug' => 'preloaded'
171
  ),
@@ -180,6 +192,7 @@ function alm_get_addons(){
180
  'img' => 'img/add-ons/prev-post-add-on.jpg',
181
  'url' => $url_prefix .'previous-post/',
182
  'item_id' => ALM_PREV_POST_ITEM_NAME,
 
183
  'path' => $path_prefix .'previous-post',
184
  'slug' => 'previous-post'
185
  ),
@@ -194,6 +207,7 @@ function alm_get_addons(){
194
  'img' => 'img/add-ons/seo-add-ons.jpg',
195
  'url' => $url_prefix .'search-engine-optimization/',
196
  'item_id' => ALM_SEO_ITEM_NAME,
 
197
  'path' => $path_prefix .'seo',
198
  'slug' => 'seo'
199
  ),
@@ -208,6 +222,7 @@ function alm_get_addons(){
208
  'img' => 'img/add-ons/theme-repeater-add-on.jpg',
209
  'url' => $url_prefix .'theme-repeaters/',
210
  'item_id' => ALM_THEME_REPEATERS_ITEM_NAME,
 
211
  'path' => $path_prefix .'theme-repeaters',
212
  'slug' => 'theme-repeaters'
213
  ),
@@ -222,6 +237,7 @@ function alm_get_addons(){
222
  'img' => 'img/add-ons/users-add-on.jpg',
223
  'url' => $url_prefix .'users/',
224
  'item_id' => ALM_USERS_ITEM_NAME,
 
225
  'path' => $path_prefix .'users',
226
  'slug' => 'users'
227
  )
@@ -437,7 +453,7 @@ function alm_get_default_repeater() {
437
 
438
  global $wpdb;
439
  $file = null;
440
- $template_dir = 'alm_templates';
441
 
442
  // Allow user to load template from theme directory
443
  // Since 2.8.5
@@ -770,13 +786,13 @@ function alm_get_canonical_url(){
770
  }
771
  // Category
772
  elseif(is_category()){
773
- $cur_cat_id = get_cat_id( single_cat_title('',false) );
774
- $canonicalURL = get_category_link($cur_cat_id);
775
  }
776
  // Tag
777
  elseif(is_tag()){
778
- $cur_tag_id = get_query_var('tag_id');
779
- $canonicalURL = get_tag_link($cur_tag_id);
780
  }
781
  // Author
782
  elseif(is_author()){
10
 
11
  function alm_get_pro_addon(){
12
  $path_prefix = 'ajax-load-more-';
13
+ $url_prefix = 'https://connekthq.com/plugins/ajax-load-more/pro/';
14
+
15
  $addons = array(
16
  array(
17
  'name' => __('Ajax Load More Pro', 'ajax-load-more'),
18
+ 'intro' => __('Get instant access to all premium add-ons in a single installation.', 'ajax-load-more'),
19
+ 'desc' => __('The Pro bundle is installed as a single product with one license key and contains immediate access all premium add-ons.', 'ajax-load-more'),
20
  'action' => 'alm_pro_installed',
21
  'key' => 'alm_pro_license_key',
22
  'status' => 'alm_pro_license_status',
23
  'settings_field' => 'alm_pro_license',
24
+ 'img' => 'img/add-ons/pro-bundle-add-on.png',
25
  'url' => $url_prefix,
26
  'item_id' => ALM_PRO_ITEM_NAME,
27
+ 'version' => 'ALM_PRO_VERSION',
28
  'path' => $path_prefix .'pro',
29
+ 'slug' => 'pro'
30
  )
31
  );
32
  return $addons;
57
  'img' => 'img/add-ons/cache-add-on.jpg',
58
  'url' => $url_prefix .'cache/',
59
  'item_id' => ALM_CACHE_ITEM_NAME,
60
+ 'version' => 'ALM_CACHE_VERSION',
61
  'path' => $path_prefix .'cache',
62
  'slug' => 'cache'
63
  ),
64
  array(
65
  'name' => __('Call to Actions', 'ajax-load-more'),
66
  'intro' => __('Ajax Load More extension for displaying advertisements and call to actions.', 'ajax-load-more'),
67
+ 'desc' => __('The Call to Actions add-on provides the ability to inject a custom CTA template within each Ajax Load More loop.', 'ajax-load-more'),
68
  'action' => 'alm_cta_installed',
69
  'key' => 'alm_cta_license_key',
70
  'status' => 'alm_cta_license_status',
72
  'img' => 'img/add-ons/cta-add-on.jpg',
73
  'url' => $url_prefix .'/call-to-actions/',
74
  'item_id' => ALM_CTA_ITEM_NAME,
75
+ 'version' => 'ALM_CTA_VERSION',
76
  'path' => $path_prefix .'call-to-actions',
77
  'slug' => 'call-to-actions'
78
  ),
87
  'img' => 'img/add-ons/comments-add-on.jpg',
88
  'url' => $url_prefix .'comments/',
89
  'item_id' => ALM_COMMENTS_ITEM_NAME,
90
+ 'version' => 'ALM_COMMENTS_VERSION',
91
  'path' => $path_prefix .'comments',
92
  'slug' => 'comments'
93
  ),
102
  'img' => 'img/add-ons/unlimited-add-ons.jpg',
103
  'url' => $url_prefix .'custom-repeaters/',
104
  'item_id' => ALM_UNLIMITED_ITEM_NAME,
105
+ 'version' => 'ALM_UNLIMITED_VERSION',
106
  'path' => $path_prefix .'repeaters-v2',
107
  'slug' => 'repeaters-v2'
108
  ),
117
  'img' => 'img/add-ons/filters-add-on.jpg',
118
  'url' => $url_prefix .'filters/',
119
  'item_id' => ALM_FILTERS_ITEM_NAME,
120
+ 'version' => 'ALM_FILTERS_VERSION',
121
  'path' => $path_prefix .'filters',
122
  'slug' => 'filters'
123
  ),
132
  'img' => 'img/add-ons/layouts-add-on.jpg',
133
  'url' => $url_prefix .'layouts/',
134
  'item_id' => ALM_LAYOUTS_ITEM_NAME,
135
+ 'version' => 'ALM_LAYOUTS_VERSION',
136
  'path' => $path_prefix .'layouts',
137
  'slug' => 'layouts'
138
  ),
139
  array(
140
  'name' => __('Next Page', 'ajax-load-more'),
141
  'intro' => __('Load and display multipage WordPress content.', 'ajax-load-more'),
142
+ 'desc' => __('The Next Page add-on provides functionality for infinite scrolling paginated posts and pages.', 'ajax-load-more'),
143
  'action' => 'alm_nextpage_installed',
144
  'key' => 'alm_nextpage_license_key',
145
  'status' => 'alm_nextpage_license_status',
147
  'img' => 'img/add-ons/next-page-add-on.jpg',
148
  'url' => $url_prefix .'nextpage/',
149
  'item_id' => ALM_NEXTPAGE_ITEM_NAME,
150
+ 'version' => 'ALM_NEXTPAGE_VERSION',
151
  'path' => $path_prefix .'next-page',
152
  'slug' => 'next-page'
153
  ),
162
  'img' => 'img/add-ons/paging-add-ons.jpg',
163
  'url' => $url_prefix .'paging/',
164
  'item_id' => ALM_PAGING_ITEM_NAME,
165
+ 'version' => 'ALM_PAGING_VERSION',
166
  'path' => $path_prefix .'paging',
167
  'slug' => 'paging'
168
  ),
177
  'img' => 'img/add-ons/preloaded-add-ons.jpg',
178
  'url' => $url_prefix .'preloaded/',
179
  'item_id' => ALM_PRELOADED_ITEM_NAME,
180
+ 'version' => 'ALM_PRELOADED_VERSION',
181
  'path' => $path_prefix .'preloaded',
182
  'slug' => 'preloaded'
183
  ),
192
  'img' => 'img/add-ons/prev-post-add-on.jpg',
193
  'url' => $url_prefix .'previous-post/',
194
  'item_id' => ALM_PREV_POST_ITEM_NAME,
195
+ 'version' => 'ALM_PREV_POST_VERSION',
196
  'path' => $path_prefix .'previous-post',
197
  'slug' => 'previous-post'
198
  ),
207
  'img' => 'img/add-ons/seo-add-ons.jpg',
208
  'url' => $url_prefix .'search-engine-optimization/',
209
  'item_id' => ALM_SEO_ITEM_NAME,
210
+ 'version' => 'ALM_SEO_VERSION',
211
  'path' => $path_prefix .'seo',
212
  'slug' => 'seo'
213
  ),
222
  'img' => 'img/add-ons/theme-repeater-add-on.jpg',
223
  'url' => $url_prefix .'theme-repeaters/',
224
  'item_id' => ALM_THEME_REPEATERS_ITEM_NAME,
225
+ 'version' => 'ALM_THEME_REPEATERS_VERSION',
226
  'path' => $path_prefix .'theme-repeaters',
227
  'slug' => 'theme-repeaters'
228
  ),
237
  'img' => 'img/add-ons/users-add-on.jpg',
238
  'url' => $url_prefix .'users/',
239
  'item_id' => ALM_USERS_ITEM_NAME,
240
+ 'version' => 'ALM_USERS_VERSION',
241
  'path' => $path_prefix .'users',
242
  'slug' => 'users'
243
  )
453
 
454
  global $wpdb;
455
  $file = null;
456
+ $template_dir = apply_filters( 'alm_template_path', 'alm_templates' );
457
 
458
  // Allow user to load template from theme directory
459
  // Since 2.8.5
786
  }
787
  // Category
788
  elseif(is_category()){
789
+ $cat_id = get_query_var( 'cat' );
790
+ $canonicalURL = get_category_link($cat_id);
791
  }
792
  // Tag
793
  elseif(is_tag()){
794
+ $tag_id = get_query_var('tag_id');
795
+ $canonicalURL = get_tag_link($tag_id);
796
  }
797
  // Author
798
  elseif(is_author()){
core/src/js/ajax-load-more.js CHANGED
@@ -1033,6 +1033,16 @@
1033
  }
1034
  }
1035
  // End ALM Complete
 
 
 
 
 
 
 
 
 
 
1036
 
1037
 
1038
  // ALM Done
1033
  }
1034
  }
1035
  // End ALM Complete
1036
+
1037
+
1038
+ // Filters Add-on Complete
1039
+ if ($.isFunction($.fn.almFilterComplete)){ // Standard Filtering
1040
+ $.fn.almFilterComplete();
1041
+ }
1042
+ if(typeof almFiltersAddonComplete == "function"){ // Filters Add-on
1043
+ almFiltersAddonComplete(el);
1044
+ }
1045
+ // End Filters Add-on Complete
1046
 
1047
 
1048
  // ALM Done
core/src/js/helpers/queryParams.js CHANGED
@@ -77,12 +77,18 @@ let almGetAjaxParams = function(alm, action, queryType){
77
  if(alm.content.attr('data-category')){
78
  data.category = alm.content.attr('data-category');
79
  }
 
 
 
80
  if(alm.content.attr('data-category-not-in')){
81
  data.category__not_in = alm.content.attr('data-category-not-in');
82
  }
83
  if(alm.content.attr('data-tag')){
84
  data.tag = alm.content.attr('data-tag');
85
  }
 
 
 
86
  if(alm.content.attr('data-tag-not-in')){
87
  data.tag__not_in = alm.content.attr('data-tag-not-in');
88
  }
77
  if(alm.content.attr('data-category')){
78
  data.category = alm.content.attr('data-category');
79
  }
80
+ if(alm.content.attr('data-category-and')){
81
+ data.category__and = alm.content.attr('data-category-and');
82
+ }
83
  if(alm.content.attr('data-category-not-in')){
84
  data.category__not_in = alm.content.attr('data-category-not-in');
85
  }
86
  if(alm.content.attr('data-tag')){
87
  data.tag = alm.content.attr('data-tag');
88
  }
89
+ if(alm.content.attr('data-tag-and')){
90
+ data.tag__and = alm.content.attr('data-tag-and');
91
+ }
92
  if(alm.content.attr('data-tag-not-in')){
93
  data.tag__not_in = alm.content.attr('data-tag-not-in');
94
  }
core/src/js/modules/filtering.js CHANGED
@@ -88,21 +88,16 @@ let alm_is_filtering = false; // Global Masonry/Filtering var
88
  * @since 2.6.1
89
  */
90
  let almSetFilters = function(speed, data, el){
 
 
91
  $.each(data, function(key, value) {
92
  key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2'); // Convert camelCase data() object back to dash (-)
93
  $('.alm-listing', el).attr('data-'+key, value);
94
- });
95
- // Regular Filtering
96
- if ($.isFunction($.fn.almFilterComplete)){
97
- $.fn.almFilterComplete();
98
- }
99
- // Filters Add-on
100
- if(typeof almFiltersAddonComplete == "function"){
101
- almFiltersAddonComplete(el);
102
- }
103
 
104
- alm_is_filtering = true;
105
  el.fadeIn(speed); // Fade ALM back in
 
 
106
 
107
  // re-initiate Ajax Load More
108
  if(data.target){
88
  * @since 2.6.1
89
  */
90
  let almSetFilters = function(speed, data, el){
91
+
92
+ // Update data attributes
93
  $.each(data, function(key, value) {
94
  key = key.replace(/\W+/g, '-').replace(/([a-z\d])([A-Z])/g, '$1-$2'); // Convert camelCase data() object back to dash (-)
95
  $('.alm-listing', el).attr('data-'+key, value);
96
+ });
 
 
 
 
 
 
 
 
97
 
 
98
  el.fadeIn(speed); // Fade ALM back in
99
+
100
+ alm_is_filtering = true;
101
 
102
  // re-initiate Ajax Load More
103
  if(data.target){
lang/ajax-load-more.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ajax Load More\n"
5
- "POT-Creation-Date: 2018-09-18 12:06-0400\n"
6
  "PO-Revision-Date: 2018-06-20 13:05-0500\n"
7
  "Last-Translator: Darren Cooney <darren@connekthq.com>\n"
8
  "Language-Team: \n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.9\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
@@ -18,271 +18,284 @@ msgstr ""
18
  "X-Poedit-SearchPathExcluded-0: core/src\n"
19
  "X-Poedit-SearchPathExcluded-1: admin/src\n"
20
 
21
- #: admin/admin.php:60
 
 
 
 
 
 
 
 
 
 
22
  msgid ""
23
- "You have an invalid <a href=\"admin.php?page=ajax-load-more\"><b>Ajax Load "
24
- "More Pro</b></a> license key - please visit the <a href=\"admin.php?"
25
- "page=ajax-load-more-licenses\">License</a> section to input your key or <a "
26
- "href=\"https://connekthq.com/plugins/ajax-load-more/pro/\" target=\"_blank"
27
- "\">purchase</a> one now."
28
  msgstr ""
29
 
30
- #: admin/admin.php:64
31
  msgid ""
32
  "You have invalid <a href=\"admin.php?page=ajax-load-more\"><b>Ajax Load "
33
  "More</b></a> license keys - please visit the <a href=\"admin.php?page=ajax-"
34
  "load-more-licenses\">Licenses</a> section and input your keys."
35
  msgstr ""
36
 
37
- #: admin/admin.php:162 admin/admin.php:220 admin/admin.php:892
38
- #: admin/admin.php:937 admin/admin.php:987
39
  msgid "You don't belong here."
40
  msgstr ""
41
 
42
- #: admin/admin.php:251
43
  msgid "Ajax Load More"
44
  msgstr ""
45
 
46
- #: admin/admin.php:252 admin/editor/editor-build.php:69
47
- #: admin/views/licenses.php:83
48
  msgid "Active"
49
  msgstr ""
50
 
51
- #: admin/admin.php:253 admin/editor/editor-build.php:70
52
- #: admin/views/licenses.php:87
53
  msgid "Inactive"
54
  msgstr ""
55
 
56
- #: admin/admin.php:254 admin/editor/editor-build.php:71
57
  msgid "Applying layout"
58
  msgstr ""
59
 
60
- #: admin/admin.php:255 admin/editor/editor-build.php:72
61
- #: admin/views/repeater-templates.php:421
62
  msgid "Template Updated"
63
  msgstr ""
64
 
65
- #: admin/admin.php:257 admin/editor/editor-build.php:74
66
  msgid "Select Author(s)"
67
  msgstr ""
68
 
69
- #: admin/admin.php:258 admin/editor/editor-build.php:75
70
  msgid "Select Categories"
71
  msgstr ""
72
 
73
- #: admin/admin.php:259 admin/editor/editor-build.php:76
74
  msgid "Select Tags"
75
  msgstr ""
76
 
77
- #: admin/admin.php:260 admin/editor/editor-build.php:41
 
 
 
 
78
  #: admin/editor/editor-build.php:77
79
  msgid "Jump to Option"
80
  msgstr ""
81
 
82
- #: admin/admin.php:261 admin/editor/editor-build.php:78
83
  msgid "Jump to Template"
84
  msgstr ""
85
 
86
- #: admin/admin.php:262
87
  msgid "Are you sure you want to install this Ajax Load More extension?"
88
  msgstr ""
89
 
90
- #: admin/admin.php:263
91
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
92
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
93
  msgid "Install Now"
94
  msgstr ""
95
 
96
- #: admin/admin.php:264
97
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
98
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
99
  msgid "Activate"
100
  msgstr ""
101
 
102
- #: admin/admin.php:265
103
  msgid "Saving Settings"
104
  msgstr ""
105
 
106
- #: admin/admin.php:266
107
  msgid "Settings Saved Successfully"
108
  msgstr ""
109
 
110
- #: admin/admin.php:267
111
  msgid "Error Saving Settings"
112
  msgstr ""
113
 
114
- #: admin/admin.php:367
115
  msgid ""
116
  "[Ajax Load More] Error opening default repeater template - Please check your "
117
  "file path and ensure your server is configured to allow Ajax Load More to "
118
  "read and write files within the /ajax-load-more/core/repeater directory"
119
  msgstr ""
120
 
121
- #: admin/admin.php:371
122
  msgid ""
123
  "[Ajax Load More] Error updating default repeater template - Please check "
124
  "your file path and ensure your server is configured to allow Ajax Load More "
125
  "to read and write files within the /ajax-load-more/core/repeater directory."
126
  msgstr ""
127
 
128
- #: admin/admin.php:411 admin/admin.php:412 ajax-load-more.php:364
129
  msgid "Settings"
130
  msgstr ""
131
 
132
- #: admin/admin.php:420 admin/admin.php:421
133
- #: admin/views/repeater-templates.php:14 admin/views/repeater-templates.php:25
134
  msgid "Repeater Templates"
135
  msgstr ""
136
 
137
- #: admin/admin.php:429 admin/admin.php:430 admin/views/shortcode-builder.php:6
138
  msgid "Shortcode Builder"
139
  msgstr ""
140
 
141
- #: admin/admin.php:439 admin/admin.php:440 admin/views/add-ons.php:6
142
  msgid "Add-ons"
143
  msgstr ""
144
 
145
- #: admin/admin.php:449 admin/admin.php:450 admin/views/extensions.php:5
146
  msgid "Extensions"
147
  msgstr ""
148
 
149
- #: admin/admin.php:458 admin/admin.php:459 admin/views/help.php:18
150
  msgid "Help"
151
  msgstr ""
152
 
153
- #: admin/admin.php:465
154
  msgid "License"
155
  msgstr ""
156
 
157
- #: admin/admin.php:465 admin/views/licenses.php:2
158
  msgid "Licenses"
159
  msgstr ""
160
 
161
- #: admin/admin.php:485 admin/admin.php:486
 
162
  msgid "Pro"
163
  msgstr ""
164
 
165
- #: admin/admin.php:498 admin/admin.php:499
166
- #: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:32
167
- #: core/functions.php:47
 
 
 
 
168
  msgid "Cache"
169
  msgstr ""
170
 
171
- #: admin/admin.php:519 admin/admin.php:520
172
- #: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:34
173
- #: core/functions.php:103
174
  msgid "Filters"
175
  msgstr ""
176
 
177
- #: admin/admin.php:848
178
  msgid "[Ajax Load More] Unable to open repeater template - "
179
  msgstr ""
180
 
181
- #: admin/admin.php:852
182
  msgid "[Ajax Load More] Error saving repeater template - "
183
  msgstr ""
184
 
185
- #: admin/admin.php:884
186
  msgid "Template Saved Successfully"
187
  msgstr ""
188
 
189
- #: admin/admin.php:886
190
  msgid "Error Writing File"
191
  msgstr ""
192
 
193
- #: admin/admin.php:886 admin/views/repeater-templates.php:362
194
  msgid "Something went wrong and the data could not be saved."
195
  msgstr ""
196
 
197
- #: admin/admin.php:1031
198
- #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:170
199
- #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:241
200
- msgid "Error - unable to verify nonce, please try again."
201
- msgstr ""
202
-
203
- #: admin/admin.php:1092 admin/shortcode-builder/shortcode-builder.php:73
204
  msgid "Container Type"
205
  msgstr ""
206
 
207
- #: admin/admin.php:1100 admin/shortcode-builder/shortcode-builder.php:104
208
  msgid "Container Classes"
209
  msgstr ""
210
 
211
- #: admin/admin.php:1108
212
  msgid "Disable CSS"
213
  msgstr ""
214
 
215
- #: admin/admin.php:1116
216
  msgid "Button/Loading Style"
217
  msgstr ""
218
 
219
- #: admin/admin.php:1124
220
  msgid "Button Classes"
221
  msgstr ""
222
 
223
- #: admin/admin.php:1132
224
  msgid "Load CSS Inline"
225
  msgstr ""
226
 
227
- #: admin/admin.php:1140
228
  msgid "Top of Page"
229
  msgstr ""
230
 
231
- #: admin/admin.php:1148
232
  msgid "Dynamic Content"
233
  msgstr ""
234
 
235
- #: admin/admin.php:1156
236
  msgid "Editor Button"
237
  msgstr ""
238
 
239
- #: admin/admin.php:1164
240
  msgid "Error Notices"
241
  msgstr ""
242
 
243
- #: admin/admin.php:1241
244
  msgid ""
245
  "Customize the user experience of Ajax Load More by updating the fields below."
246
  msgstr ""
247
 
248
- #: admin/admin.php:1254
249
  msgid "The following settings affect the WordPress admin area only."
250
  msgstr ""
251
 
252
- #: admin/admin.php:1285
253
  msgid "I want to use my own CSS styles."
254
  msgstr ""
255
 
256
- #: admin/admin.php:1285
257
  msgid "View Ajax Load More CSS"
258
  msgstr ""
259
 
260
- #: admin/admin.php:1305
261
  msgid "Hide shortcode button in WYSIWYG editor."
262
  msgstr ""
263
 
264
- #: admin/admin.php:1326
265
  msgid ""
266
  "Display error messaging regarding repeater template updates in the browser "
267
  "console."
268
  msgstr ""
269
 
270
- #: admin/admin.php:1347
271
  msgid ""
272
  "Disable dynamic population of categories, tags and authors in the Shortcode "
273
  "Builder.<span style=\"display:block\">Recommended if you have a large number "
274
  "of categories, tags and/or authors."
275
  msgstr ""
276
 
277
- #: admin/admin.php:1368 admin/admin.php:1371
278
  msgid "Ajax Posts Here"
279
  msgstr ""
280
 
281
- #: admin/admin.php:1373
282
  msgid "You can modify the container type when building a shortcode."
283
  msgstr ""
284
 
285
- #: admin/admin.php:1390
286
  msgid ""
287
  "Add custom classes to the <i>.alm-listing</i> container - classes are "
288
  "applied globally and will appear with every instance of Ajax Load More. "
@@ -290,45 +303,45 @@ msgid ""
290
  "shortcode.</span>"
291
  msgstr ""
292
 
293
- #: admin/admin.php:1452
294
  msgid ""
295
  "Select an Ajax loading style - you can choose between a <strong>Button</"
296
  "strong> or <strong>Infinite Scroll</strong>"
297
  msgstr ""
298
 
299
- #: admin/admin.php:1457
300
  msgid "Button"
301
  msgstr ""
302
 
303
- #: admin/admin.php:1465
304
  msgid "Infinite Scroll (No Button)"
305
  msgstr ""
306
 
307
- #: admin/admin.php:1478
308
  msgid "Preview"
309
  msgstr ""
310
 
311
- #: admin/admin.php:1478 admin/shortcode-builder/shortcode-builder.php:171
312
- #: core/classes/class.alm-shortcode.php:157
313
  msgid "Older Posts"
314
  msgstr ""
315
 
316
- #: admin/admin.php:1499
317
  msgid "Improve site performance by loading Ajax Load More CSS inline"
318
  msgstr ""
319
 
320
- #: admin/admin.php:1519
321
  msgid "Add classes to your <strong>Load More</strong> button"
322
  msgstr ""
323
 
324
- #: admin/admin.php:1564
325
  msgid ""
326
  "On initial page load, move the user's browser window to the top of the "
327
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
328
  "loading of unnecessary posts.</span>"
329
  msgstr ""
330
 
331
- #: admin/admin.php:1585
332
  msgid ""
333
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
334
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
@@ -354,15 +367,15 @@ msgstr ""
354
 
355
  #: admin/includes/components/example-list.php:2
356
  #: admin/shortcode-builder/shortcode-builder.php:3
357
- #: admin/views/repeater-templates.php:126
358
- #: admin/views/repeater-templates.php:156
359
  msgid "Collapse All"
360
  msgstr ""
361
 
362
  #: admin/includes/components/example-list.php:2
363
  #: admin/shortcode-builder/shortcode-builder.php:4
364
- #: admin/views/repeater-templates.php:127
365
- #: admin/views/repeater-templates.php:157
366
  msgid "Expand All"
367
  msgstr ""
368
 
@@ -454,7 +467,11 @@ msgid "Our Other Plugins"
454
  msgstr ""
455
 
456
  #: admin/includes/cta/add-ons.php:2
457
- msgid "About ALM Add-ons"
 
 
 
 
458
  msgstr ""
459
 
460
  #: admin/includes/cta/config.php:2
@@ -469,7 +486,7 @@ msgstr ""
469
  msgid "Release Date"
470
  msgstr ""
471
 
472
- #: admin/includes/cta/dyk.php:2
473
  msgid "Did You Know?"
474
  msgstr ""
475
 
@@ -485,6 +502,14 @@ msgstr ""
485
  msgid "More Info"
486
  msgstr ""
487
 
 
 
 
 
 
 
 
 
488
  #: admin/includes/cta/resources.php:2
489
  msgid "Resources"
490
  msgstr ""
@@ -497,27 +522,27 @@ msgstr ""
497
  msgid "Documentation"
498
  msgstr ""
499
 
500
- #: admin/includes/cta/resources.php:7
501
  msgid "Support and Issues"
502
  msgstr ""
503
 
504
- #: admin/includes/cta/resources.php:8
505
  msgid "Reviews"
506
  msgstr ""
507
 
508
- #: admin/includes/cta/resources.php:9
509
  msgid "WordPress"
510
  msgstr ""
511
 
512
- #: admin/includes/cta/resources.php:10
513
  msgid "Github"
514
  msgstr ""
515
 
516
- #: admin/includes/cta/resources.php:11
517
  msgid "Twitter"
518
  msgstr ""
519
 
520
- #: admin/includes/cta/resources.php:12
521
  msgid "Facebook"
522
  msgstr ""
523
 
@@ -589,12 +614,12 @@ msgstr ""
589
  #: admin/shortcode-builder/components/rest-api.php:108
590
  #: admin/shortcode-builder/components/seo.php:14
591
  #: admin/shortcode-builder/components/users.php:13
592
- #: admin/shortcode-builder/shortcode-builder.php:205
593
- #: admin/shortcode-builder/shortcode-builder.php:265
594
- #: admin/shortcode-builder/shortcode-builder.php:396
595
- #: admin/shortcode-builder/shortcode-builder.php:463
596
- #: admin/shortcode-builder/shortcode-builder.php:491
597
- #: admin/shortcode-builder/shortcode-builder.php:539
598
  msgid "True"
599
  msgstr ""
600
 
@@ -614,12 +639,12 @@ msgstr ""
614
  #: admin/shortcode-builder/components/rest-api.php:112
615
  #: admin/shortcode-builder/components/seo.php:18
616
  #: admin/shortcode-builder/components/users.php:17
617
- #: admin/shortcode-builder/shortcode-builder.php:209
618
- #: admin/shortcode-builder/shortcode-builder.php:269
619
- #: admin/shortcode-builder/shortcode-builder.php:400
620
- #: admin/shortcode-builder/shortcode-builder.php:467
621
- #: admin/shortcode-builder/shortcode-builder.php:495
622
- #: admin/shortcode-builder/shortcode-builder.php:543
623
  msgid "False"
624
  msgstr ""
625
 
@@ -697,7 +722,7 @@ msgstr ""
697
  msgid "Generate Cache ID"
698
  msgstr ""
699
 
700
- #: admin/shortcode-builder/components/comments.php:3 core/functions.php:75
701
  msgid "Comments"
702
  msgstr ""
703
 
@@ -768,8 +793,8 @@ msgid "Select a repeater template that will display comment data."
768
  msgstr ""
769
 
770
  #: admin/shortcode-builder/components/comments.php:106
771
- #: admin/shortcode-builder/shortcode-builder.php:291
772
- #: admin/shortcode-builder/shortcode-builder.php:376
773
  msgid "None"
774
  msgstr ""
775
 
@@ -814,7 +839,7 @@ msgid ""
814
  "\"_blank\">View documentation</a>"
815
  msgstr ""
816
 
817
- #: admin/shortcode-builder/components/cta.php:3 core/functions.php:61
818
  msgid "Call to Actions"
819
  msgstr ""
820
 
@@ -921,7 +946,7 @@ msgid ""
921
  "Enable debugging of the Ajax Load More filter object in the browser console"
922
  msgstr ""
923
 
924
- #: admin/shortcode-builder/components/nextpage.php:3 core/functions.php:131
925
  msgid "Next Page"
926
  msgstr ""
927
 
@@ -1002,8 +1027,8 @@ msgid ""
1002
  "\"_blank\">View documentation</a>"
1003
  msgstr ""
1004
 
1005
- #: admin/shortcode-builder/components/paging.php:3 admin/views/settings.php:38
1006
- #: core/functions.php:145
1007
  msgid "Paging"
1008
  msgstr ""
1009
 
@@ -1036,7 +1061,7 @@ msgid ""
1036
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
1037
  msgstr ""
1038
 
1039
- #: admin/shortcode-builder/components/preloaded.php:3 core/functions.php:159
1040
  msgid "Preloaded"
1041
  msgstr ""
1042
 
@@ -1053,7 +1078,7 @@ msgid "Enter the number of posts to preload."
1053
  msgstr ""
1054
 
1055
  #: admin/shortcode-builder/components/previous-post.php:3
1056
- #: admin/views/settings.php:40 core/functions.php:173
1057
  msgid "Previous Post"
1058
  msgstr ""
1059
 
@@ -1062,7 +1087,7 @@ msgid "Enable the infinite scrolling of single posts."
1062
  msgstr ""
1063
 
1064
  #: admin/shortcode-builder/components/previous-post.php:38
1065
- #: admin/shortcode-builder/shortcode-builder.php:813
1066
  msgid "Taxonomy"
1067
  msgstr ""
1068
 
@@ -1085,12 +1110,12 @@ msgid "Select Taxonomy"
1085
  msgstr ""
1086
 
1087
  #: admin/shortcode-builder/components/previous-post.php:53
1088
- #: admin/shortcode-builder/shortcode-builder.php:694
1089
  msgid "Category"
1090
  msgstr ""
1091
 
1092
  #: admin/shortcode-builder/components/previous-post.php:54
1093
- #: admin/shortcode-builder/shortcode-builder.php:754
1094
  msgid "Tag"
1095
  msgstr ""
1096
 
@@ -1116,7 +1141,7 @@ msgid ""
1116
  msgstr ""
1117
 
1118
  #: admin/shortcode-builder/components/rest-api.php:18
1119
- #: admin/views/settings.php:42
1120
  msgid "REST API"
1121
  msgstr ""
1122
 
@@ -1177,10 +1202,10 @@ msgid ""
1177
  msgstr ""
1178
 
1179
  #: admin/shortcode-builder/components/rest-api.php:88
1180
- #: admin/shortcode-builder/shortcode-builder.php:482
1181
- #: admin/shortcode-builder/shortcode-builder.php:699
1182
- #: admin/shortcode-builder/shortcode-builder.php:758
1183
- #: admin/shortcode-builder/shortcode-builder.php:958
1184
  msgid "View Example"
1185
  msgstr ""
1186
 
@@ -1206,7 +1231,7 @@ msgid ""
1206
  "Enable address bar URL rewrites as users page through ajax loaded content."
1207
  msgstr ""
1208
 
1209
- #: admin/shortcode-builder/components/users.php:3 core/functions.php:215
1210
  msgid "Users"
1211
  msgstr ""
1212
 
@@ -1223,57 +1248,54 @@ msgid "Select the role of user to be displayed"
1223
  msgstr ""
1224
 
1225
  #: admin/shortcode-builder/components/users.php:34
1226
- msgid "Select Role"
1227
- msgstr ""
1228
-
1229
- #: admin/shortcode-builder/components/users.php:35
1230
  msgid "All Roles"
1231
  msgstr ""
1232
 
1233
- #: admin/shortcode-builder/components/users.php:55
1234
- #: admin/shortcode-builder/shortcode-builder.php:757
1235
- #: admin/shortcode-builder/shortcode-builder.php:946
 
1236
  msgid "Include"
1237
  msgstr ""
1238
 
1239
- #: admin/shortcode-builder/components/users.php:57
1240
  msgid "A comma separated list of users to be included by ID"
1241
  msgstr ""
1242
 
1243
- #: admin/shortcode-builder/components/users.php:69
1244
- #: admin/shortcode-builder/shortcode-builder.php:721
1245
- #: admin/shortcode-builder/shortcode-builder.php:779
1246
- #: admin/shortcode-builder/shortcode-builder.php:957
1247
  msgid "Exclude"
1248
  msgstr ""
1249
 
1250
- #: admin/shortcode-builder/components/users.php:71
1251
  msgid "A comma separated list of users to be excluded by ID"
1252
  msgstr ""
1253
 
1254
- #: admin/shortcode-builder/components/users.php:83
1255
  msgid "Users Per Page"
1256
  msgstr ""
1257
 
1258
- #: admin/shortcode-builder/components/users.php:84
1259
  msgid "The number of users to show."
1260
  msgstr ""
1261
 
1262
- #: admin/shortcode-builder/components/users.php:95
1263
  msgid "Orderby"
1264
  msgstr ""
1265
 
1266
- #: admin/shortcode-builder/components/users.php:96
1267
  msgid "Sort users by Order and Orderby parameters"
1268
  msgstr ""
1269
 
1270
- #: admin/shortcode-builder/components/users.php:100
1271
- #: admin/shortcode-builder/shortcode-builder.php:998
1272
  msgid "Order"
1273
  msgstr ""
1274
 
1275
- #: admin/shortcode-builder/components/users.php:107
1276
- #: admin/shortcode-builder/shortcode-builder.php:1005
1277
  msgid "Order By"
1278
  msgstr ""
1279
 
@@ -1326,7 +1348,7 @@ msgid "Taxonomy Operator:"
1326
  msgstr ""
1327
 
1328
  #: admin/shortcode-builder/includes/tax-query-options.php:36
1329
- #: admin/shortcode-builder/shortcode-builder.php:873
1330
  msgid "Relation:"
1331
  msgstr ""
1332
 
@@ -1377,528 +1399,540 @@ msgid ""
1377
  "You can define global container classes on the Ajax Load More settings screen"
1378
  msgstr ""
1379
 
1380
- #: admin/shortcode-builder/shortcode-builder.php:105
1381
- msgid ""
1382
- "Add custom CSS classes to the <span>.alm-listing</span> container. <br/><br/"
1383
- "> e.g. portfolio-listing large-12 etc"
1384
  msgstr ""
1385
 
1386
- #: admin/shortcode-builder/shortcode-builder.php:120
1387
  msgid "Template Selection"
1388
  msgstr ""
1389
 
1390
- #: admin/shortcode-builder/shortcode-builder.php:124
1391
  msgid "Repeater Template"
1392
  msgstr ""
1393
 
1394
- #: admin/shortcode-builder/shortcode-builder.php:126
1395
  msgid ""
1396
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
1397
  "\"_parent\">repeater template</a> you would like to use."
1398
  msgstr ""
1399
 
1400
- #: admin/shortcode-builder/shortcode-builder.php:161
1401
  msgid "Button Labels"
1402
  msgstr ""
1403
 
1404
- #: admin/shortcode-builder/shortcode-builder.php:166
1405
  msgid "Label"
1406
  msgstr ""
1407
 
1408
- #: admin/shortcode-builder/shortcode-builder.php:167
1409
  msgid "Customize the text of the <em>Load More</em> button."
1410
  msgstr ""
1411
 
1412
- #: admin/shortcode-builder/shortcode-builder.php:179
1413
  msgid "Loading Label"
1414
  msgstr ""
1415
 
1416
- #: admin/shortcode-builder/shortcode-builder.php:179
1417
  msgid "Leave field empty to not update text while loading content"
1418
  msgstr ""
1419
 
1420
- #: admin/shortcode-builder/shortcode-builder.php:180
1421
  msgid ""
1422
  "Update the text of the <em>Load More</em> button while content is loading."
1423
  msgstr ""
1424
 
1425
- #: admin/shortcode-builder/shortcode-builder.php:184
1426
  msgid "Loading Posts..."
1427
  msgstr ""
1428
 
1429
- #: admin/shortcode-builder/shortcode-builder.php:194
1430
  msgid "Scrolling"
1431
  msgstr ""
1432
 
1433
- #: admin/shortcode-builder/shortcode-builder.php:197
1434
  msgid "Enable Scrolling"
1435
  msgstr ""
1436
 
1437
- #: admin/shortcode-builder/shortcode-builder.php:198
1438
  msgid "Load more posts as the user scrolls the page."
1439
  msgstr ""
1440
 
1441
- #: admin/shortcode-builder/shortcode-builder.php:219
1442
  msgid "Scroll Distance"
1443
  msgstr ""
1444
 
1445
- #: admin/shortcode-builder/shortcode-builder.php:219
1446
  msgid ""
1447
  "Distance is based on the position of the loading button from the bottom of "
1448
  "the screen"
1449
  msgstr ""
1450
 
1451
- #: admin/shortcode-builder/shortcode-builder.php:220
1452
  msgid ""
1453
  "The distance from the bottom of the screen to trigger loading of posts. "
1454
  "(Default = 150)"
1455
  msgstr ""
1456
 
1457
- #: admin/shortcode-builder/shortcode-builder.php:232
1458
  msgid "Scroll Container"
1459
  msgstr ""
1460
 
1461
- #: admin/shortcode-builder/shortcode-builder.php:232
1462
  msgid "Confine Ajax Load More scrolling to a parent container"
1463
  msgstr ""
1464
 
1465
- #: admin/shortcode-builder/shortcode-builder.php:233
1466
  msgid "Enter the ID or classname of the parent container"
1467
  msgstr ""
1468
 
1469
- #: admin/shortcode-builder/shortcode-builder.php:245
1470
  msgid "Maximum Pages"
1471
  msgstr ""
1472
 
1473
- #: admin/shortcode-builder/shortcode-builder.php:245
1474
  msgid "If using an Infinite Scroll button style you should set this to 0"
1475
  msgstr ""
1476
 
1477
- #: admin/shortcode-builder/shortcode-builder.php:246
1478
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1479
  msgstr ""
1480
 
1481
- #: admin/shortcode-builder/shortcode-builder.php:258
1482
  msgid "Pause Override"
1483
  msgstr ""
1484
 
1485
- #: admin/shortcode-builder/shortcode-builder.php:259
1486
  msgid ""
1487
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1488
  "posts on scroll."
1489
  msgstr ""
1490
 
1491
- #: admin/shortcode-builder/shortcode-builder.php:280
1492
  msgid "Transition"
1493
  msgstr ""
1494
 
1495
- #: admin/shortcode-builder/shortcode-builder.php:283
1496
  msgid "Type"
1497
  msgstr ""
1498
 
1499
- #: admin/shortcode-builder/shortcode-builder.php:284
1500
  msgid "Select a loading transition style."
1501
  msgstr ""
1502
 
1503
- #: admin/shortcode-builder/shortcode-builder.php:289
1504
  msgid "Fade In"
1505
  msgstr ""
1506
 
1507
- #: admin/shortcode-builder/shortcode-builder.php:290
1508
  msgid "Masonry"
1509
  msgstr ""
1510
 
1511
- #: admin/shortcode-builder/shortcode-builder.php:303
1512
  msgid "Masonry Options"
1513
  msgstr ""
1514
 
1515
- #: admin/shortcode-builder/shortcode-builder.php:303
1516
  msgid "Ajax Load More does not support all available Masonry options"
1517
  msgstr ""
1518
 
1519
- #: admin/shortcode-builder/shortcode-builder.php:304
1520
  msgid ""
1521
  "The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
1522
  "target=\"_blank\">options</a> are supported by Ajax Load More"
1523
  msgstr ""
1524
 
1525
- #: admin/shortcode-builder/shortcode-builder.php:309
1526
  msgid "Item Selector"
1527
  msgstr ""
1528
 
1529
- #: admin/shortcode-builder/shortcode-builder.php:309
1530
  msgid ""
1531
  "Item Selector is required for Masonry to target each element loaded with Ajax"
1532
  msgstr ""
1533
 
1534
- #: admin/shortcode-builder/shortcode-builder.php:310
1535
  msgid "Enter the target classname of each masonry item"
1536
  msgstr ""
1537
 
1538
- #: admin/shortcode-builder/shortcode-builder.php:324
1539
  msgid "Column Width"
1540
  msgstr ""
1541
 
1542
- #: admin/shortcode-builder/shortcode-builder.php:324
1543
  msgid ""
1544
  "If columnWidth is not set, Masonry will use the outer width of the first "
1545
  "Item Selector"
1546
  msgstr ""
1547
 
1548
- #: admin/shortcode-builder/shortcode-builder.php:325
1549
  msgid ""
1550
  "Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
1551
  "target=\"_blank\">columnWidth</a> of the masonry items"
1552
  msgstr ""
1553
 
1554
- #: admin/shortcode-builder/shortcode-builder.php:339
1555
  msgid "Animation Type"
1556
  msgstr ""
1557
 
1558
- #: admin/shortcode-builder/shortcode-builder.php:339
1559
  msgid "All Masonry animations include a fade-in effect as items are loaded"
1560
  msgstr ""
1561
 
1562
- #: admin/shortcode-builder/shortcode-builder.php:340
1563
  msgid "Select a loading transition for Masonry items"
1564
  msgstr ""
1565
 
1566
- #: admin/shortcode-builder/shortcode-builder.php:348
1567
  msgid "Default (Zoom)"
1568
  msgstr ""
1569
 
1570
- #: admin/shortcode-builder/shortcode-builder.php:349
1571
  msgid "Items scale up from 50% to 100% size on load"
1572
  msgstr ""
1573
 
1574
- #: admin/shortcode-builder/shortcode-builder.php:355
1575
  msgid "Zoom Out"
1576
  msgstr ""
1577
 
1578
- #: admin/shortcode-builder/shortcode-builder.php:356
1579
  msgid "Items scale down from 125% to 100% size on load"
1580
  msgstr ""
1581
 
1582
- #: admin/shortcode-builder/shortcode-builder.php:362
1583
  msgid "Slide Up"
1584
  msgstr ""
1585
 
1586
- #: admin/shortcode-builder/shortcode-builder.php:363
1587
  msgid "Items animate up as they are loaded into view."
1588
  msgstr ""
1589
 
1590
- #: admin/shortcode-builder/shortcode-builder.php:369
1591
  msgid "Slide Down"
1592
  msgstr ""
1593
 
1594
- #: admin/shortcode-builder/shortcode-builder.php:370
1595
  msgid "Items animate down when loaded into view."
1596
  msgstr ""
1597
 
1598
- #: admin/shortcode-builder/shortcode-builder.php:387
1599
  msgid "Horizontal Order"
1600
  msgstr ""
1601
 
1602
- #: admin/shortcode-builder/shortcode-builder.php:388
1603
  msgid "Lays out items to maintain left-to-right order"
1604
  msgstr ""
1605
 
1606
- #: admin/shortcode-builder/shortcode-builder.php:415
1607
- msgid "Transition Container"
1608
  msgstr ""
1609
 
1610
- #: admin/shortcode-builder/shortcode-builder.php:415
1611
  msgid ""
1612
- "Removing the transition container may have undesired results and is not "
1613
- "recommended"
1614
  msgstr ""
1615
 
1616
- #: admin/shortcode-builder/shortcode-builder.php:416
1617
- msgid ""
1618
- "Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
1619
  msgstr ""
1620
 
1621
- #: admin/shortcode-builder/shortcode-builder.php:423
1622
- msgid "Remove Container"
1623
  msgstr ""
1624
 
1625
- #: admin/shortcode-builder/shortcode-builder.php:434
1626
- msgid "Transition Container Classes"
 
 
1627
  msgstr ""
1628
 
1629
  #: admin/shortcode-builder/shortcode-builder.php:434
1630
  msgid ""
1631
- "This setting is not available with the Previous Post or Next Page add-ons"
1632
  msgstr ""
1633
 
1634
- #: admin/shortcode-builder/shortcode-builder.php:435
1635
- msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
1636
  msgstr ""
1637
 
1638
- #: admin/shortcode-builder/shortcode-builder.php:453
1639
  msgid "Pause"
1640
  msgstr ""
1641
 
1642
- #: admin/shortcode-builder/shortcode-builder.php:456
1643
  msgid ""
1644
  "Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
1645
  msgstr ""
1646
 
1647
- #: admin/shortcode-builder/shortcode-builder.php:478
1648
  msgid "Progress Bar"
1649
  msgstr ""
1650
 
1651
- #: admin/shortcode-builder/shortcode-builder.php:481
1652
  msgid ""
1653
  "Display progress bar indicator at the top of the window while loading Ajax "
1654
  "content"
1655
  msgstr ""
1656
 
1657
- #: admin/shortcode-builder/shortcode-builder.php:510
1658
  msgid "Color"
1659
  msgstr ""
1660
 
1661
- #: admin/shortcode-builder/shortcode-builder.php:511
1662
  msgid "Enter the hex color of the progress bar"
1663
  msgstr ""
1664
 
1665
- #: admin/shortcode-builder/shortcode-builder.php:529
1666
  msgid "Images Loaded"
1667
  msgstr ""
1668
 
1669
- #: admin/shortcode-builder/shortcode-builder.php:532
1670
  msgid "Wait for all images to load before displaying ajax loaded content"
1671
  msgstr ""
1672
 
1673
- #: admin/shortcode-builder/shortcode-builder.php:532
1674
  msgid "Background images are not supported"
1675
  msgstr ""
1676
 
1677
- #: admin/shortcode-builder/shortcode-builder.php:554
1678
  msgid "Destroy After"
1679
  msgstr ""
1680
 
1681
- #: admin/shortcode-builder/shortcode-builder.php:558
1682
  msgid ""
1683
  "Remove Ajax Load More functionality after {<em>n</em>} number of pages have "
1684
  "been loaded."
1685
  msgstr ""
1686
 
1687
- #: admin/shortcode-builder/shortcode-builder.php:577
1688
  msgid "Query Parameters"
1689
  msgstr ""
1690
 
1691
- #: admin/shortcode-builder/shortcode-builder.php:582
1692
  msgid "Posts Per Page"
1693
  msgstr ""
1694
 
1695
- #: admin/shortcode-builder/shortcode-builder.php:585
1696
  msgid "Select the number of posts to load with each request."
1697
  msgstr ""
1698
 
1699
- #: admin/shortcode-builder/shortcode-builder.php:604
1700
  msgid "Post Type"
1701
  msgstr ""
1702
 
1703
- #: admin/shortcode-builder/shortcode-builder.php:609
1704
  msgid "Select the Post Types to include in this Ajax Load More query."
1705
  msgstr ""
1706
 
1707
- #: admin/shortcode-builder/shortcode-builder.php:623
1708
  msgid "Any"
1709
  msgstr ""
1710
 
1711
- #: admin/shortcode-builder/shortcode-builder.php:635
1712
  msgid "Sticky Posts"
1713
  msgstr ""
1714
 
1715
- #: admin/shortcode-builder/shortcode-builder.php:635
1716
  msgid "Sticky posts are only available for Posts"
1717
  msgstr ""
1718
 
1719
- #: admin/shortcode-builder/shortcode-builder.php:636
1720
  msgid ""
1721
  "Preserve the ordering of sticky posts by having them appear first in the "
1722
  "Ajax listing."
1723
  msgstr ""
1724
 
1725
- #: admin/shortcode-builder/shortcode-builder.php:643
1726
  msgid "Enable Sticky Posts"
1727
  msgstr ""
1728
 
1729
- #: admin/shortcode-builder/shortcode-builder.php:665
1730
  msgid "Post Format"
1731
  msgstr ""
1732
 
1733
- #: admin/shortcode-builder/shortcode-builder.php:668
1734
  msgid ""
1735
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
1736
  "\">Post Format</a> to query."
1737
  msgstr ""
1738
 
1739
- #: admin/shortcode-builder/shortcode-builder.php:671
1740
  msgid "Select Post Format"
1741
  msgstr ""
1742
 
1743
- #: admin/shortcode-builder/shortcode-builder.php:672
1744
  msgid "Standard"
1745
  msgstr ""
1746
 
1747
- #: admin/shortcode-builder/shortcode-builder.php:698
1748
- msgid ""
1749
- "A comma separated list of categories to include by slug. (design, research "
1750
- "etc...)"
1751
  msgstr ""
1752
 
1753
- #: admin/shortcode-builder/shortcode-builder.php:722
1754
- msgid ""
1755
- "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
1756
- msgstr ""
1757
-
1758
- #: admin/shortcode-builder/shortcode-builder.php:758
1759
- msgid ""
1760
- "A comma separated list of tags to include by slug. (toronto, canada etc...)"
1761
  msgstr ""
1762
 
1763
- #: admin/shortcode-builder/shortcode-builder.php:780
1764
- msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
 
1765
  msgstr ""
1766
 
1767
- #: admin/shortcode-builder/shortcode-builder.php:816
1768
- msgid "Select a taxonomy then select the terms and an operator."
 
1769
  msgstr ""
1770
 
1771
- #: admin/shortcode-builder/shortcode-builder.php:821
1772
- #: admin/shortcode-builder/shortcode-builder.php:887
1773
- msgid "Add Another"
1774
  msgstr ""
1775
 
1776
- #: admin/shortcode-builder/shortcode-builder.php:831
1777
- msgid "Date"
1778
  msgstr ""
1779
 
1780
- #: admin/shortcode-builder/shortcode-builder.php:834
1781
- msgid ""
1782
- "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1783
- "href=\"admin.php?page=ajax-load-more-help&section=examples#example-date\" "
1784
- "target=\"_blank\">View Example</a>"
1785
  msgstr ""
1786
 
1787
- #: admin/shortcode-builder/shortcode-builder.php:840
1788
- msgid "Year:"
1789
  msgstr ""
1790
 
1791
- #: admin/shortcode-builder/shortcode-builder.php:844
1792
- msgid "Month:"
1793
  msgstr ""
1794
 
1795
- #: admin/shortcode-builder/shortcode-builder.php:848
1796
- msgid "Day:"
 
1797
  msgstr ""
1798
 
1799
- #: admin/shortcode-builder/shortcode-builder.php:859
1800
  msgid "Custom Fields (Meta_Query)"
1801
  msgstr ""
1802
 
1803
- #: admin/shortcode-builder/shortcode-builder.php:862
1804
  msgid ""
1805
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1806
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1807
  "and operator."
1808
  msgstr ""
1809
 
1810
- #: admin/shortcode-builder/shortcode-builder.php:873
1811
  msgid ""
1812
  "The logical relationship between each custom field when there is more than "
1813
  "one"
1814
  msgstr ""
1815
 
1816
- #: admin/shortcode-builder/shortcode-builder.php:903
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1817
  msgid "Author"
1818
  msgstr ""
1819
 
1820
- #: admin/shortcode-builder/shortcode-builder.php:906
1821
  msgid "Select an Author to query(by ID)."
1822
  msgstr ""
1823
 
1824
- #: admin/shortcode-builder/shortcode-builder.php:927
1825
  msgid "Search Term"
1826
  msgstr ""
1827
 
1828
- #: admin/shortcode-builder/shortcode-builder.php:930
1829
  msgid "Enter a search term to query."
1830
  msgstr ""
1831
 
1832
- #: admin/shortcode-builder/shortcode-builder.php:934
1833
  msgid "Enter search term"
1834
  msgstr ""
1835
 
1836
- #: admin/shortcode-builder/shortcode-builder.php:943
1837
  msgid "Post Parameters"
1838
  msgstr ""
1839
 
1840
- #: admin/shortcode-builder/shortcode-builder.php:947
1841
  msgid "A comma separated list of post ID's to query."
1842
  msgstr ""
1843
 
1844
- #: admin/shortcode-builder/shortcode-builder.php:951
1845
  msgid "225, 340, 818, etc..."
1846
  msgstr ""
1847
 
1848
- #: admin/shortcode-builder/shortcode-builder.php:958
1849
  msgid "A comma separated list of post ID's to exclude from query."
1850
  msgstr ""
1851
 
1852
- #: admin/shortcode-builder/shortcode-builder.php:968
1853
  msgid "Post Status"
1854
  msgstr ""
1855
 
1856
- #: admin/shortcode-builder/shortcode-builder.php:968
1857
  msgid ""
1858
  "Post Status parameters are only available for logged in (admin) users. Non "
1859
  "logged in users will only have access to view content in a 'publish' or "
1860
  "'inherit' state."
1861
  msgstr ""
1862
 
1863
- #: admin/shortcode-builder/shortcode-builder.php:969
1864
  msgid "Select status of the post."
1865
  msgstr ""
1866
 
1867
- #: admin/shortcode-builder/shortcode-builder.php:974
1868
  msgid "Published"
1869
  msgstr ""
1870
 
1871
- #: admin/shortcode-builder/shortcode-builder.php:991
1872
  msgid "Ordering"
1873
  msgstr ""
1874
 
1875
- #: admin/shortcode-builder/shortcode-builder.php:994
1876
  msgid "Sort posts by Order and Orderby parameters."
1877
  msgstr ""
1878
 
1879
- #: admin/shortcode-builder/shortcode-builder.php:1026
1880
  msgid "Offset"
1881
  msgstr ""
1882
 
1883
- #: admin/shortcode-builder/shortcode-builder.php:1029
1884
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1885
  msgstr ""
1886
 
1887
- #: admin/shortcode-builder/shortcode-builder.php:1042
1888
  msgid "Custom Arguments"
1889
  msgstr ""
1890
 
1891
- #: admin/shortcode-builder/shortcode-builder.php:1045
1892
  msgid "A semicolon separated list of custom value:pair arguments."
1893
  msgstr ""
1894
 
1895
- #: admin/shortcode-builder/shortcode-builder.php:1045
1896
  msgid ""
1897
  "Custom Arguments can be used to query by parameters not available in the "
1898
  "Shortcode Builder"
1899
  msgstr ""
1900
 
1901
- #: admin/shortcode-builder/shortcode-builder.php:1049
1902
  msgid "event_display:upcoming"
1903
  msgstr ""
1904
 
@@ -1908,15 +1942,11 @@ msgid ""
1908
  "Load More"
1909
  msgstr ""
1910
 
1911
- #: admin/views/add-ons.php:38
1912
- msgid "Installed"
1913
- msgstr ""
1914
-
1915
- #: admin/views/add-ons.php:40
1916
  msgid "Purchase"
1917
  msgstr ""
1918
 
1919
- #: admin/views/add-ons.php:49
1920
  msgid ""
1921
  "All add-ons are installed as stand alone plugins and with a valid license "
1922
  "key will receive plugin update notifications directly within the <a href="
@@ -1929,12 +1959,52 @@ msgid ""
1929
  "WordPress functionality"
1930
  msgstr ""
1931
 
1932
- #: admin/views/extensions.php:33
1933
  msgid ""
1934
  "Extensions are installed as stand alone plugins and receive update "
1935
  "notifications in the <a href=\"plugins.php\">plugin dashboard</a>."
1936
  msgstr ""
1937
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1938
  #: admin/views/help.php:4
1939
  msgid "Get started with our four step guide to painless implementation!"
1940
  msgstr ""
@@ -1943,26 +2013,26 @@ msgstr ""
1943
  msgid "A collection of everyday shortcode usages and implementation examples"
1944
  msgstr ""
1945
 
1946
- #: admin/views/help.php:30
1947
  msgid "Implementation Guide"
1948
  msgstr ""
1949
 
1950
- #: admin/views/help.php:35
1951
  msgid "Examples"
1952
  msgstr ""
1953
 
1954
- #: admin/views/help.php:68
1955
  msgid "Example Library"
1956
  msgstr ""
1957
 
1958
- #: admin/views/help.php:70
1959
  msgid ""
1960
  "We have a collection of over 20 real world Ajax Load More <a href=\"https://"
1961
  "connekthq.com/plugins/ajax-load-more/examples/\" target=\"_blank\">examples</"
1962
  "a> available on the plugin website"
1963
  msgstr ""
1964
 
1965
- #: admin/views/help.php:73
1966
  msgid "View All Examples"
1967
  msgstr ""
1968
 
@@ -1980,81 +2050,81 @@ msgid ""
1980
  "more-add-ons\">add-on</a> updates from the plugins dashboard"
1981
  msgstr ""
1982
 
1983
- #: admin/views/licenses.php:20
1984
  msgid "License Key"
1985
  msgstr ""
1986
 
1987
- #: admin/views/licenses.php:22
1988
  msgid "License Keys"
1989
  msgstr ""
1990
 
1991
- #: admin/views/licenses.php:29
1992
  msgid ""
1993
  "Enter your Ajax Load More Pro license key to receive plugin update "
1994
  "notifications directly within the <a href=\"plugins.php\">WP Plugins "
1995
  "dashboard</a>."
1996
  msgstr ""
1997
 
1998
- #: admin/views/licenses.php:31
1999
  msgid ""
2000
  "Enter a key for each of your Ajax Load More add-ons to receive plugin update "
2001
  "notifications directly within the <a href=\"plugins.php\">WP Plugins "
2002
  "dashboard</a>."
2003
  msgstr ""
2004
 
2005
- #: admin/views/licenses.php:71
2006
  msgid "Don't have a license?"
2007
  msgstr ""
2008
 
2009
- #: admin/views/licenses.php:72
2010
  msgid ""
2011
  "A valid license is required to activate and receive plugin updates directly "
2012
  "in your WordPress dashboard"
2013
  msgstr ""
2014
 
2015
- #: admin/views/licenses.php:72
2016
  msgid "Purchase Now"
2017
  msgstr ""
2018
 
2019
- #: admin/views/licenses.php:78 admin/views/licenses.php:80
2020
  msgid "Enter License Key"
2021
  msgstr ""
2022
 
2023
- #: admin/views/licenses.php:104
2024
  msgid "Activate License"
2025
  msgstr ""
2026
 
2027
- #: admin/views/licenses.php:107
2028
  msgid "Deactivate License"
2029
  msgstr ""
2030
 
2031
- #: admin/views/licenses.php:124
2032
  msgid "You do not have any Ajax Load More add-ons installed"
2033
  msgstr ""
2034
 
2035
- #: admin/views/licenses.php:124
2036
  msgid "Browse Add-ons"
2037
  msgstr ""
2038
 
2039
- #: admin/views/licenses.php:134
2040
  msgid "About Licenses"
2041
  msgstr ""
2042
 
2043
- #: admin/views/licenses.php:137
2044
  msgid ""
2045
  "License keys are found in the purchase receipt email that was sent "
2046
  "immediately after purchase and in the <a target=\"_blank\" href=\"https://"
2047
  "connekthq.com/account/\">Account</a> section on our website"
2048
  msgstr ""
2049
 
2050
- #: admin/views/licenses.php:138
2051
  msgid ""
2052
  "If you cannot locate your key please open a support ticket by filling out "
2053
  "the <a href=\"https://connekthq.com/contact/\">support form</a> and "
2054
  "reference the email address used when you completed the purchase."
2055
  msgstr ""
2056
 
2057
- #: admin/views/licenses.php:143
2058
  msgid "Your Account"
2059
  msgstr ""
2060
 
@@ -2062,43 +2132,44 @@ msgstr ""
2062
  msgid "The library of editable templates for use within your theme"
2063
  msgstr ""
2064
 
2065
- #: admin/views/repeater-templates.php:26 admin/views/settings.php:46
2066
- #: core/functions.php:201
2067
  msgid "Theme Repeaters"
2068
  msgstr ""
2069
 
2070
- #: admin/views/repeater-templates.php:99 admin/views/repeater-templates.php:249
 
2071
  msgid "Location"
2072
  msgstr ""
2073
 
2074
- #: admin/views/repeater-templates.php:135
2075
  msgid "Templates Not Found"
2076
  msgstr ""
2077
 
2078
- #: admin/views/repeater-templates.php:137
2079
  msgid ""
2080
  "Oh no - looks like you haven't added any Theme Repeater templates - you need "
2081
  "to create and upload templates to your theme directory before you can access "
2082
  "them in Ajax Load More"
2083
  msgstr ""
2084
 
2085
- #: admin/views/repeater-templates.php:140
2086
  msgid "Learn More About Theme Repeaters"
2087
  msgstr ""
2088
 
2089
- #: admin/views/repeater-templates.php:194
2090
  msgid "Default Template"
2091
  msgstr ""
2092
 
2093
- #: admin/views/repeater-templates.php:203
2094
  msgid "Enter the HTML and PHP code for the default template"
2095
  msgstr ""
2096
 
2097
- #: admin/views/repeater-templates.php:233
2098
  msgid "Save Template"
2099
  msgstr ""
2100
 
2101
- #: admin/views/repeater-templates.php:247
2102
  msgid ""
2103
  "It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
2104
  "load-more/docs/repeater-templates/#default-template\" target=\"_blank"
@@ -2107,19 +2178,19 @@ msgid ""
2107
  "your server."
2108
  msgstr ""
2109
 
2110
- #: admin/views/repeater-templates.php:329
2111
  msgid "Saving template..."
2112
  msgstr ""
2113
 
2114
- #: admin/views/repeater-templates.php:400
2115
  msgid "Updating template..."
2116
  msgstr ""
2117
 
2118
- #: admin/views/repeater-templates.php:472
2119
  msgid "What's a Repeater Template?"
2120
  msgstr ""
2121
 
2122
- #: admin/views/repeater-templates.php:474
2123
  msgid ""
2124
  "A <a href=\"https://connekthq.com/plugins/ajax-load-more/docs/repeater-"
2125
  "templates/\" target=\"_blank\">Repeater Template</a> is a snippet of code "
@@ -2127,31 +2198,31 @@ msgid ""
2127
  "org/The_Loop\" target=\"_blank\">WordPress loop</a>"
2128
  msgstr ""
2129
 
2130
- #: admin/views/repeater-templates.php:477
2131
  msgid "Learn More"
2132
  msgstr ""
2133
 
2134
- #: admin/views/settings.php:9
2135
  msgid "A powerful plugin to add infinite scroll functionality to your website."
2136
  msgstr ""
2137
 
2138
- #: admin/views/settings.php:24 admin/views/settings.php:27
2139
  msgid "Jump to Setting"
2140
  msgstr ""
2141
 
2142
- #: admin/views/settings.php:28
2143
  msgid "Global Settings"
2144
  msgstr ""
2145
 
2146
- #: admin/views/settings.php:29
2147
  msgid "Admin"
2148
  msgstr ""
2149
 
2150
- #: admin/views/settings.php:36 core/functions.php:117
2151
  msgid "Layouts"
2152
  msgstr ""
2153
 
2154
- #: admin/views/settings.php:44
2155
  msgid "SEO"
2156
  msgstr ""
2157
 
@@ -2161,29 +2232,29 @@ msgid ""
2161
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
2162
  msgstr ""
2163
 
2164
- #: admin/views/shortcode-builder.php:17
2165
  msgid "Back to Top"
2166
  msgstr ""
2167
 
2168
- #: admin/views/shortcode-builder.php:29
2169
  msgid "Shortcode Output"
2170
  msgstr ""
2171
 
2172
- #: admin/views/shortcode-builder.php:31
2173
  msgid ""
2174
  "Place the following shortcode into the content editor or widget area of your "
2175
  "theme."
2176
  msgstr ""
2177
 
2178
- #: admin/views/shortcode-builder.php:35
2179
  msgid "Reset"
2180
  msgstr ""
2181
 
2182
- #: admin/views/shortcode-builder.php:38
2183
  msgid "Copy Shortcode"
2184
  msgstr ""
2185
 
2186
- #: ajax-load-more.php:309
2187
  msgid "Error creating repeater template directory"
2188
  msgstr ""
2189
 
@@ -2191,144 +2262,154 @@ msgstr ""
2191
  msgid "Pages: "
2192
  msgstr ""
2193
 
2194
- #: core/functions.php:16
2195
  msgid "Ajax Load More Pro"
2196
  msgstr ""
2197
 
2198
- #: core/functions.php:17 core/functions.php:48
 
 
 
 
 
 
 
 
 
 
2199
  msgid "Improve performance with the Ajax Load More caching engine."
2200
  msgstr ""
2201
 
2202
- #: core/functions.php:18 core/functions.php:49
2203
  msgid ""
2204
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
2205
  "delivers those static files to your visitors."
2206
  msgstr ""
2207
 
2208
- #: core/functions.php:62
2209
  msgid ""
2210
  "Ajax Load More extension for displaying advertisements and call to actions."
2211
  msgstr ""
2212
 
2213
- #: core/functions.php:63
2214
  msgid ""
2215
- "The Call to Actions add-on will provide the ability to inject a custom CTA "
2216
  "template within each Ajax Load More loop."
2217
  msgstr ""
2218
 
2219
- #: core/functions.php:76
2220
  msgid "Load blog comments on demand with Ajax Load More."
2221
  msgstr ""
2222
 
2223
- #: core/functions.php:77
2224
  msgid ""
2225
  "The Comments add-on will display your blog comments with Ajax Load More's "
2226
  "infinite scroll functionality."
2227
  msgstr ""
2228
 
2229
- #: core/functions.php:89
2230
  msgid "Custom Repeaters"
2231
  msgstr ""
2232
 
2233
- #: core/functions.php:90
2234
  msgid "Extend Ajax Load More with unlimited repeater templates."
2235
  msgstr ""
2236
 
2237
- #: core/functions.php:91
2238
  msgid ""
2239
  "Create, delete and modify repeater templates as you need them with "
2240
  "absolutely zero restrictions."
2241
  msgstr ""
2242
 
2243
- #: core/functions.php:104
2244
  msgid "Create custom Ajax Load More filters in seconds."
2245
  msgstr ""
2246
 
2247
- #: core/functions.php:105
2248
  msgid ""
2249
  "The Filters add-on provides front-end and admin functionality for building "
2250
  "and managing Ajax filters."
2251
  msgstr ""
2252
 
2253
- #: core/functions.php:118
2254
  msgid "Predefined layouts for repeater templates."
2255
  msgstr ""
2256
 
2257
- #: core/functions.php:119
2258
  msgid ""
2259
  "The Layouts add-on provides a collection of unique, well designed and fully "
2260
  "responsive templates."
2261
  msgstr ""
2262
 
2263
- #: core/functions.php:132
2264
  msgid "Load and display multipage WordPress content."
2265
  msgstr ""
2266
 
2267
- #: core/functions.php:133
2268
  msgid ""
2269
- "The Next Page add-on will provide functionality for infinite scrolling "
2270
- "paginated posts and pages."
2271
  msgstr ""
2272
 
2273
- #: core/functions.php:146
2274
  msgid "Extend Ajax Load More with a numbered navigation."
2275
  msgstr ""
2276
 
2277
- #: core/functions.php:147
2278
  msgid ""
2279
  "The Paging add-on will transform the default infinite scroll functionality "
2280
  "into a robust ajax powered navigation system."
2281
  msgstr ""
2282
 
2283
- #: core/functions.php:160
2284
  msgid "Load an initial set of posts before making Ajax requests to the server."
2285
  msgstr ""
2286
 
2287
- #: core/functions.php:161
2288
  msgid ""
2289
  "The Preloaded add-on will display content quicker and allow caching of the "
2290
  "initial query which can reduce stress on your server."
2291
  msgstr ""
2292
 
2293
- #: core/functions.php:174
2294
  msgid "An add-on to enable infinite scrolling of single posts."
2295
  msgstr ""
2296
 
2297
- #: core/functions.php:175
2298
  msgid ""
2299
  "The Previous Post add-on will load single posts as you scroll and update the "
2300
  "browser URL to the current post."
2301
  msgstr ""
2302
 
2303
- #: core/functions.php:187
2304
  msgid "Search Engine Optimization"
2305
  msgstr ""
2306
 
2307
- #: core/functions.php:188
2308
  msgid "Generate unique paging URLs with every Ajax Load More query."
2309
  msgstr ""
2310
 
2311
- #: core/functions.php:189
2312
  msgid ""
2313
  "The SEO add-on will optimize your ajax loaded content for search engines by "
2314
  "generating unique URLs with every query."
2315
  msgstr ""
2316
 
2317
- #: core/functions.php:202
2318
  msgid "Manage repeater templates within your current theme directory."
2319
  msgstr ""
2320
 
2321
- #: core/functions.php:203
2322
  msgid ""
2323
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
2324
  "from your current theme directory."
2325
  msgstr ""
2326
 
2327
- #: core/functions.php:216
2328
  msgid "Enable infinite scrolling of WordPress users."
2329
  msgstr ""
2330
 
2331
- #: core/functions.php:217
2332
  msgid ""
2333
  "The Users add-on will allow lazy loading of users by role using a "
2334
  "WP_User_Query."
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ajax Load More\n"
5
+ "POT-Creation-Date: 2018-11-04 09:28-0500\n"
6
  "PO-Revision-Date: 2018-06-20 13:05-0500\n"
7
  "Last-Translator: Darren Cooney <darren@connekthq.com>\n"
8
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.2\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
  "X-Poedit-KeywordsList: __;_e\n"
18
  "X-Poedit-SearchPathExcluded-0: core/src\n"
19
  "X-Poedit-SearchPathExcluded-1: admin/src\n"
20
 
21
+ #: admin/admin.php:73 admin/admin.php:1126
22
+ #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:170
23
+ #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:241
24
+ msgid "Error - unable to verify nonce, please try again."
25
+ msgstr ""
26
+
27
+ #: admin/admin.php:77
28
+ msgid "Transient set successfully"
29
+ msgstr ""
30
+
31
+ #: admin/admin.php:131
32
  msgid ""
33
+ "You have an invalid or expired <a href=\"admin.php?page=ajax-load-more"
34
+ "\"><b>Ajax Load More Pro</b></a> license key - please visit the <a href="
35
+ "\"admin.php?page=ajax-load-more-licenses\">License</a> section to input your "
36
+ "key or <a href=\"https://connekthq.com/plugins/ajax-load-more/pro/\" target="
37
+ "\"_blank\">purchase</a> one now."
38
  msgstr ""
39
 
40
+ #: admin/admin.php:135
41
  msgid ""
42
  "You have invalid <a href=\"admin.php?page=ajax-load-more\"><b>Ajax Load "
43
  "More</b></a> license keys - please visit the <a href=\"admin.php?page=ajax-"
44
  "load-more-licenses\">Licenses</a> section and input your keys."
45
  msgstr ""
46
 
47
+ #: admin/admin.php:233 admin/admin.php:291 admin/admin.php:988
48
+ #: admin/admin.php:1033 admin/admin.php:1083
49
  msgid "You don't belong here."
50
  msgstr ""
51
 
52
+ #: admin/admin.php:322
53
  msgid "Ajax Load More"
54
  msgstr ""
55
 
56
+ #: admin/admin.php:323 admin/editor/editor-build.php:69
57
+ #: admin/views/licenses.php:84
58
  msgid "Active"
59
  msgstr ""
60
 
61
+ #: admin/admin.php:324 admin/editor/editor-build.php:70
62
+ #: admin/views/licenses.php:88
63
  msgid "Inactive"
64
  msgstr ""
65
 
66
+ #: admin/admin.php:325 admin/editor/editor-build.php:71
67
  msgid "Applying layout"
68
  msgstr ""
69
 
70
+ #: admin/admin.php:326 admin/editor/editor-build.php:72
71
+ #: admin/views/repeater-templates.php:422
72
  msgid "Template Updated"
73
  msgstr ""
74
 
75
+ #: admin/admin.php:328 admin/editor/editor-build.php:74
76
  msgid "Select Author(s)"
77
  msgstr ""
78
 
79
+ #: admin/admin.php:329 admin/editor/editor-build.php:75
80
  msgid "Select Categories"
81
  msgstr ""
82
 
83
+ #: admin/admin.php:330 admin/editor/editor-build.php:76
84
  msgid "Select Tags"
85
  msgstr ""
86
 
87
+ #: admin/admin.php:331
88
+ msgid "Select"
89
+ msgstr ""
90
+
91
+ #: admin/admin.php:332 admin/editor/editor-build.php:41
92
  #: admin/editor/editor-build.php:77
93
  msgid "Jump to Option"
94
  msgstr ""
95
 
96
+ #: admin/admin.php:333 admin/editor/editor-build.php:78
97
  msgid "Jump to Template"
98
  msgstr ""
99
 
100
+ #: admin/admin.php:334
101
  msgid "Are you sure you want to install this Ajax Load More extension?"
102
  msgstr ""
103
 
104
+ #: admin/admin.php:335
105
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
106
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
107
  msgid "Install Now"
108
  msgstr ""
109
 
110
+ #: admin/admin.php:336
111
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
112
  #: vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
113
  msgid "Activate"
114
  msgstr ""
115
 
116
+ #: admin/admin.php:337
117
  msgid "Saving Settings"
118
  msgstr ""
119
 
120
+ #: admin/admin.php:338
121
  msgid "Settings Saved Successfully"
122
  msgstr ""
123
 
124
+ #: admin/admin.php:339
125
  msgid "Error Saving Settings"
126
  msgstr ""
127
 
128
+ #: admin/admin.php:439
129
  msgid ""
130
  "[Ajax Load More] Error opening default repeater template - Please check your "
131
  "file path and ensure your server is configured to allow Ajax Load More to "
132
  "read and write files within the /ajax-load-more/core/repeater directory"
133
  msgstr ""
134
 
135
+ #: admin/admin.php:443
136
  msgid ""
137
  "[Ajax Load More] Error updating default repeater template - Please check "
138
  "your file path and ensure your server is configured to allow Ajax Load More "
139
  "to read and write files within the /ajax-load-more/core/repeater directory."
140
  msgstr ""
141
 
142
+ #: admin/admin.php:483 admin/admin.php:484 ajax-load-more.php:302
143
  msgid "Settings"
144
  msgstr ""
145
 
146
+ #: admin/admin.php:492 admin/admin.php:493
147
+ #: admin/views/repeater-templates.php:14 admin/views/repeater-templates.php:26
148
  msgid "Repeater Templates"
149
  msgstr ""
150
 
151
+ #: admin/admin.php:501 admin/admin.php:502 admin/views/shortcode-builder.php:6
152
  msgid "Shortcode Builder"
153
  msgstr ""
154
 
155
+ #: admin/admin.php:511 admin/admin.php:512 admin/views/add-ons.php:6
156
  msgid "Add-ons"
157
  msgstr ""
158
 
159
+ #: admin/admin.php:521 admin/admin.php:522 admin/views/extensions.php:5
160
  msgid "Extensions"
161
  msgstr ""
162
 
163
+ #: admin/admin.php:530 admin/admin.php:531 admin/views/help.php:18
164
  msgid "Help"
165
  msgstr ""
166
 
167
+ #: admin/admin.php:537
168
  msgid "License"
169
  msgstr ""
170
 
171
+ #: admin/admin.php:537 admin/views/licenses.php:2
172
  msgid "Licenses"
173
  msgstr ""
174
 
175
+ #: admin/admin.php:557 admin/admin.php:558 admin/admin.php:566
176
+ #: admin/views/go-pro.php:5
177
  msgid "Pro"
178
  msgstr ""
179
 
180
+ #: admin/admin.php:567 admin/views/licenses.php:125
181
+ msgid "Go Pro"
182
+ msgstr ""
183
+
184
+ #: admin/admin.php:579 admin/admin.php:580
185
+ #: admin/shortcode-builder/components/cache.php:3 admin/views/settings.php:35
186
+ #: core/functions.php:50
187
  msgid "Cache"
188
  msgstr ""
189
 
190
+ #: admin/admin.php:600 admin/admin.php:601
191
+ #: admin/shortcode-builder/components/filters.php:3 admin/views/settings.php:37
192
+ #: core/functions.php:110
193
  msgid "Filters"
194
  msgstr ""
195
 
196
+ #: admin/admin.php:944
197
  msgid "[Ajax Load More] Unable to open repeater template - "
198
  msgstr ""
199
 
200
+ #: admin/admin.php:948
201
  msgid "[Ajax Load More] Error saving repeater template - "
202
  msgstr ""
203
 
204
+ #: admin/admin.php:980
205
  msgid "Template Saved Successfully"
206
  msgstr ""
207
 
208
+ #: admin/admin.php:982
209
  msgid "Error Writing File"
210
  msgstr ""
211
 
212
+ #: admin/admin.php:982 admin/views/repeater-templates.php:363
213
  msgid "Something went wrong and the data could not be saved."
214
  msgstr ""
215
 
216
+ #: admin/admin.php:1191 admin/shortcode-builder/shortcode-builder.php:73
 
 
 
 
 
 
217
  msgid "Container Type"
218
  msgstr ""
219
 
220
+ #: admin/admin.php:1199 admin/shortcode-builder/shortcode-builder.php:104
221
  msgid "Container Classes"
222
  msgstr ""
223
 
224
+ #: admin/admin.php:1207
225
  msgid "Disable CSS"
226
  msgstr ""
227
 
228
+ #: admin/admin.php:1215
229
  msgid "Button/Loading Style"
230
  msgstr ""
231
 
232
+ #: admin/admin.php:1223
233
  msgid "Button Classes"
234
  msgstr ""
235
 
236
+ #: admin/admin.php:1231
237
  msgid "Load CSS Inline"
238
  msgstr ""
239
 
240
+ #: admin/admin.php:1239
241
  msgid "Top of Page"
242
  msgstr ""
243
 
244
+ #: admin/admin.php:1247
245
  msgid "Dynamic Content"
246
  msgstr ""
247
 
248
+ #: admin/admin.php:1255
249
  msgid "Editor Button"
250
  msgstr ""
251
 
252
+ #: admin/admin.php:1263
253
  msgid "Error Notices"
254
  msgstr ""
255
 
256
+ #: admin/admin.php:1340
257
  msgid ""
258
  "Customize the user experience of Ajax Load More by updating the fields below."
259
  msgstr ""
260
 
261
+ #: admin/admin.php:1353
262
  msgid "The following settings affect the WordPress admin area only."
263
  msgstr ""
264
 
265
+ #: admin/admin.php:1384
266
  msgid "I want to use my own CSS styles."
267
  msgstr ""
268
 
269
+ #: admin/admin.php:1384
270
  msgid "View Ajax Load More CSS"
271
  msgstr ""
272
 
273
+ #: admin/admin.php:1404
274
  msgid "Hide shortcode button in WYSIWYG editor."
275
  msgstr ""
276
 
277
+ #: admin/admin.php:1425
278
  msgid ""
279
  "Display error messaging regarding repeater template updates in the browser "
280
  "console."
281
  msgstr ""
282
 
283
+ #: admin/admin.php:1446
284
  msgid ""
285
  "Disable dynamic population of categories, tags and authors in the Shortcode "
286
  "Builder.<span style=\"display:block\">Recommended if you have a large number "
287
  "of categories, tags and/or authors."
288
  msgstr ""
289
 
290
+ #: admin/admin.php:1467 admin/admin.php:1470
291
  msgid "Ajax Posts Here"
292
  msgstr ""
293
 
294
+ #: admin/admin.php:1472
295
  msgid "You can modify the container type when building a shortcode."
296
  msgstr ""
297
 
298
+ #: admin/admin.php:1489
299
  msgid ""
300
  "Add custom classes to the <i>.alm-listing</i> container - classes are "
301
  "applied globally and will appear with every instance of Ajax Load More. "
303
  "shortcode.</span>"
304
  msgstr ""
305
 
306
+ #: admin/admin.php:1551
307
  msgid ""
308
  "Select an Ajax loading style - you can choose between a <strong>Button</"
309
  "strong> or <strong>Infinite Scroll</strong>"
310
  msgstr ""
311
 
312
+ #: admin/admin.php:1556
313
  msgid "Button"
314
  msgstr ""
315
 
316
+ #: admin/admin.php:1564
317
  msgid "Infinite Scroll (No Button)"
318
  msgstr ""
319
 
320
+ #: admin/admin.php:1577
321
  msgid "Preview"
322
  msgstr ""
323
 
324
+ #: admin/admin.php:1577 admin/shortcode-builder/shortcode-builder.php:174
325
+ #: core/classes/class.alm-shortcode.php:159
326
  msgid "Older Posts"
327
  msgstr ""
328
 
329
+ #: admin/admin.php:1598
330
  msgid "Improve site performance by loading Ajax Load More CSS inline"
331
  msgstr ""
332
 
333
+ #: admin/admin.php:1618
334
  msgid "Add classes to your <strong>Load More</strong> button"
335
  msgstr ""
336
 
337
+ #: admin/admin.php:1663
338
  msgid ""
339
  "On initial page load, move the user's browser window to the top of the "
340
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
341
  "loading of unnecessary posts.</span>"
342
  msgstr ""
343
 
344
+ #: admin/admin.php:1684
345
  msgid ""
346
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
347
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
367
 
368
  #: admin/includes/components/example-list.php:2
369
  #: admin/shortcode-builder/shortcode-builder.php:3
370
+ #: admin/views/repeater-templates.php:127
371
+ #: admin/views/repeater-templates.php:157
372
  msgid "Collapse All"
373
  msgstr ""
374
 
375
  #: admin/includes/components/example-list.php:2
376
  #: admin/shortcode-builder/shortcode-builder.php:4
377
+ #: admin/views/repeater-templates.php:128
378
+ #: admin/views/repeater-templates.php:158
379
  msgid "Expand All"
380
  msgstr ""
381
 
467
  msgstr ""
468
 
469
  #: admin/includes/cta/add-ons.php:2
470
+ msgid "About the Add-ons"
471
+ msgstr ""
472
+
473
+ #: admin/includes/cta/add-ons.php:8
474
+ msgid "View Add-ons"
475
  msgstr ""
476
 
477
  #: admin/includes/cta/config.php:2
486
  msgid "Release Date"
487
  msgstr ""
488
 
489
+ #: admin/includes/cta/dyk.php:3
490
  msgid "Did You Know?"
491
  msgstr ""
492
 
502
  msgid "More Info"
503
  msgstr ""
504
 
505
+ #: admin/includes/cta/pro-hero.php:26 admin/views/add-ons.php:41
506
+ msgid "Installed"
507
+ msgstr ""
508
+
509
+ #: admin/includes/cta/pro-hero.php:28
510
+ msgid "Upgrade to Pro"
511
+ msgstr ""
512
+
513
  #: admin/includes/cta/resources.php:2
514
  msgid "Resources"
515
  msgstr ""
522
  msgid "Documentation"
523
  msgstr ""
524
 
525
+ #: admin/includes/cta/resources.php:8 admin/includes/cta/resources.php:10
526
  msgid "Support and Issues"
527
  msgstr ""
528
 
529
+ #: admin/includes/cta/resources.php:12
530
  msgid "Reviews"
531
  msgstr ""
532
 
533
+ #: admin/includes/cta/resources.php:13
534
  msgid "WordPress"
535
  msgstr ""
536
 
537
+ #: admin/includes/cta/resources.php:14
538
  msgid "Github"
539
  msgstr ""
540
 
541
+ #: admin/includes/cta/resources.php:15
542
  msgid "Twitter"
543
  msgstr ""
544
 
545
+ #: admin/includes/cta/resources.php:16
546
  msgid "Facebook"
547
  msgstr ""
548
 
614
  #: admin/shortcode-builder/components/rest-api.php:108
615
  #: admin/shortcode-builder/components/seo.php:14
616
  #: admin/shortcode-builder/components/users.php:13
617
+ #: admin/shortcode-builder/shortcode-builder.php:208
618
+ #: admin/shortcode-builder/shortcode-builder.php:268
619
+ #: admin/shortcode-builder/shortcode-builder.php:399
620
+ #: admin/shortcode-builder/shortcode-builder.php:466
621
+ #: admin/shortcode-builder/shortcode-builder.php:494
622
+ #: admin/shortcode-builder/shortcode-builder.php:542
623
  msgid "True"
624
  msgstr ""
625
 
639
  #: admin/shortcode-builder/components/rest-api.php:112
640
  #: admin/shortcode-builder/components/seo.php:18
641
  #: admin/shortcode-builder/components/users.php:17
642
+ #: admin/shortcode-builder/shortcode-builder.php:212
643
+ #: admin/shortcode-builder/shortcode-builder.php:272
644
+ #: admin/shortcode-builder/shortcode-builder.php:403
645
+ #: admin/shortcode-builder/shortcode-builder.php:470
646
+ #: admin/shortcode-builder/shortcode-builder.php:498
647
+ #: admin/shortcode-builder/shortcode-builder.php:546
648
  msgid "False"
649
  msgstr ""
650
 
722
  msgid "Generate Cache ID"
723
  msgstr ""
724
 
725
+ #: admin/shortcode-builder/components/comments.php:3 core/functions.php:80
726
  msgid "Comments"
727
  msgstr ""
728
 
793
  msgstr ""
794
 
795
  #: admin/shortcode-builder/components/comments.php:106
796
+ #: admin/shortcode-builder/shortcode-builder.php:294
797
+ #: admin/shortcode-builder/shortcode-builder.php:379
798
  msgid "None"
799
  msgstr ""
800
 
839
  "\"_blank\">View documentation</a>"
840
  msgstr ""
841
 
842
+ #: admin/shortcode-builder/components/cta.php:3 core/functions.php:65
843
  msgid "Call to Actions"
844
  msgstr ""
845
 
946
  "Enable debugging of the Ajax Load More filter object in the browser console"
947
  msgstr ""
948
 
949
+ #: admin/shortcode-builder/components/nextpage.php:3 core/functions.php:140
950
  msgid "Next Page"
951
  msgstr ""
952
 
1027
  "\"_blank\">View documentation</a>"
1028
  msgstr ""
1029
 
1030
+ #: admin/shortcode-builder/components/paging.php:3 admin/views/settings.php:41
1031
+ #: core/functions.php:155
1032
  msgid "Paging"
1033
  msgstr ""
1034
 
1061
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
1062
  msgstr ""
1063
 
1064
+ #: admin/shortcode-builder/components/preloaded.php:3 core/functions.php:170
1065
  msgid "Preloaded"
1066
  msgstr ""
1067
 
1078
  msgstr ""
1079
 
1080
  #: admin/shortcode-builder/components/previous-post.php:3
1081
+ #: admin/views/settings.php:43 core/functions.php:185
1082
  msgid "Previous Post"
1083
  msgstr ""
1084
 
1087
  msgstr ""
1088
 
1089
  #: admin/shortcode-builder/components/previous-post.php:38
1090
+ #: admin/shortcode-builder/shortcode-builder.php:879
1091
  msgid "Taxonomy"
1092
  msgstr ""
1093
 
1110
  msgstr ""
1111
 
1112
  #: admin/shortcode-builder/components/previous-post.php:53
1113
+ #: admin/shortcode-builder/shortcode-builder.php:699
1114
  msgid "Category"
1115
  msgstr ""
1116
 
1117
  #: admin/shortcode-builder/components/previous-post.php:54
1118
+ #: admin/shortcode-builder/shortcode-builder.php:789
1119
  msgid "Tag"
1120
  msgstr ""
1121
 
1141
  msgstr ""
1142
 
1143
  #: admin/shortcode-builder/components/rest-api.php:18
1144
+ #: admin/views/settings.php:45
1145
  msgid "REST API"
1146
  msgstr ""
1147
 
1202
  msgstr ""
1203
 
1204
  #: admin/shortcode-builder/components/rest-api.php:88
1205
+ #: admin/shortcode-builder/shortcode-builder.php:485
1206
+ #: admin/shortcode-builder/shortcode-builder.php:706
1207
+ #: admin/shortcode-builder/shortcode-builder.php:796
1208
+ #: admin/shortcode-builder/shortcode-builder.php:1024
1209
  msgid "View Example"
1210
  msgstr ""
1211
 
1231
  "Enable address bar URL rewrites as users page through ajax loaded content."
1232
  msgstr ""
1233
 
1234
+ #: admin/shortcode-builder/components/users.php:3 core/functions.php:230
1235
  msgid "Users"
1236
  msgstr ""
1237
 
1248
  msgstr ""
1249
 
1250
  #: admin/shortcode-builder/components/users.php:34
 
 
 
 
1251
  msgid "All Roles"
1252
  msgstr ""
1253
 
1254
+ #: admin/shortcode-builder/components/users.php:54
1255
+ #: admin/shortcode-builder/shortcode-builder.php:702
1256
+ #: admin/shortcode-builder/shortcode-builder.php:792
1257
+ #: admin/shortcode-builder/shortcode-builder.php:1012
1258
  msgid "Include"
1259
  msgstr ""
1260
 
1261
+ #: admin/shortcode-builder/components/users.php:56
1262
  msgid "A comma separated list of users to be included by ID"
1263
  msgstr ""
1264
 
1265
+ #: admin/shortcode-builder/components/users.php:68
1266
+ #: admin/shortcode-builder/shortcode-builder.php:751
1267
+ #: admin/shortcode-builder/shortcode-builder.php:842
1268
+ #: admin/shortcode-builder/shortcode-builder.php:1023
1269
  msgid "Exclude"
1270
  msgstr ""
1271
 
1272
+ #: admin/shortcode-builder/components/users.php:70
1273
  msgid "A comma separated list of users to be excluded by ID"
1274
  msgstr ""
1275
 
1276
+ #: admin/shortcode-builder/components/users.php:82
1277
  msgid "Users Per Page"
1278
  msgstr ""
1279
 
1280
+ #: admin/shortcode-builder/components/users.php:83
1281
  msgid "The number of users to show."
1282
  msgstr ""
1283
 
1284
+ #: admin/shortcode-builder/components/users.php:94
1285
  msgid "Orderby"
1286
  msgstr ""
1287
 
1288
+ #: admin/shortcode-builder/components/users.php:95
1289
  msgid "Sort users by Order and Orderby parameters"
1290
  msgstr ""
1291
 
1292
+ #: admin/shortcode-builder/components/users.php:99
1293
+ #: admin/shortcode-builder/shortcode-builder.php:1064
1294
  msgid "Order"
1295
  msgstr ""
1296
 
1297
+ #: admin/shortcode-builder/components/users.php:106
1298
+ #: admin/shortcode-builder/shortcode-builder.php:1071
1299
  msgid "Order By"
1300
  msgstr ""
1301
 
1348
  msgstr ""
1349
 
1350
  #: admin/shortcode-builder/includes/tax-query-options.php:36
1351
+ #: admin/shortcode-builder/shortcode-builder.php:911
1352
  msgid "Relation:"
1353
  msgstr ""
1354
 
1399
  "You can define global container classes on the Ajax Load More settings screen"
1400
  msgstr ""
1401
 
1402
+ #: admin/shortcode-builder/shortcode-builder.php:106
1403
+ msgid "Add custom CSS classes to the <span>.alm-listing</span> container."
 
 
1404
  msgstr ""
1405
 
1406
+ #: admin/shortcode-builder/shortcode-builder.php:123
1407
  msgid "Template Selection"
1408
  msgstr ""
1409
 
1410
+ #: admin/shortcode-builder/shortcode-builder.php:127
1411
  msgid "Repeater Template"
1412
  msgstr ""
1413
 
1414
+ #: admin/shortcode-builder/shortcode-builder.php:129
1415
  msgid ""
1416
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
1417
  "\"_parent\">repeater template</a> you would like to use."
1418
  msgstr ""
1419
 
1420
+ #: admin/shortcode-builder/shortcode-builder.php:164
1421
  msgid "Button Labels"
1422
  msgstr ""
1423
 
1424
+ #: admin/shortcode-builder/shortcode-builder.php:169
1425
  msgid "Label"
1426
  msgstr ""
1427
 
1428
+ #: admin/shortcode-builder/shortcode-builder.php:170
1429
  msgid "Customize the text of the <em>Load More</em> button."
1430
  msgstr ""
1431
 
1432
+ #: admin/shortcode-builder/shortcode-builder.php:182
1433
  msgid "Loading Label"
1434
  msgstr ""
1435
 
1436
+ #: admin/shortcode-builder/shortcode-builder.php:182
1437
  msgid "Leave field empty to not update text while loading content"
1438
  msgstr ""
1439
 
1440
+ #: admin/shortcode-builder/shortcode-builder.php:183
1441
  msgid ""
1442
  "Update the text of the <em>Load More</em> button while content is loading."
1443
  msgstr ""
1444
 
1445
+ #: admin/shortcode-builder/shortcode-builder.php:187
1446
  msgid "Loading Posts..."
1447
  msgstr ""
1448
 
1449
+ #: admin/shortcode-builder/shortcode-builder.php:197
1450
  msgid "Scrolling"
1451
  msgstr ""
1452
 
1453
+ #: admin/shortcode-builder/shortcode-builder.php:200
1454
  msgid "Enable Scrolling"
1455
  msgstr ""
1456
 
1457
+ #: admin/shortcode-builder/shortcode-builder.php:201
1458
  msgid "Load more posts as the user scrolls the page."
1459
  msgstr ""
1460
 
1461
+ #: admin/shortcode-builder/shortcode-builder.php:222
1462
  msgid "Scroll Distance"
1463
  msgstr ""
1464
 
1465
+ #: admin/shortcode-builder/shortcode-builder.php:222
1466
  msgid ""
1467
  "Distance is based on the position of the loading button from the bottom of "
1468
  "the screen"
1469
  msgstr ""
1470
 
1471
+ #: admin/shortcode-builder/shortcode-builder.php:223
1472
  msgid ""
1473
  "The distance from the bottom of the screen to trigger loading of posts. "
1474
  "(Default = 150)"
1475
  msgstr ""
1476
 
1477
+ #: admin/shortcode-builder/shortcode-builder.php:235
1478
  msgid "Scroll Container"
1479
  msgstr ""
1480
 
1481
+ #: admin/shortcode-builder/shortcode-builder.php:235
1482
  msgid "Confine Ajax Load More scrolling to a parent container"
1483
  msgstr ""
1484
 
1485
+ #: admin/shortcode-builder/shortcode-builder.php:236
1486
  msgid "Enter the ID or classname of the parent container"
1487
  msgstr ""
1488
 
1489
+ #: admin/shortcode-builder/shortcode-builder.php:248
1490
  msgid "Maximum Pages"
1491
  msgstr ""
1492
 
1493
+ #: admin/shortcode-builder/shortcode-builder.php:248
1494
  msgid "If using an Infinite Scroll button style you should set this to 0"
1495
  msgstr ""
1496
 
1497
+ #: admin/shortcode-builder/shortcode-builder.php:249
1498
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1499
  msgstr ""
1500
 
1501
+ #: admin/shortcode-builder/shortcode-builder.php:261
1502
  msgid "Pause Override"
1503
  msgstr ""
1504
 
1505
+ #: admin/shortcode-builder/shortcode-builder.php:262
1506
  msgid ""
1507
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1508
  "posts on scroll."
1509
  msgstr ""
1510
 
1511
+ #: admin/shortcode-builder/shortcode-builder.php:283
1512
  msgid "Transition"
1513
  msgstr ""
1514
 
1515
+ #: admin/shortcode-builder/shortcode-builder.php:286
1516
  msgid "Type"
1517
  msgstr ""
1518
 
1519
+ #: admin/shortcode-builder/shortcode-builder.php:287
1520
  msgid "Select a loading transition style."
1521
  msgstr ""
1522
 
1523
+ #: admin/shortcode-builder/shortcode-builder.php:292
1524
  msgid "Fade In"
1525
  msgstr ""
1526
 
1527
+ #: admin/shortcode-builder/shortcode-builder.php:293
1528
  msgid "Masonry"
1529
  msgstr ""
1530
 
1531
+ #: admin/shortcode-builder/shortcode-builder.php:306
1532
  msgid "Masonry Options"
1533
  msgstr ""
1534
 
1535
+ #: admin/shortcode-builder/shortcode-builder.php:306
1536
  msgid "Ajax Load More does not support all available Masonry options"
1537
  msgstr ""
1538
 
1539
+ #: admin/shortcode-builder/shortcode-builder.php:307
1540
  msgid ""
1541
  "The following Masonry <a href=\"https://masonry.desandro.com/options.html\" "
1542
  "target=\"_blank\">options</a> are supported by Ajax Load More"
1543
  msgstr ""
1544
 
1545
+ #: admin/shortcode-builder/shortcode-builder.php:312
1546
  msgid "Item Selector"
1547
  msgstr ""
1548
 
1549
+ #: admin/shortcode-builder/shortcode-builder.php:312
1550
  msgid ""
1551
  "Item Selector is required for Masonry to target each element loaded with Ajax"
1552
  msgstr ""
1553
 
1554
+ #: admin/shortcode-builder/shortcode-builder.php:313
1555
  msgid "Enter the target classname of each masonry item"
1556
  msgstr ""
1557
 
1558
+ #: admin/shortcode-builder/shortcode-builder.php:327
1559
  msgid "Column Width"
1560
  msgstr ""
1561
 
1562
+ #: admin/shortcode-builder/shortcode-builder.php:327
1563
  msgid ""
1564
  "If columnWidth is not set, Masonry will use the outer width of the first "
1565
  "Item Selector"
1566
  msgstr ""
1567
 
1568
+ #: admin/shortcode-builder/shortcode-builder.php:328
1569
  msgid ""
1570
  "Enter the <a href=\"https://masonry.desandro.com/options.html#columnwidth\" "
1571
  "target=\"_blank\">columnWidth</a> of the masonry items"
1572
  msgstr ""
1573
 
1574
+ #: admin/shortcode-builder/shortcode-builder.php:342
1575
  msgid "Animation Type"
1576
  msgstr ""
1577
 
1578
+ #: admin/shortcode-builder/shortcode-builder.php:342
1579
  msgid "All Masonry animations include a fade-in effect as items are loaded"
1580
  msgstr ""
1581
 
1582
+ #: admin/shortcode-builder/shortcode-builder.php:343
1583
  msgid "Select a loading transition for Masonry items"
1584
  msgstr ""
1585
 
1586
+ #: admin/shortcode-builder/shortcode-builder.php:351
1587
  msgid "Default (Zoom)"
1588
  msgstr ""
1589
 
1590
+ #: admin/shortcode-builder/shortcode-builder.php:352
1591
  msgid "Items scale up from 50% to 100% size on load"
1592
  msgstr ""
1593
 
1594
+ #: admin/shortcode-builder/shortcode-builder.php:358
1595
  msgid "Zoom Out"
1596
  msgstr ""
1597
 
1598
+ #: admin/shortcode-builder/shortcode-builder.php:359
1599
  msgid "Items scale down from 125% to 100% size on load"
1600
  msgstr ""
1601
 
1602
+ #: admin/shortcode-builder/shortcode-builder.php:365
1603
  msgid "Slide Up"
1604
  msgstr ""
1605
 
1606
+ #: admin/shortcode-builder/shortcode-builder.php:366
1607
  msgid "Items animate up as they are loaded into view."
1608
  msgstr ""
1609
 
1610
+ #: admin/shortcode-builder/shortcode-builder.php:372
1611
  msgid "Slide Down"
1612
  msgstr ""
1613
 
1614
+ #: admin/shortcode-builder/shortcode-builder.php:373
1615
  msgid "Items animate down when loaded into view."
1616
  msgstr ""
1617
 
1618
+ #: admin/shortcode-builder/shortcode-builder.php:390
1619
  msgid "Horizontal Order"
1620
  msgstr ""
1621
 
1622
+ #: admin/shortcode-builder/shortcode-builder.php:391
1623
  msgid "Lays out items to maintain left-to-right order"
1624
  msgstr ""
1625
 
1626
+ #: admin/shortcode-builder/shortcode-builder.php:419
1627
+ msgid "Transition Container Classes"
1628
  msgstr ""
1629
 
1630
+ #: admin/shortcode-builder/shortcode-builder.php:419
1631
  msgid ""
1632
+ "This setting is not available with the Previous Post or Next Page add-ons"
 
1633
  msgstr ""
1634
 
1635
+ #: admin/shortcode-builder/shortcode-builder.php:420
1636
+ msgid "Add custom classes to the <span>.alm-reveal</span> loading container"
 
1637
  msgstr ""
1638
 
1639
+ #: admin/shortcode-builder/shortcode-builder.php:433
1640
+ msgid "Transition Container"
1641
  msgstr ""
1642
 
1643
+ #: admin/shortcode-builder/shortcode-builder.php:433
1644
+ msgid ""
1645
+ "Removing the transition container may have undesired results and is not "
1646
+ "recommended"
1647
  msgstr ""
1648
 
1649
  #: admin/shortcode-builder/shortcode-builder.php:434
1650
  msgid ""
1651
+ "Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
1652
  msgstr ""
1653
 
1654
+ #: admin/shortcode-builder/shortcode-builder.php:441
1655
+ msgid "Remove Container"
1656
  msgstr ""
1657
 
1658
+ #: admin/shortcode-builder/shortcode-builder.php:456
1659
  msgid "Pause"
1660
  msgstr ""
1661
 
1662
+ #: admin/shortcode-builder/shortcode-builder.php:459
1663
  msgid ""
1664
  "Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
1665
  msgstr ""
1666
 
1667
+ #: admin/shortcode-builder/shortcode-builder.php:481
1668
  msgid "Progress Bar"
1669
  msgstr ""
1670
 
1671
+ #: admin/shortcode-builder/shortcode-builder.php:484
1672
  msgid ""
1673
  "Display progress bar indicator at the top of the window while loading Ajax "
1674
  "content"
1675
  msgstr ""
1676
 
1677
+ #: admin/shortcode-builder/shortcode-builder.php:513
1678
  msgid "Color"
1679
  msgstr ""
1680
 
1681
+ #: admin/shortcode-builder/shortcode-builder.php:514
1682
  msgid "Enter the hex color of the progress bar"
1683
  msgstr ""
1684
 
1685
+ #: admin/shortcode-builder/shortcode-builder.php:532
1686
  msgid "Images Loaded"
1687
  msgstr ""
1688
 
1689
+ #: admin/shortcode-builder/shortcode-builder.php:535
1690
  msgid "Wait for all images to load before displaying ajax loaded content"
1691
  msgstr ""
1692
 
1693
+ #: admin/shortcode-builder/shortcode-builder.php:535
1694
  msgid "Background images are not supported"
1695
  msgstr ""
1696
 
1697
+ #: admin/shortcode-builder/shortcode-builder.php:557
1698
  msgid "Destroy After"
1699
  msgstr ""
1700
 
1701
+ #: admin/shortcode-builder/shortcode-builder.php:561
1702
  msgid ""
1703
  "Remove Ajax Load More functionality after {<em>n</em>} number of pages have "
1704
  "been loaded."
1705
  msgstr ""
1706
 
1707
+ #: admin/shortcode-builder/shortcode-builder.php:580
1708
  msgid "Query Parameters"
1709
  msgstr ""
1710
 
1711
+ #: admin/shortcode-builder/shortcode-builder.php:585
1712
  msgid "Posts Per Page"
1713
  msgstr ""
1714
 
1715
+ #: admin/shortcode-builder/shortcode-builder.php:588
1716
  msgid "Select the number of posts to load with each request."
1717
  msgstr ""
1718
 
1719
+ #: admin/shortcode-builder/shortcode-builder.php:607
1720
  msgid "Post Type"
1721
  msgstr ""
1722
 
1723
+ #: admin/shortcode-builder/shortcode-builder.php:612
1724
  msgid "Select the Post Types to include in this Ajax Load More query."
1725
  msgstr ""
1726
 
1727
+ #: admin/shortcode-builder/shortcode-builder.php:626
1728
  msgid "Any"
1729
  msgstr ""
1730
 
1731
+ #: admin/shortcode-builder/shortcode-builder.php:638
1732
  msgid "Sticky Posts"
1733
  msgstr ""
1734
 
1735
+ #: admin/shortcode-builder/shortcode-builder.php:638
1736
  msgid "Sticky posts are only available for Posts"
1737
  msgstr ""
1738
 
1739
+ #: admin/shortcode-builder/shortcode-builder.php:639
1740
  msgid ""
1741
  "Preserve the ordering of sticky posts by having them appear first in the "
1742
  "Ajax listing."
1743
  msgstr ""
1744
 
1745
+ #: admin/shortcode-builder/shortcode-builder.php:646
1746
  msgid "Enable Sticky Posts"
1747
  msgstr ""
1748
 
1749
+ #: admin/shortcode-builder/shortcode-builder.php:668
1750
  msgid "Post Format"
1751
  msgstr ""
1752
 
1753
+ #: admin/shortcode-builder/shortcode-builder.php:671
1754
  msgid ""
1755
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
1756
  "\">Post Format</a> to query."
1757
  msgstr ""
1758
 
1759
+ #: admin/shortcode-builder/shortcode-builder.php:674
1760
  msgid "Select Post Format"
1761
  msgstr ""
1762
 
1763
+ #: admin/shortcode-builder/shortcode-builder.php:675
1764
  msgid "Standard"
1765
  msgstr ""
1766
 
1767
+ #: admin/shortcode-builder/shortcode-builder.php:702
1768
+ msgid "Get posts by category using a category_name or category__and query"
 
 
1769
  msgstr ""
1770
 
1771
+ #: admin/shortcode-builder/shortcode-builder.php:703
1772
+ msgid "Comma separated list of categories to include by"
 
 
 
 
 
 
1773
  msgstr ""
1774
 
1775
+ #: admin/shortcode-builder/shortcode-builder.php:703
1776
+ #: admin/shortcode-builder/shortcode-builder.php:793
1777
+ msgid "slug"
1778
  msgstr ""
1779
 
1780
+ #: admin/shortcode-builder/shortcode-builder.php:740
1781
+ #: admin/shortcode-builder/shortcode-builder.php:831
1782
+ msgid "What's this"
1783
  msgstr ""
1784
 
1785
+ #: admin/shortcode-builder/shortcode-builder.php:753
1786
+ msgid "Comma separated list of categories to exclude by ID."
 
1787
  msgstr ""
1788
 
1789
+ #: admin/shortcode-builder/shortcode-builder.php:792
1790
+ msgid "Get posts by tags using a tag or tag__and query"
1791
  msgstr ""
1792
 
1793
+ #: admin/shortcode-builder/shortcode-builder.php:793
1794
+ msgid "Comma separated list of tags to include by"
 
 
 
1795
  msgstr ""
1796
 
1797
+ #: admin/shortcode-builder/shortcode-builder.php:844
1798
+ msgid "Comma separated list of tags to exclude by ID"
1799
  msgstr ""
1800
 
1801
+ #: admin/shortcode-builder/shortcode-builder.php:882
1802
+ msgid "Select a taxonomy then select the terms and an operator."
1803
  msgstr ""
1804
 
1805
+ #: admin/shortcode-builder/shortcode-builder.php:887
1806
+ #: admin/shortcode-builder/shortcode-builder.php:925
1807
+ msgid "Add Another"
1808
  msgstr ""
1809
 
1810
+ #: admin/shortcode-builder/shortcode-builder.php:897
1811
  msgid "Custom Fields (Meta_Query)"
1812
  msgstr ""
1813
 
1814
+ #: admin/shortcode-builder/shortcode-builder.php:900
1815
  msgid ""
1816
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1817
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1818
  "and operator."
1819
  msgstr ""
1820
 
1821
+ #: admin/shortcode-builder/shortcode-builder.php:911
1822
  msgid ""
1823
  "The logical relationship between each custom field when there is more than "
1824
  "one"
1825
  msgstr ""
1826
 
1827
+ #: admin/shortcode-builder/shortcode-builder.php:935
1828
+ msgid "Date"
1829
+ msgstr ""
1830
+
1831
+ #: admin/shortcode-builder/shortcode-builder.php:938
1832
+ msgid ""
1833
+ "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1834
+ "href=\"admin.php?page=ajax-load-more-help&section=examples#example-date\" "
1835
+ "target=\"_blank\">View Example</a>"
1836
+ msgstr ""
1837
+
1838
+ #: admin/shortcode-builder/shortcode-builder.php:944
1839
+ msgid "Year:"
1840
+ msgstr ""
1841
+
1842
+ #: admin/shortcode-builder/shortcode-builder.php:948
1843
+ msgid "Month:"
1844
+ msgstr ""
1845
+
1846
+ #: admin/shortcode-builder/shortcode-builder.php:952
1847
+ msgid "Day:"
1848
+ msgstr ""
1849
+
1850
+ #: admin/shortcode-builder/shortcode-builder.php:969
1851
  msgid "Author"
1852
  msgstr ""
1853
 
1854
+ #: admin/shortcode-builder/shortcode-builder.php:972
1855
  msgid "Select an Author to query(by ID)."
1856
  msgstr ""
1857
 
1858
+ #: admin/shortcode-builder/shortcode-builder.php:993
1859
  msgid "Search Term"
1860
  msgstr ""
1861
 
1862
+ #: admin/shortcode-builder/shortcode-builder.php:996
1863
  msgid "Enter a search term to query."
1864
  msgstr ""
1865
 
1866
+ #: admin/shortcode-builder/shortcode-builder.php:1000
1867
  msgid "Enter search term"
1868
  msgstr ""
1869
 
1870
+ #: admin/shortcode-builder/shortcode-builder.php:1009
1871
  msgid "Post Parameters"
1872
  msgstr ""
1873
 
1874
+ #: admin/shortcode-builder/shortcode-builder.php:1013
1875
  msgid "A comma separated list of post ID's to query."
1876
  msgstr ""
1877
 
1878
+ #: admin/shortcode-builder/shortcode-builder.php:1017
1879
  msgid "225, 340, 818, etc..."
1880
  msgstr ""
1881
 
1882
+ #: admin/shortcode-builder/shortcode-builder.php:1024
1883
  msgid "A comma separated list of post ID's to exclude from query."
1884
  msgstr ""
1885
 
1886
+ #: admin/shortcode-builder/shortcode-builder.php:1034
1887
  msgid "Post Status"
1888
  msgstr ""
1889
 
1890
+ #: admin/shortcode-builder/shortcode-builder.php:1034
1891
  msgid ""
1892
  "Post Status parameters are only available for logged in (admin) users. Non "
1893
  "logged in users will only have access to view content in a 'publish' or "
1894
  "'inherit' state."
1895
  msgstr ""
1896
 
1897
+ #: admin/shortcode-builder/shortcode-builder.php:1035
1898
  msgid "Select status of the post."
1899
  msgstr ""
1900
 
1901
+ #: admin/shortcode-builder/shortcode-builder.php:1040
1902
  msgid "Published"
1903
  msgstr ""
1904
 
1905
+ #: admin/shortcode-builder/shortcode-builder.php:1057
1906
  msgid "Ordering"
1907
  msgstr ""
1908
 
1909
+ #: admin/shortcode-builder/shortcode-builder.php:1060
1910
  msgid "Sort posts by Order and Orderby parameters."
1911
  msgstr ""
1912
 
1913
+ #: admin/shortcode-builder/shortcode-builder.php:1092
1914
  msgid "Offset"
1915
  msgstr ""
1916
 
1917
+ #: admin/shortcode-builder/shortcode-builder.php:1095
1918
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1919
  msgstr ""
1920
 
1921
+ #: admin/shortcode-builder/shortcode-builder.php:1108
1922
  msgid "Custom Arguments"
1923
  msgstr ""
1924
 
1925
+ #: admin/shortcode-builder/shortcode-builder.php:1111
1926
  msgid "A semicolon separated list of custom value:pair arguments."
1927
  msgstr ""
1928
 
1929
+ #: admin/shortcode-builder/shortcode-builder.php:1111
1930
  msgid ""
1931
  "Custom Arguments can be used to query by parameters not available in the "
1932
  "Shortcode Builder"
1933
  msgstr ""
1934
 
1935
+ #: admin/shortcode-builder/shortcode-builder.php:1115
1936
  msgid "event_display:upcoming"
1937
  msgstr ""
1938
 
1942
  "Load More"
1943
  msgstr ""
1944
 
1945
+ #: admin/views/add-ons.php:43
 
 
 
 
1946
  msgid "Purchase"
1947
  msgstr ""
1948
 
1949
+ #: admin/views/add-ons.php:52
1950
  msgid ""
1951
  "All add-ons are installed as stand alone plugins and with a valid license "
1952
  "key will receive plugin update notifications directly within the <a href="
1959
  "WordPress functionality"
1960
  msgstr ""
1961
 
1962
+ #: admin/views/extensions.php:34
1963
  msgid ""
1964
  "Extensions are installed as stand alone plugins and receive update "
1965
  "notifications in the <a href=\"plugins.php\">plugin dashboard</a>."
1966
  msgstr ""
1967
 
1968
+ #: admin/views/go-pro.php:6
1969
+ msgid "All current and future add-ons in a single installation."
1970
+ msgstr ""
1971
+
1972
+ #: admin/views/go-pro.php:20
1973
+ msgid ""
1974
+ "The following products are included when you purchase the Ajax Load More Pro "
1975
+ "add-on:"
1976
+ msgstr ""
1977
+
1978
+ #: admin/views/go-pro.php:53
1979
+ msgid "About the Pro Bundle"
1980
+ msgstr ""
1981
+
1982
+ #: admin/views/go-pro.php:55
1983
+ msgid ""
1984
+ "The Ajax Load More Pro bundle is installed as a single add-on with one "
1985
+ "license and contains every add-on currently available."
1986
+ msgstr ""
1987
+
1988
+ #: admin/views/go-pro.php:56
1989
+ msgid ""
1990
+ "Once installed, add-ons are able to be activated and deactivated with ease "
1991
+ "from the Pro dashboard inside your WordPress admin."
1992
+ msgstr ""
1993
+
1994
+ #: admin/views/go-pro.php:57
1995
+ msgid "Please note:"
1996
+ msgstr ""
1997
+
1998
+ #: admin/views/go-pro.php:57
1999
+ msgid ""
2000
+ "The core Ajax Load More plugin is <u>still</u> required when using the Pro "
2001
+ "add-on."
2002
+ msgstr ""
2003
+
2004
+ #: admin/views/go-pro.php:60
2005
+ msgid "Get More Information"
2006
+ msgstr ""
2007
+
2008
  #: admin/views/help.php:4
2009
  msgid "Get started with our four step guide to painless implementation!"
2010
  msgstr ""
2013
  msgid "A collection of everyday shortcode usages and implementation examples"
2014
  msgstr ""
2015
 
2016
+ #: admin/views/help.php:31
2017
  msgid "Implementation Guide"
2018
  msgstr ""
2019
 
2020
+ #: admin/views/help.php:36
2021
  msgid "Examples"
2022
  msgstr ""
2023
 
2024
+ #: admin/views/help.php:69
2025
  msgid "Example Library"
2026
  msgstr ""
2027
 
2028
+ #: admin/views/help.php:71
2029
  msgid ""
2030
  "We have a collection of over 20 real world Ajax Load More <a href=\"https://"
2031
  "connekthq.com/plugins/ajax-load-more/examples/\" target=\"_blank\">examples</"
2032
  "a> available on the plugin website"
2033
  msgstr ""
2034
 
2035
+ #: admin/views/help.php:74
2036
  msgid "View All Examples"
2037
  msgstr ""
2038
 
2050
  "more-add-ons\">add-on</a> updates from the plugins dashboard"
2051
  msgstr ""
2052
 
2053
+ #: admin/views/licenses.php:21
2054
  msgid "License Key"
2055
  msgstr ""
2056
 
2057
+ #: admin/views/licenses.php:23
2058
  msgid "License Keys"
2059
  msgstr ""
2060
 
2061
+ #: admin/views/licenses.php:30
2062
  msgid ""
2063
  "Enter your Ajax Load More Pro license key to receive plugin update "
2064
  "notifications directly within the <a href=\"plugins.php\">WP Plugins "
2065
  "dashboard</a>."
2066
  msgstr ""
2067
 
2068
+ #: admin/views/licenses.php:32
2069
  msgid ""
2070
  "Enter a key for each of your Ajax Load More add-ons to receive plugin update "
2071
  "notifications directly within the <a href=\"plugins.php\">WP Plugins "
2072
  "dashboard</a>."
2073
  msgstr ""
2074
 
2075
+ #: admin/views/licenses.php:72
2076
  msgid "Don't have a license?"
2077
  msgstr ""
2078
 
2079
+ #: admin/views/licenses.php:73
2080
  msgid ""
2081
  "A valid license is required to activate and receive plugin updates directly "
2082
  "in your WordPress dashboard"
2083
  msgstr ""
2084
 
2085
+ #: admin/views/licenses.php:73
2086
  msgid "Purchase Now"
2087
  msgstr ""
2088
 
2089
+ #: admin/views/licenses.php:79 admin/views/licenses.php:81
2090
  msgid "Enter License Key"
2091
  msgstr ""
2092
 
2093
+ #: admin/views/licenses.php:105
2094
  msgid "Activate License"
2095
  msgstr ""
2096
 
2097
+ #: admin/views/licenses.php:108
2098
  msgid "Deactivate License"
2099
  msgstr ""
2100
 
2101
+ #: admin/views/licenses.php:125
2102
  msgid "You do not have any Ajax Load More add-ons installed"
2103
  msgstr ""
2104
 
2105
+ #: admin/views/licenses.php:125
2106
  msgid "Browse Add-ons"
2107
  msgstr ""
2108
 
2109
+ #: admin/views/licenses.php:135
2110
  msgid "About Licenses"
2111
  msgstr ""
2112
 
2113
+ #: admin/views/licenses.php:138
2114
  msgid ""
2115
  "License keys are found in the purchase receipt email that was sent "
2116
  "immediately after purchase and in the <a target=\"_blank\" href=\"https://"
2117
  "connekthq.com/account/\">Account</a> section on our website"
2118
  msgstr ""
2119
 
2120
+ #: admin/views/licenses.php:139
2121
  msgid ""
2122
  "If you cannot locate your key please open a support ticket by filling out "
2123
  "the <a href=\"https://connekthq.com/contact/\">support form</a> and "
2124
  "reference the email address used when you completed the purchase."
2125
  msgstr ""
2126
 
2127
+ #: admin/views/licenses.php:144
2128
  msgid "Your Account"
2129
  msgstr ""
2130
 
2132
  msgid "The library of editable templates for use within your theme"
2133
  msgstr ""
2134
 
2135
+ #: admin/views/repeater-templates.php:27 admin/views/settings.php:49
2136
+ #: core/functions.php:215
2137
  msgid "Theme Repeaters"
2138
  msgstr ""
2139
 
2140
+ #: admin/views/repeater-templates.php:100
2141
+ #: admin/views/repeater-templates.php:250
2142
  msgid "Location"
2143
  msgstr ""
2144
 
2145
+ #: admin/views/repeater-templates.php:136
2146
  msgid "Templates Not Found"
2147
  msgstr ""
2148
 
2149
+ #: admin/views/repeater-templates.php:138
2150
  msgid ""
2151
  "Oh no - looks like you haven't added any Theme Repeater templates - you need "
2152
  "to create and upload templates to your theme directory before you can access "
2153
  "them in Ajax Load More"
2154
  msgstr ""
2155
 
2156
+ #: admin/views/repeater-templates.php:141
2157
  msgid "Learn More About Theme Repeaters"
2158
  msgstr ""
2159
 
2160
+ #: admin/views/repeater-templates.php:195
2161
  msgid "Default Template"
2162
  msgstr ""
2163
 
2164
+ #: admin/views/repeater-templates.php:204
2165
  msgid "Enter the HTML and PHP code for the default template"
2166
  msgstr ""
2167
 
2168
+ #: admin/views/repeater-templates.php:234
2169
  msgid "Save Template"
2170
  msgstr ""
2171
 
2172
+ #: admin/views/repeater-templates.php:248
2173
  msgid ""
2174
  "It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
2175
  "load-more/docs/repeater-templates/#default-template\" target=\"_blank"
2178
  "your server."
2179
  msgstr ""
2180
 
2181
+ #: admin/views/repeater-templates.php:330
2182
  msgid "Saving template..."
2183
  msgstr ""
2184
 
2185
+ #: admin/views/repeater-templates.php:401
2186
  msgid "Updating template..."
2187
  msgstr ""
2188
 
2189
+ #: admin/views/repeater-templates.php:473
2190
  msgid "What's a Repeater Template?"
2191
  msgstr ""
2192
 
2193
+ #: admin/views/repeater-templates.php:475
2194
  msgid ""
2195
  "A <a href=\"https://connekthq.com/plugins/ajax-load-more/docs/repeater-"
2196
  "templates/\" target=\"_blank\">Repeater Template</a> is a snippet of code "
2198
  "org/The_Loop\" target=\"_blank\">WordPress loop</a>"
2199
  msgstr ""
2200
 
2201
+ #: admin/views/repeater-templates.php:478
2202
  msgid "Learn More"
2203
  msgstr ""
2204
 
2205
+ #: admin/views/settings.php:10
2206
  msgid "A powerful plugin to add infinite scroll functionality to your website."
2207
  msgstr ""
2208
 
2209
+ #: admin/views/settings.php:27 admin/views/settings.php:30
2210
  msgid "Jump to Setting"
2211
  msgstr ""
2212
 
2213
+ #: admin/views/settings.php:31
2214
  msgid "Global Settings"
2215
  msgstr ""
2216
 
2217
+ #: admin/views/settings.php:32
2218
  msgid "Admin"
2219
  msgstr ""
2220
 
2221
+ #: admin/views/settings.php:39 core/functions.php:125
2222
  msgid "Layouts"
2223
  msgstr ""
2224
 
2225
+ #: admin/views/settings.php:47
2226
  msgid "SEO"
2227
  msgstr ""
2228
 
2232
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
2233
  msgstr ""
2234
 
2235
+ #: admin/views/shortcode-builder.php:18
2236
  msgid "Back to Top"
2237
  msgstr ""
2238
 
2239
+ #: admin/views/shortcode-builder.php:30
2240
  msgid "Shortcode Output"
2241
  msgstr ""
2242
 
2243
+ #: admin/views/shortcode-builder.php:32
2244
  msgid ""
2245
  "Place the following shortcode into the content editor or widget area of your "
2246
  "theme."
2247
  msgstr ""
2248
 
2249
+ #: admin/views/shortcode-builder.php:36
2250
  msgid "Reset"
2251
  msgstr ""
2252
 
2253
+ #: admin/views/shortcode-builder.php:39
2254
  msgid "Copy Shortcode"
2255
  msgstr ""
2256
 
2257
+ #: ajax-load-more.php:247
2258
  msgid "Error creating repeater template directory"
2259
  msgstr ""
2260
 
2262
  msgid "Pages: "
2263
  msgstr ""
2264
 
2265
+ #: core/functions.php:17
2266
  msgid "Ajax Load More Pro"
2267
  msgstr ""
2268
 
2269
+ #: core/functions.php:18
2270
+ msgid "Get instant access to all premium add-ons in a single installation."
2271
+ msgstr ""
2272
+
2273
+ #: core/functions.php:19
2274
+ msgid ""
2275
+ "The Pro bundle is installed as a single product with one license key and "
2276
+ "contains immediate access all premium add-ons."
2277
+ msgstr ""
2278
+
2279
+ #: core/functions.php:51
2280
  msgid "Improve performance with the Ajax Load More caching engine."
2281
  msgstr ""
2282
 
2283
+ #: core/functions.php:52
2284
  msgid ""
2285
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
2286
  "delivers those static files to your visitors."
2287
  msgstr ""
2288
 
2289
+ #: core/functions.php:66
2290
  msgid ""
2291
  "Ajax Load More extension for displaying advertisements and call to actions."
2292
  msgstr ""
2293
 
2294
+ #: core/functions.php:67
2295
  msgid ""
2296
+ "The Call to Actions add-on provides the ability to inject a custom CTA "
2297
  "template within each Ajax Load More loop."
2298
  msgstr ""
2299
 
2300
+ #: core/functions.php:81
2301
  msgid "Load blog comments on demand with Ajax Load More."
2302
  msgstr ""
2303
 
2304
+ #: core/functions.php:82
2305
  msgid ""
2306
  "The Comments add-on will display your blog comments with Ajax Load More's "
2307
  "infinite scroll functionality."
2308
  msgstr ""
2309
 
2310
+ #: core/functions.php:95
2311
  msgid "Custom Repeaters"
2312
  msgstr ""
2313
 
2314
+ #: core/functions.php:96
2315
  msgid "Extend Ajax Load More with unlimited repeater templates."
2316
  msgstr ""
2317
 
2318
+ #: core/functions.php:97
2319
  msgid ""
2320
  "Create, delete and modify repeater templates as you need them with "
2321
  "absolutely zero restrictions."
2322
  msgstr ""
2323
 
2324
+ #: core/functions.php:111
2325
  msgid "Create custom Ajax Load More filters in seconds."
2326
  msgstr ""
2327
 
2328
+ #: core/functions.php:112
2329
  msgid ""
2330
  "The Filters add-on provides front-end and admin functionality for building "
2331
  "and managing Ajax filters."
2332
  msgstr ""
2333
 
2334
+ #: core/functions.php:126
2335
  msgid "Predefined layouts for repeater templates."
2336
  msgstr ""
2337
 
2338
+ #: core/functions.php:127
2339
  msgid ""
2340
  "The Layouts add-on provides a collection of unique, well designed and fully "
2341
  "responsive templates."
2342
  msgstr ""
2343
 
2344
+ #: core/functions.php:141
2345
  msgid "Load and display multipage WordPress content."
2346
  msgstr ""
2347
 
2348
+ #: core/functions.php:142
2349
  msgid ""
2350
+ "The Next Page add-on provides functionality for infinite scrolling paginated "
2351
+ "posts and pages."
2352
  msgstr ""
2353
 
2354
+ #: core/functions.php:156
2355
  msgid "Extend Ajax Load More with a numbered navigation."
2356
  msgstr ""
2357
 
2358
+ #: core/functions.php:157
2359
  msgid ""
2360
  "The Paging add-on will transform the default infinite scroll functionality "
2361
  "into a robust ajax powered navigation system."
2362
  msgstr ""
2363
 
2364
+ #: core/functions.php:171
2365
  msgid "Load an initial set of posts before making Ajax requests to the server."
2366
  msgstr ""
2367
 
2368
+ #: core/functions.php:172
2369
  msgid ""
2370
  "The Preloaded add-on will display content quicker and allow caching of the "
2371
  "initial query which can reduce stress on your server."
2372
  msgstr ""
2373
 
2374
+ #: core/functions.php:186
2375
  msgid "An add-on to enable infinite scrolling of single posts."
2376
  msgstr ""
2377
 
2378
+ #: core/functions.php:187
2379
  msgid ""
2380
  "The Previous Post add-on will load single posts as you scroll and update the "
2381
  "browser URL to the current post."
2382
  msgstr ""
2383
 
2384
+ #: core/functions.php:200
2385
  msgid "Search Engine Optimization"
2386
  msgstr ""
2387
 
2388
+ #: core/functions.php:201
2389
  msgid "Generate unique paging URLs with every Ajax Load More query."
2390
  msgstr ""
2391
 
2392
+ #: core/functions.php:202
2393
  msgid ""
2394
  "The SEO add-on will optimize your ajax loaded content for search engines by "
2395
  "generating unique URLs with every query."
2396
  msgstr ""
2397
 
2398
+ #: core/functions.php:216
2399
  msgid "Manage repeater templates within your current theme directory."
2400
  msgstr ""
2401
 
2402
+ #: core/functions.php:217
2403
  msgid ""
2404
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
2405
  "from your current theme directory."
2406
  msgstr ""
2407
 
2408
+ #: core/functions.php:231
2409
  msgid "Enable infinite scrolling of WordPress users."
2410
  msgstr ""
2411
 
2412
+ #: core/functions.php:232
2413
  msgid ""
2414
  "The Users add-on will allow lazy loading of users by role using a "
2415
  "WP_User_Query."