WordPress Infinite Scroll – Ajax Load More - Version 2.13.0

Version Description

  • November 6, 2016 =

  • NEW - ID shortcode parameter. Assigning a unique ID to an Ajax Load More instance will allow for filters to be run more easily.

  • NEW - Added a new filter alm_query_args_[id] that let's users create custom filters based on the ID of the Ajax Load More instance. Users can easily target a specific instance of Ajax Load More to modify query $args. See https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_query_args

  • NEW - Added a debug filter to view the return contents of the Ajax Load More query in the browser console (add_filter( 'alm_debug', '__return_true' )).

  • FIX - Issue with cta_position parameter for Call to Actions add-on in shortcode builder.

  • UPDATE - Updated Shortcode Builder UI to add groupings for parameter types [Add-ons, Display Settings, Query Parameters].

  • UPDATE - Removed limit of 3 Taxonomy queries. Tax queries now support an unlimited amount however the Shortcode Builder is still capped at 3.

  • UPDATE - Adjusted max_pages shortcode parameter to default to 0.

  • UPDATE - Reworked alm_get_page_slug ()function to get current page slug.

  • UPDATE - Remove support for author slugs in favor of multiple author support and selection from the Shortcode Builder

  • UPDATE - Various UI/UX updates, new logos added to admin panel.

Download this release

Release Info

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

Code changes from version 2.12.0 to 2.13.0

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dcooney
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce
5
  Requires at least: 3.6
6
- Tested up to: 4.6
7
- Stable tag: 2.12.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,14 +70,14 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
70
  * **meta_compare** - Operator to compare meta_key and meta_value against. Default = ‘IN’
71
  * **meta_type** - Custom field type. Default = ‘CHAR’
72
  * **meta_relation** - Used with multiple custom field entries (AND/OR). Default = ‘AND’
73
- * **author** - Query by author id. Default = null
74
  * **post__in** - Comma separated list of post ID’s to include in query. Default = null
75
  * **post__not_in** - Comma separated list of post ID’s to exclude from query. Default = null
76
  * **search** - Query search term (‘s’). Default = null
77
  * **custom_args** - A semicolon separated list of value:pair arguments. e.g. tag_slug__and:design,development; event_display:upcoming. Default = null
78
  * **post_status** - Select status of the post. Default = 'publish'
79
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
80
- * **orderby** - Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
81
  * **offset** - Offset the initial query (number). Default = ’0′
82
  * **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
83
  * **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
@@ -94,6 +94,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
94
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
95
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
96
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
 
97
  ***
98
 
99
  = Example Shortcode =
@@ -215,6 +216,11 @@ The following [functions](https://connekthq.com/plugins/ajax-load-more/docs/call
215
 
216
  ***
217
 
 
 
 
 
 
218
  = Variables =
219
 
220
  Ajax Load More passes the following PHP [variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/) to each repeater template - these template variables can help you style and transform your repeater templates.
@@ -231,9 +237,9 @@ Ajax Load More passes the following PHP [variables](https://connekthq.com/plugin
231
  * Firefox (Mac, PC)
232
  * Chrome (Mac, PC, iOS, Android)
233
  * Safari (Mac, iOS)
 
 
234
  * IE8+
235
- * Android (Native)
236
- * BB10 (Native)
237
 
238
  ***
239
 
@@ -323,6 +329,20 @@ How to install Ajax Load More.
323
 
324
  == Changelog ==
325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  = 2.12.0 - September 5, 2016 =
327
  * NEW - Completed integration of new Call to Actions add-on.
328
  * NEW - Added $.fn.almTriggerClick() public function that will easily allow users to trigger Ajax Load More from any object on the screen.
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce
5
  Requires at least: 3.6
6
+ Tested up to: 4.7
7
+ Stable tag: 2.13.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
  * **meta_compare** - Operator to compare meta_key and meta_value against. Default = ‘IN’
71
  * **meta_type** - Custom field type. Default = ‘CHAR’
72
  * **meta_relation** - Used with multiple custom field entries (AND/OR). Default = ‘AND’
73
+ * **author** - Comma separated list of authors by id. Default = null
74
  * **post__in** - Comma separated list of post ID’s to include in query. Default = null
75
  * **post__not_in** - Comma separated list of post ID’s to exclude from query. Default = null
76
  * **search** - Query search term (‘s’). Default = null
77
  * **custom_args** - A semicolon separated list of value:pair arguments. e.g. tag_slug__and:design,development; event_display:upcoming. Default = null
78
  * **post_status** - Select status of the post. Default = 'publish'
79
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
80
+ * **orderby** - Order posts by date, title, name, menu order, author, post ID or comment count. Default = ‘date’
81
  * **offset** - Offset the initial query (number). Default = ’0′
82
  * **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
83
  * **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
94
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
95
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
96
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
97
+ * **id** - A unique ID for the Ajax Load More instance.
98
  ***
99
 
100
  = Example Shortcode =
216
 
217
  ***
218
 
219
+ = Filter Hooks =
220
+
221
+ Ajax Load More has a variety of [filters](https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/) in place that enable users to hook into Ajax Load More to insert or modify data.
222
+
223
+
224
  = Variables =
225
 
226
  Ajax Load More passes the following PHP [variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/) to each repeater template - these template variables can help you style and transform your repeater templates.
237
  * Firefox (Mac, PC)
238
  * Chrome (Mac, PC, iOS, Android)
239
  * Safari (Mac, iOS)
240
+ * Opera
241
+ * Android
242
  * IE8+
 
 
243
 
244
  ***
245
 
329
 
330
  == Changelog ==
331
 
332
+ = 2.13.0 - November 6, 2016 =
333
+
334
+ * NEW - ID shortcode parameter. Assigning a unique ID to an Ajax Load More instance will allow for filters to be run more easily.
335
+ * NEW - Added a new filter alm_query_args_[id] that let's users create custom filters based on the ID of the Ajax Load More instance. Users can easily target a specific instance of Ajax Load More to modify query $args. See https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_query_args
336
+ * NEW - Added a debug filter to view the return contents of the Ajax Load More query in the browser console (add_filter( 'alm_debug', '__return_true' )).
337
+ * FIX - Issue with cta_position parameter for Call to Actions add-on in shortcode builder.
338
+ * UPDATE - Updated Shortcode Builder UI to add groupings for parameter types [Add-ons, Display Settings, Query Parameters].
339
+ * UPDATE - Removed limit of 3 Taxonomy queries. Tax queries now support an unlimited amount however the Shortcode Builder is still capped at 3.
340
+ * UPDATE - Adjusted max_pages shortcode parameter to default to 0.
341
+ * UPDATE - Reworked alm_get_page_slug ()function to get current page slug.
342
+ * UPDATE - Remove support for author slugs in favor of multiple author support and selection from the Shortcode Builder
343
+ * UPDATE - Various UI/UX updates, new logos added to admin panel.
344
+
345
+
346
  = 2.12.0 - September 5, 2016 =
347
  * NEW - Completed integration of new Call to Actions add-on.
348
  * NEW - Added $.fn.almTriggerClick() public function that will easily allow users to trigger Ajax Load More from any object on the screen.
admin/admin-functions.php CHANGED
@@ -17,4 +17,21 @@ function alm_is_admin_screen(){
17
  return $return;
18
  }
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
17
  return $return;
18
  }
19
 
20
+
21
+
22
+ /*
23
+ * alm_has_addon
24
+ * Does user have an add-on installed and activated
25
+ *
26
+ * @return boolean
27
+ * @since 2.13.0
28
+ */
29
+
30
+ function alm_has_addon(){
31
+ if(has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) {
32
+ return true;
33
+ } else {
34
+ return false;
35
+ }
36
+ }
37
 
admin/admin.php CHANGED
@@ -156,7 +156,12 @@ function alm_admin_vars() { ?>
156
  'inactive' => __('Inactive', 'ajax-load-more'),
157
  'applying_layout' => __('Applying layout', 'ajax-load-more'),
158
  'template_updated' => __('Template Updated', 'ajax-load-more'),
159
- 'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' )
 
 
 
 
 
160
  )); ?>
161
  /* ]]> */
162
  </script>
@@ -193,11 +198,12 @@ function alm_core_update() {
193
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
194
  if ( $alm_installed_ver != ALM_VERSION ) {
195
 
196
- // Delete our ALM transients
197
- delete_transient( 'alm_dismiss_sharing' );
198
 
199
  // Update repeaters
200
  alm_run_update();
 
201
  }
202
  }
203
 
@@ -298,7 +304,7 @@ function alm_update_template_files(){
298
  add_action( 'admin_menu', 'alm_admin_menu' );
299
  function alm_admin_menu() {
300
  $icon = 'dashicons-plus-alt';
301
- $icon = ALM_ADMIN_URL . "/img/alm-logo-16x16.png";
302
 
303
  $alm_page = add_menu_page(
304
  'Ajax Load More',
@@ -431,7 +437,7 @@ function alm_enqueue_admin_scripts(){
431
  wp_enqueue_style( 'alm-select2', ALM_ADMIN_URL. 'css/select2.css');
432
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
433
  wp_enqueue_style( 'alm-core', ALM_URL. '/core/css/ajax-load-more.css');
434
- wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
435
 
436
  //Load CodeMirror Syntax Highlighting if on Repater Template page
437
  $screen = get_current_screen();
@@ -819,8 +825,8 @@ function alm_dismiss_sharing(){
819
  if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
820
  die('Error - unable to verify nonce, please try again.');
821
 
822
- set_transient( 'alm_dismiss_sharing', 'true', 365 * DAY_IN_SECONDS );
823
- echo 'Success';
824
 
825
  die();
826
  }
@@ -841,7 +847,7 @@ function alm_filter_admin_footer_text( $text ) {
841
  return;
842
  }
843
 
844
- echo 'Ajax Load More 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://connekthq.com/plugins/ajax-load-more/support/" target="_blank" style="font-weight: 500;">Get Support</a>';
845
  }
846
 
847
 
156
  'inactive' => __('Inactive', 'ajax-load-more'),
157
  'applying_layout' => __('Applying layout', 'ajax-load-more'),
158
  'template_updated' => __('Template Updated', 'ajax-load-more'),
159
+ 'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' ),
160
+ 'select_authors' => __('Select Author(s)', 'ajax-load-more'),
161
+ 'select_cats' => __('Select Categories', 'ajax-load-more'),
162
+ 'select_tags' => __('Select Tags', 'ajax-load-more'),
163
+ 'jump_to_option' => __('Jump to Option', 'ajax-load-more'),
164
+ 'jump_to_template' => __('Jump to Template', 'ajax-load-more')
165
  )); ?>
166
  /* ]]> */
167
  </script>
198
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
199
  if ( $alm_installed_ver != ALM_VERSION ) {
200
 
201
+ // Delete ALM transients
202
+ delete_transient('alm_dismiss_sharing');
203
 
204
  // Update repeaters
205
  alm_run_update();
206
+
207
  }
208
  }
209
 
304
  add_action( 'admin_menu', 'alm_admin_menu' );
305
  function alm_admin_menu() {
306
  $icon = 'dashicons-plus-alt';
307
+ $icon = ALM_ADMIN_URL . "/img/alm-logo-16x16.svg";
308
 
309
  $alm_page = add_menu_page(
310
  'Ajax Load More',
437
  wp_enqueue_style( 'alm-select2', ALM_ADMIN_URL. 'css/select2.css');
438
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
439
  wp_enqueue_style( 'alm-core', ALM_URL. '/core/css/ajax-load-more.css');
440
+ wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css');
441
 
442
  //Load CodeMirror Syntax Highlighting if on Repater Template page
443
  $screen = get_current_screen();
825
  if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
826
  die('Error - unable to verify nonce, please try again.');
827
 
828
+ set_transient( 'alm_dismiss_sharing', 'true', YEAR_IN_SECONDS );
829
+ echo 'ALM sharing dismissed successfully.';
830
 
831
  die();
832
  }
847
  return;
848
  }
849
 
850
+ echo 'Ajax Load More 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>';
851
  }
852
 
853
 
admin/css/admin.css CHANGED
@@ -1,4 +1,3 @@
1
- @import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,600);
2
 
3
  /* Custom buttom/loading styles */
4
  .select2-results .select2-result.alm-color .select2-result-label{
@@ -87,7 +86,6 @@
87
  font-size: 14px;
88
  color:#666;
89
  position: relative;
90
- font-family: 'Open Sans', sans-serif;
91
  max-width: 1250px;
92
  }
93
  #alm-help.ajax-load-more{
@@ -138,15 +136,15 @@
138
  color: #999;
139
  padding: 0 0 0 12px;
140
  border-left: 5px solid #ff5a58;
141
- margin: 0 0 30px;
142
- font-size: 13px;
143
  }
144
  .ajax-load-more code{
145
  background: #fcf3d0;
146
  }
147
  .ajax-load-more p{
148
  display: block;
149
- color:#666;
150
  width: 100%;
151
  display: block;
152
  clear: both;
@@ -199,7 +197,8 @@ a.layout-hover{
199
  }
200
 
201
  .ajax-load-more h1{
202
- font-weight: 400;
 
203
  }
204
  .ajax-load-more h1,
205
  .ajax-load-more h3,
@@ -227,7 +226,7 @@ a.layout-hover{
227
  /* Expand Collapse Headings */
228
  .ajax-load-more h3.heading{
229
  font-weight: 700;
230
- padding: 10px 10px 10px 35px !important;
231
  line-height: normal !important;
232
  margin: 0 !important;
233
  color: #555;
@@ -252,8 +251,8 @@ a.layout-hover{
252
  color: #ccc;
253
  font-size: 18px;
254
  position: absolute;
255
- left: 10px;
256
- top: 13px;
257
  height: 20px;
258
  width: 20px;
259
  }
@@ -274,7 +273,7 @@ a.layout-hover{
274
  /* Expand/Collapse all rows */
275
  .ajax-load-more .toggle-all{
276
  position: absolute;
277
- top:-13px;
278
  right: 20px;
279
  width: auto;
280
  display: inline-block;
@@ -282,10 +281,10 @@ a.layout-hover{
282
  text-transform: uppercase;
283
  border-radius: 3px;
284
  padding: 0 12px 0 10px;
285
- height: 25px;
286
- line-height: 24px;
287
  background: #fff;
288
- border:1px solid #ccc;
289
  color: #777;
290
  cursor: pointer;
291
  z-index: 2;
@@ -325,7 +324,7 @@ a.layout-hover{
325
  font-size: 10px;
326
  position: absolute;
327
  left: 0;
328
- top: -4px;
329
  }
330
  .ajax-load-more .toggle-all.closed .inner-wrap:before{
331
  content:'\f067';
@@ -462,9 +461,9 @@ a.layout-hover{
462
  position: absolute;
463
  right: 0;
464
  top: 0;
465
- width: 23px;
466
- height: 23px;
467
- line-height: 22px;
468
  text-align: center;
469
  font-weight: 700;
470
  font-size: 20px;
@@ -677,7 +676,7 @@ a.layout-hover{
677
  .ajax-load-more input.disabled-input{
678
  opacity: 0.5;
679
  filter: alpha(opacity=50);
680
- cursor: default;
681
  background: #f7f7f7 !important;
682
  border-color: #ccc !important;
683
  box-shadow: none !important;
@@ -710,7 +709,7 @@ a.layout-hover{
710
 
711
  .ajax-load-more .row{
712
  padding: 0 !important;
713
- margin: 15px 0 0;
714
  height: auto;
715
  width: 100%;
716
  display: block;
@@ -732,11 +731,17 @@ a.layout-hover{
732
  .admin.ajax-load-more .row{
733
  border-color: #efefef;
734
  }
 
 
 
 
 
 
 
735
  .admin.ajax-load-more .row:first-of-type{
736
  margin: 0;
737
  padding-top: 0;
738
- }
739
-
740
  .ajax-load-more .intro{
741
  height: auto;
742
  width: 100%;
@@ -755,32 +760,32 @@ a.layout-hover{
755
  float: right;
756
  width: 30%;
757
  }
 
 
 
 
 
 
758
  .pop-up-jump .intro-wrap{
759
  position: relative;
760
  float: left;
761
  width: 65%;
762
  padding-right: 5%;
 
 
 
763
  }
764
-
765
- .admin.ajax-load-more .jump-menu{
766
- display: none;
767
- }
768
 
769
  /* Table of Contents */
770
  .table-of-contents{}
771
-
772
  .table-of-contents.attached{
773
  position: fixed;
774
  width: auto;
775
  top: 70px;
776
  }
777
-
778
  .table-of-contents .select2-container{
779
  width: 100%;
780
  }
781
-
782
-
783
-
784
  .table-of-contents ul{
785
  margin: 0 !important;
786
  }
@@ -790,8 +795,7 @@ a.layout-hover{
790
  vertical-align: top;
791
  padding: 0;
792
  margin: 5px 5px 5px 0;
793
- }
794
-
795
 
796
 
797
  .ajax-load-more .expand-wrap{
@@ -817,16 +821,20 @@ a.layout-hover{
817
  width: 100%;
818
  float: none;
819
  }
 
 
 
 
820
  .ajax-load-more .section-title p{
821
- font-size: 13px !important;
822
- /* padding-left: 21px !important; */
823
  color: #999;
824
  }
825
  .ajax-load-more .section-title p .fa.tooltip,
826
  .form-table label .fa.tooltip{
827
  margin: 0 2px;
828
  display: inline-block;
829
- font-size: 16px;
830
  opacity: 0.9;
831
  top: 0;
832
  }
@@ -851,7 +859,6 @@ a.layout-hover{
851
  color: #666;
852
  }
853
  .ajax-load-more .section-title h4{
854
- /* padding-left: 21px !important; */
855
  margin: 0 0 10px;
856
  }
857
 
@@ -867,7 +874,7 @@ a.layout-hover{
867
  .ajax-load-more label.template-title{
868
  padding: 10px 0;
869
  margin: 0;
870
- font-size: 13px;
871
  color: #888;
872
  }
873
 
@@ -1023,9 +1030,8 @@ a.layout-hover{
1023
  background: #fff !important;
1024
  color: #ca5252 !important;
1025
  border: none;
1026
- font-size: 13px !important;
1027
  font-weight: 600;
1028
- font-family: 'Open Sans', sans-serif;
1029
  padding: 8px 13px;
1030
  display: inline-block;
1031
  text-align: center;
@@ -1105,7 +1111,7 @@ a.layout-hover{
1105
  .form-table .template-tags li{
1106
  margin: 0 0 8px;
1107
  padding:0;
1108
- font-size: 13px;
1109
  }
1110
  .form-table .template-tags li{
1111
  margin: 2px 0;
@@ -1207,7 +1213,8 @@ a.layout-hover{
1207
 
1208
  .header-wrap{
1209
  background: url(../img/alm-logo-48x48.png) no-repeat left 12px;
1210
- padding-left: 62px;
 
1211
  min-height: 48px;
1212
  overflow: hidden;
1213
  padding-top: 11px;
@@ -1215,19 +1222,26 @@ a.layout-hover{
1215
  .ajax-load-more .header-wrap h1{
1216
  padding-top: 0;
1217
  }
1218
- .ajax-load-more .header-wrap h1 + p{
1219
- margin-top: -3px;
1220
- opacity: 0.8;
 
 
 
 
 
1221
  }
1222
 
1223
  .ajax-load-more h1 span{
1224
  color: #999;
 
1225
  background: #fff;
1226
- padding: 0 5px;
1227
  border-radius: 2px;
1228
- font-size: 0.9em;
1229
  position: relative;
1230
- top: -1px;
 
1231
  }
1232
  .ajax-load-more h2.addon-title{
1233
  font-size: 19px !important;
@@ -1257,14 +1271,17 @@ a.layout-hover{
1257
  }
1258
  .ajax-load-more h3.add-on-title,
1259
  .ajax-load-more .cnkt-sidebar h3{
1260
- padding: 0 0 10px;
1261
  margin: 0 0 20px;
1262
  border-bottom: 1px solid #efefef;
1263
  }
1264
  .ajax-load-more p.desc,
1265
  .ajax-load-more p.writeable-title{
1266
- font-size: 12px !important;
1267
- padding: 0 0 5px 28px;
 
 
 
1268
  }
1269
  .ajax-load-more p.writeable-title{
1270
  position: relative;
@@ -1276,13 +1293,14 @@ a.layout-hover{
1276
  }
1277
 
1278
  .ajax-load-more p.back2top{
1279
- font-size: 12px;
1280
  margin:0;
1281
- padding: 5px 2px 5px 0;
1282
- text-align: right;
1283
  }
1284
  .ajax-load-more p.back2top a{
1285
  text-decoration: none;
 
1286
  }
1287
 
1288
  .saved-response,
@@ -1362,7 +1380,7 @@ table.highlight{
1362
 
1363
  /* Columns */
1364
  .ajax-load-more .cnkt-main{
1365
- width: 67%;
1366
  float: left;
1367
  margin-top: 10px;
1368
  background: none !important;
@@ -1379,13 +1397,15 @@ table.highlight{
1379
  .ajax-load-more .cnkt-main .group,
1380
  .ajax-load-more .cnkt-sidebar .cta,
1381
  .call-out.light{
1382
- border: 1px solid #ccc;
1383
  -webkit-border-radius: 3px;
1384
  -moz-border-radius: 3px;
1385
  border-radius: 3px;
 
1386
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1387
  -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1388
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
 
1389
  }
1390
  .ajax-load-more .cnkt-main.full{
1391
  width: 100%;
@@ -1410,8 +1430,9 @@ table.highlight{
1410
  top: 0;
1411
  text-decoration: none;
1412
  width: 40px;
1413
- height: 40px;
1414
- line-height: 40px;
 
1415
  text-align: center;
1416
  background: #f7f7f7;
1417
  color: #777;
@@ -1483,7 +1504,8 @@ table.highlight{
1483
  padding: 8px 14px;
1484
  }
1485
  .ajax-load-more .cnkt-main .group.installed{
1486
- opacity: 0.7;
 
1487
  }
1488
  .ajax-load-more .cnkt-main .group.installed p:before{
1489
  display: none !important;
@@ -1506,17 +1528,18 @@ table.highlight{
1506
  color: #444 !important;
1507
  }
1508
 
 
1509
  /* Add-on Callout! */
1510
  .call-out{
1511
  background: #5acfb2;
1512
- padding: 13px 100px 13px 12px;
1513
  border-radius: 3px;
1514
  margin: 0;
1515
  width: 100%;
1516
  display: block;
1517
  color: #fff;
1518
- font-size: 13px;
1519
- font-weight: 600;
1520
  position: relative;
1521
  }
1522
  .call-out.light{
@@ -1534,8 +1557,7 @@ table.highlight{
1534
  }
1535
  .call-out.light p a:hover{
1536
  text-decoration: underline;
1537
- }
1538
-
1539
  #alm-builder .call-out,
1540
  .forceColors .call-out{ /* Shortcode builder */
1541
  width: 90%;
@@ -1543,21 +1565,22 @@ table.highlight{
1543
  margin: 10px;
1544
  }
1545
  .call-out .cnkt-button{
1546
- padding: 5px 8px;
1547
  display: inline-block;
1548
  background: #fff;
1549
  border: 1px solid #5da592;
1550
  border-radius: 3px;
1551
  position: absolute;
1552
- right: 7px;
1553
- top:7px;
1554
  color: #387061 !important;
1555
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
 
1556
  }
1557
  .call-out a{
1558
  color: #387061 !important;
1559
  text-decoration: none;
1560
- font-weight: 600;
1561
  }
1562
  .call-out a:hover{
1563
  color: #222 !important;
@@ -1573,7 +1596,7 @@ table.highlight{
1573
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1574
  text-decoration: none !important;
1575
  color: #fff !important;
1576
- font-size: 13px;
1577
  font-weight: 600;
1578
  }
1579
  a.cnkt-button:hover,
@@ -1666,7 +1689,7 @@ table.highlight{
1666
  .license p,
1667
  .license label{
1668
  font-size: 400;
1669
- font-size: 13px;
1670
  }
1671
  .license .cnkt-button{
1672
  position: absolute;
@@ -1720,7 +1743,7 @@ table.highlight{
1720
  .license-btn-wrap .msg{
1721
  display: block;
1722
  padding: 10px 0 0;
1723
- font-size: 13px;
1724
  line-height: 18px;
1725
  }
1726
  .license-btn-wrap .msg strong{
@@ -1782,7 +1805,7 @@ table.highlight{
1782
 
1783
  .ajax-load-more .alm-nav{
1784
  font-size: 600;
1785
- font-size: 13px;
1786
  margin: 0 !important;
1787
  padding: 5px 0 5px;
1788
  }
@@ -1808,7 +1831,7 @@ table.highlight{
1808
  * @since 1.0
1809
  */
1810
  .ajax-load-more .cnkt-sidebar{
1811
- width: 30%;
1812
  float: right;
1813
  margin-top: 10px;
1814
  }
@@ -1848,9 +1871,9 @@ table.highlight{
1848
  margin-bottom: 5px;
1849
  }
1850
  .ajax-load-more .cnkt-sidebar p{
1851
- line-height: 20px;
1852
  margin: 0 0 5px;
1853
- font-size: 13px;
1854
  }
1855
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1856
  margin: 5px 0;
@@ -1858,11 +1881,12 @@ table.highlight{
1858
  overflow: hidden;
1859
  }
1860
  .ajax-load-more .cnkt-sidebar ul{
 
1861
  margin: 0 0 10px;
1862
  overflow: hidden;
1863
  }
1864
  .ajax-load-more .cnkt-sidebar li{
1865
- font-size: 13px;
1866
  margin: 0 0 10px;
1867
  line-height: 1.4;
1868
  }
@@ -1917,7 +1941,7 @@ table.highlight{
1917
 
1918
  .ajax-load-more .cnkt-sidebar a.visit{
1919
  background: #FF5A58;
1920
- padding: 12px 20px 16px;
1921
  position: absolute;
1922
  bottom: 0;
1923
  left: 0;
@@ -1926,13 +1950,16 @@ table.highlight{
1926
  color: #fff !important;
1927
  z-index: 2;
1928
  text-decoration: none;
 
1929
  }
1930
  .ajax-load-more .cnkt-sidebar a.visit i{
1931
  font-size: 24px;
1932
  opacity: 0.7;
1933
  margin: 0 5px 0 0;
1934
- position: relative;
1935
- top:3px;
 
 
1936
  }
1937
  .ajax-load-more .cnkt-sidebar a.visit:hover{
1938
  background: #ec4745;
@@ -1942,6 +1969,31 @@ table.highlight{
1942
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
1943
  }
1944
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1945
 
1946
 
1947
  /*
@@ -2019,7 +2071,8 @@ table.highlight{
2019
  color: #009999 !important;
2020
  }
2021
 
2022
-
 
2023
 
2024
  /*
2025
  * Delete Template (Unlimited Repeaters
@@ -2105,7 +2158,7 @@ table.highlight{
2105
  border-radius: 2px;
2106
  background: none;
2107
  color: #c94141;
2108
- font-size: 13px;
2109
  text-decoration: none;
2110
  display: block;
2111
  padding: 5px 10px;
@@ -2199,8 +2252,6 @@ table.highlight{
2199
  .alm-add-template a:active i{
2200
  color: #fff;
2201
  }
2202
-
2203
-
2204
  .spacer{
2205
  height:10px;
2206
  clear:both;
@@ -2215,7 +2266,7 @@ table.highlight{
2215
  */
2216
 
2217
 
2218
- .generate-cache-id{
2219
  margin: 10px 0 0 !important;
2220
  font-size: 12px !important;
2221
  }
@@ -2293,7 +2344,7 @@ table.highlight{
2293
  position: absolute;
2294
  right:8px;
2295
  top:7px;
2296
- font-size: 13px;
2297
  text-decoration: none;
2298
  padding: 5px 10px;
2299
  border: 1px solid #efefef;
@@ -2331,7 +2382,7 @@ table.highlight{
2331
  vertical-align: top;
2332
  overflow: hidden;
2333
  width: 47%;
2334
- font-size: 13px;
2335
  background: transparent url(../img/directory-list.gif) no-repeat left center;
2336
  }
2337
  .alm-dir-listing.theme-repeaters ul li{
@@ -2360,7 +2411,7 @@ table.highlight{
2360
  }
2361
 
2362
  .cache-page-title{
2363
- font-size: 13px;
2364
  display: block;
2365
  width: 100%;
2366
  padding: 0 0 10px 12px;
@@ -2489,41 +2540,41 @@ p.cache-stats{
2489
  .ajax-load-more .form-table input[type=checkbox] + label,
2490
  .shortcode-builder input[type=radio] + label,
2491
  .ajax-load-more .form-table input[type=radio] + label{
2492
- background: #fff url(../img/bkg-chkbox_off.png) no-repeat left top;
2493
  height: auto;
2494
  min-height: 20px;
2495
  width: 100%;
2496
  display:inline-block;
2497
  padding: 1px 0 0 30px;
2498
  margin: 0 0 5px;
2499
- font-size: 13px;
2500
  line-height: 1.42;
2501
  cursor: pointer !important;
2502
  }
2503
  .shortcode-builder input[type=radio] + label,
2504
  .ajax-load-more .form-table input[type=radio] + label{
2505
- background: #fff url(../img/bkg-radio_off.png) no-repeat left top;
2506
  }
2507
 
2508
  .shortcode-builder input[type=checkbox]:hover + label,
2509
  .ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
2510
- background-image: url(../img/bkg-chkbox_on.png);
2511
  }
2512
 
2513
  .shortcode-builder input[type=radio]:hover + label,
2514
  .ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
2515
- background-image: url(../img/bkg-radio_on.png);
2516
  }
2517
 
2518
  .shortcode-builder input[type=checkbox]:checked + label,
2519
  .ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
2520
- background-image: url(../img/bkg-chkbox_selected.png);
2521
  color: #000;
2522
  }
2523
 
2524
  .shortcode-builder input[type=radio]:checked + label,
2525
  .ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
2526
- background-image: url(../img/bkg-radio_selected.png);
2527
  color: #000;
2528
  }
2529
 
@@ -2533,7 +2584,47 @@ p.cache-stats{
2533
  .ajax-load-more .form-table input[type=radio] + label:hover{
2534
  color: #000;
2535
  }
 
2536
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2537
 
2538
  /*
2539
  * Repeater Template options dropdown
@@ -2550,31 +2641,33 @@ p.cache-stats{
2550
 
2551
  .alm-drop-btn.alm-repeater-options{
2552
  position: absolute;
2553
- top: -38px;
2554
- right: 6px;
2555
  z-index:99;
2556
  }
2557
- .alm-repeater-options a.target,
2558
- .alm-drop-btn.alm-layout-selection a.target{
 
2559
  color: #999;
2560
  text-decoration: none !important;
2561
- padding: 5px 11px;
2562
  border: 1px solid #e7e7e7;
2563
  -webkit-border-radius: 3px;
2564
  -moz-border-radius: 3px;
2565
  border-radius: 3px;
2566
  font-size: 13px;
 
2567
  display: block;
2568
  -webkit-box-shadow: 0 0 0 1px #fff;
2569
  -moz-box-shadow: 0 0 0 1px #fff;
2570
  box-shadow: 0 0 0 1px #fff;
2571
  }
2572
- .alm-repeater-options a i.fa-cog{
2573
  color: #999;
2574
  font-size: 16px;
2575
- position: relative;
2576
- top:1px;
2577
- left: -2px;
2578
  }
2579
  .alm-repeater-options a.target:hover{
2580
  background-color: #fff;
@@ -2616,8 +2709,8 @@ p.cache-stats{
2616
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
2617
  opacity: 0.8;
2618
  }
2619
- .alm-drop-btn.alm-layout-selection a i{
2620
- margin: 1px 2px 0 0;
2621
  }
2622
 
2623
  .alm-drop-btn.alm-layout-selection li.type{
@@ -2701,7 +2794,7 @@ p.cache-stats{
2701
  background-color: #5acfb2;
2702
  border: none;
2703
  color: #fff;
2704
- font-weight: 600;
2705
  text-overflow: inherit;
2706
  height: auto;
2707
  white-space: normal;
@@ -2800,9 +2893,6 @@ p.cache-stats{
2800
  position: relative;
2801
  width: auto;
2802
  }
2803
- .alm-drop-btn a.target{
2804
- font-weight: 600;
2805
- }
2806
  .alm-dropdown{
2807
  display: none;
2808
  position: absolute;
@@ -2873,7 +2963,7 @@ p.cache-stats{
2873
  padding: 0;
2874
  line-height: 1.2;
2875
  border-top: 1px solid #efefef;
2876
- font-weight: 600;
2877
  }
2878
  .alm-dropdown ul li:first-child{
2879
  border: none;
@@ -3085,9 +3175,6 @@ p.cache-stats{
3085
  border: 1px dashed #ccc;
3086
  background: #f7f7f7;
3087
  padding: 20px;
3088
- }
3089
- .share-alm{
3090
- /* display: none !important; */
3091
  }
3092
  .share-alm .dotted{
3093
  border: none;
@@ -3219,8 +3306,6 @@ ul.share li.facebook a:hover{
3219
 
3220
 
3221
 
3222
-
3223
-
3224
  /*
3225
  * Local templates Add-on
3226
  *
 
1
 
2
  /* Custom buttom/loading styles */
3
  .select2-results .select2-result.alm-color .select2-result-label{
86
  font-size: 14px;
87
  color:#666;
88
  position: relative;
 
89
  max-width: 1250px;
90
  }
91
  #alm-help.ajax-load-more{
136
  color: #999;
137
  padding: 0 0 0 12px;
138
  border-left: 5px solid #ff5a58;
139
+ margin: 0 0 24px;
140
+ font-size: 14px;
141
  }
142
  .ajax-load-more code{
143
  background: #fcf3d0;
144
  }
145
  .ajax-load-more p{
146
  display: block;
147
+ color:#777;
148
  width: 100%;
149
  display: block;
150
  clear: both;
197
  }
198
 
199
  .ajax-load-more h1{
200
+ font-weight: 600;
201
+ line-height: 28px;
202
  }
203
  .ajax-load-more h1,
204
  .ajax-load-more h3,
226
  /* Expand Collapse Headings */
227
  .ajax-load-more h3.heading{
228
  font-weight: 700;
229
+ padding: 15px 10px 15px 40px !important;
230
  line-height: normal !important;
231
  margin: 0 !important;
232
  color: #555;
251
  color: #ccc;
252
  font-size: 18px;
253
  position: absolute;
254
+ left: 13px;
255
+ top: 17px;
256
  height: 20px;
257
  width: 20px;
258
  }
273
  /* Expand/Collapse all rows */
274
  .ajax-load-more .toggle-all{
275
  position: absolute;
276
+ top: -16px;
277
  right: 20px;
278
  width: auto;
279
  display: inline-block;
281
  text-transform: uppercase;
282
  border-radius: 3px;
283
  padding: 0 12px 0 10px;
284
+ height: 31px;
285
+ line-height: 30px;
286
  background: #fff;
287
+ border:1px solid #e7e7e7;
288
  color: #777;
289
  cursor: pointer;
290
  z-index: 2;
324
  font-size: 10px;
325
  position: absolute;
326
  left: 0;
327
+ top: -5px;
328
  }
329
  .ajax-load-more .toggle-all.closed .inner-wrap:before{
330
  content:'\f067';
461
  position: absolute;
462
  right: 0;
463
  top: 0;
464
+ width: 30px;
465
+ height: 30px;
466
+ line-height: 28px;
467
  text-align: center;
468
  font-weight: 700;
469
  font-size: 20px;
676
  .ajax-load-more input.disabled-input{
677
  opacity: 0.5;
678
  filter: alpha(opacity=50);
679
+ cursor: not-allowed;
680
  background: #f7f7f7 !important;
681
  border-color: #ccc !important;
682
  box-shadow: none !important;
709
 
710
  .ajax-load-more .row{
711
  padding: 0 !important;
712
+ margin: 10px 0 0;
713
  height: auto;
714
  width: 100%;
715
  display: block;
731
  .admin.ajax-load-more .row{
732
  border-color: #efefef;
733
  }
734
+ .admin.ajax-load-more .repeaters .row:hover,
735
+ .admin.ajax-load-more.shortcode-builder .row:hover{
736
+ border-color: #d9d9d9;
737
+ -webkit-box-shadow: 0 0 0 3px #f7f7f7;
738
+ -moz-box-shadow: 0 0 0 3px #f7f7f7;
739
+ box-shadow: 0 0 0 3px #f7f7f7;
740
+ }
741
  .admin.ajax-load-more .row:first-of-type{
742
  margin: 0;
743
  padding-top: 0;
744
+ }
 
745
  .ajax-load-more .intro{
746
  height: auto;
747
  width: 100%;
760
  float: right;
761
  width: 30%;
762
  }
763
+ .pop-up-jump .jump-menu-wrap .select2-container{
764
+ width: 100% !important;
765
+ margin-bottom: 15px;
766
+ position: relative;
767
+ top: -5px;
768
+ }
769
  .pop-up-jump .intro-wrap{
770
  position: relative;
771
  float: left;
772
  width: 65%;
773
  padding-right: 5%;
774
+ }
775
+ .admin.ajax-load-more .jump-menu{
776
+ display: none;
777
  }
 
 
 
 
778
 
779
  /* Table of Contents */
780
  .table-of-contents{}
 
781
  .table-of-contents.attached{
782
  position: fixed;
783
  width: auto;
784
  top: 70px;
785
  }
 
786
  .table-of-contents .select2-container{
787
  width: 100%;
788
  }
 
 
 
789
  .table-of-contents ul{
790
  margin: 0 !important;
791
  }
795
  vertical-align: top;
796
  padding: 0;
797
  margin: 5px 5px 5px 0;
798
+ }
 
799
 
800
 
801
  .ajax-load-more .expand-wrap{
821
  width: 100%;
822
  float: none;
823
  }
824
+ .ajax-load-more .section-title h4{
825
+ font-size: 15px;
826
+ margin-bottom: 13px;
827
+ }
828
  .ajax-load-more .section-title p{
829
+ font-size: 13px;
830
+ line-height: 20px;
831
  color: #999;
832
  }
833
  .ajax-load-more .section-title p .fa.tooltip,
834
  .form-table label .fa.tooltip{
835
  margin: 0 2px;
836
  display: inline-block;
837
+ font-size: 15px;
838
  opacity: 0.9;
839
  top: 0;
840
  }
859
  color: #666;
860
  }
861
  .ajax-load-more .section-title h4{
 
862
  margin: 0 0 10px;
863
  }
864
 
874
  .ajax-load-more label.template-title{
875
  padding: 10px 0;
876
  margin: 0;
877
+ font-size: 14px;
878
  color: #888;
879
  }
880
 
1030
  background: #fff !important;
1031
  color: #ca5252 !important;
1032
  border: none;
1033
+ font-size: 14px !important;
1034
  font-weight: 600;
 
1035
  padding: 8px 13px;
1036
  display: inline-block;
1037
  text-align: center;
1111
  .form-table .template-tags li{
1112
  margin: 0 0 8px;
1113
  padding:0;
1114
+ font-size: 14px;
1115
  }
1116
  .form-table .template-tags li{
1117
  margin: 2px 0;
1213
 
1214
  .header-wrap{
1215
  background: url(../img/alm-logo-48x48.png) no-repeat left 12px;
1216
+ background: url(../img/alm-logo-48x48.svg) no-repeat left 12px;
1217
+ padding-left: 60px;
1218
  min-height: 48px;
1219
  overflow: hidden;
1220
  padding-top: 11px;
1222
  .ajax-load-more .header-wrap h1{
1223
  padding-top: 0;
1224
  }
1225
+ .ajax-load-more .header-wrap h1 em{
1226
+ display: block;
1227
+ position: relative;
1228
+ margin-top: -4px;
1229
+ font-size: 14px;
1230
+ opacity: 0.7;
1231
+ font-style: normal;
1232
+ font-weight: 400;
1233
  }
1234
 
1235
  .ajax-load-more h1 span{
1236
  color: #999;
1237
+ font-weight: 300;
1238
  background: #fff;
1239
+ padding: 5px 6px;
1240
  border-radius: 2px;
1241
+ font-size: 0.8em;
1242
  position: relative;
1243
+ top: -2px;
1244
+ left: 5px;
1245
  }
1246
  .ajax-load-more h2.addon-title{
1247
  font-size: 19px !important;
1271
  }
1272
  .ajax-load-more h3.add-on-title,
1273
  .ajax-load-more .cnkt-sidebar h3{
1274
+ padding: 0 0 10px;
1275
  margin: 0 0 20px;
1276
  border-bottom: 1px solid #efefef;
1277
  }
1278
  .ajax-load-more p.desc,
1279
  .ajax-load-more p.writeable-title{
1280
+ padding: 0 0 2px 28px;
1281
+ }
1282
+ .ajax-load-more p.desc{
1283
+ opacity: 0.85;
1284
+ font-size: 13px !important;
1285
  }
1286
  .ajax-load-more p.writeable-title{
1287
  position: relative;
1293
  }
1294
 
1295
  .ajax-load-more p.back2top{
1296
+ font-size: 14px;
1297
  margin:0;
1298
+ padding: 0;
1299
+ text-align: center;
1300
  }
1301
  .ajax-load-more p.back2top a{
1302
  text-decoration: none;
1303
+ display: block;
1304
  }
1305
 
1306
  .saved-response,
1380
 
1381
  /* Columns */
1382
  .ajax-load-more .cnkt-main{
1383
+ width: 69%;
1384
  float: left;
1385
  margin-top: 10px;
1386
  background: none !important;
1397
  .ajax-load-more .cnkt-main .group,
1398
  .ajax-load-more .cnkt-sidebar .cta,
1399
  .call-out.light{
1400
+ border: 1px solid #e7e7e7;
1401
  -webkit-border-radius: 3px;
1402
  -moz-border-radius: 3px;
1403
  border-radius: 3px;
1404
+ /*
1405
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1406
  -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1407
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1408
+ */
1409
  }
1410
  .ajax-load-more .cnkt-main.full{
1411
  width: 100%;
1430
  top: 0;
1431
  text-decoration: none;
1432
  width: 40px;
1433
+ height: auto;
1434
+ line-height: 1;
1435
+ padding: 10px;
1436
  text-align: center;
1437
  background: #f7f7f7;
1438
  color: #777;
1504
  padding: 8px 14px;
1505
  }
1506
  .ajax-load-more .cnkt-main .group.installed{
1507
+ opacity: 0.85;
1508
+ filter: grayscale(0.85);
1509
  }
1510
  .ajax-load-more .cnkt-main .group.installed p:before{
1511
  display: none !important;
1528
  color: #444 !important;
1529
  }
1530
 
1531
+
1532
  /* Add-on Callout! */
1533
  .call-out{
1534
  background: #5acfb2;
1535
+ padding: 18px 100px 18px 18px;
1536
  border-radius: 3px;
1537
  margin: 0;
1538
  width: 100%;
1539
  display: block;
1540
  color: #fff;
1541
+ font-size: 14px;
1542
+ font-weight: 400;
1543
  position: relative;
1544
  }
1545
  .call-out.light{
1557
  }
1558
  .call-out.light p a:hover{
1559
  text-decoration: underline;
1560
+ }
 
1561
  #alm-builder .call-out,
1562
  .forceColors .call-out{ /* Shortcode builder */
1563
  width: 90%;
1565
  margin: 10px;
1566
  }
1567
  .call-out .cnkt-button{
1568
+ padding: 6px 8px;
1569
  display: inline-block;
1570
  background: #fff;
1571
  border: 1px solid #5da592;
1572
  border-radius: 3px;
1573
  position: absolute;
1574
+ right: 11px;
1575
+ top: 11px;
1576
  color: #387061 !important;
1577
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1578
+ font-size: 13px;
1579
  }
1580
  .call-out a{
1581
  color: #387061 !important;
1582
  text-decoration: none;
1583
+ font-weight: 500;
1584
  }
1585
  .call-out a:hover{
1586
  color: #222 !important;
1596
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1597
  text-decoration: none !important;
1598
  color: #fff !important;
1599
+ font-size: 14px;
1600
  font-weight: 600;
1601
  }
1602
  a.cnkt-button:hover,
1689
  .license p,
1690
  .license label{
1691
  font-size: 400;
1692
+ font-size: 14px;
1693
  }
1694
  .license .cnkt-button{
1695
  position: absolute;
1743
  .license-btn-wrap .msg{
1744
  display: block;
1745
  padding: 10px 0 0;
1746
+ font-size: 14px;
1747
  line-height: 18px;
1748
  }
1749
  .license-btn-wrap .msg strong{
1805
 
1806
  .ajax-load-more .alm-nav{
1807
  font-size: 600;
1808
+ font-size: 14px;
1809
  margin: 0 !important;
1810
  padding: 5px 0 5px;
1811
  }
1831
  * @since 1.0
1832
  */
1833
  .ajax-load-more .cnkt-sidebar{
1834
+ width: 29.5%;
1835
  float: right;
1836
  margin-top: 10px;
1837
  }
1871
  margin-bottom: 5px;
1872
  }
1873
  .ajax-load-more .cnkt-sidebar p{
1874
+ line-height: 22px;
1875
  margin: 0 0 5px;
1876
+ font-size: 14px;
1877
  }
1878
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1879
  margin: 5px 0;
1881
  overflow: hidden;
1882
  }
1883
  .ajax-load-more .cnkt-sidebar ul{
1884
+ padding: 5px 0 0;
1885
  margin: 0 0 10px;
1886
  overflow: hidden;
1887
  }
1888
  .ajax-load-more .cnkt-sidebar li{
1889
+ font-size: 14px;
1890
  margin: 0 0 10px;
1891
  line-height: 1.4;
1892
  }
1941
 
1942
  .ajax-load-more .cnkt-sidebar a.visit{
1943
  background: #FF5A58;
1944
+ padding: 20px 20px 20px 50px;
1945
  position: absolute;
1946
  bottom: 0;
1947
  left: 0;
1950
  color: #fff !important;
1951
  z-index: 2;
1952
  text-decoration: none;
1953
+ line-height: 1;
1954
  }
1955
  .ajax-load-more .cnkt-sidebar a.visit i{
1956
  font-size: 24px;
1957
  opacity: 0.7;
1958
  margin: 0 5px 0 0;
1959
+ position: absolute;
1960
+ top: 14px;
1961
+ left: 19px;
1962
+ display: inline-block;
1963
  }
1964
  .ajax-load-more .cnkt-sidebar a.visit:hover{
1965
  background: #ec4745;
1969
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
1970
  }
1971
 
1972
+ .ajax-load-more .cnkt-sidebar .project-listing {
1973
+ padding: 0;
1974
+ }
1975
+ .ajax-load-more .cnkt-sidebar .project-listing li{
1976
+ margin: 10px 0;
1977
+ font-size: 13px;
1978
+ min-height: 48px;
1979
+ padding-left: 53px;
1980
+ position: relative;
1981
+ }
1982
+ .ajax-load-more .cnkt-sidebar .project-listing li:first-of-type{
1983
+ margin: 0;
1984
+ }
1985
+ .ajax-load-more .cnkt-sidebar .project-listing img {
1986
+ height: 40px;
1987
+ left: 0;
1988
+ position: absolute;
1989
+ top: 2px;
1990
+ width: 40px;
1991
+ }
1992
+ .ajax-load-more .cnkt-sidebar .project-listing li strong{
1993
+ font-size: 14px;
1994
+ display: block;
1995
+ }
1996
+
1997
 
1998
 
1999
  /*
2071
  color: #009999 !important;
2072
  }
2073
 
2074
+
2075
+
2076
 
2077
  /*
2078
  * Delete Template (Unlimited Repeaters
2158
  border-radius: 2px;
2159
  background: none;
2160
  color: #c94141;
2161
+ font-size: 14px;
2162
  text-decoration: none;
2163
  display: block;
2164
  padding: 5px 10px;
2252
  .alm-add-template a:active i{
2253
  color: #fff;
2254
  }
 
 
2255
  .spacer{
2256
  height:10px;
2257
  clear:both;
2266
  */
2267
 
2268
 
2269
+ .generate-id{
2270
  margin: 10px 0 0 !important;
2271
  font-size: 12px !important;
2272
  }
2344
  position: absolute;
2345
  right:8px;
2346
  top:7px;
2347
+ font-size: 14px;
2348
  text-decoration: none;
2349
  padding: 5px 10px;
2350
  border: 1px solid #efefef;
2382
  vertical-align: top;
2383
  overflow: hidden;
2384
  width: 47%;
2385
+ font-size: 14px;
2386
  background: transparent url(../img/directory-list.gif) no-repeat left center;
2387
  }
2388
  .alm-dir-listing.theme-repeaters ul li{
2411
  }
2412
 
2413
  .cache-page-title{
2414
+ font-size: 14px;
2415
  display: block;
2416
  width: 100%;
2417
  padding: 0 0 10px 12px;
2540
  .ajax-load-more .form-table input[type=checkbox] + label,
2541
  .shortcode-builder input[type=radio] + label,
2542
  .ajax-load-more .form-table input[type=radio] + label{
2543
+ background: #fff url('../img/bkg-chkbox_off.png') no-repeat left 1px;
2544
  height: auto;
2545
  min-height: 20px;
2546
  width: 100%;
2547
  display:inline-block;
2548
  padding: 1px 0 0 30px;
2549
  margin: 0 0 5px;
2550
+ font-size: 14px;
2551
  line-height: 1.42;
2552
  cursor: pointer !important;
2553
  }
2554
  .shortcode-builder input[type=radio] + label,
2555
  .ajax-load-more .form-table input[type=radio] + label{
2556
+ background: #fff url('../img/bkg-radio_off.png') no-repeat left 1px;
2557
  }
2558
 
2559
  .shortcode-builder input[type=checkbox]:hover + label,
2560
  .ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
2561
+ background-image: url('../img/bkg-chkbox_on.png');
2562
  }
2563
 
2564
  .shortcode-builder input[type=radio]:hover + label,
2565
  .ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
2566
+ background-image: url('../img/bkg-radio_on.png');
2567
  }
2568
 
2569
  .shortcode-builder input[type=checkbox]:checked + label,
2570
  .ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
2571
+ background-image: url('../img/bkg-chkbox_selected.png');
2572
  color: #000;
2573
  }
2574
 
2575
  .shortcode-builder input[type=radio]:checked + label,
2576
  .ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
2577
+ background-image: url('../img/bkg-radio_selected.png');
2578
  color: #000;
2579
  }
2580
 
2584
  .ajax-load-more .form-table input[type=radio] + label:hover{
2585
  color: #000;
2586
  }
2587
+
2588
 
2589
+ /*
2590
+ * Shortcode Builder
2591
+ *
2592
+ * @since 2.13.0
2593
+ */
2594
+ #alm-shortcode-builder-form{
2595
+ position: relative;
2596
+ }
2597
+ #alm-shortcode-builder-form .shortcode-parameter-wrap{
2598
+ padding: 0 20px 20px;
2599
+ display: block;
2600
+ background: #fff;
2601
+ border: 1px solid #e7e7e7;
2602
+ -webkit-border-radius: 3px;
2603
+ -moz-border-radius: 3px;
2604
+ border-radius: 3px;
2605
+ margin-bottom: 20px;
2606
+ }
2607
+ #alm-shortcode-builder-form .shortcode-parameter-wrap h2{
2608
+ padding: 20px 22px;
2609
+ margin: 0 -20px 20px;
2610
+ display: block;
2611
+ font-size: 22px;
2612
+ width: calc(100% + 40px);
2613
+ border-bottom: 1px solid #efefef;
2614
+ background-color: #f7f7f7;
2615
+ -webkit-border-radius: 2px 2px 0 0;
2616
+ -moz-border-radius: 2px 2px 0 0;
2617
+ border-radius: 2px 2px 0 0;
2618
+ color: #23282d;
2619
+ }
2620
+ .forceColors #alm-shortcode-builder-form .shortcode-parameter-wrap h2{
2621
+ padding: 12px 22px;
2622
+ font-size: 20px;
2623
+ }
2624
+ #alm-shortcode-builder-form .shortcode-parameter-wrap:first-of-type{
2625
+ margin-top: 0;
2626
+ }
2627
+
2628
 
2629
  /*
2630
  * Repeater Template options dropdown
2641
 
2642
  .alm-drop-btn.alm-repeater-options{
2643
  position: absolute;
2644
+ top: -43px;
2645
+ right: 11px;
2646
  z-index:99;
2647
  }
2648
+ .alm-drop-btn a.target{
2649
+ font-weight: 500;
2650
+ position: relative;
2651
  color: #999;
2652
  text-decoration: none !important;
2653
+ padding: 8px 12px 8px 32px;
2654
  border: 1px solid #e7e7e7;
2655
  -webkit-border-radius: 3px;
2656
  -moz-border-radius: 3px;
2657
  border-radius: 3px;
2658
  font-size: 13px;
2659
+ line-height: 1.25;
2660
  display: block;
2661
  -webkit-box-shadow: 0 0 0 1px #fff;
2662
  -moz-box-shadow: 0 0 0 1px #fff;
2663
  box-shadow: 0 0 0 1px #fff;
2664
  }
2665
+ .alm-drop-btn a.target > i{
2666
  color: #999;
2667
  font-size: 16px;
2668
+ position: absolute;
2669
+ top:9px;
2670
+ left: 10px;
2671
  }
2672
  .alm-repeater-options a.target:hover{
2673
  background-color: #fff;
2709
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
2710
  opacity: 0.8;
2711
  }
2712
+ .alm-drop-btn.alm-layout-selection > a > i{
2713
+ left: 12px;
2714
  }
2715
 
2716
  .alm-drop-btn.alm-layout-selection li.type{
2794
  background-color: #5acfb2;
2795
  border: none;
2796
  color: #fff;
2797
+ font-weight: 300;
2798
  text-overflow: inherit;
2799
  height: auto;
2800
  white-space: normal;
2893
  position: relative;
2894
  width: auto;
2895
  }
 
 
 
2896
  .alm-dropdown{
2897
  display: none;
2898
  position: absolute;
2963
  padding: 0;
2964
  line-height: 1.2;
2965
  border-top: 1px solid #efefef;
2966
+ font-weight: 400;
2967
  }
2968
  .alm-dropdown ul li:first-child{
2969
  border: none;
3175
  border: 1px dashed #ccc;
3176
  background: #f7f7f7;
3177
  padding: 20px;
 
 
 
3178
  }
3179
  .share-alm .dotted{
3180
  border: none;
3306
 
3307
 
3308
 
 
 
3309
  /*
3310
  * Local templates Add-on
3311
  *
admin/css/select2.css CHANGED
@@ -239,7 +239,7 @@
239
 
240
  .select2-results li.select2-result-with-children > .select2-result-label {
241
  font-weight: 600;
242
- font-size: 15px;
243
  cursor: default;
244
  color: #222;
245
  }
239
 
240
  .select2-results li.select2-result-with-children > .select2-result-label {
241
  font-weight: 600;
242
+ font-size: 14px;
243
  cursor: default;
244
  color: #222;
245
  }
admin/css/tooltipster/tooltipster.css CHANGED
@@ -10,8 +10,7 @@
10
 
11
  /* Use this next selector to style things like font-size and line-height: */
12
  .tooltipster-default .tooltipster-content {
13
- font-family: 'Open Sans', sans-serif;
14
- font-size: 13px;
15
  line-height: 20px;
16
  padding: 12px 16px;
17
  overflow: hidden;
10
 
11
  /* Use this next selector to style things like font-size and line-height: */
12
  .tooltipster-default .tooltipster-content {
13
+ font-size: 12px;
 
14
  line-height: 20px;
15
  padding: 12px 16px;
16
  overflow: hidden;
admin/editor/editor-build.php CHANGED
@@ -35,27 +35,32 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
35
  <?php $is_modal = true; ?>
36
  </head>
37
  <body id="alm-builder">
38
- <div id="alm-container" class="ajax-load-more shortcode-builder wp-core-ui">
39
- <div class="pop-up-jump">
40
- <div class="jump-menu-wrap">
41
- <select class="jump-menu">
42
- <option value="null" selected="selected">-- <?php _e('Jump to Option', 'ajax-load-more'); ?> --</option>
43
- </select>
44
- </div>
45
- <div class="intro-wrap">
46
- <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the parameters below:', 'ajax-load-more'); ?></p>
47
- </div>
48
- </div>
49
- <div class="clear"></div>
50
- <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
51
-
52
- <div class="output-wrap">
53
- <a href="javascript:AjaxLoadMoreModal.insert(AjaxLoadMoreModal.local_ed)" id="insert" class="insert_alm"><i class="fa fa-chevron-circle-right"></i> <?php _e('Insert Shortcode', 'ajax-load-more'); ?></a>
54
- <div class="shortcode-display">
55
- <div id="shortcode_output"></div>
56
- <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
57
- </div>
58
- </div
 
 
 
 
 
59
  </div>
60
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/select2.min.js"></script>
61
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
35
  <?php $is_modal = true; ?>
36
  </head>
37
  <body id="alm-builder">
38
+ <div id="alm-container" class="ajax-load-more shortcode-builder wp-core-ui">
39
+ <div id="alm-shortcode-builder-form">
40
+
41
+ <div class="pop-up-jump">
42
+ <div class="jump-menu-wrap">
43
+ <select class="jump-menu">
44
+ <option value="null" selected="selected">-- <?php _e('Jump to Option', 'ajax-load-more'); ?> --</option>
45
+ </select>
46
+ </div>
47
+ <div class="intro-wrap">
48
+ <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the parameters below:', 'ajax-load-more'); ?></p>
49
+ </div>
50
+ </div>
51
+ <div class="clear"></div>
52
+
53
+ <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
54
+
55
+ <div class="output-wrap">
56
+ <a href="javascript:AjaxLoadMoreModal.insert(AjaxLoadMoreModal.local_ed)" id="insert" class="insert_alm"><i class="fa fa-chevron-circle-right"></i> <?php _e('Insert Shortcode', 'ajax-load-more'); ?></a>
57
+ <div class="shortcode-display">
58
+ <div id="shortcode_output"></div>
59
+ <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
60
+ </div>
61
+ </div>
62
+
63
+ </div>
64
  </div>
65
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/select2.min.js"></script>
66
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
admin/editor/js/editor-btn.js CHANGED
@@ -23,7 +23,7 @@
23
  title: 'Insert Ajax load More',
24
  cmd: 'alm_mcebutton',
25
  classes: 'widget btn ajax-load-more-btn',
26
- image: url + '/../../img/add.png'
27
  });
28
 
29
  }
23
  title: 'Insert Ajax load More',
24
  cmd: 'alm_mcebutton',
25
  classes: 'widget btn ajax-load-more-btn',
26
+ image: url + '/../../img/alm-logo-16x16.svg'
27
  });
28
 
29
  }
admin/img/alm-logo-16x16.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px"
4
+ height="16px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
5
+ <g id="bkg">
6
+ <path fill="#E44846" d="M44,48H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h40c2.2,0,4,1.8,4,4v40C48,46.2,46.2,48,44,48z"/>
7
+ </g>
8
+ <g id="Layer_2">
9
+ <g>
10
+ <path fill="#EDCACA" d="M18.9,27.7L18,30.5c-0.1,0.3-0.2,0.6-0.3,0.9c-0.1,0.3-0.1,0.7-0.1,0.9c0,0.2,0,0.4,0.1,0.5
11
+ c0.1,0.2,0.2,0.3,0.3,0.4c0.1,0.1,0.3,0.2,0.5,0.2c0.2,0.1,0.4,0.1,0.5,0.1h1.3v1.7h-8.3v-1.7h0.4c0.3,0,0.5,0,0.8-0.1
12
+ s0.5-0.2,0.7-0.4s0.4-0.4,0.6-0.7c0.2-0.3,0.4-0.7,0.6-1.2L22,12.4h4.4L33,31.2c0.2,0.4,0.3,0.8,0.5,1.1s0.4,0.5,0.6,0.7
13
+ s0.4,0.3,0.6,0.4c0.2,0.1,0.5,0.1,0.7,0.1H36v1.7H25.5v-1.7h1.2c0.2,0,0.3,0,0.5-0.1c0.2,0,0.3-0.1,0.4-0.2
14
+ c0.1-0.1,0.2-0.2,0.3-0.4c0.1-0.2,0.1-0.3,0.1-0.6c0-0.3,0-0.5-0.1-0.7c-0.1-0.2-0.1-0.4-0.2-0.6l-1.1-3.2H18.9z M24.4,20.5
15
+ c-0.1-0.4-0.2-0.7-0.4-1.1c-0.1-0.4-0.2-0.8-0.4-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1,0.3-0.2,0.7-0.3,1.1
16
+ c-0.1,0.4-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2l-1.9,5.4h6.5L24.4,20.5z"/>
17
+ </g>
18
+ </g>
19
+ </svg>
admin/img/alm-logo-48x48.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="48px"
4
+ height="48px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
5
+ <g id="bkg">
6
+ <path fill="#E44846" d="M44,48H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h40c2.2,0,4,1.8,4,4v40C48,46.2,46.2,48,44,48z"/>
7
+ </g>
8
+ <g id="Layer_2">
9
+ <g>
10
+ <path fill="#EDCACA" d="M18.9,27.7L18,30.5c-0.1,0.3-0.2,0.6-0.3,0.9c-0.1,0.3-0.1,0.7-0.1,0.9c0,0.2,0,0.4,0.1,0.5
11
+ c0.1,0.2,0.2,0.3,0.3,0.4c0.1,0.1,0.3,0.2,0.5,0.2c0.2,0.1,0.4,0.1,0.5,0.1h1.3v1.7h-8.3v-1.7h0.4c0.3,0,0.5,0,0.8-0.1
12
+ s0.5-0.2,0.7-0.4s0.4-0.4,0.6-0.7c0.2-0.3,0.4-0.7,0.6-1.2L22,12.4h4.4L33,31.2c0.2,0.4,0.3,0.8,0.5,1.1s0.4,0.5,0.6,0.7
13
+ s0.4,0.3,0.6,0.4c0.2,0.1,0.5,0.1,0.7,0.1H36v1.7H25.5v-1.7h1.2c0.2,0,0.3,0,0.5-0.1c0.2,0,0.3-0.1,0.4-0.2
14
+ c0.1-0.1,0.2-0.2,0.3-0.4c0.1-0.2,0.1-0.3,0.1-0.6c0-0.3,0-0.5-0.1-0.7c-0.1-0.2-0.1-0.4-0.2-0.6l-1.1-3.2H18.9z M24.4,20.5
15
+ c-0.1-0.4-0.2-0.7-0.4-1.1c-0.1-0.4-0.2-0.8-0.4-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1,0.3-0.2,0.7-0.3,1.1
16
+ c-0.1,0.4-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2l-1.9,5.4h6.5L24.4,20.5z"/>
17
+ </g>
18
+ </g>
19
+ </svg>
admin/img/logos/eq-48x48.png ADDED
Binary file
admin/img/logos/instant-images-48x48.png ADDED
Binary file
admin/img/logos/velocity-48x48.png ADDED
Binary file
admin/includes/components/layout-list.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="clear"></div>
2
  <div class="alm-drop-btn alm-layout-selection">
3
- <a href="javascript:void(0);" class="target"><i class="fa fa-chevron-circle-down"></i> <?php _e('Apply Layout', 'ajax-load-more'); ?></a>
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
1
  <div class="clear"></div>
2
  <div class="alm-drop-btn alm-layout-selection">
3
+ <a href="javascript:void(0);" class="target"><i class="fa fa-caret-down"></i> <?php _e('Apply Layout', 'ajax-load-more'); ?></a>
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
admin/includes/cta/about.php CHANGED
@@ -1,10 +1,23 @@
1
- <div class="cta">
2
  <h3>Other Projects</h3>
3
- <ul>
4
- <li><strong><a target="blank" href="https://connekthq.com/plugins/easy-query/">Easy Query</a></strong><br>A simple solution to build and display WordPress queries without touching a single line of code.</li>
5
- <li><strong><a target="blank" href="https://connekthq.com/plugins/velocity/">Velocity</a></strong><br>Improve website performance by lazy loading and customizing your embedded media with Velocity.</li>
6
- <li><strong><a target="blank" href="https://connekthq.com/plugins/unsplash-wp/">Unsplash WP</a></strong><br>The fastest way to upload high quality stock photos from unsplash.com directly to your media library.</li>
7
- <li><strong><a target="blank" href="https://connekthq.com">Connekt Media</a></strong><br>Handcrafted digital products.</li>
8
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  </div>
10
 
1
+ <div class="cta padding-bottom">
2
  <h3>Other Projects</h3>
3
+ <ul class="project-listing">
4
+ <li>
5
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/eq-48x48.png" alt="">
6
+ <strong><a target="blank" href="https://connekthq.com/plugins/easy-query/">Easy Query</a></strong>
7
+ A simple solution to build and display WordPress queries without touching a single line of code.
8
+ </li>
9
+ <li>
10
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/instant-images-48x48.png" alt="">
11
+ <strong><a target="blank" href="https://connekthq.com/plugins/instant-images/">Instant Images</a></strong>
12
+ Upload quality, high resolution photos directly to your media library without leaving WordPress.
13
+ </li>
14
+ <li>
15
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/velocity-48x48.png" alt="">
16
+ <strong><a target="blank" href="https://connekthq.com/plugins/velocity/">Velocity</a></strong>
17
+ Improve website performance by lazy loading and customizing your embedded media with Velocity.
18
+ </li>
19
+ </ul>
20
+ <a href="https://connekthq.com" class="visit" target="_blank"><i class="fa fa-chevron-circle-right"></i> Connekt Media</a>
21
+
22
  </div>
23
 
admin/includes/cta/add-ons.php CHANGED
@@ -1,6 +1,6 @@
1
- <div class="cta padding-bottom cta-add-on">
2
  <h3>Add-ons</h3>
3
- <p>Ajax Load More offers a variety of unique add-ons that will extend and enhance the core functionality of the plugin.</p>
4
  <ul>
5
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Cache">Cache</a></li>
6
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Call to Actions">Call to Actions</a></li>
@@ -14,5 +14,4 @@
14
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
15
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
16
  </ul>
17
- <a href="admin.php?page=ajax-load-more-add-ons" class="visit"><i class="fa fa-chevron-circle-right"></i> View All Add-Ons</a>
18
  </div>
1
+ <div class="cta cta-add-on">
2
  <h3>Add-ons</h3>
3
+ <p>Ajax Load More offers a variety of unique <a href="admin.php?page=ajax-load-more-add-ons">add-ons</a> that will extend and enhance the core functionality of the plugin.</p>
4
  <ul>
5
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Cache">Cache</a></li>
6
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Call to Actions">Call to Actions</a></li>
14
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
15
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
16
  </ul>
 
17
  </div>
admin/includes/cta/dyk.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="cta dyk">
2
- <h3><?php _e('Did you know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
  $random = rand(1, 4);
5
  ?>
@@ -12,22 +12,22 @@
12
  <?php if($random == 2){ ?>
13
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg"><br/>
14
  <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
15
- <p>The <a target="blank" style="font-weight: 700;" 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>
16
- <p><a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Learn More &raquo;</a></p>
17
  <?php } ?>
18
 
19
  <?php if($random == 3){ ?>
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg"><br/>
21
  <p class="addon-intro">You can lazy load your single posts with Ajax Load More!</p>
22
- <p>The <a target="blank" style="font-weight: 700;" 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>
23
- <p><a target="blank" style="font-weight: 700;" 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 &raquo;</a></p>
24
  <?php } ?>
25
 
26
  <?php if($random == 4){ ?>
27
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg"><br/>
28
  <p class="addon-intro">You can lazy load your comments with Ajax Load More!</p>
29
- <p>The <a target="blank" style="font-weight: 700;" 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>
30
- <p><a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=COmments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
33
  </div>
1
  <div class="cta dyk">
2
+ <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
  $random = rand(1, 4);
5
  ?>
12
  <?php if($random == 2){ ?>
13
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg"><br/>
14
  <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
15
+ <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>
16
+ <p><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">Learn More &raquo;</a></p>
17
  <?php } ?>
18
 
19
  <?php if($random == 3){ ?>
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg"><br/>
21
  <p class="addon-intro">You can lazy load your single posts with Ajax Load More!</p>
22
+ <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>
23
+ <p><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">Learn More &raquo;</a></p>
24
  <?php } ?>
25
 
26
  <?php if($random == 4){ ?>
27
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg"><br/>
28
  <p class="addon-intro">You can lazy load your comments with Ajax Load More!</p>
29
+ <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>
30
+ <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
33
  </div>
admin/includes/cta/resources.php CHANGED
@@ -3,9 +3,9 @@
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
 
6
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
7
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
8
- <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
9
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
10
  </ul>
11
  <a href="https://wordpress.org/plugins/ajax-load-more/" target="blank" class="visit"><i class="fa fa-wordpress"></i> <?php _e('WordPress Repository', 'ajax-load-more'); ?></a>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
6
+ <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
7
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
8
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
 
9
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
10
  </ul>
11
  <a href="https://wordpress.org/plugins/ajax-load-more/" target="blank" class="visit"><i class="fa fa-wordpress"></i> <?php _e('WordPress Repository', 'ajax-load-more'); ?></a>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -21,13 +21,13 @@ jQuery(document).ready(function($) {
21
 
22
  // multiple
23
  $('.ajax-load-more .categories select.multiple').select2({
24
- placeholder : '-- Select Categories --',
25
  });
26
  $('.ajax-load-more .tags select.multiple').select2({
27
- placeholder : '-- Select Tags --'
28
  });
29
- $('.ajax-load-more .alternate_template_wrap select.multiple').select2({
30
- placeholder : '-- Select Sequence --'
31
  });
32
  };
33
  _alm.select2();
@@ -41,7 +41,8 @@ jQuery(document).ready(function($) {
41
 
42
  // multiple
43
  $('.ajax-load-more .categories select.multiple').select2();
44
- $('.ajax-load-more .tags select.multiple').select2();
 
45
  };
46
 
47
 
@@ -153,7 +154,36 @@ jQuery(document).ready(function($) {
153
  */
154
 
155
  _alm.buildShortcode = function(){
156
- output = '[ajax_load_more';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
  // ---------------------------
159
  // - Cache
@@ -190,7 +220,7 @@ jQuery(document).ready(function($) {
190
  // Standard repeater
191
  if(cta_repeater != '' && cta_repeater != undefined && cta_position != '' && cta_position != null){
192
  output += ' cta="'+cta+'"';
193
- output += ' cta_position="'+cta_before_after+':'+cta_position;
194
  output += ' cta_repeater="'+cta_repeater+'"';
195
  }
196
  // Theme repeater
@@ -368,7 +398,7 @@ jQuery(document).ready(function($) {
368
 
369
 
370
  // ---------------------------
371
- // - Repeater
372
  // ---------------------------
373
 
374
  var repeater = $('#alm-repeaters select[name=repeater-select]').val(),
@@ -380,7 +410,7 @@ jQuery(document).ready(function($) {
380
  if(repeater != '' && repeater != undefined && repeater != 'default'){
381
  output += ' repeater="'+repeater+'"';
382
  }
383
- }
384
 
385
 
386
  // ---------------------------
@@ -405,8 +435,17 @@ jQuery(document).ready(function($) {
405
  if(post_type_count>0){
406
  output += '"';
407
  }
408
- }
 
 
 
 
 
409
 
 
 
 
 
410
 
411
  // ---------------------------
412
  // - Post Format
@@ -677,7 +716,7 @@ jQuery(document).ready(function($) {
677
  // ---------------------------
678
 
679
  var author = $('.authors #author-select').val();
680
- if(author !== '' && author !== undefined)
681
  output += ' author="'+author+'"';
682
 
683
 
@@ -716,16 +755,6 @@ jQuery(document).ready(function($) {
716
  output += ' search="'+search+'"';
717
 
718
 
719
- // ---------------------------
720
- // - Custom Arguments
721
- // ---------------------------
722
-
723
- var custom_args = $('.custom-arguments input').val();
724
- custom_args = $.trim(custom_args);
725
- if(custom_args !== '')
726
- output += ' custom_args="'+custom_args+'"';
727
-
728
-
729
  // ---------------------------
730
  // - Ordering
731
  // ---------------------------
@@ -755,14 +784,15 @@ jQuery(document).ready(function($) {
755
 
756
 
757
  // ---------------------------
758
- // - Posts Per Page
759
  // ---------------------------
760
 
761
- var posts_per_page = $('.posts_per_page input').val();
762
- if(posts_per_page > 0 && posts_per_page != 5)
763
- output += ' posts_per_page="'+posts_per_page+'"';
764
-
765
 
 
766
  // ---------------------------
767
  // - Pause Loading
768
  // ---------------------------
@@ -771,8 +801,7 @@ jQuery(document).ready(function($) {
771
  if(pause_load === 't'){
772
  output += ' pause="true"';
773
  }
774
-
775
-
776
 
777
  // ---------------------------
778
  // - Scrolling
@@ -791,7 +820,7 @@ jQuery(document).ready(function($) {
791
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
792
 
793
  var max_pages = $('.max_pages input').val();
794
- if(max_pages != 5)
795
  output += ' max_pages="'+$('.max_pages input').val()+'"';
796
 
797
  var pause_override = $('.pause_override input[name=pause_override]:checked').val();
@@ -828,7 +857,7 @@ jQuery(document).ready(function($) {
828
 
829
 
830
  // ---------------------------
831
- // - disbale after
832
  // ---------------------------
833
 
834
  var destroy_after = $('.destroy-after input[name=destroy-after]').val();
@@ -847,27 +876,7 @@ jQuery(document).ready(function($) {
847
  output += ' button_label="'+button_label+'"';
848
 
849
  if(button_loading_label !== '')
850
- output += ' button_loading_label="'+button_loading_label+'"';
851
-
852
-
853
-
854
- // ---------------------------
855
- // - Container Type
856
- // ---------------------------
857
-
858
- var container_type = $('.container_type input[name=alm_container_type]:checked').val();
859
- if(container_type)
860
- output += ' container_type="'+container_type+'"';
861
-
862
-
863
- // ---------------------------
864
- // - Container Classes
865
- // ---------------------------
866
-
867
- var container_classes = $('.alm-classes input#container-classes').val();
868
- container_classes = $.trim(container_classes);
869
- if(container_classes !== '' && $('.alm-classes input#container-classes').hasClass('changed'))
870
- output += ' css_classes="'+container_classes+'"';
871
 
872
 
873
  output += ']'; //Close shortcode
@@ -880,6 +889,8 @@ jQuery(document).ready(function($) {
880
  }
881
 
882
 
 
 
883
  /*
884
  * On change events
885
  *
@@ -904,19 +915,7 @@ jQuery(document).ready(function($) {
904
  if($('.select-theme-repeater select[name=theme-repeater-select]').val() !== 'null' && $('.select-theme-repeater select[name=theme-repeater-select]').val() !== ''){
905
  $('.repeater select[name=repeater-select]').select2('val','default');
906
  }
907
- }
908
-
909
-
910
- // reset alternate repeater templates
911
- if(el.attr('name') === 'alternate-repeater-select'){
912
- $('#alm-alternate select[name=theme-repeater-select]').select2('val','');
913
- }
914
- if(el.attr('name') === 'theme-repeater-select'){
915
- if($('#alm-alternate select[name=theme-repeater-select]').val() !== 'null' && $('#alm-alternate select[name=theme-repeater-select]').val() !== ''){
916
- $('select[name=alternate-repeater-select]').select2('val','');
917
- }
918
- }
919
-
920
 
921
  if(el.attr('id') === 'comments_template'){
922
  $('#comments_callback').val('');
@@ -955,28 +954,63 @@ jQuery(document).ready(function($) {
955
 
956
 
957
 
 
958
  /*
959
- * Jump to section, Table of contents
960
  *
961
  * @since 2.0.0
962
- * Updated v2.4
963
  */
964
 
965
- var jumpOptions = '';
966
- var toc = '';
967
- $('.row').each(function(){
968
- if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
969
- var id = $(this).attr('id');
970
- var title = $(this).find('h3.heading').text();
971
- jumpOptions += '<option value="'+id+'">'+title+'</option>';
972
- }
973
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
974
 
975
 
976
 
977
  /* Jump Menu */
978
 
979
- $('select.jump-menu').append(jumpOptions);
980
  $('select.jump-menu').change(function() {
981
  var pos = $(this).val();
982
  if(pos !== 'null'){
@@ -988,10 +1022,16 @@ jQuery(document).ready(function($) {
988
 
989
 
990
 
 
991
  /* Table of Contents */
992
 
993
- $('.table-of-contents .toc').append('<option value="#">-- Jump to Option --</option>');
994
- $('.table-of-contents .toc').append(jumpOptions).select2();
 
 
 
 
 
995
 
996
  $('.table-of-contents .toc').change(function() {
997
  var pos = $(this).val();
@@ -1129,21 +1169,24 @@ jQuery(document).ready(function($) {
1129
  * @since 2.6.0
1130
  */
1131
 
1132
- _alm.generateUniqueID = function(length) {
1133
  var id = Math.floor(Math.pow(10, length-1) + Math.random() * 9 * Math.pow(10, length-1));
1134
- $('#cache-id').val(id);
 
1135
  }
1136
 
1137
 
1138
 
1139
  /*
1140
- * Generate Unique Cache ID Click
1141
  *
1142
  * @since 2.6.0
1143
  */
1144
 
1145
- $(document).on('click', '.generate-cache-id', function(){
1146
- _alm.generateUniqueID(10);
 
 
1147
  });
1148
 
1149
 
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();
41
 
42
  // multiple
43
  $('.ajax-load-more .categories select.multiple').select2();
44
+ $('.ajax-load-more .tags select.multiple').select2();
45
+ $('.ajax-load-more .authors select.multiple').select2();
46
  };
47
 
48
 
154
  */
155
 
156
  _alm.buildShortcode = function(){
157
+ output = '[ajax_load_more';
158
+
159
+
160
+ // ---------------------------
161
+ // - ID
162
+ // ---------------------------
163
+
164
+ var unique_id = $('input#unique-id').val();
165
+ if(unique_id)
166
+ output += ' id="'+unique_id+'"';
167
+
168
+
169
+ // ---------------------------
170
+ // - Container Type
171
+ // ---------------------------
172
+
173
+ var container_type = $('.container_type input[name=alm_container_type]:checked').val();
174
+ if(container_type)
175
+ output += ' container_type="'+container_type+'"';
176
+
177
+
178
+ // ---------------------------
179
+ // - Container Classes
180
+ // ---------------------------
181
+
182
+ var container_classes = $('.alm-instance-options input#container-classes').val();
183
+ container_classes = $.trim(container_classes);
184
+ if(container_classes !== '' && $('.alm-instance-options input#container-classes').hasClass('changed'))
185
+ output += ' css_classes="'+container_classes+'"';
186
+
187
 
188
  // ---------------------------
189
  // - Cache
220
  // Standard repeater
221
  if(cta_repeater != '' && cta_repeater != undefined && cta_position != '' && cta_position != null){
222
  output += ' cta="'+cta+'"';
223
+ output += ' cta_position="'+cta_before_after+':'+cta_position+'"';
224
  output += ' cta_repeater="'+cta_repeater+'"';
225
  }
226
  // Theme repeater
398
 
399
 
400
  // ---------------------------
401
+ // - Repeater Templates
402
  // ---------------------------
403
 
404
  var repeater = $('#alm-repeaters select[name=repeater-select]').val(),
410
  if(repeater != '' && repeater != undefined && repeater != 'default'){
411
  output += ' repeater="'+repeater+'"';
412
  }
413
+ }
414
 
415
 
416
  // ---------------------------
435
  if(post_type_count>0){
436
  output += '"';
437
  }
438
+ }
439
+
440
+
441
+ // ---------------------------
442
+ // - Posts Per Page
443
+ // ---------------------------
444
 
445
+ var posts_per_page = $('.posts_per_page input').val();
446
+ if(posts_per_page > 0 && posts_per_page != 5)
447
+ output += ' posts_per_page="'+posts_per_page+'"';
448
+
449
 
450
  // ---------------------------
451
  // - Post Format
716
  // ---------------------------
717
 
718
  var author = $('.authors #author-select').val();
719
+ if(author !== '' && author !== undefined && author !== null)
720
  output += ' author="'+author+'"';
721
 
722
 
755
  output += ' search="'+search+'"';
756
 
757
 
 
 
 
 
 
 
 
 
 
 
758
  // ---------------------------
759
  // - Ordering
760
  // ---------------------------
784
 
785
 
786
  // ---------------------------
787
+ // - Custom Arguments
788
  // ---------------------------
789
 
790
+ var custom_args = $('.custom-arguments input').val();
791
+ custom_args = $.trim(custom_args);
792
+ if(custom_args !== '')
793
+ output += ' custom_args="'+custom_args+'"';
794
 
795
+
796
  // ---------------------------
797
  // - Pause Loading
798
  // ---------------------------
801
  if(pause_load === 't'){
802
  output += ' pause="true"';
803
  }
804
+
 
805
 
806
  // ---------------------------
807
  // - Scrolling
820
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
821
 
822
  var max_pages = $('.max_pages input').val();
823
+ if(max_pages != 0)
824
  output += ' max_pages="'+$('.max_pages input').val()+'"';
825
 
826
  var pause_override = $('.pause_override input[name=pause_override]:checked').val();
857
 
858
 
859
  // ---------------------------
860
+ // - Disable After
861
  // ---------------------------
862
 
863
  var destroy_after = $('.destroy-after input[name=destroy-after]').val();
876
  output += ' button_label="'+button_label+'"';
877
 
878
  if(button_loading_label !== '')
879
+ output += ' button_loading_label="'+button_loading_label+'"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
880
 
881
 
882
  output += ']'; //Close shortcode
889
  }
890
 
891
 
892
+
893
+
894
  /*
895
  * On change events
896
  *
915
  if($('.select-theme-repeater select[name=theme-repeater-select]').val() !== 'null' && $('.select-theme-repeater select[name=theme-repeater-select]').val() !== ''){
916
  $('.repeater select[name=repeater-select]').select2('val','default');
917
  }
918
+ }
 
 
 
 
 
 
 
 
 
 
 
 
919
 
920
  if(el.attr('id') === 'comments_template'){
921
  $('#comments_callback').val('');
954
 
955
 
956
 
957
+
958
  /*
959
+ * Jump to section, Table of contents [Repeater Templates, Shortcode Builder]
960
  *
961
  * @since 2.0.0
962
+ * Updated v2.13.0
963
  */
964
 
965
+ var jumpMenuOptions = '';
966
+ function almBuildJumpMenu(type){
967
+
968
+ if(type === 'repeaters'){
969
+ $('.row').each(function(){
970
+ if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
971
+ var id = $(this).attr('id'),
972
+ title = $(this).find('h3.heading').text();
973
+ jumpMenuOptions += '<option value="'+id+'">'+title+'</option>';
974
+ }
975
+ });
976
+ }
977
+
978
+ if(type === 'shortcode'){
979
+ $('.shortcode-parameter-wrap').each(function(){
980
+ var el = $(this),
981
+ opttitle = el.find('h2').text();
982
+ jumpMenuOptions += '<optgroup label="'+opttitle+'">';
983
+ $('.row', el).each(function(){
984
+ if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
985
+ var id = $(this).attr('id'),
986
+ title = $(this).find('h3.heading').text();
987
+ jumpMenuOptions += '<option value="'+id+'">'+title+'</option>';
988
+ }
989
+ });
990
+ jumpMenuOptions += '</optgroup>';
991
+ });
992
+ }
993
+ }
994
+ if($('.shortcode-builder .shortcode-parameter-wrap').length){
995
+ almBuildJumpMenu('shortcode'); // shortcode builder
996
+ }
997
+ if($('#alm-repeaters .repeaters').length){
998
+ if($('#unlmited-container').length){
999
+ $('#unlmited-container .row').each(function(){
1000
+ var el = $(this),
1001
+ id = el.find('.wrap').data('name');
1002
+ el.attr('id', 'alm_'+id);
1003
+ });
1004
+ }
1005
+ almBuildJumpMenu('repeaters'); // repeater templates
1006
+ }
1007
+
1008
 
1009
 
1010
 
1011
  /* Jump Menu */
1012
 
1013
+ $('select.jump-menu').append(jumpMenuOptions);
1014
  $('select.jump-menu').change(function() {
1015
  var pos = $(this).val();
1016
  if(pos !== 'null'){
1022
 
1023
 
1024
 
1025
+
1026
  /* Table of Contents */
1027
 
1028
+ if($('.table-of-contents').hasClass('repeaters-toc')){
1029
+ $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_template +' --</option>');
1030
+ } else {
1031
+ $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_option +' --</option>');
1032
+ }
1033
+
1034
+ $('.table-of-contents .toc').append(jumpMenuOptions).select2();
1035
 
1036
  $('.table-of-contents .toc').change(function() {
1037
  var pos = $(this).val();
1169
  * @since 2.6.0
1170
  */
1171
 
1172
+ _alm.generateUniqueID = function(length, el) {
1173
  var id = Math.floor(Math.pow(10, length-1) + Math.random() * 9 * Math.pow(10, length-1));
1174
+ $(el).val(id);
1175
+ //_alm.buildShortcode();
1176
  }
1177
 
1178
 
1179
 
1180
  /*
1181
+ * Generate Unique/Cache ID
1182
  *
1183
  * @since 2.6.0
1184
  */
1185
 
1186
+ $(document).on('click', '.generate-id a', function(){
1187
+ var id = $(this).data('id'),
1188
+ el = $('#'+id);
1189
+ _alm.generateUniqueID(10, el);
1190
  });
1191
 
1192
 
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -9,655 +9,664 @@
9
  ?>
10
 
11
 
12
- <?php if(has_action('alm_cache_installed')){ ?>
13
- <!-- CACHE -->
14
- <div class="row input cache add-on" id="alm-cache">
15
- <h3 class="heading"><?php _e('Cache', 'ajax-load-more'); ?></h3>
16
- <div class="expand-wrap">
17
- <div class="section-title">
18
- <p><?php _e('Turn on content caching.', 'ajax-load-more'); ?></p>
19
- </div>
20
- <div class="wrap">
21
- <div class="inner">
22
- <ul>
23
- <li>
24
- <input class="alm_element" type="radio" name="cache" value="true" id="cache-true" >
25
- <label for="cache-true"><?php _e('True', 'ajax-load-more'); ?></label>
26
- </li>
27
- <li>
28
- <input class="alm_element" type="radio" name="cache" value="false" id="cache-false" checked="checked">
29
- <label for="cache-false"><?php _e('False', 'ajax-load-more'); ?></label>
30
- </li>
31
- </ul>
32
- </div>
33
- </div>
34
- <div class="clear"></div>
35
- <div class="cache_id">
36
- <div class="clear"></div>
37
- <hr>
38
- <div class="section-title">
39
- <h4><?php _e('Cache ID', 'ajax-load-more'); ?></h4>
40
- <p><?php _e('You <u>must</u> generate a unique ID for this cached query - this unique ID will be used as a content identifier.', 'ajax-load-more'); ?></p>
41
- </div>
42
- <div class="wrap">
43
- <div class="inner">
44
- <input type="text" class="alm_element disabled" name="cache-id" id="cache-id" disabled="disabled">
45
- <div class="clear"></div>
46
- <p class="generate-cache-id"><a href="javascript:void(0);"><i class="fa fa-random"></i> <?php _e('Generate New ID', 'ajax-load-more'); ?></a></p>
47
- </div>
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- <?php } ?>
53
-
54
-
55
- <?php if(has_action('alm_cta_installed')){ ?>
56
- <!-- Call to Actions -->
57
- <div class="row cta add-on" id="alm-cta">
58
- <h3 class="heading"><?php _e('Call to Actions', 'ajax-load-more'); ?></h3>
59
- <div class="expand-wrap">
60
-
61
- <div class="section-title">
62
- <p><?php _e('Insert call to action block.', 'ajax-load-more'); ?></p>
63
- </div>
64
- <div class="wrap">
65
- <div class="inner">
66
- <ul>
67
- <li>
68
- <input class="alm_element" type="radio" name="cta" value="true" id="cta-true" >
69
- <label for="cta-true"><?php _e('True', 'ajax-load-more'); ?></label>
70
- </li>
71
- <li>
72
- <input class="alm_element" type="radio" name="cta" value="false" id="cta-false" checked="checked">
73
- <label for="cta-false"><?php _e('False', 'ajax-load-more'); ?></label>
74
- </li>
75
- </ul>
76
- </div>
77
- </div>
78
- <div class="clear"></div>
79
-
80
- <div class="cta_template_wrap">
81
-
82
- <hr/>
83
- <div class="spacer"></div>
84
-
85
- <div class="section-title">
86
- <h4><?php _e('CTA Positioning', 'ajax-load-more'); ?></h4>
87
- <p><?php _e('Insert call to action <strong><em id="sequence-update-before-after">before</em></strong> post #<strong><em id="sequence-update">1</em></strong>', 'ajax-load-more'); ?>.</p>
88
- </div>
89
- <div class="wrap">
90
- <div class="inner">
91
-
92
- <label class="full"><?php _e('Before / After', 'ajax-load-more'); ?>:</label>
93
- <select class="alm_element cta-before-after" name="cta-before-after" id="cta-before-after">
94
- <option value="before" selected="selected"><?php _e('Before', 'ajax-load-more'); ?></option>
95
- <option value="after"><?php _e('After', 'ajax-load-more'); ?></option>
96
- </select>
97
- <div class="clear"></div>
98
- <div class="spacer" style="height: 30px;"></div>
99
- <label class="full" for="cta-position"><?php _e('Post #', 'ajax-load-more'); ?>:</label>
100
- <input type="number" min="1" step="1" value="1" placeholder="1" id="cta-position" class="alm_element numbers-only" name="cta-position">
101
-
102
- </div>
103
- </div>
104
-
105
- <div class="clear"></div>
106
- <hr/>
107
- <div class="spacer"></div>
108
-
109
- <div class="section-title">
110
- <h4><?php _e('Template', 'ajax-load-more'); ?></h4>
111
- <?php
112
- echo '<p>'.__('Select the <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> that will display your call to action.', 'ajax-load-more'). '</p>';
113
- ?>
114
- </div>
115
- <div class="wrap">
116
- <div class="inner">
117
- <?php
118
- echo '<select name="cta-repeater-select" class="alm_element">';
119
- echo '<option name="" value="" selected="selected">'.__('-- Select Repeater --', 'ajax-load-more').'</option>';
120
- echo '<option name="default" value="default">Default</option>';
121
- if (has_action('alm_get_custom_repeaters')) {
122
- do_action('alm_get_custom_repeaters');
123
- }
124
- if (has_action('alm_get_unlimited_repeaters')) {
125
- do_action('alm_get_unlimited_repeaters');
126
- }
127
- echo '</select>';
128
- ?>
129
- </div>
130
- </div>
131
- <?php
132
- // Get Theme Repeaters
133
- if (has_action('alm_theme_repeaters_selection')){
134
- do_action('alm_theme_repeaters_selection');
135
- }
136
- ?>
137
-
138
-
139
- <p class="warning-callout">
140
- <?php _e('Call to actions do NOT count as a post within an Ajax Load More loop.<br/>
141
- For example, if you set <strong>posts_per_page="5"</strong> in your shortcode, 6 items will be displayed.', 'ajax-load-more'); ?>
142
- </p>
143
-
144
- </div>
145
-
146
- </div>
147
- </div>
148
- <?php } ?>
149
 
150
-
151
- <?php if(has_action('alm_comments_installed')){ ?>
152
- <!-- COMMENTS -->
153
- <div class="row input comments add-on" id="alm-comments">
154
- <h3 class="heading"><?php _e('Comments', 'ajax-load-more'); ?></h3>
155
- <div class="expand-wrap">
156
- <div class="section-title">
157
- <p><?php _e('Enable Ajax Load More to display blog comments.', 'ajax-load-more'); ?></p>
158
- </div>
159
- <div class="wrap">
160
- <div class="inner">
161
- <ul>
162
- <li>
163
- <input class="alm_element" type="radio" name="comments" value="true" id="comments-true" >
164
- <label for="comments-true"><?php _e('True', 'ajax-load-more'); ?></label>
165
- </li>
166
- <li>
167
- <input class="alm_element" type="radio" name="comments" value="false" id="comments-false" checked="checked">
168
- <label for="comments-false"><?php _e('False', 'ajax-load-more'); ?></label>
169
- </li>
170
- </ul>
171
- </div>
172
- </div>
173
- <div class="clear"></div>
174
- <div class="comments_extras">
175
-
176
-
177
- <div class="clear"></div>
178
- <hr>
179
  <div class="section-title">
180
- <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
181
- <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
182
  </div>
183
  <div class="wrap">
184
- <div class="inner">
185
- <input type="text" value="get_the_ID()" id="comments_post_id" class="alm_element disabled-input" disabled="disabled">
186
- </div>
187
- </div>
188
-
189
-
190
- <div class="clear"></div>
191
- <hr>
192
- <div class="section-title">
193
- <h4><?php _e('Comments Per Page', 'ajax-load-more'); ?></h4>
194
- <p><?php _e('The number of top level items to show for each page of comments.', 'ajax-load-more'); ?></p>
195
- </div>
196
- <div class="wrap">
197
- <div class="inner">
198
- <input type="number" class="alm_element numbers-only" name="comments-per-page" id="comments-per-page" step="1" min="1" value="5">
199
  </div>
200
- </div>
201
- <div class="section-title full">
202
- <p><?php _e('<strong>Note</strong>: The amount selected does NOT include comment replies.', 'ajax-load-more'); ?></p>
203
  </div>
204
-
205
  <div class="clear"></div>
206
- <hr>
207
- <div class="section-title">
208
- <h4><?php _e('Comment Type', 'ajax-load-more'); ?></h4>
209
- <p><?php _e('The type of comment(s) to display.', 'ajax-load-more'); ?></p>
210
- </div>
211
- <div class="wrap">
212
- <div class="inner">
213
- <select class="alm_element comments_type" id="comments_type">
214
- <option value="comment" selected="selected"><?php _e('Comment', 'ajax-load-more'); ?></option>
215
- <option value="all"><?php _e('All', 'ajax-load-more'); ?></option>
216
- <option value="trackback"><?php _e('Trackback', 'ajax-load-more'); ?></option>
217
- <option value="pingback"><?php _e('Pingback', 'ajax-load-more'); ?></option>
218
- <option value="pings"><?php _e('Pings', 'ajax-load-more'); ?></option>
219
- </select>
220
- </div>
221
  </div>
 
 
 
 
 
 
 
 
 
 
222
 
223
-
224
- <div class="clear"></div>
225
- <hr>
226
  <div class="section-title">
227
- <h4><?php _e('Comment Style', 'ajax-load-more'); ?></h4>
228
- <p><?php _e('Select the HTML container style for your comments.', 'ajax-load-more'); ?></p>
229
  </div>
230
  <div class="wrap">
231
- <div class="inner">
232
- <ul class="comment_container_type">
233
- <li>
234
- <input type="radio" id="comment-type-ol" value="ol" name="alm_comment_style" class="alm_element" checked="checked">
235
- <label for="comment-type-ol">&lt;ol&gt; &lt;/ol&gt;</label>
236
- </li>
237
  <li>
238
- <input type="radio" id="comment-type-ul" value="ul" name="alm_comment_style" class="alm_element">
239
- <label for="comment-type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
240
- </li>
241
  <li>
242
- <input type="radio" id="comment-type-div" value="div" name="alm_comment_style" class="alm_element">
243
- <label for="comment-type-div">&lt;div&gt; &lt;/div&gt;</label>
244
  </li>
245
  </ul>
246
  </div>
247
  </div>
 
248
 
 
249
 
250
- <div class="clear"></div>
251
- <hr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
 
 
 
 
 
 
 
 
 
 
 
253
  <div class="section-title">
254
- <h4><?php _e('Comment Template', 'ajax-load-more'); ?></h4>
255
- <p><?php _e('Select a repeater template that will display comment data.', 'ajax-load-more'); ?></p>
256
  </div>
257
-
258
  <div class="wrap">
259
- <div class="inner">
260
- <select class="alm_element comments_template" id="comments_template">
261
- <option value="none" selected="selected"><?php _e('None', 'ajax-load-more'); ?></option>
262
- <option name="default" id="chk-default" value="default"><?php _e('Default', 'ajax-load-more'); ?></option>
263
- <?php if (has_action('alm_get_custom_repeaters')) {
264
- do_action('alm_get_custom_repeaters');
265
- }
266
- if (has_action('alm_get_unlimited_repeaters')) {
267
- do_action('alm_get_unlimited_repeaters');
268
- }
269
- ?>
270
- </select>
271
  </div>
272
- </div>
273
- <div class="section-title full">
274
- <p><?php _e('<strong>Note</strong>: <span>None</span> will use the default WordPress comment layout.', 'ajax-load-more'); ?></p>
275
  </div>
276
- <div class="spacer"></div>
277
  <div class="clear"></div>
278
- <div class="select-theme-repeater">
279
- <span class="or">or</span>
280
- <hr/>
281
- <div class="spacer"></div>
282
  <div class="section-title">
283
- <h4><?php _e('Callback Function', 'ajax-load-more'); ?></h4>
284
- <p><?php _e('A custom <a href="https://codex.wordpress.org/Function_Reference/wp_list_comments#Arguments" target="_blank">callback</a> function that will display each comment.', 'ajax-load-more'); ?></p>
285
  </div>
286
  <div class="wrap">
287
  <div class="inner">
288
- <input type="text" value="" placeholder="function_name" id="comments_callback" class="alm_element">
289
  </div>
290
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
291
  <div class="section-title full">
292
- <p><?php _e('<strong>Note</strong>: The majority of premium themes have a custom callback function for displaying comments. Please see comments.php or functions.php within your theme directory to locate the callback function for your theme.', 'ajax-load-more'); ?></p>
293
  </div>
294
- </div>
295
-
296
- <p class="warning-callout">
297
- <?php _e('You must add the comments shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
298
- </p>
299
 
300
- </div>
301
- </div>
302
- </div>
303
- <?php } ?>
304
-
305
-
306
- <?php if(has_action('alm_paging_installed')){ ?>
307
- <!-- PAGING -->
308
- <div class="row input paging add-on" id="alm-paging">
309
- <h3 class="heading"><?php _e('Paging', 'ajax-load-more'); ?></h3>
310
- <div class="expand-wrap">
311
- <div class="section-title"> <p><?php _e('Replace infinite scrolling with a paged ajax navigation system.', 'ajax-load-more'); ?></p>
312
- </div>
313
- <div class="wrap">
314
- <div class="inner">
315
- <ul>
316
- <li>
317
- <input class="alm_element" type="radio" name="paging" value="true" id="paging-true" >
318
- <label for="paging-true"><?php _e('True', 'ajax-load-more'); ?></label>
319
- </li>
320
- <li>
321
- <input class="alm_element" type="radio" name="paging" value="false" id="paging-false" checked="checked">
322
- <label for="paging-false"><?php _e('False', 'ajax-load-more'); ?></label>
323
- </li>
324
- </ul>
325
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  </div>
327
-
328
- <div class="clear"></div>
329
- <div id="nav-controls">
330
-
331
- <hr/>
332
- <div class="section-title">
333
- <h4><?php _e('Paging Controls', 'ajax-load-more'); ?></h4>
334
- <p><?php _e('Show (&laquo;)previous and next(&raquo;) buttons.', 'ajax-load-more'); ?></p>
335
- </div>
 
 
336
  <div class="wrap">
337
  <div class="inner">
338
  <ul>
339
  <li>
340
- <input class="alm_element" type="radio" name="paging-controls" value="true" id="paging-controls-true" >
341
- <label for="paging-controls-true"><?php _e('True', 'ajax-load-more'); ?></label>
342
  </li>
343
  <li>
344
- <input class="alm_element" type="radio" name="paging-controls" value="false" id="paging-controls-false" checked="checked">
345
- <label for="paging-controls-false"><?php _e('False', 'ajax-load-more'); ?></label>
346
  </li>
347
  </ul>
348
  </div>
349
  </div>
350
 
351
  <div class="clear"></div>
352
- <hr/>
353
- <div class="section-title">
354
- <h4><?php _e('Paging Navigation Classes', 'ajax-load-more'); ?></h4>
355
- <p><?php _e('Add custom CSS classes to the paging navigation menu.', 'ajax-load-more'); ?></p>
356
- </div>
357
- <div class="wrap">
358
- <div class="inner">
359
- <input type="text" class="alm_element" name="paging-classes" id="paging-classes" placeholder="portfolio-paging-menu">
360
  </div>
361
- </div>
362
-
363
- <div class="clear"></div>
364
- <hr/>
365
- <div class="section-title">
366
- <h4><?php _e('Show at Most', 'ajax-load-more'); ?></h4>
367
- <p><?php _e('The maximum amount of page menu items to show at a time. <br/.>0 = no maximum', 'ajax-load-more'); ?></p>
368
- </div>
369
- <div class="wrap">
370
- <div class="inner">
371
- <input type="number" class="alm_element numbers-only" name="show-at-most" id="show-at-most" step="2" min="0" value="7">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  </div>
 
373
  </div>
374
 
375
  </div>
376
-
377
- </div>
378
- </div>
379
- <?php } ?>
380
-
381
-
382
- <?php if(has_action('alm_preload_installed')){ ?>
383
- <!-- PRELOAD -->
384
- <div class="row input preload add-on" id="alm-preload">
385
- <h3 class="heading"><?php _e('Preloaded', 'ajax-load-more'); ?></h3>
386
- <div class="expand-wrap">
387
- <div class="section-title">
388
- <p><?php _e('Preload posts prior to making Ajax requests.', 'ajax-load-more'); ?></p>
389
- </div>
390
- <div class="wrap">
391
- <div class="inner">
392
- <ul>
393
- <li>
394
- <input class="alm_element" type="radio" name="preload" value="true" id="preload-true" >
395
- <label for="preload-true"><?php _e('True', 'ajax-load-more'); ?></label>
396
- </li>
397
- <li>
398
- <input class="alm_element" type="radio" name="preload" value="false" id="preload-false" checked="checked">
399
- <label for="preload-false"><?php _e('False', 'ajax-load-more'); ?></label>
400
- </li>
401
- </ul>
402
- </div>
403
- </div>
404
- <div class="clear"></div>
405
- <div class="preload_amount">
406
- <div class="clear"></div>
407
- <hr>
408
  <div class="section-title">
409
- <h4><?php _e('Preload Amount', 'ajax-load-more'); ?></h4>
410
- <p><?php _e('Enter the number of posts to preload.', 'ajax-load-more'); ?></p>
411
  </div>
412
  <div class="wrap">
413
- <div class="inner">
414
- <input type="number" class="alm_element numbers-only" name="preload-amount" id="preload-amount" step="1" min="1" value="5">
 
 
 
 
 
 
 
 
 
415
  </div>
416
- </div>
417
- </div>
418
- </div>
419
- </div>
420
- <?php } ?>
421
-
422
-
423
- <?php if(has_action('alm_prev_post_installed')){ ?>
424
- <!-- PREV POST -->
425
- <div class="row input previous-post add-on" id="alm-previous-post">
426
- <h3 class="heading"><?php _e('Previous Post', 'ajax-load-more'); ?></h3>
427
- <div class="expand-wrap">
428
- <div class="section-title">
429
- <p><?php _e('Enable the infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
430
- </div>
431
- <div class="wrap">
432
- <div class="inner">
433
- <ul>
434
- <li>
435
- <input class="alm_element" type="radio" name="prev-post" value="true" id="prev-post-true" >
436
- <label for="prev-post-true"><?php _e('True', 'ajax-load-more'); ?></label>
437
- </li>
438
- <li>
439
- <input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
440
- <label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
441
- </li>
442
- </ul>
443
  </div>
444
- </div>
445
- <div class="clear"></div>
446
- <div class="prev_post_id" style="display: none;">
447
  <div class="clear"></div>
448
- <hr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
449
  <div class="section-title">
450
- <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
451
- <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
452
  </div>
453
  <div class="wrap">
454
- <div class="inner">
455
- <input type="text" value="get_the_ID()" id="prev_post_id" class="alm_element disabled-input" disabled="disabled">
 
 
 
 
 
 
 
 
 
456
  </div>
457
- </div>
458
-
459
-
460
  <div class="clear"></div>
461
- <hr>
462
- <div class="section-title">
463
- <h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy will be returned','ajax-load-more'); ?>"></a></h4>
464
- <p><?php _e('Query previous posts from the same taxonomy.', 'ajax-load-more'); ?></p>
465
- </div>
466
- <div class="wrap">
467
- <div class="inner">
468
- <?php
469
- // Taxonomies
470
- $pp_tax_args = array(
471
- 'public' => true,
472
- '_builtin' => false
473
- );
474
- $pp_tax_output = 'objects';
475
- $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
476
- echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
477
- echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
478
- echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
479
- echo '<option value="tag">' . __('Tag', 'ajax-load-more') . '</option>';
480
- if ( $pp_taxonomies ) {
481
-
482
- foreach( $pp_taxonomies as $pp_taxonomy ){
483
- echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
484
- }
485
-
486
- }
487
- echo '</select>';
488
- ?>
489
- </div>
490
- </div>
491
-
492
- <p class="warning-callout">
493
- <?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
494
- </p>
495
- </div>
496
- </div>
497
- </div>
498
- <?php } ?>
499
-
500
-
501
-
502
- <?php if(has_action('alm_rest_api_installed')){
503
-
504
- // get rest defaults (from core alm settings)
505
- $restapi_baseurl = '/wp-json';
506
- if(isset($alm_options['_alm_rest_api_base_url']))
507
- $restapi_baseurl = $alm_options['_alm_rest_api_base_url'];
508
-
509
- $restapi_namespace = 'ajaxloadmore';
510
- if(isset($alm_options['_alm_rest_api_namespace']))
511
- $restapi_namespace = $alm_options['_alm_rest_api_namespace'];
512
-
513
- $restapi_endpoint = 'posts';
514
- if(isset($alm_options['_alm_rest_api_endpoint']))
515
- $restapi_endpoint = $alm_options['_alm_rest_api_endpoint'];
516
-
517
- ?>
518
- <!-- REST API -->
519
- <div class="row input rest add-on" id="alm-rest">
520
- <h3 class="heading"><?php _e('REST API', 'ajax-load-more'); ?></h3>
521
- <div class="expand-wrap">
522
- <div class="section-title">
523
- <p><?php _e('Enable the WordPress REST API.', 'ajax-load-more'); ?></p>
524
- </div>
525
- <div class="wrap">
526
- <div class="inner">
527
- <ul>
528
- <li>
529
- <input class="alm_element" type="radio" name="rest" value="true" id="rest-true" >
530
- <label for="rest-true"><?php _e('True', 'ajax-load-more'); ?></label>
531
- </li>
532
- <li>
533
- <input class="alm_element" type="radio" name="rest" value="false" id="rest-false" checked="checked">
534
- <label for="rest-false"><?php _e('False', 'ajax-load-more'); ?></label>
535
- </li>
536
- </ul>
537
  </div>
538
  </div>
539
-
540
- <div class="clear"></div>
541
- <div class="restapi_options">
542
-
543
- <div class="clear"></div>
544
- <hr>
545
-
546
- <div class="section-title">
547
- <h4><?php _e('Base URL', 'ajax-load-more'); ?>
548
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Base URL in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
549
- <p><?php _e('Enter the base URL to your installation of the REST API.', 'ajax-load-more'); ?></p>
550
- </div>
551
- <div class="wrap">
552
- <div class="inner">
553
- <input type="text" id="rest-base" class="alm_element" name="rest-base" value="<?php echo $restapi_baseurl; ?>">
554
- </div>
555
- </div>
556
-
557
- <div class="clear"></div>
558
- <hr>
559
-
560
- <div class="section-title">
561
- <h4><?php _e('Namespace', 'ajax-load-more'); ?>
562
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Namespace in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
563
- <p><?php _e('Enter the custom namespace for this Ajax Load More query.', 'ajax-load-more'); ?></p>
564
- </div>
565
- <div class="wrap">
566
- <div class="inner">
567
- <input type="text" id="rest-namespace" class="alm_element" name="rest-namespace" value="<?php echo $restapi_namespace; ?>">
568
- </div>
569
- </div>
570
-
571
- <div class="clear"></div>
572
- <hr>
573
 
 
 
 
 
 
574
  <div class="section-title">
575
- <h4><?php _e('Endpoint', 'ajax-load-more'); ?>
576
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Endpoint in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
577
- <p><?php _e('Enter your custom endpoint for this Ajax Load More query.', 'ajax-load-more'); ?></p>
578
  </div>
579
- <div class="wrap">
580
- <div class="inner">
581
- <input type="text" id="rest-endpoint" class="alm_element" name="rest-endpoint" value="<?php echo $restapi_endpoint; ?>">
582
- </div>
583
- </div>
584
-
585
- <div class="clear"></div>
586
- <hr>
 
 
 
 
 
 
587
 
588
- <div class="section-title">
589
- <h4><?php _e('Template ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More references this ID while looping and displaying your data. You must still select a repeater template for this instance of Ajax Load More','ajax-load-more'); ?>">.</a></h4>
590
- <p><?php _e('Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-template</em> = <em>alm-template</em>', 'ajax-load-more'); ?><br/>&raquo; <a href="https://gist.github.com/dcooney/c89f5859b73256b36de4a0c3320d9b07" target="_blank">View example template</a></p>
591
- </div>
592
- <div class="wrap">
593
- <div class="inner">
594
- <input type="text" id="rest-template-id" class="alm_element" name="rest-template-id" value="">
595
- </div>
596
- </div>
597
-
598
- <div class="clear"></div>
599
- <hr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
600
 
 
 
 
 
 
 
 
 
 
 
601
  <div class="section-title">
602
- <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
603
- <p><?php _e('Enable debugging (console.log) of REST API responses in the browser console. ', 'ajax-load-more'); ?></p>
604
  </div>
605
- <div class="wrap">
606
- <div class="inner">
607
  <ul>
608
  <li>
609
- <input class="alm_element" type="radio" name="rest-debug" value="true" id="rest-debug-true" >
610
- <label for="rest-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
611
  </li>
612
  <li>
613
- <input class="alm_element" type="radio" name="rest-debug" value="false" id="rest-debug-false" checked="checked">
614
- <label for="rest-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
615
  </li>
616
  </ul>
617
- </div>
618
- </div>
619
-
620
- <p class="warning-callout">
621
- <?php _e('Visit <a href="http://v2.wp-api.org/" target="_blank">http://v2.wp-api.org</a> for documentation on creating custom <a href="http://v2.wp-api.org/extending/adding/" target="_blank">Endpoints</a> for use with Ajax Load More.', 'ajax-load-more'); ?>
622
- </p>
623
-
624
- </div>
625
-
626
- </div>
627
- </div>
628
- <?php } ?>
629
-
630
-
631
- <?php if(has_action('alm_seo_installed')){ ?>
632
- <!-- SEO -->
633
- <div class="row input seo add-on" id="alm-seo">
634
- <h3 class="heading"><?php _e('SEO (Search Engine Optimization)', 'ajax-load-more'); ?></h3>
635
- <div class="expand-wrap">
636
- <div class="section-title">
637
- <p><?php _e('Enable address bar URL rewrites as users page through ajax loaded content.', 'ajax-load-more'); ?></p>
638
- </div>
639
- <div class="wrap">
640
- <div class="inner">
641
- <ul>
642
- <li>
643
- <input class="alm_element" type="radio" name="seo" value="true" id="seo-true" >
644
- <label for="seo-true"><?php _e('True', 'ajax-load-more'); ?></label>
645
- </li>
646
- <li>
647
- <input class="alm_element" type="radio" name="seo" value="false" id="seo-false" checked="checked">
648
- <label for="seo-false"><?php _e('False', 'ajax-load-more'); ?></label>
649
- </li>
650
- </ul>
651
  </div>
652
  </div>
653
- </div>
654
- </div>
655
- <?php } ?>
656
 
657
- <?php
 
 
658
 
659
- // List available repeaters
660
- echo '<div class="row repeater" id="alm-repeaters">';
 
 
 
 
 
 
 
661
  echo '<h3 class="heading">'.__('Template', 'ajax-load-more'). '</h3>';
662
  echo '<div class="expand-wrap">';
663
  echo '<div class="section-title">';
@@ -680,150 +689,476 @@
680
  echo '</div></div>';
681
  ?>
682
 
683
-
684
- <?php
685
- // Get Theme Repeaters
686
  if (has_action('alm_theme_repeaters_selection')){
687
  do_action('alm_theme_repeaters_selection');
688
  }
689
  ?>
690
 
691
- <?php
692
- // Custom Repeaters v2 - /cta/extend.php
693
- if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters')) {
694
  include( ALM_PATH . 'admin/includes/cta/extend.php');
695
  }
696
 
697
  echo '</div>';
698
  echo '</div>';
699
-
700
- ?>
701
-
702
-
703
- <?php
704
- // List registered post_types
705
- $pt_args = array(
706
- 'public' => true
707
- );
708
- $types = get_post_types($pt_args);
709
- if($types){
710
- echo '<div class="row checkboxes post_types" id="alm-post-types">';
711
- echo '<h3 class="heading">'.__('Post Types', 'ajax-load-more'). '</h3>';
712
- echo '<div class="expand-wrap">';
713
- echo '<div class="section-title">';
714
- echo '<p>'.__('Select Post Types to query.', 'ajax-load-more'). '</p>';
715
- echo '</div>';
716
- echo '<div class="wrap"><div class="inner"><ul>';
717
- foreach( $types as $type ){
718
- $typeobj = get_post_type_object( $type );
719
- $name = $typeobj->name;
720
- if( $name != 'revision' && $name != 'nav_menu_item' && $name != 'acf'){
721
- echo '<li><input class="alm_element" type="checkbox" name="chk-'.$typeobj->name.'" id="chk-'.$typeobj->name.'" data-type="'.$typeobj->name.'"><label for="chk-'.$typeobj->name.'">'.$typeobj->labels->singular_name.'</label></li>';
722
- }
723
- }
724
- echo '</ul></div></div>';
725
- echo '</div>';
726
- echo '</div>';
727
- }
728
-
729
-
730
- // List Post Formats
731
- if ( current_theme_supports( 'post-formats' ) ) {
732
- $post_formats = get_theme_support( 'post-formats' );
733
- if($post_formats){
734
- echo '<div class="row checkboxes post_format" id="alm-post-format">';
735
- echo '<h3 class="heading">'.__('Post Format', 'ajax-load-more'). '</h3>';
736
- echo '<div class="expand-wrap">';
737
- echo '<div class="section-title">';
738
- echo '<p>'.__('Select a <a href="http://codex.wordpress.org/Post_Formats" target="_blank">Post Format</a> to query.', 'ajax-load-more'). '</p>';
739
- echo '</div>';
740
- echo '<div class="wrap"><div class="inner"><select class="alm_element" name="post-format-select" id="post-format-select">';
741
- echo '<option value="" selected="selected">-- ' . __('Select Post Format', 'ajax-load-more') . ' --</option>';
742
- echo '<option name="chk-standard" id="chk-standard" value="standard">' . __('Standard', 'ajax-load-more') . '</option>';
743
- foreach( $post_formats[0] as $post_format ){
744
- echo '<option name="chk-'.$post_format.'" id="chk-'.$post_format.'" value="'.$post_format.'">'.ucwords($post_format).'</option>';
745
- }
746
- echo '</select></div></div>';
747
- echo '</div>';
748
- echo '</div>';
749
- }
750
-
751
- }
752
-
753
- // List Categories
754
 
755
- if($disable_dynamic_content){
756
- $cats = 'null';
757
- }else{
758
- $cats = get_categories();
759
- }
760
- if($cats){ ?>
761
- <div class="row checkboxes categories" id="alm-categories">
762
- <h3 class="heading"><?php _e('Category', 'ajax-load-more'); ?></h3>
763
- <div class="expand-wrap">
764
  <div class="section-title">
765
- <h4>Include</h4>
766
- <p><?php _e('A comma separated list of categories to include by slug. (design, research etc...)', 'ajax-load-more'); ?><br/>
767
- &raquo; <a href="admin.php?page=ajax-load-more-examples#example-category">
768
- <?php _e('view example', 'ajax-load-more'); ?></a></p>
769
- </div>
770
- <div class="wrap">
771
  <div class="inner">
772
- <?php
773
- if(!$disable_dynamic_content){
774
- echo '<select class="alm_element multiple" name="category-select" id="category-select" multiple="multiple">';
775
- foreach( $cats as $cat ){
776
- echo '<option name="chk-'.$cat->slug.'" id="chk-'.$cat->slug.'" value="'.$cat->slug.'">'.$cat->name.'</option>';
777
- }
778
- echo '</select>';
779
- }else{
780
- echo '<input type="text" class="alm_element" name="category-select" id="category-select" placeholder="design, development, science etc...">';
781
- }
782
- ?>
783
  </div>
784
  </div>
785
 
786
  <div class="clear"></div>
787
  <hr/>
788
-
789
- <div class="section-title">
790
- <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
791
- <p><?php _e('A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)', 'ajax-load-more'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
792
  </div>
 
 
 
 
 
 
 
 
793
  <div class="wrap">
794
- <div class="inner">
795
- <?php
796
- if(!$disable_dynamic_content){
797
- echo '<select class="alm_element multiple" name="category-exclude-select" id="category-exclude-select" multiple="multiple">';
798
- foreach( $cats as $cat ){
799
- echo '<option name="chk-'.$cat->term_id.'" id="chk-'.$cat->term_id.'" value="'.$cat->term_id.'">'.$cat->name.'</option>';
800
- }
801
- echo '</select>';
802
- }else{
803
- echo '<input type="text" class="alm_element numbers-only" name="category-exclude-select" id="category-exclude-select" placeholder="10, 12, 19 etc...">';
804
- }
805
- ?>
806
  </div>
807
- <div class="clear"></div>
808
- </div>
809
  </div>
810
  </div>
811
-
812
- <?php }
813
-
814
- // Tags
815
- if($disable_dynamic_content){
816
- $tags = 'null';
817
- }else{
818
- $tags = get_tags();
819
- }
820
- if($tags){ ?>
821
- <div class="row checkboxes tags" id="alm-tags">
822
- <h3 class="heading"><?php _e('Tag', 'ajax-load-more'); ?></h3>
823
- <div class="expand-wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
824
  <div class="section-title">
825
  <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
826
- <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-examples#example-tag">view example</a></p>
827
  </div>
828
  <div class="wrap">
829
  <div class="inner">
@@ -866,6 +1201,7 @@
866
  </div>
867
  </div>
868
  <?php } ?>
 
869
 
870
  <?php
871
  // Taxonomies
@@ -891,14 +1227,14 @@
891
  </div>
892
  </div>
893
  <?php }?>
894
-
895
 
896
  <!-- Date -->
897
  <div class="row input date" id="alm-date">
898
  <h3 class="heading"><?php _e('Date', 'ajax-load-more'); ?></h3>
899
  <div class="expand-wrap">
900
  <div class="section-title">
901
- <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-examples#example-date">view example</a>', 'ajax-load-more'); ?></p>
902
  </div>
903
  <div class="wrap">
904
  <div class="inner">
@@ -919,9 +1255,9 @@
919
  </div>
920
  </div>
921
  </div>
922
-
923
 
924
- <?php // Meta_Query / Custom Fields ?>
925
  <div class="row input meta-key" id="alm-meta-key">
926
  <h3 class="heading"><?php _e('Custom Fields (Meta_Query)', 'ajax-load-more'); ?></h3>
927
  <div class="expand-wrap">
@@ -942,465 +1278,185 @@
942
  <option value="AND" selected="selected">AND</option>
943
  <option value="OR">OR</option>
944
  </select>
945
- </div>
946
- </div>
947
- </div>
948
-
949
- <div id="meta-query-extended">
950
-
951
- </div>
952
-
953
- <div class="controls">
954
- <button class="button button-primary" id="add-meta-query"><?php _e('Add Another', 'ajax-load-more'); ?></button>
955
- </div>
956
-
957
- </div>
958
- </div>
959
- </div>
960
-
961
-
962
- <?php // List Authors
963
- if($disable_dynamic_content){
964
- $authors = 'null';
965
- }else{
966
- $authors = get_users();
967
- }
968
- if($authors){
969
- echo '<div class="row checkboxes authors" id="alm-authors">';
970
- echo '<h3 class="heading">' . __('Author', 'ajax-load-more') . '</h3>';
971
- echo '<div class="expand-wrap">';
972
- echo '<div class="section-title">';
973
- echo '<p>' . __('Select an Author to query(by ID).', 'ajax-load-more') . '<br/>&raquo; <a href="admin.php?page=ajax-load-more-examples#example-author">view example</a></p>';
974
- echo '</div>';
975
- echo '<div class="wrap"><div class="inner">';
976
- if(!$disable_dynamic_content){
977
- echo '<select class="alm_element" name="author-select" id="author-select">';
978
- echo '<option value="" selected="selected">-- ' . __('Select Author', 'ajax-load-more') . ' --</option>';
979
- foreach( $authors as $author ){
980
- echo '<option name="chk-'.$author->user_login.'" id="chk-'.$author->user_login.'" value="'.$author->ID.'">'.$author->display_name.'</option>';
981
- }
982
- echo '</select>';
983
- }else{
984
- echo '<input type="text" class="alm_element numbers-only" name="author-select" id="author-select" placeholder="1">';
985
- }
986
- echo '</div></div>';
987
- echo '</div>';
988
- echo '</div>';
989
- }
990
- ?>
991
-
992
- <!-- Search term -->
993
- <div class="row input search-term" id="alm-search">
994
- <h3 class="heading"><?php _e('Search Term', 'ajax-load-more'); ?></h3>
995
- <div class="expand-wrap">
996
- <div class="section-title">
997
- <p><?php _e('Enter a search term to query.', 'ajax-load-more'); ?></p>
998
- </div>
999
- <div class="wrap">
1000
- <div class="inner">
1001
- <input name="search-term" class="alm_element" type="text" id="search-term" value="" placeholder="<?php _e('Enter search term', 'ajax-load-more'); ?>">
1002
- </div>
1003
- </div>
1004
- </div>
1005
- </div>
1006
-
1007
- <!-- Custom Arguments -->
1008
- <div class="row input custom-arguments" id="alm-custom-args">
1009
- <h3 class="heading"><?php _e('Custom Arguments', 'ajax-load-more'); ?></h3>
1010
- <div class="expand-wrap">
1011
- <div class="section-title">
1012
- <p><?php _e('A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. tag_slug__and:design,development; event_display:upcoming. Default', 'ajax-load-more'); ?></p>
1013
- </div>
1014
- <div class="wrap">
1015
- <div class="inner">
1016
- <input name="custom-args" class="alm_element" type="text" id="custom-args" value="" placeholder="<?php _e('event_display:upcoming', 'ajax-load-more'); ?>">
1017
- </div>
1018
- </div>
1019
- </div>
1020
- </div>
1021
-
1022
- <!-- Post Parameters -->
1023
- <div class="row input post-in" id="alm-post-in">
1024
- <h3 class="heading"><?php _e('Post Parameters', 'ajax-load-more'); ?></h3>
1025
- <div class="expand-wrap">
1026
- <div class="section-title">
1027
- <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
1028
- <p><?php _e('A comma separated list of post ID\'s to query.', 'ajax-load-more'); ?></p>
1029
- </div>
1030
- <div class="wrap">
1031
- <div class="inner">
1032
- <input name="post__in" class="alm_element numbers-only" type="text" id="post__in" value="" placeholder="<?php _e('225, 340, 818, etc...', 'ajax-load-more'); ?>">
1033
- </div>
1034
- </div>
1035
- <div class="clear"></div>
1036
- <hr/>
1037
- <div class="section-title">
1038
- <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
1039
- <p><?php _e('A comma separated list of post ID\'s to exclude from query.', 'ajax-load-more'); ?><br/>&raquo; <a href="admin.php?page=ajax-load-more-examples#example-exclude"><?php _e('view example', 'ajax-load-more'); ?></a></p>
1040
- </div>
1041
- <div class="wrap">
1042
- <div class="inner">
1043
- <input class="alm_element numbers-only" name="exclude-posts" type="text" id="exclude-posts" value="" placeholder="199, 216, 345, etc...">
1044
- </div>
1045
- </div>
1046
- <div class="clear"></div>
1047
- <hr/>
1048
- <div class="section-title">
1049
- <h4><?php _e('Post Status', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Post Status parameters are only available for logged in (admin) users. Non logged in users will only have access to view content in a \'publish\' or \'inherit\' state. ','ajax-load-more'); ?>"></a></h4>
1050
- <p><?php _e('Select status of the post.', 'ajax-load-more'); ?></p>
1051
- </div>
1052
- <div class="wrap">
1053
- <div class="inner">
1054
- <select class="alm_element" name="post-status" id="post-status">
1055
- <option value="publish" selected="selected"><?php _e('Published', 'ajax-load-more'); ?></option>
1056
- <option value="any">Any</option>
1057
- <option value="draft">Draft</option>
1058
- <option value="future">Future</option>
1059
- <option value="pending">Pending</option>
1060
- <option value="private">Private</option>
1061
- <option value="trash">Trash</option>
1062
- <option value="inherit">Inherit</option>
1063
- </select>
1064
- </div>
1065
- </div>
1066
- </div>
1067
- </div>
1068
-
1069
- <!-- Ordering -->
1070
- <div class="row ordering" id="alm-order">
1071
- <h3 class="heading"><?php _e('Ordering', 'ajax-load-more'); ?></h3>
1072
- <div class="expand-wrap">
1073
- <div class="section-title">
1074
- <p><?php _e('Sort posts by Order and Orderby parameters.', 'ajax-load-more'); ?></p>
1075
- </div>
1076
- <div class="wrap">
1077
- <div class="inner half">
1078
- <label class="full"><?php _e('Order', 'ajax-load-more'); ?>:</label>
1079
- <select class="alm_element" name="post-order" id="post-order">
1080
- <option value="DESC" selected="selected">DESC (default)</option>
1081
- <option value="ASC">ASC</option>
1082
- </select>
1083
- </div>
1084
- <div class="inner half">
1085
- <label class="full"><?php _e('Order By', 'ajax-load-more'); ?>:</label>
1086
- <select class="alm_element" name="post-orderby" id="post-orderby">
1087
- <option value="date" selected="selected">Date (default)</option>
1088
- <option value="title">Title</option>
1089
- <option value="name">Name (slug)</option>
1090
- <option value="menu_order">Menu Order</option>
1091
- <option value="author">Author</option>
1092
- <option value="ID">ID</option>
1093
- <option value="comment_count">Comment Count</option>
1094
- <option value="modified">Modified</option>
1095
- <option value="meta_value_num">meta_value_num</option>
1096
- </select>
1097
- </div>
1098
- </div>
1099
- </div>
1100
- </div>
1101
-
1102
- <!-- Offset -->
1103
- <div class="row input offset" id="alm-offset">
1104
- <h3 class="heading"><?php _e('Offset', 'ajax-load-more'); ?></h3>
1105
- <div class="expand-wrap">
1106
- <div class="section-title">
1107
- <p><?php _e('Offset the initial query by <em>\'n\'</em> number of posts', 'ajax-load-more'); ?>.</p>
1108
- </div>
1109
- <div class="wrap">
1110
- <div class="inner">
1111
- <input type="number" class="alm_element numbers-only" name="offset-select" id="offset-select" value="0" step="1" min="0">
1112
- </div>
1113
- </div>
1114
- </div>
1115
- </div>
1116
-
1117
- <!-- Posts Per Page -->
1118
- <div class="row input posts_per_page" id="alm-post-page">
1119
- <h3 class="heading"><?php _e('Posts Per Page', 'ajax-load-more'); ?></h3>
1120
- <div class="expand-wrap">
1121
- <div class="section-title">
1122
- <p><?php _e('Select the number of posts to load with each request.', 'ajax-load-more'); ?></p>
1123
- </div>
1124
- <div class="wrap">
1125
- <div class="inner">
1126
- <input type="number" class="alm_element numbers-only" name="display_posts-select" id="display_posts-select" step="1" min="1" value="5">
1127
- </div>
1128
- </div>
1129
- </div>
1130
- </div>
1131
-
1132
- <!-- Pause -->
1133
- <div class="row checkbox pause_load" id="alm-pause">
1134
- <h3 class="heading"><?php _e('Pause', 'ajax-load-more'); ?></h3>
1135
- <div class="expand-wrap">
1136
- <div class="section-title">
1137
- <p><?php _e('Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button.', 'ajax-load-more'); ?></p>
1138
- </div>
1139
- <div class="wrap">
1140
- <div class="inner">
1141
- <ul>
1142
- <li>
1143
- <input class="alm_element" type="radio" name="pause" value="t" id="pause_t">
1144
- <label for="pause_t"><?php _e('True', 'ajax-load-more'); ?></label>
1145
- </li>
1146
- <li>
1147
- <input class="alm_element" type="radio" name="pause" value="f" id="pause_f" checked>
1148
- <label for="pause_f"><?php _e('False', 'ajax-load-more'); ?></label>
1149
- </li>
1150
- </ul>
1151
- </div>
1152
- </div>
1153
- </div>
1154
- </div>
1155
-
1156
- <!-- Allow Scrolling Load -->
1157
- <div class="row checkbox scroll_load" id="alm-scroll">
1158
- <h3 class="heading"><?php _e('Scrolling', 'ajax-load-more'); ?></h3>
1159
- <div class="expand-wrap">
1160
- <div class="section-title">
1161
- <h4><?php _e('Enable Scrolling', 'ajax-load-more'); ?></h4>
1162
- <p><?php _e('Load more posts as the user scrolls the page.', 'ajax-load-more'); ?></p>
1163
- </div>
1164
- <div class="wrap">
1165
- <div class="inner">
1166
- <ul>
1167
- <li>
1168
- <input class="alm_element" type="radio" name="scroll" value="t" id="scroll_t" checked>
1169
- <label for="scroll_t"><?php _e('True', 'ajax-load-more'); ?></label>
1170
- </li>
1171
- <li>
1172
- <input class="alm_element" type="radio" name="scroll" value="f" id="scroll_f">
1173
- <label for="scroll_f"><?php _e('False', 'ajax-load-more'); ?></label>
1174
- </li>
1175
- </ul>
1176
- </div>
1177
- </div>
1178
- <div class="clear"></div>
1179
- <div class="scroll_distance">
1180
- <div class="clear"></div>
1181
- <hr>
1182
- <div class="section-title">
1183
- <h4><?php _e('Scroll Distance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Distance is based on the position of the loading button from the bottom of the screen','ajax-load-more'); ?>"></a></h4>
1184
- <p><?php _e('The distance from the bottom of the screen to trigger loading of posts. (Default = 150)', 'ajax-load-more'); ?></p>
1185
- </div>
1186
- <div class="wrap">
1187
- <div class="inner">
1188
- <input type="number" class="alm_element numbers-only" name="scroll-distance" id="scroll-distance" step="10" min="0" value="150">
1189
- </div>
1190
- </div>
1191
- </div>
1192
- <div class="max_pages">
1193
- <div class="clear"></div>
1194
- <hr>
1195
- <div class="section-title">
1196
- <h4><?php _e('Maximum Pages', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If using an Infinite Scroll button style you should set this to 0','ajax-load-more'); ?>"></a></h4>
1197
- <p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
1198
- </div>
1199
- <div class="wrap">
1200
- <div class="inner">
1201
- <input type="number" class="alm_element numbers-only" name="max-select" id="max-select" step="1" min="0" value="5">
1202
  </div>
 
 
 
 
 
 
 
 
1203
  </div>
1204
- </div>
1205
- <div class="pause_override">
1206
- <div class="clear"></div>
1207
- <hr>
1208
- <div class="section-title">
1209
- <h4><?php _e('Pause Override', 'ajax-load-more'); ?></h4>
1210
- <p><?php _e('Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll.', 'ajax-load-more'); ?></p>
1211
- </div>
1212
- <div class="wrap">
1213
- <ul>
1214
- <li>
1215
- <input class="alm_element" type="radio" name="pause_override" value="t" id="pause_override_t">
1216
- <label for="pause_override_t"><?php _e('True', 'ajax-load-more'); ?></label>
1217
- </li>
1218
- <li>
1219
- <input class="alm_element" type="radio" name="pause_override" value="f" id="pause_override_f" checked="checked">
1220
- <label for="pause_override_f"><?php _e('False', 'ajax-load-more'); ?></label>
1221
- </li>
1222
- </ul>
1223
- </div>
1224
- </div>
1225
  </div>
1226
- </div>
 
1227
 
1228
- <!-- Transition -->
1229
- <div class="row input transition" id="alm-transition">
1230
- <h3 class="heading"><?php _e('Transition', 'ajax-load-more'); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1231
  <div class="expand-wrap">
1232
  <div class="section-title">
1233
- <h4><?php _e('Transition Type', 'ajax-load-more'); ?></h4>
1234
- <p><?php _e('Select a loading transition style.', 'ajax-load-more'); ?></p>
1235
  </div>
1236
  <div class="wrap">
1237
- <div class="inner">
1238
- <ul>
1239
- <li>
1240
- <input class="alm_element" type="radio" name="transition" value="slide" id="transition-slide" checked="checked">
1241
- <label for="transition-slide"><?php _e('Slide', 'ajax-load-more'); ?></label>
1242
- </li>
1243
- <li>
1244
- <input class="alm_element" type="radio" name="transition" value="fade" id="transition-fade">
1245
- <label for="transition-fade"><?php _e('Fade', 'ajax-load-more'); ?></label>
1246
- </li>
1247
- <li>
1248
- <input class="alm_element" type="radio" name="transition" value="none" id="transition-none">
1249
- <label for="transition-none"><?php _e('None', 'ajax-load-more'); ?></label>
1250
- </li>
1251
- </ul>
1252
  </div>
1253
  </div>
1254
-
1255
- <div class="clear"></div>
1256
- <hr>
1257
-
 
 
 
 
1258
  <div class="section-title">
1259
- <h4><?php _e('Transition Speed', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('0.5 seconds = 500, 1 second = 1000 etc.','ajax-load-more'); ?>"></a></h4>
1260
- <p><?php _e('The speed of the loading transition in milliseconds', 'ajax-load-more'); ?>.<br/></p>
1261
  </div>
1262
  <div class="wrap">
1263
- <div class="inner">
1264
- <input type="number" class="alm_element numbers-only" name="transition-speed" id="transition-speed" step="50" min="50" value="250">
1265
  </div>
1266
- </div>
1267
-
1268
  <div class="clear"></div>
1269
- <hr>
1270
-
1271
  <div class="section-title">
1272
- <h4><?php _e('Transition Container', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Removing the transition container may have undesired results and is not recommended.','ajax-load-more'); ?>"></a></h4>
1273
- <p><?php _e('Remove the Ajax Load More (.alm-reveal) loading container.', 'ajax-load-more'); ?></p>
1274
  </div>
1275
  <div class="wrap">
1276
- <div class="inner">
1277
- <ul>
1278
- <li style="width:100%;">
1279
- <input class="alm_element" type="checkbox" name="remove_container" id="remove_container" value="f">
1280
- <label for="remove_container">Remove Container</label>
1281
- </li>
1282
- </ul>
1283
  </div>
1284
  </div>
1285
- </div>
1286
- </div>
1287
-
1288
- <!-- Images Loaded -->
1289
- <div class="row checkbox images_loaded" id="alm-images-loaded">
1290
- <h3 class="heading"><?php _e('Images Loaded', 'ajax-load-more'); ?></h3>
1291
- <div class="expand-wrap">
1292
  <div class="section-title">
1293
- <p><?php _e('Wait for all images to load before displaying ajax loaded content', 'ajax-load-more'); ?>.
1294
- <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Background images are currently not supported','ajax-load-more'); ?>"></a>
1295
- </p>
1296
  </div>
1297
  <div class="wrap">
1298
- <div class="inner">
1299
- <ul>
1300
- <li>
1301
- <input class="alm_element" type="radio" name="images_loaded" value="t" id="images_loaded_t">
1302
- <label for="images_loaded_t"><?php _e('True', 'ajax-load-more'); ?></label>
1303
- </li>
1304
- <li>
1305
- <input class="alm_element" type="radio" name="images_loaded" value="f" id="images_loaded_f" checked="checked">
1306
- <label for="images_loaded_f"><?php _e('False', 'ajax-load-more'); ?></label>
1307
- </li>
1308
- </ul>
1309
  </div>
1310
  </div>
1311
  </div>
1312
  </div>
1313
-
1314
- <!-- Destroy After -->
1315
- <div class="row input destroy-after" id="alm-destroy-after">
1316
- <h3 class="heading"><?php _e('Destroy After', 'ajax-load-more'); ?></h3>
 
1317
  <div class="expand-wrap">
1318
  <div class="section-title">
1319
- <p><?php _e('Remove ajax load more functionality after \'<em>n</em>\' number of pages have been loaded.', 'ajax-load-more'); ?></p>
1320
  </div>
1321
  <div class="wrap">
1322
- <div class="inner">
1323
- <input type="number" class="alm_element numbers-only" name="destroy-after" id="disable-after" step="1" min="0" value="">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1324
  </div>
1325
  </div>
1326
  </div>
1327
- </div>
1328
-
1329
- <!-- Button Text -->
1330
- <div class="row input btn-label" id="alm-btn-label">
1331
- <h3 class="heading"><?php _e('Button Options', 'ajax-load-more'); ?></h3>
1332
-
1333
  <div class="expand-wrap">
1334
-
1335
  <div class="section-title">
1336
- <h4><?php _e('Button Label', 'ajax-load-more'); ?></h4>
1337
- <p><?php _e('Customize the text of the <em>Load More</em> button.', 'ajax-load-more'); ?></p>
1338
  </div>
1339
  <div class="wrap">
1340
- <div class="inner">
1341
- <input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Older Posts', 'ajax-load-more'); ?>">
1342
  </div>
1343
  </div>
1344
-
1345
- <div class="clear"></div>
1346
- <hr/>
1347
-
1348
- <div class="section-title">
1349
- <h4><?php _e('Button Loading Label', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave field empty to not update text while loading content','ajax-load-more'); ?>"></a></h4>
1350
- <p><?php _e('Update the text of the <em>Load More</em> button while content is loading.', 'ajax-load-more'); ?></p>
1351
- </div>
1352
- <div class="wrap">
1353
- <div class="inner">
1354
- <input class="alm_element" name="button-loading-label" type="text" id="button-loading-label" value="" placeholder="<?php _e('Loading Posts...', 'ajax-load-more'); ?>">
1355
- </div>
1356
- </div>
1357
-
1358
  </div>
1359
  </div>
1360
-
1361
- <!-- Container Classes -->
1362
- <div class="row input alm-classes" id="alm-classes">
1363
- <h3 class="heading"><?php _e('Container Options', 'ajax-load-more'); ?></h3>
 
1364
  <div class="expand-wrap">
1365
-
1366
- <div class="section-title">
1367
- <h4><?php _e('Container Type', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define a global container type on the Ajax Load More settings screen','ajax-load-more'); ?>"></a></h4>
1368
- <p><?php _e('Override the global Container Type that was set on <a href="admin.php?page=ajax-load-more">ALM Settings page</a>.', 'ajax-load-more'); ?></p>
1369
- </div>
1370
- <div class="wrap">
1371
- <div class="inner">
1372
- <ul class="container_type">
1373
- <li>
1374
- <input type="radio" id="type-ul" value="ul" name="alm_container_type" class="alm_element">
1375
- <label for="type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
1376
- </li>
1377
- <li>
1378
- <input type="radio" id="type-div" value="div" name="alm_container_type" class="alm_element">
1379
- <label for="type-div">&lt;div&gt; &lt;/div&gt;</label>
1380
- </li>
1381
- <li>
1382
- <input type="radio" id="type-table" value="table" name="alm_container_type" class="alm_element">
1383
- <label for="type-table">&lt;table&gt; &lt;/table&gt;</label>
1384
- </li>
1385
- </ul>
1386
- </div>
1387
- </div>
1388
-
1389
- <div class="clear"></div>
1390
- <hr/>
1391
-
1392
  <div class="section-title">
1393
- <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>
1394
- <p><?php _e('Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. portfolio-listing large-12 etc', 'ajax-load-more'); ?></p>
1395
  </div>
1396
  <div class="wrap">
1397
  <div class="inner">
1398
- <input class="alm_element" name="container-classes" type="text" id="container-classes" placeholder="portfolio-listing large-12">
1399
  </div>
1400
  </div>
1401
-
1402
  </div>
1403
- </div>
 
 
 
 
 
1404
 
1405
- <div class="clear"></div>
1406
-
9
  ?>
10
 
11
 
12
+ <!-- Add-ons -->
13
+ <?php if(alm_has_addon()) : ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
+ <div class="shortcode-parameter-wrap">
16
+ <h2 class="shortcode-title"><?php _e('Add-ons', 'ajax-load-more'); ?></h2>
17
+
18
+ <?php if(has_action('alm_cache_installed')){ ?>
19
+ <!-- CACHE -->
20
+ <div class="row input cache add-on" id="alm-cache">
21
+ <h3 class="heading"><?php _e('Cache', 'ajax-load-more'); ?></h3>
22
+ <div class="expand-wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  <div class="section-title">
24
+ <p><?php _e('Turn on content caching.', 'ajax-load-more'); ?></p>
 
25
  </div>
26
  <div class="wrap">
27
+ <div class="inner">
28
+ <ul>
29
+ <li>
30
+ <input class="alm_element" type="radio" name="cache" value="true" id="cache-true" >
31
+ <label for="cache-true"><?php _e('True', 'ajax-load-more'); ?></label>
32
+ </li>
33
+ <li>
34
+ <input class="alm_element" type="radio" name="cache" value="false" id="cache-false" checked="checked">
35
+ <label for="cache-false"><?php _e('False', 'ajax-load-more'); ?></label>
36
+ </li>
37
+ </ul>
 
 
 
 
38
  </div>
 
 
 
39
  </div>
 
40
  <div class="clear"></div>
41
+ <div class="cache_id">
42
+ <div class="clear"></div>
43
+ <hr>
44
+ <div class="section-title">
45
+ <h4><?php _e('Cache ID', 'ajax-load-more'); ?></h4>
46
+ <p><?php _e('You <u>must</u> generate a unique ID for this cached query - this unique ID will be used as a content identifier.', 'ajax-load-more'); ?></p>
47
+ </div>
48
+ <div class="wrap">
49
+ <div class="inner">
50
+ <input type="text" class="alm_element disabled" name="cache-id" id="cache-id" disabled="disabled">
51
+ <div class="clear"></div>
52
+ <p class="generate-id"><a href="javascript:void(0);" data-id="cache-id"><i class="fa fa-random"></i> <?php _e('Generate Cache ID', 'ajax-load-more'); ?></a></p>
53
+ </div>
54
+ </div>
 
55
  </div>
56
+ </div>
57
+ </div>
58
+ <?php } ?>
59
+
60
+
61
+ <?php if(has_action('alm_cta_installed')){ ?>
62
+ <!-- Call to Actions -->
63
+ <div class="row cta add-on" id="alm-cta">
64
+ <h3 class="heading"><?php _e('Call to Actions', 'ajax-load-more'); ?></h3>
65
+ <div class="expand-wrap">
66
 
 
 
 
67
  <div class="section-title">
68
+ <p><?php _e('Insert call to action block.', 'ajax-load-more'); ?></p>
 
69
  </div>
70
  <div class="wrap">
71
+ <div class="inner">
72
+ <ul>
 
 
 
 
73
  <li>
74
+ <input class="alm_element" type="radio" name="cta" value="true" id="cta-true" >
75
+ <label for="cta-true"><?php _e('True', 'ajax-load-more'); ?></label>
76
+ </li>
77
  <li>
78
+ <input class="alm_element" type="radio" name="cta" value="false" id="cta-false" checked="checked">
79
+ <label for="cta-false"><?php _e('False', 'ajax-load-more'); ?></label>
80
  </li>
81
  </ul>
82
  </div>
83
  </div>
84
+ <div class="clear"></div>
85
 
86
+ <div class="cta_template_wrap">
87
 
88
+ <hr/>
89
+ <div class="spacer"></div>
90
+
91
+ <div class="section-title">
92
+ <h4><?php _e('CTA Positioning', 'ajax-load-more'); ?></h4>
93
+ <p><?php _e('Insert call to action <strong><em id="sequence-update-before-after">before</em></strong> post #<strong><em id="sequence-update">1</em></strong>', 'ajax-load-more'); ?>.</p>
94
+ </div>
95
+ <div class="wrap">
96
+ <div class="inner">
97
+
98
+ <label class="full"><?php _e('Before / After', 'ajax-load-more'); ?>:</label>
99
+ <select class="alm_element cta-before-after" name="cta-before-after" id="cta-before-after">
100
+ <option value="before" selected="selected"><?php _e('Before', 'ajax-load-more'); ?></option>
101
+ <option value="after"><?php _e('After', 'ajax-load-more'); ?></option>
102
+ </select>
103
+ <div class="clear"></div>
104
+ <div class="spacer" style="height: 30px;"></div>
105
+ <label class="full" for="cta-position"><?php _e('Post #', 'ajax-load-more'); ?>:</label>
106
+ <input type="number" min="1" step="1" value="1" placeholder="1" id="cta-position" class="alm_element numbers-only" name="cta-position">
107
+
108
+ </div>
109
+ </div>
110
+
111
+ <div class="clear"></div>
112
+ <hr/>
113
+ <div class="spacer"></div>
114
+
115
+ <div class="section-title">
116
+ <h4><?php _e('Template', 'ajax-load-more'); ?></h4>
117
+ <?php
118
+ echo '<p>'.__('Select the <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> that will display your call to action.', 'ajax-load-more'). '</p>';
119
+ ?>
120
+ </div>
121
+ <div class="wrap">
122
+ <div class="inner">
123
+ <?php
124
+ echo '<select name="cta-repeater-select" class="alm_element">';
125
+ echo '<option name="" value="" selected="selected">'.__('-- Select Repeater --', 'ajax-load-more').'</option>';
126
+ echo '<option name="default" value="default">Default</option>';
127
+ if (has_action('alm_get_custom_repeaters')) {
128
+ do_action('alm_get_custom_repeaters');
129
+ }
130
+ if (has_action('alm_get_unlimited_repeaters')) {
131
+ do_action('alm_get_unlimited_repeaters');
132
+ }
133
+ echo '</select>';
134
+ ?>
135
+ </div>
136
+ </div>
137
+ <?php
138
+ // Get Theme Repeaters
139
+ if (has_action('alm_theme_repeaters_selection')){
140
+ do_action('alm_theme_repeaters_selection');
141
+ }
142
+ ?>
143
+
144
+ <p class="warning-callout">
145
+ <?php _e('Call to actions do NOT count as a post within an Ajax Load More loop.<br/>
146
+ For example, if you set <strong>posts_per_page="5"</strong> in your shortcode, 6 items will be displayed.', 'ajax-load-more'); ?>
147
+ </p>
148
+
149
+ </div>
150
 
151
+ </div>
152
+ </div>
153
+ <?php } ?>
154
+
155
+
156
+ <?php if(has_action('alm_comments_installed')){ ?>
157
+ <!-- COMMENTS -->
158
+ <div class="row input comments add-on" id="alm-comments">
159
+ <h3 class="heading"><?php _e('Comments', 'ajax-load-more'); ?></h3>
160
+ <div class="expand-wrap">
161
  <div class="section-title">
162
+ <p><?php _e('Enable Ajax Load More to display blog comments.', 'ajax-load-more'); ?></p>
 
163
  </div>
 
164
  <div class="wrap">
165
+ <div class="inner">
166
+ <ul>
167
+ <li>
168
+ <input class="alm_element" type="radio" name="comments" value="true" id="comments-true" >
169
+ <label for="comments-true"><?php _e('True', 'ajax-load-more'); ?></label>
170
+ </li>
171
+ <li>
172
+ <input class="alm_element" type="radio" name="comments" value="false" id="comments-false" checked="checked">
173
+ <label for="comments-false"><?php _e('False', 'ajax-load-more'); ?></label>
174
+ </li>
175
+ </ul>
 
176
  </div>
 
 
 
177
  </div>
 
178
  <div class="clear"></div>
179
+ <div class="comments_extras">
180
+
181
+ <div class="clear"></div>
182
+ <hr>
183
  <div class="section-title">
184
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
185
+ <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
186
  </div>
187
  <div class="wrap">
188
  <div class="inner">
189
+ <input type="text" value="get_the_ID()" id="comments_post_id" class="alm_element disabled-input" disabled="disabled">
190
  </div>
191
+ </div>
192
+
193
+ <div class="clear"></div>
194
+ <hr>
195
+ <div class="section-title">
196
+ <h4><?php _e('Comments Per Page', 'ajax-load-more'); ?></h4>
197
+ <p><?php _e('The number of top level items to show for each page of comments.', 'ajax-load-more'); ?></p>
198
+ </div>
199
+ <div class="wrap">
200
+ <div class="inner">
201
+ <input type="number" class="alm_element numbers-only" name="comments-per-page" id="comments-per-page" step="1" min="1" value="5">
202
+ </div>
203
+ </div>
204
  <div class="section-title full">
205
+ <p><?php _e('<strong>Note</strong>: The amount selected does NOT include comment replies.', 'ajax-load-more'); ?></p>
206
  </div>
 
 
 
 
 
207
 
208
+ <div class="clear"></div>
209
+ <hr>
210
+ <div class="section-title">
211
+ <h4><?php _e('Comment Type', 'ajax-load-more'); ?></h4>
212
+ <p><?php _e('The type of comment(s) to display.', 'ajax-load-more'); ?></p>
213
+ </div>
214
+ <div class="wrap">
215
+ <div class="inner">
216
+ <select class="alm_element comments_type" id="comments_type">
217
+ <option value="comment" selected="selected"><?php _e('Comment', 'ajax-load-more'); ?></option>
218
+ <option value="all"><?php _e('All', 'ajax-load-more'); ?></option>
219
+ <option value="trackback"><?php _e('Trackback', 'ajax-load-more'); ?></option>
220
+ <option value="pingback"><?php _e('Pingback', 'ajax-load-more'); ?></option>
221
+ <option value="pings"><?php _e('Pings', 'ajax-load-more'); ?></option>
222
+ </select>
223
+ </div>
224
+ </div>
225
+
226
+ <div class="clear"></div>
227
+ <hr>
228
+ <div class="section-title">
229
+ <h4><?php _e('Comment Style', 'ajax-load-more'); ?></h4>
230
+ <p><?php _e('Select the HTML container style for your comments.', 'ajax-load-more'); ?></p>
231
+ </div>
232
+ <div class="wrap">
233
+ <div class="inner">
234
+ <ul class="comment_container_type">
235
+ <li>
236
+ <input type="radio" id="comment-type-ol" value="ol" name="alm_comment_style" class="alm_element" checked="checked">
237
+ <label for="comment-type-ol">&lt;ol&gt; &lt;/ol&gt;</label>
238
+ </li>
239
+ <li>
240
+ <input type="radio" id="comment-type-ul" value="ul" name="alm_comment_style" class="alm_element">
241
+ <label for="comment-type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
242
+ </li>
243
+ <li>
244
+ <input type="radio" id="comment-type-div" value="div" name="alm_comment_style" class="alm_element">
245
+ <label for="comment-type-div">&lt;div&gt; &lt;/div&gt;</label>
246
+ </li>
247
+ </ul>
248
+ </div>
249
+ </div>
250
+
251
+ <div class="clear"></div>
252
+ <hr>
253
+
254
+ <div class="section-title">
255
+ <h4><?php _e('Comment Template', 'ajax-load-more'); ?></h4>
256
+ <p><?php _e('Select a repeater template that will display comment data.', 'ajax-load-more'); ?></p>
257
+ </div>
258
+
259
+ <div class="wrap">
260
+ <div class="inner">
261
+ <select class="alm_element comments_template" id="comments_template">
262
+ <option value="none" selected="selected"><?php _e('None', 'ajax-load-more'); ?></option>
263
+ <option name="default" id="chk-default" value="default"><?php _e('Default', 'ajax-load-more'); ?></option>
264
+ <?php if (has_action('alm_get_custom_repeaters')) {
265
+ do_action('alm_get_custom_repeaters');
266
+ }
267
+ if (has_action('alm_get_unlimited_repeaters')) {
268
+ do_action('alm_get_unlimited_repeaters');
269
+ }
270
+ ?>
271
+ </select>
272
+ </div>
273
+ </div>
274
+ <div class="section-title full">
275
+ <p><?php _e('<strong>Note</strong>: <span>None</span> will use the default WordPress comment layout.', 'ajax-load-more'); ?></p>
276
+ </div>
277
+ <div class="spacer"></div>
278
+ <div class="clear"></div>
279
+ <div class="select-theme-repeater">
280
+ <span class="or">or</span>
281
+ <hr/>
282
+ <div class="spacer"></div>
283
+ <div class="section-title">
284
+ <h4><?php _e('Callback Function', 'ajax-load-more'); ?></h4>
285
+ <p><?php _e('A custom <a href="https://codex.wordpress.org/Function_Reference/wp_list_comments#Arguments" target="_blank">callback</a> function that will display each comment.', 'ajax-load-more'); ?></p>
286
+ </div>
287
+ <div class="wrap">
288
+ <div class="inner">
289
+ <input type="text" value="" placeholder="function_name" id="comments_callback" class="alm_element">
290
+ </div>
291
+ </div>
292
+ <div class="section-title full">
293
+ <p><?php _e('<strong>Note</strong>: The majority of premium themes have a custom callback function for displaying comments. Please see comments.php or functions.php within your theme directory to locate the callback function for your theme.', 'ajax-load-more'); ?></p>
294
+ </div>
295
+ </div>
296
+
297
+ <p class="warning-callout">
298
+ <?php _e('You must add the comments shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
299
+ </p>
300
+
301
+ </div>
302
  </div>
303
+ </div>
304
+ <?php } ?>
305
+
306
+
307
+ <?php if(has_action('alm_paging_installed')){ ?>
308
+ <!-- PAGING -->
309
+ <div class="row input paging add-on" id="alm-paging">
310
+ <h3 class="heading"><?php _e('Paging', 'ajax-load-more'); ?></h3>
311
+ <div class="expand-wrap">
312
+ <div class="section-title"> <p><?php _e('Replace infinite scrolling with a paged ajax navigation system.', 'ajax-load-more'); ?></p>
313
+ </div>
314
  <div class="wrap">
315
  <div class="inner">
316
  <ul>
317
  <li>
318
+ <input class="alm_element" type="radio" name="paging" value="true" id="paging-true" >
319
+ <label for="paging-true"><?php _e('True', 'ajax-load-more'); ?></label>
320
  </li>
321
  <li>
322
+ <input class="alm_element" type="radio" name="paging" value="false" id="paging-false" checked="checked">
323
+ <label for="paging-false"><?php _e('False', 'ajax-load-more'); ?></label>
324
  </li>
325
  </ul>
326
  </div>
327
  </div>
328
 
329
  <div class="clear"></div>
330
+ <div id="nav-controls">
331
+
332
+ <hr/>
333
+ <div class="section-title">
334
+ <h4><?php _e('Paging Controls', 'ajax-load-more'); ?></h4>
335
+ <p><?php _e('Show (&laquo;)previous and next(&raquo;) buttons.', 'ajax-load-more'); ?></p>
 
 
336
  </div>
337
+ <div class="wrap">
338
+ <div class="inner">
339
+ <ul>
340
+ <li>
341
+ <input class="alm_element" type="radio" name="paging-controls" value="true" id="paging-controls-true" >
342
+ <label for="paging-controls-true"><?php _e('True', 'ajax-load-more'); ?></label>
343
+ </li>
344
+ <li>
345
+ <input class="alm_element" type="radio" name="paging-controls" value="false" id="paging-controls-false" checked="checked">
346
+ <label for="paging-controls-false"><?php _e('False', 'ajax-load-more'); ?></label>
347
+ </li>
348
+ </ul>
349
+ </div>
350
+ </div>
351
+
352
+ <div class="clear"></div>
353
+ <hr/>
354
+ <div class="section-title">
355
+ <h4><?php _e('Paging Navigation Classes', 'ajax-load-more'); ?></h4>
356
+ <p><?php _e('Add custom CSS classes to the paging navigation menu.', 'ajax-load-more'); ?></p>
357
+ </div>
358
+ <div class="wrap">
359
+ <div class="inner">
360
+ <input type="text" class="alm_element" name="paging-classes" id="paging-classes" placeholder="portfolio-paging-menu">
361
+ </div>
362
+ </div>
363
+
364
+ <div class="clear"></div>
365
+ <hr/>
366
+ <div class="section-title">
367
+ <h4><?php _e('Show at Most', 'ajax-load-more'); ?></h4>
368
+ <p><?php _e('The maximum amount of page menu items to show at a time. <br/.>0 = no maximum', 'ajax-load-more'); ?></p>
369
+ </div>
370
+ <div class="wrap">
371
+ <div class="inner">
372
+ <input type="number" class="alm_element numbers-only" name="show-at-most" id="show-at-most" step="2" min="0" value="7">
373
+ </div>
374
  </div>
375
+
376
  </div>
377
 
378
  </div>
379
+ </div>
380
+ <?php } ?>
381
+
382
+
383
+ <?php if(has_action('alm_preload_installed')){ ?>
384
+ <!-- PRELOADED -->
385
+ <div class="row input preload add-on" id="alm-preload">
386
+ <h3 class="heading"><?php _e('Preloaded', 'ajax-load-more'); ?></h3>
387
+ <div class="expand-wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
  <div class="section-title">
389
+ <p><?php _e('Preload posts prior to making Ajax requests.', 'ajax-load-more'); ?></p>
 
390
  </div>
391
  <div class="wrap">
392
+ <div class="inner">
393
+ <ul>
394
+ <li>
395
+ <input class="alm_element" type="radio" name="preload" value="true" id="preload-true" >
396
+ <label for="preload-true"><?php _e('True', 'ajax-load-more'); ?></label>
397
+ </li>
398
+ <li>
399
+ <input class="alm_element" type="radio" name="preload" value="false" id="preload-false" checked="checked">
400
+ <label for="preload-false"><?php _e('False', 'ajax-load-more'); ?></label>
401
+ </li>
402
+ </ul>
403
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  </div>
 
 
 
405
  <div class="clear"></div>
406
+ <div class="preload_amount">
407
+ <div class="clear"></div>
408
+ <hr>
409
+ <div class="section-title">
410
+ <h4><?php _e('Preload Amount', 'ajax-load-more'); ?></h4>
411
+ <p><?php _e('Enter the number of posts to preload.', 'ajax-load-more'); ?></p>
412
+ </div>
413
+ <div class="wrap">
414
+ <div class="inner">
415
+ <input type="number" class="alm_element numbers-only" name="preload-amount" id="preload-amount" step="1" min="1" value="5">
416
+ </div>
417
+ </div>
418
+ </div>
419
+ </div>
420
+ </div>
421
+ <?php } ?>
422
+
423
+
424
+ <?php if(has_action('alm_prev_post_installed')){ ?>
425
+ <!-- PREV POST -->
426
+ <div class="row input previous-post add-on" id="alm-previous-post">
427
+ <h3 class="heading"><?php _e('Previous Post', 'ajax-load-more'); ?></h3>
428
+ <div class="expand-wrap">
429
  <div class="section-title">
430
+ <p><?php _e('Enable the infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
 
431
  </div>
432
  <div class="wrap">
433
+ <div class="inner">
434
+ <ul>
435
+ <li>
436
+ <input class="alm_element" type="radio" name="prev-post" value="true" id="prev-post-true" >
437
+ <label for="prev-post-true"><?php _e('True', 'ajax-load-more'); ?></label>
438
+ </li>
439
+ <li>
440
+ <input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
441
+ <label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
442
+ </li>
443
+ </ul>
444
  </div>
445
+ </div>
 
 
446
  <div class="clear"></div>
447
+ <div class="prev_post_id" style="display: none;">
448
+ <div class="clear"></div>
449
+ <hr>
450
+ <div class="section-title">
451
+ <h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
452
+ <p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
453
+ </div>
454
+ <div class="wrap">
455
+ <div class="inner">
456
+ <input type="text" value="get_the_ID()" id="prev_post_id" class="alm_element disabled-input" disabled="disabled">
457
+ </div>
458
+ </div>
459
+
460
+
461
+ <div class="clear"></div>
462
+ <hr>
463
+ <div class="section-title">
464
+ <h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy will be returned','ajax-load-more'); ?>"></a></h4>
465
+ <p><?php _e('Query previous posts from the same taxonomy.', 'ajax-load-more'); ?></p>
466
+ </div>
467
+ <div class="wrap">
468
+ <div class="inner">
469
+ <?php
470
+ // Taxonomies
471
+ $pp_tax_args = array(
472
+ 'public' => true,
473
+ '_builtin' => false
474
+ );
475
+ $pp_tax_output = 'objects';
476
+ $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
477
+ echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
478
+ echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
479
+ echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
480
+ echo '<option value="post_tag">' . __('Tag', 'ajax-load-more') . '</option>';
481
+ if ( $pp_taxonomies ) {
482
+
483
+ foreach( $pp_taxonomies as $pp_taxonomy ){
484
+ echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
485
+ }
486
+
487
+ }
488
+ echo '</select>';
489
+ ?>
490
+ </div>
491
+ </div>
492
+
493
+ <p class="warning-callout">
494
+ <?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
495
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
496
  </div>
497
  </div>
498
+ </div>
499
+ <?php } ?>
500
+
501
+
502
+ <?php if(has_action('alm_rest_api_installed')){
503
+
504
+ // get rest defaults (from core alm settings)
505
+ $restapi_baseurl = '/wp-json';
506
+ if(isset($alm_options['_alm_rest_api_base_url']))
507
+ $restapi_baseurl = $alm_options['_alm_rest_api_base_url'];
508
+
509
+ $restapi_namespace = 'ajaxloadmore';
510
+ if(isset($alm_options['_alm_rest_api_namespace']))
511
+ $restapi_namespace = $alm_options['_alm_rest_api_namespace'];
512
+
513
+ $restapi_endpoint = 'posts';
514
+ if(isset($alm_options['_alm_rest_api_endpoint']))
515
+ $restapi_endpoint = $alm_options['_alm_rest_api_endpoint'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
516
 
517
+ ?>
518
+ <!-- REST API -->
519
+ <div class="row input rest add-on" id="alm-rest">
520
+ <h3 class="heading"><?php _e('REST API', 'ajax-load-more'); ?></h3>
521
+ <div class="expand-wrap">
522
  <div class="section-title">
523
+ <p><?php _e('Enable the WordPress REST API.', 'ajax-load-more'); ?></p>
 
 
524
  </div>
525
+ <div class="wrap">
526
+ <div class="inner">
527
+ <ul>
528
+ <li>
529
+ <input class="alm_element" type="radio" name="rest" value="true" id="rest-true" >
530
+ <label for="rest-true"><?php _e('True', 'ajax-load-more'); ?></label>
531
+ </li>
532
+ <li>
533
+ <input class="alm_element" type="radio" name="rest" value="false" id="rest-false" checked="checked">
534
+ <label for="rest-false"><?php _e('False', 'ajax-load-more'); ?></label>
535
+ </li>
536
+ </ul>
537
+ </div>
538
+ </div>
539
 
540
+ <div class="clear"></div>
541
+ <div class="restapi_options">
542
+
543
+ <div class="clear"></div>
544
+ <hr>
545
+
546
+ <div class="section-title">
547
+ <h4><?php _e('Base URL', 'ajax-load-more'); ?>
548
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Base URL in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
549
+ <p><?php _e('Enter the base URL to your installation of the REST API.', 'ajax-load-more'); ?></p>
550
+ </div>
551
+ <div class="wrap">
552
+ <div class="inner">
553
+ <input type="text" id="rest-base" class="alm_element" name="rest-base" value="<?php echo $restapi_baseurl; ?>">
554
+ </div>
555
+ </div>
556
+
557
+ <div class="clear"></div>
558
+ <hr>
559
+
560
+ <div class="section-title">
561
+ <h4><?php _e('Namespace', 'ajax-load-more'); ?>
562
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Namespace in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
563
+ <p><?php _e('Enter the custom namespace for this Ajax Load More query.', 'ajax-load-more'); ?></p>
564
+ </div>
565
+ <div class="wrap">
566
+ <div class="inner">
567
+ <input type="text" id="rest-namespace" class="alm_element" name="rest-namespace" value="<?php echo $restapi_namespace; ?>">
568
+ </div>
569
+ </div>
570
+
571
+ <div class="clear"></div>
572
+ <hr>
573
+
574
+ <div class="section-title">
575
+ <h4><?php _e('Endpoint', 'ajax-load-more'); ?>
576
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Set a default Endpoint in the Ajax Load More settings panel','ajax-load-more'); ?>"></a></h4>
577
+ <p><?php _e('Enter your custom endpoint for this Ajax Load More query.', 'ajax-load-more'); ?></p>
578
+ </div>
579
+ <div class="wrap">
580
+ <div class="inner">
581
+ <input type="text" id="rest-endpoint" class="alm_element" name="rest-endpoint" value="<?php echo $restapi_endpoint; ?>">
582
+ </div>
583
+ </div>
584
+
585
+ <div class="clear"></div>
586
+ <hr>
587
+
588
+ <div class="section-title">
589
+ <h4><?php _e('Template ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Ajax Load More references this ID while looping and displaying your data. You must still select a repeater template for this instance of Ajax Load More','ajax-load-more'); ?>">.</a></h4>
590
+ <p><?php _e('Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-template</em> = <em>alm-template</em>', 'ajax-load-more'); ?><br/>&raquo; <a href="https://gist.github.com/dcooney/c89f5859b73256b36de4a0c3320d9b07" target="_blank"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
591
+ </div>
592
+ <div class="wrap">
593
+ <div class="inner">
594
+ <input type="text" id="rest-template-id" class="alm_element" name="rest-template-id" value="">
595
+ </div>
596
+ </div>
597
+
598
+ <div class="clear"></div>
599
+ <hr>
600
+
601
+ <div class="section-title">
602
+ <h4><?php _e('Debug Mode', 'ajax-load-more'); ?></h4>
603
+ <p><?php _e('Enable debugging (console.log) of REST API responses in the browser console. ', 'ajax-load-more'); ?></p>
604
+ </div>
605
+ <div class="wrap">
606
+ <div class="inner">
607
+ <ul>
608
+ <li>
609
+ <input class="alm_element" type="radio" name="rest-debug" value="true" id="rest-debug-true" >
610
+ <label for="rest-debug-true"><?php _e('True', 'ajax-load-more'); ?></label>
611
+ </li>
612
+ <li>
613
+ <input class="alm_element" type="radio" name="rest-debug" value="false" id="rest-debug-false" checked="checked">
614
+ <label for="rest-debug-false"><?php _e('False', 'ajax-load-more'); ?></label>
615
+ </li>
616
+ </ul>
617
+ </div>
618
+ </div>
619
+
620
+ <p class="warning-callout">
621
+ <?php _e('Visit <a href="http://v2.wp-api.org/" target="_blank">http://v2.wp-api.org</a> for documentation on creating custom <a href="http://v2.wp-api.org/extending/adding/" target="_blank">Endpoints</a> for use with Ajax Load More.', 'ajax-load-more'); ?>
622
+ </p>
623
+
624
+ </div>
625
 
626
+ </div>
627
+ </div>
628
+ <?php } ?>
629
+
630
+
631
+ <?php if(has_action('alm_seo_installed')){ ?>
632
+ <!-- SEO -->
633
+ <div class="row input seo add-on" id="alm-seo">
634
+ <h3 class="heading"><?php _e('SEO (Search Engine Optimization)', 'ajax-load-more'); ?></h3>
635
+ <div class="expand-wrap">
636
  <div class="section-title">
637
+ <p><?php _e('Enable address bar URL rewrites as users page through ajax loaded content.', 'ajax-load-more'); ?></p>
 
638
  </div>
639
+ <div class="wrap">
640
+ <div class="inner">
641
  <ul>
642
  <li>
643
+ <input class="alm_element" type="radio" name="seo" value="true" id="seo-true" >
644
+ <label for="seo-true"><?php _e('True', 'ajax-load-more'); ?></label>
645
  </li>
646
  <li>
647
+ <input class="alm_element" type="radio" name="seo" value="false" id="seo-false" checked="checked">
648
+ <label for="seo-false"><?php _e('False', 'ajax-load-more'); ?></label>
649
  </li>
650
  </ul>
651
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
652
  </div>
653
  </div>
654
+ </div>
655
+ <?php } ?>
 
656
 
657
+ </div>
658
+ <?php endif; ?>
659
+ <!-- End Add-ons -->
660
 
661
+ <!-- ****************************** -->
662
+
663
+ <!-- Display Settings -->
664
+ <div class="shortcode-parameter-wrap">
665
+ <h2 class="shortcode-title"><?php _e('Display Settings', 'ajax-load-more'); ?></h2>
666
+
667
+ <!-- Template Selection -->
668
+ <?php
669
+ echo '<div class="row repeater" id="alm-repeaters">';
670
  echo '<h3 class="heading">'.__('Template', 'ajax-load-more'). '</h3>';
671
  echo '<div class="expand-wrap">';
672
  echo '<div class="section-title">';
689
  echo '</div></div>';
690
  ?>
691
 
692
+ <?php // Get Theme Repeaters
 
 
693
  if (has_action('alm_theme_repeaters_selection')){
694
  do_action('alm_theme_repeaters_selection');
695
  }
696
  ?>
697
 
698
+ <?php // Custom Repeaters v2 - /cta/extend.php
699
+ if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters') && !has_action('alm_theme_repeaters_installed')) {
 
700
  include( ALM_PATH . 'admin/includes/cta/extend.php');
701
  }
702
 
703
  echo '</div>';
704
  echo '</div>';
705
+ ?>
706
+ <!-- End Template Selection -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
707
 
708
+ <!-- Options -->
709
+ <div class="row input alm-instance-options" id="alm-instance-options">
710
+ <h3 class="heading"><?php _e('Options', 'ajax-load-more'); ?></h3>
711
+ <div class="expand-wrap">
712
+
 
 
 
 
713
  <div class="section-title">
714
+ <h4><?php _e('ID', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Adding a unique ID will allow you target this specific Ajax Load More instance with the alm_query_args_id() filter.','ajax-load-more'); ?>"></a></h4>
715
+ <p><?php _e('Set a unique ID for this Ajax Load More instance.', 'ajax-load-more'); ?><br/>
716
+ &raquo; <a href="https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_query_args_[id]" target="_blank">Learn More</a></p>
717
+ </div>
718
+ <div class="wrap">
 
719
  <div class="inner">
720
+ <input type="text" class="alm_element" name="unique-id" id="unique-id">
721
+ <div class="clear"></div>
722
+ <p class="generate-id"><a href="javascript:void(0);" data-id="unique-id"><i class="fa fa-random"></i> <?php _e('Generate Unique ID', 'ajax-load-more'); ?></a></p>
 
 
 
 
 
 
 
 
723
  </div>
724
  </div>
725
 
726
  <div class="clear"></div>
727
  <hr/>
728
+
729
+ <div class="section-title">
730
+ <h4><?php _e('Container Type', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define a global container type on the Ajax Load More settings screen','ajax-load-more'); ?>"></a></h4>
731
+ <p><?php _e('Override the global Container Type that was set on <a href="admin.php?page=ajax-load-more">ALM Settings page</a>.', 'ajax-load-more'); ?></p>
732
+ </div>
733
+ <div class="wrap">
734
+ <div class="inner">
735
+ <ul class="container_type">
736
+ <li>
737
+ <input type="radio" id="type-ul" value="ul" name="alm_container_type" class="alm_element">
738
+ <label for="type-ul">&lt;ul&gt; &lt;/ul&gt;</label>
739
+ </li>
740
+ <li>
741
+ <input type="radio" id="type-div" value="div" name="alm_container_type" class="alm_element">
742
+ <label for="type-div">&lt;div&gt; &lt;/div&gt;</label>
743
+ </li>
744
+ <li>
745
+ <input type="radio" id="type-ol" value="ol" name="alm_container_type" class="alm_element">
746
+ <label for="type-ol">&lt;ol&gt; &lt;/ol&gt;</label>
747
+ </li>
748
+ <li>
749
+ <input type="radio" id="type-table" value="table" name="alm_container_type" class="alm_element">
750
+ <label for="type-table">&lt;table&gt; &lt;/table&gt;</label>
751
+ </li>
752
+ </ul>
753
+ </div>
754
  </div>
755
+
756
+ <div class="clear"></div>
757
+ <hr/>
758
+
759
+ <div class="section-title">
760
+ <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>
761
+ <p><?php _e('Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. portfolio-listing large-12 etc', 'ajax-load-more'); ?></p>
762
+ </div>
763
  <div class="wrap">
764
+ <div class="inner">
765
+ <input class="alm_element" name="container-classes" type="text" id="container-classes" placeholder="portfolio-listing large-12">
 
 
 
 
 
 
 
 
 
 
766
  </div>
767
+ </div>
768
+
769
  </div>
770
  </div>
771
+ <!-- End Options -->
772
+
773
+ <!-- Button Labels -->
774
+ <div class="row input btn-label" id="alm-btn-label">
775
+ <h3 class="heading"><?php _e('Button Labels', 'ajax-load-more'); ?></h3>
776
+
777
+ <div class="expand-wrap">
778
+
779
+ <div class="section-title">
780
+ <h4><?php _e('Label', 'ajax-load-more'); ?></h4>
781
+ <p><?php _e('Customize the text of the <em>Load More</em> button.', 'ajax-load-more'); ?></p>
782
+ </div>
783
+ <div class="wrap">
784
+ <div class="inner">
785
+ <input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Older Posts', 'ajax-load-more'); ?>">
786
+ </div>
787
+ </div>
788
+
789
+ <div class="clear"></div>
790
+ <hr/>
791
+
792
+ <div class="section-title">
793
+ <h4><?php _e('Loading Label', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave field empty to not update text while loading content','ajax-load-more'); ?>"></a></h4>
794
+ <p><?php _e('Update the text of the <em>Load More</em> button while content is loading.', 'ajax-load-more'); ?></p>
795
+ </div>
796
+ <div class="wrap">
797
+ <div class="inner">
798
+ <input class="alm_element" name="button-loading-label" type="text" id="button-loading-label" value="" placeholder="<?php _e('Loading Posts...', 'ajax-load-more'); ?>">
799
+ </div>
800
+ </div>
801
+
802
+ </div>
803
+ </div>
804
+ <!-- Button Labels -->
805
+
806
+ <!-- Images Loaded -->
807
+ <div class="row checkbox images_loaded" id="alm-images-loaded">
808
+ <h3 class="heading"><?php _e('Images Loaded', 'ajax-load-more'); ?></h3>
809
+ <div class="expand-wrap">
810
+ <div class="section-title">
811
+ <p><?php _e('Wait for all images to load before displaying ajax loaded content', 'ajax-load-more'); ?>.
812
+ <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Background images are currently not supported','ajax-load-more'); ?>"></a>
813
+ </p>
814
+ </div>
815
+ <div class="wrap">
816
+ <div class="inner">
817
+ <ul>
818
+ <li>
819
+ <input class="alm_element" type="radio" name="images_loaded" value="t" id="images_loaded_t">
820
+ <label for="images_loaded_t"><?php _e('True', 'ajax-load-more'); ?></label>
821
+ </li>
822
+ <li>
823
+ <input class="alm_element" type="radio" name="images_loaded" value="f" id="images_loaded_f" checked="checked">
824
+ <label for="images_loaded_f"><?php _e('False', 'ajax-load-more'); ?></label>
825
+ </li>
826
+ </ul>
827
+ </div>
828
+ </div>
829
+ </div>
830
+ </div>
831
+ <!-- End Images Loaded -->
832
+
833
+ <!-- Pause -->
834
+ <div class="row checkbox pause_load" id="alm-pause">
835
+ <h3 class="heading"><?php _e('Pause', 'ajax-load-more'); ?></h3>
836
+ <div class="expand-wrap">
837
+ <div class="section-title">
838
+ <p><?php _e('Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button.', 'ajax-load-more'); ?></p>
839
+ </div>
840
+ <div class="wrap">
841
+ <div class="inner">
842
+ <ul>
843
+ <li>
844
+ <input class="alm_element" type="radio" name="pause" value="t" id="pause_t">
845
+ <label for="pause_t"><?php _e('True', 'ajax-load-more'); ?></label>
846
+ </li>
847
+ <li>
848
+ <input class="alm_element" type="radio" name="pause" value="f" id="pause_f" checked>
849
+ <label for="pause_f"><?php _e('False', 'ajax-load-more'); ?></label>
850
+ </li>
851
+ </ul>
852
+ </div>
853
+ </div>
854
+ </div>
855
+ </div>
856
+ <!-- End Pause -->
857
+
858
+ <!-- Scrolling -->
859
+ <div class="row checkbox scroll_load" id="alm-scroll">
860
+ <h3 class="heading"><?php _e('Scrolling', 'ajax-load-more'); ?></h3>
861
+ <div class="expand-wrap">
862
+ <div class="section-title">
863
+ <h4><?php _e('Enable Scrolling', 'ajax-load-more'); ?></h4>
864
+ <p><?php _e('Load more posts as the user scrolls the page.', 'ajax-load-more'); ?></p>
865
+ </div>
866
+ <div class="wrap">
867
+ <div class="inner">
868
+ <ul>
869
+ <li>
870
+ <input class="alm_element" type="radio" name="scroll" value="t" id="scroll_t" checked>
871
+ <label for="scroll_t"><?php _e('True', 'ajax-load-more'); ?></label>
872
+ </li>
873
+ <li>
874
+ <input class="alm_element" type="radio" name="scroll" value="f" id="scroll_f">
875
+ <label for="scroll_f"><?php _e('False', 'ajax-load-more'); ?></label>
876
+ </li>
877
+ </ul>
878
+ </div>
879
+ </div>
880
+ <div class="clear"></div>
881
+ <div class="scroll_distance">
882
+ <div class="clear"></div>
883
+ <hr>
884
+ <div class="section-title">
885
+ <h4><?php _e('Scroll Distance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Distance is based on the position of the loading button from the bottom of the screen','ajax-load-more'); ?>"></a></h4>
886
+ <p><?php _e('The distance from the bottom of the screen to trigger loading of posts. (Default = 150)', 'ajax-load-more'); ?></p>
887
+ </div>
888
+ <div class="wrap">
889
+ <div class="inner">
890
+ <input type="number" class="alm_element numbers-only" name="scroll-distance" id="scroll-distance" step="10" min="0" value="150">
891
+ </div>
892
+ </div>
893
+ </div>
894
+ <div class="max_pages">
895
+ <div class="clear"></div>
896
+ <hr>
897
+ <div class="section-title">
898
+ <h4><?php _e('Maximum Pages', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If using an Infinite Scroll button style you should set this to 0','ajax-load-more'); ?>"></a></h4>
899
+ <p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
900
+ </div>
901
+ <div class="wrap">
902
+ <div class="inner">
903
+ <input type="number" class="alm_element numbers-only" name="max-select" id="max-select" step="1" min="0" value="0">
904
+ </div>
905
+ </div>
906
+ </div>
907
+ <div class="pause_override">
908
+ <div class="clear"></div>
909
+ <hr>
910
+ <div class="section-title">
911
+ <h4><?php _e('Pause Override', 'ajax-load-more'); ?></h4>
912
+ <p><?php _e('Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll.', 'ajax-load-more'); ?></p>
913
+ </div>
914
+ <div class="wrap">
915
+ <ul>
916
+ <li>
917
+ <input class="alm_element" type="radio" name="pause_override" value="t" id="pause_override_t">
918
+ <label for="pause_override_t"><?php _e('True', 'ajax-load-more'); ?></label>
919
+ </li>
920
+ <li>
921
+ <input class="alm_element" type="radio" name="pause_override" value="f" id="pause_override_f" checked="checked">
922
+ <label for="pause_override_f"><?php _e('False', 'ajax-load-more'); ?></label>
923
+ </li>
924
+ </ul>
925
+ </div>
926
+ </div>
927
+ </div>
928
+ </div>
929
+ <!-- End Scrolling -->
930
+
931
+ <!-- Transition -->
932
+ <div class="row input transition" id="alm-transition">
933
+ <h3 class="heading"><?php _e('Transition', 'ajax-load-more'); ?></h3>
934
+ <div class="expand-wrap">
935
+ <div class="section-title">
936
+ <h4><?php _e('Transition Type', 'ajax-load-more'); ?></h4>
937
+ <p><?php _e('Select a loading transition style.', 'ajax-load-more'); ?></p>
938
+ </div>
939
+ <div class="wrap">
940
+ <div class="inner">
941
+ <ul>
942
+ <li>
943
+ <input class="alm_element" type="radio" name="transition" value="slide" id="transition-slide" checked="checked">
944
+ <label for="transition-slide"><?php _e('Slide', 'ajax-load-more'); ?></label>
945
+ </li>
946
+ <li>
947
+ <input class="alm_element" type="radio" name="transition" value="fade" id="transition-fade">
948
+ <label for="transition-fade"><?php _e('Fade', 'ajax-load-more'); ?></label>
949
+ </li>
950
+ <li>
951
+ <input class="alm_element" type="radio" name="transition" value="none" id="transition-none">
952
+ <label for="transition-none"><?php _e('None', 'ajax-load-more'); ?></label>
953
+ </li>
954
+ </ul>
955
+ </div>
956
+ </div>
957
+
958
+ <div class="clear"></div>
959
+ <hr>
960
+
961
+ <div class="section-title">
962
+ <h4><?php _e('Transition Speed', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('0.5 seconds = 500, 1 second = 1000 etc.','ajax-load-more'); ?>"></a></h4>
963
+ <p><?php _e('The speed of the loading transition in milliseconds', 'ajax-load-more'); ?>.<br/></p>
964
+ </div>
965
+ <div class="wrap">
966
+ <div class="inner">
967
+ <input type="number" class="alm_element numbers-only" name="transition-speed" id="transition-speed" step="50" min="50" value="250">
968
+ </div>
969
+ </div>
970
+
971
+ <div class="clear"></div>
972
+ <hr>
973
+
974
+ <div class="section-title">
975
+ <h4><?php _e('Transition Container', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Removing the transition container may have undesired results and is not recommended.','ajax-load-more'); ?>"></a></h4>
976
+ <p><?php _e('Remove the Ajax Load More (.alm-reveal) loading container.', 'ajax-load-more'); ?></p>
977
+ </div>
978
+ <div class="wrap">
979
+ <div class="inner">
980
+ <ul>
981
+ <li style="width:100%;">
982
+ <input class="alm_element" type="checkbox" name="remove_container" id="remove_container" value="f">
983
+ <label for="remove_container">Remove Container</label>
984
+ </li>
985
+ </ul>
986
+ </div>
987
+ </div>
988
+ </div>
989
+ </div>
990
+ <!-- End Transition -->
991
+
992
+ <!-- Destroy After -->
993
+ <div class="row input destroy-after" id="alm-destroy-after">
994
+ <h3 class="heading"><?php _e('Destroy After', 'ajax-load-more'); ?></h3>
995
+ <div class="expand-wrap">
996
+ <div class="section-title">
997
+ <p><?php _e('Remove ajax load more functionality after \'<em>n</em>\' number of pages have been loaded.', 'ajax-load-more'); ?></p>
998
+ </div>
999
+ <div class="wrap">
1000
+ <div class="inner">
1001
+ <input type="number" class="alm_element numbers-only" name="destroy-after" id="disable-after" step="1" min="0" value="">
1002
+ </div>
1003
+ </div>
1004
+ </div>
1005
+ </div>
1006
+ <!-- End Destroy After -->
1007
+
1008
+ </div>
1009
+ <!-- End Display Settings -->
1010
+
1011
+ <!-- ****************************** -->
1012
+
1013
+ <!-- Query Parameters -->
1014
+ <div class="shortcode-parameter-wrap">
1015
+ <h2 class="shortcode-title"><?php _e('Query Parameters', 'ajax-load-more'); ?></h2>
1016
+
1017
+ <!-- Posts Per Page -->
1018
+ <div class="row input posts_per_page" id="alm-post-page">
1019
+ <h3 class="heading"><?php _e('Posts Per Page', 'ajax-load-more'); ?></h3>
1020
+ <div class="expand-wrap">
1021
+ <div class="section-title">
1022
+ <p><?php _e('Select the number of posts to load with each request.', 'ajax-load-more'); ?></p>
1023
+ </div>
1024
+ <div class="wrap">
1025
+ <div class="inner">
1026
+ <input type="number" class="alm_element numbers-only" name="display_posts-select" id="display_posts-select" step="1" min="1" value="5">
1027
+ </div>
1028
+ </div>
1029
+ </div>
1030
+ </div>
1031
+ <!-- End Posts Per Page -->
1032
+
1033
+ <!-- Post Types -->
1034
+ <?php
1035
+ $pt_args = array(
1036
+ 'public' => true
1037
+ );
1038
+ $types = get_post_types($pt_args);
1039
+ if($types){
1040
+ echo '<div class="row checkboxes post_types" id="alm-post-types">';
1041
+ echo '<h3 class="heading">'.__('Post Type', 'ajax-load-more'). '</h3>';
1042
+ echo '<div class="expand-wrap">';
1043
+ echo '<div class="section-title">';
1044
+ echo '<p>'.__('Select Post Types to query.', 'ajax-load-more'). '</p>';
1045
+ echo '</div>';
1046
+ echo '<div class="wrap"><div class="inner"><ul>';
1047
+ foreach( $types as $type ){
1048
+ $typeobj = get_post_type_object( $type );
1049
+ $name = $typeobj->name;
1050
+ if( $name != 'revision' && $name != 'nav_menu_item' && $name != 'acf'){
1051
+ echo '<li><input class="alm_element" type="checkbox" name="chk-'.$typeobj->name.'" id="chk-'.$typeobj->name.'" data-type="'.$typeobj->name.'"><label for="chk-'.$typeobj->name.'">'.$typeobj->labels->singular_name.'</label></li>';
1052
+ }
1053
+ }
1054
+ echo '</ul></div></div>';
1055
+ echo '</div>';
1056
+ echo '</div>';
1057
+ }
1058
+ ?>
1059
+ <!-- End Post Types -->
1060
+
1061
+
1062
+ <!-- Post Formats -->
1063
+ <?php
1064
+ if ( current_theme_supports( 'post-formats' ) ) {
1065
+ $post_formats = get_theme_support( 'post-formats' );
1066
+ if($post_formats){
1067
+ echo '<div class="row checkboxes post_format" id="alm-post-format">';
1068
+ echo '<h3 class="heading">'.__('Post Format', 'ajax-load-more'). '</h3>';
1069
+ echo '<div class="expand-wrap">';
1070
+ echo '<div class="section-title">';
1071
+ echo '<p>'.__('Select a <a href="http://codex.wordpress.org/Post_Formats" target="_blank">Post Format</a> to query.', 'ajax-load-more'). '</p>';
1072
+ echo '</div>';
1073
+ echo '<div class="wrap"><div class="inner"><select class="alm_element" name="post-format-select" id="post-format-select">';
1074
+ echo '<option value="" selected="selected">-- ' . __('Select Post Format', 'ajax-load-more') . ' --</option>';
1075
+ echo '<option name="chk-standard" id="chk-standard" value="standard">' . __('Standard', 'ajax-load-more') . '</option>';
1076
+ foreach( $post_formats[0] as $post_format ){
1077
+ echo '<option name="chk-'.$post_format.'" id="chk-'.$post_format.'" value="'.$post_format.'">'.ucwords($post_format).'</option>';
1078
+ }
1079
+ echo '</select></div></div>';
1080
+ echo '</div>';
1081
+ echo '</div>';
1082
+ }
1083
+ }
1084
+ ?>
1085
+ <!-- End Post Formats -->
1086
+
1087
+
1088
+ <!-- Categories -->
1089
+ <?php
1090
+ if($disable_dynamic_content){
1091
+ $cats = 'null';
1092
+ }else{
1093
+ $cats = get_categories();
1094
+ }
1095
+ if($cats){ ?>
1096
+ <div class="row checkboxes categories" id="alm-categories">
1097
+ <h3 class="heading"><?php _e('Category', 'ajax-load-more'); ?></h3>
1098
+ <div class="expand-wrap">
1099
+ <div class="section-title">
1100
+ <h4>Include</h4>
1101
+ <p><?php _e('A comma separated list of categories to include by slug. (design, research etc...)', 'ajax-load-more'); ?><br/>
1102
+ &raquo; <a href="admin.php?page=ajax-load-more-examples#example-category"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
1103
+ </div>
1104
+ <div class="wrap">
1105
+ <div class="inner">
1106
+ <?php
1107
+ if(!$disable_dynamic_content){
1108
+ echo '<select class="alm_element multiple" name="category-select" id="category-select" multiple="multiple">';
1109
+ foreach( $cats as $cat ){
1110
+ echo '<option name="chk-'.$cat->slug.'" id="chk-'.$cat->slug.'" value="'.$cat->slug.'">'.$cat->name.'</option>';
1111
+ }
1112
+ echo '</select>';
1113
+ }else{
1114
+ echo '<input type="text" class="alm_element" name="category-select" id="category-select" placeholder="design, development, science etc...">';
1115
+ }
1116
+ ?>
1117
+ </div>
1118
+ </div>
1119
+
1120
+ <div class="clear"></div>
1121
+ <hr/>
1122
+
1123
+ <div class="section-title">
1124
+ <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
1125
+ <p><?php _e('A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)', 'ajax-load-more'); ?></p>
1126
+ </div>
1127
+ <div class="wrap">
1128
+ <div class="inner">
1129
+ <?php
1130
+ if(!$disable_dynamic_content){
1131
+ echo '<select class="alm_element multiple" name="category-exclude-select" id="category-exclude-select" multiple="multiple">';
1132
+ foreach( $cats as $cat ){
1133
+ echo '<option name="chk-'.$cat->term_id.'" id="chk-'.$cat->term_id.'" value="'.$cat->term_id.'">'.$cat->name.'</option>';
1134
+ }
1135
+ echo '</select>';
1136
+ }else{
1137
+ echo '<input type="text" class="alm_element numbers-only" name="category-exclude-select" id="category-exclude-select" placeholder="10, 12, 19 etc...">';
1138
+ }
1139
+ ?>
1140
+ </div>
1141
+ <div class="clear"></div>
1142
+ </div>
1143
+ </div>
1144
+ </div>
1145
+ <!-- End Category -->
1146
+
1147
+ <?php }
1148
+
1149
+ // Tags
1150
+ if($disable_dynamic_content){
1151
+ $tags = 'null';
1152
+ }else{
1153
+ $tags = get_tags();
1154
+ }
1155
+ if($tags){ ?>
1156
+ <div class="row checkboxes tags" id="alm-tags">
1157
+ <h3 class="heading"><?php _e('Tag', 'ajax-load-more'); ?></h3>
1158
+ <div class="expand-wrap">
1159
  <div class="section-title">
1160
  <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
1161
+ <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-examples#example-tag"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
1162
  </div>
1163
  <div class="wrap">
1164
  <div class="inner">
1201
  </div>
1202
  </div>
1203
  <?php } ?>
1204
+ <!-- End Tags -->
1205
 
1206
  <?php
1207
  // Taxonomies
1227
  </div>
1228
  </div>
1229
  <?php }?>
1230
+ <!-- End Taxonomies -->
1231
 
1232
  <!-- Date -->
1233
  <div class="row input date" id="alm-date">
1234
  <h3 class="heading"><?php _e('Date', 'ajax-load-more'); ?></h3>
1235
  <div class="expand-wrap">
1236
  <div class="section-title">
1237
+ <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-examples#example-date">View Example</a>', 'ajax-load-more'); ?></p>
1238
  </div>
1239
  <div class="wrap">
1240
  <div class="inner">
1255
  </div>
1256
  </div>
1257
  </div>
1258
+ <!-- End Date -->
1259
 
1260
+ <!-- Meta_Query -->
1261
  <div class="row input meta-key" id="alm-meta-key">
1262
  <h3 class="heading"><?php _e('Custom Fields (Meta_Query)', 'ajax-load-more'); ?></h3>
1263
  <div class="expand-wrap">
1278
  <option value="AND" selected="selected">AND</option>
1279
  <option value="OR">OR</option>
1280
  </select>
1281
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1282
  </div>
1283
+ </div>
1284
+
1285
+ <div id="meta-query-extended">
1286
+
1287
+ </div>
1288
+
1289
+ <div class="controls">
1290
+ <button class="button button-primary" id="add-meta-query"><?php _e('Add Another', 'ajax-load-more'); ?></button>
1291
  </div>
1292
+
1293
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1294
  </div>
1295
+ </div>
1296
+ <!-- End Meta Query -->
1297
 
1298
+ <?php // List Authors
1299
+ if($disable_dynamic_content){
1300
+ $authors = 'null';
1301
+ }else{
1302
+ $authors = get_users();
1303
+ }
1304
+ if($authors){
1305
+ echo '<div class="row select authors" id="alm-authors">';
1306
+ echo '<h3 class="heading">' . __('Author', 'ajax-load-more') . '</h3>';
1307
+ echo '<div class="expand-wrap">';
1308
+ echo '<div class="section-title">';
1309
+ echo '<p>' . __('Select an Author to query(by ID).', 'ajax-load-more') . '<br/>&raquo; <a href="admin.php?page=ajax-load-more-examples#example-author">View Example</a></p>';
1310
+ echo '</div>';
1311
+ echo '<div class="wrap"><div class="inner">';
1312
+ if(!$disable_dynamic_content){
1313
+ echo '<select class="alm_element multiple" name="author-select" id="author-select" multiple="multiple">';
1314
+ foreach( $authors as $author ){
1315
+ echo '<option name="chk-'.$author->user_login.'" id="chk-'.$author->user_login.'" value="'.$author->ID.'">'.$author->display_name.'</option>';
1316
+ }
1317
+ echo '</select>';
1318
+ }else{
1319
+ echo '<input type="text" class="alm_element numbers-only" name="author-select" id="author-select" placeholder="1">';
1320
+ }
1321
+ echo '</div></div>';
1322
+ echo '</div>';
1323
+ echo '</div>';
1324
+ }
1325
+ ?>
1326
+ <!-- End Authors -->
1327
+
1328
+ <!-- Search -->
1329
+ <div class="row input search-term" id="alm-search">
1330
+ <h3 class="heading"><?php _e('Search Term', 'ajax-load-more'); ?></h3>
1331
  <div class="expand-wrap">
1332
  <div class="section-title">
1333
+ <p><?php _e('Enter a search term to query.', 'ajax-load-more'); ?></p>
 
1334
  </div>
1335
  <div class="wrap">
1336
+ <div class="inner">
1337
+ <input name="search-term" class="alm_element" type="text" id="search-term" value="" placeholder="<?php _e('Enter search term', 'ajax-load-more'); ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
1338
  </div>
1339
  </div>
1340
+ </div>
1341
+ </div>
1342
+ <!-- End Search -->
1343
+
1344
+ <!-- Post Parameters -->
1345
+ <div class="row input post-in" id="alm-post-in">
1346
+ <h3 class="heading"><?php _e('Post Parameters', 'ajax-load-more'); ?></h3>
1347
+ <div class="expand-wrap">
1348
  <div class="section-title">
1349
+ <h4><?php _e('Include', 'ajax-load-more'); ?></h4>
1350
+ <p><?php _e('A comma separated list of post ID\'s to query.', 'ajax-load-more'); ?></p>
1351
  </div>
1352
  <div class="wrap">
1353
+ <div class="inner">
1354
+ <input name="post__in" class="alm_element numbers-only" type="text" id="post__in" value="" placeholder="<?php _e('225, 340, 818, etc...', 'ajax-load-more'); ?>">
1355
  </div>
1356
+ </div>
 
1357
  <div class="clear"></div>
1358
+ <hr/>
 
1359
  <div class="section-title">
1360
+ <h4><?php _e('Exclude', 'ajax-load-more'); ?></h4>
1361
+ <p><?php _e('A comma separated list of post ID\'s to exclude from query.', 'ajax-load-more'); ?><br/>&raquo; <a href="admin.php?page=ajax-load-more-examples#example-exclude"><?php _e('View Example', 'ajax-load-more'); ?></a></p>
1362
  </div>
1363
  <div class="wrap">
1364
+ <div class="inner">
1365
+ <input class="alm_element numbers-only" name="exclude-posts" type="text" id="exclude-posts" value="" placeholder="199, 216, 345, etc...">
 
 
 
 
 
1366
  </div>
1367
  </div>
1368
+ <div class="clear"></div>
1369
+ <hr/>
 
 
 
 
 
1370
  <div class="section-title">
1371
+ <h4><?php _e('Post Status', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Post Status parameters are only available for logged in (admin) users. Non logged in users will only have access to view content in a \'publish\' or \'inherit\' state. ','ajax-load-more'); ?>"></a></h4>
1372
+ <p><?php _e('Select status of the post.', 'ajax-load-more'); ?></p>
 
1373
  </div>
1374
  <div class="wrap">
1375
+ <div class="inner">
1376
+ <select class="alm_element" name="post-status" id="post-status">
1377
+ <option value="publish" selected="selected"><?php _e('Published', 'ajax-load-more'); ?></option>
1378
+ <option value="any">Any</option>
1379
+ <option value="draft">Draft</option>
1380
+ <option value="future">Future</option>
1381
+ <option value="pending">Pending</option>
1382
+ <option value="private">Private</option>
1383
+ <option value="trash">Trash</option>
1384
+ <option value="inherit">Inherit</option>
1385
+ </select>
1386
  </div>
1387
  </div>
1388
  </div>
1389
  </div>
1390
+ <!-- End Post Parameters -->
1391
+
1392
+ <!-- Ordering -->
1393
+ <div class="row ordering" id="alm-order">
1394
+ <h3 class="heading"><?php _e('Ordering', 'ajax-load-more'); ?></h3>
1395
  <div class="expand-wrap">
1396
  <div class="section-title">
1397
+ <p><?php _e('Sort posts by Order and Orderby parameters.', 'ajax-load-more'); ?></p>
1398
  </div>
1399
  <div class="wrap">
1400
+ <div class="inner half">
1401
+ <label class="full"><?php _e('Order', 'ajax-load-more'); ?>:</label>
1402
+ <select class="alm_element" name="post-order" id="post-order">
1403
+ <option value="DESC" selected="selected">DESC (default)</option>
1404
+ <option value="ASC">ASC</option>
1405
+ </select>
1406
+ </div>
1407
+ <div class="inner half">
1408
+ <label class="full"><?php _e('Order By', 'ajax-load-more'); ?>:</label>
1409
+ <select class="alm_element" name="post-orderby" id="post-orderby">
1410
+ <option value="date" selected="selected">Date (default)</option>
1411
+ <option value="title">Title</option>
1412
+ <option value="name">Name (slug)</option>
1413
+ <option value="menu_order">Menu Order</option>
1414
+ <option value="author">Author</option>
1415
+ <option value="ID">ID</option>
1416
+ <option value="comment_count">Comment Count</option>
1417
+ <option value="modified">Modified</option>
1418
+ <option value="meta_value_num">meta_value_num</option>
1419
+ </select>
1420
  </div>
1421
  </div>
1422
  </div>
1423
+ </div>
1424
+ <!-- End Ordering -->
1425
+
1426
+ <!-- Offset -->
1427
+ <div class="row input offset" id="alm-offset">
1428
+ <h3 class="heading"><?php _e('Offset', 'ajax-load-more'); ?></h3>
1429
  <div class="expand-wrap">
 
1430
  <div class="section-title">
1431
+ <p><?php _e('Offset the initial query by <em>\'n\'</em> number of posts', 'ajax-load-more'); ?>.</p>
 
1432
  </div>
1433
  <div class="wrap">
1434
+ <div class="inner">
1435
+ <input type="number" class="alm_element numbers-only" name="offset-select" id="offset-select" value="0" step="1" min="0">
1436
  </div>
1437
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1438
  </div>
1439
  </div>
1440
+ <!-- End Offset -->
1441
+
1442
+ <!-- Custom Arguments -->
1443
+ <div class="row input custom-arguments" id="alm-custom-args">
1444
+ <h3 class="heading"><?php _e('Custom Arguments', 'ajax-load-more'); ?></h3>
1445
  <div class="expand-wrap">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1446
  <div class="section-title">
1447
+ <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>
 
1448
  </div>
1449
  <div class="wrap">
1450
  <div class="inner">
1451
+ <input name="custom-args" class="alm_element" type="text" id="custom-args" value="" placeholder="<?php _e('event_display:upcoming', 'ajax-load-more'); ?>">
1452
  </div>
1453
  </div>
 
1454
  </div>
1455
+ </div>
1456
+ <!-- End Custom Arguments -->
1457
+
1458
+ </div>
1459
+ <!-- End Query Parameters -->
1460
+
1461
 
1462
+ <div class="clear"></div>
 
admin/views/add-ons.php CHANGED
@@ -1,8 +1,10 @@
1
  <div class="admin ajax-load-more" id="alm-add-ons">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong></h1>
5
- <p><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more'); ?>.</p>
 
 
6
  </div>
7
  <div class="cnkt-main full">
8
 
1
  <div class="admin ajax-load-more" id="alm-add-ons">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more'); ?>.</em>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main full">
10
 
admin/views/examples.php CHANGED
@@ -1,8 +1,10 @@
1
  <div class="admin ajax-load-more" id="alm-examples">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Examples', 'ajax-load-more'); ?></strong></h1>
5
- <p><?php _e('A collection of everyday shortcode usages and implementation examples', 'ajax-load-more'); ?></p>
 
 
6
  </div>
7
  <div class="cnkt-main forceColors">
8
  <div class="group">
1
  <div class="admin ajax-load-more" id="alm-examples">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Examples', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('A collection of everyday shortcode usages and implementation examples', 'ajax-load-more'); ?></em>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main forceColors">
10
  <div class="group">
admin/views/help.php CHANGED
@@ -1,8 +1,10 @@
1
  <div class="admin ajax-load-more" id="alm-help">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Help', 'ajax-load-more'); ?></strong></h1>
5
- <p><?php _e('Get started with our four step guide to painless implementation!', 'ajax-load-more'); ?></p>
 
 
6
  </div>
7
  <div class="cnkt-main forceColors">
8
  <div class="group">
1
  <div class="admin ajax-load-more" id="alm-help">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Help', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('Get started with our four step guide to painless implementation!', 'ajax-load-more'); ?></em>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main forceColors">
10
  <div class="group">
admin/views/licenses.php CHANGED
@@ -1,8 +1,10 @@
1
  <div class="admin ajax-load-more" id="alm-licenses">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Licenses', 'ajax-load-more'); ?></strong></h1>
5
- <p><?php _e('Enter your license keys to enable automatic updates for <a href="admin.php?page=ajax-load-more-add-ons">ALM Add-ons</a>.', 'ajax-load-more'); ?></p>
 
 
6
  </div>
7
  <div class="cnkt-main">
8
  <div class="group">
@@ -26,7 +28,7 @@
26
 
27
  <?php
28
  // Check if any add ons are installed.
29
- if(has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) : ?>
30
 
31
 
32
  <?php
@@ -769,21 +771,22 @@
769
  </div>
770
 
771
  <div class="cnkt-sidebar">
772
- <div class="cta">
773
  <h3><?php _e('About Licenses', 'ajax-load-more'); ?></h3>
774
  <div class="cta-wrap">
775
  <ul>
776
- <li><?php _e('Add-on licenses will enable updates directly in your WP dashboard.', 'ajax-load-more');?></li>
777
- <li><?php _e('License keys are found in the purchase receipt email that was sent immediately after your successful purchase.', 'ajax-load-more');?></li>
778
- <li><?php _e('If you cannot locate your key please use the <a href="https://connekthq.com/contact/">contact form</a> on our website and reference the email address used when you completed the purchase.', 'ajax-load-more'); ?></li>
779
  </ul>
780
  </div>
 
781
  </div>
782
  <div class="cta">
783
  <h3><?php _e('Legacy Users', 'ajax-load-more'); ?></h3>
784
  <div class="cta-wrap">
785
  <ul>
786
- <li>If you have made a purchase prior to <u>July 6, 2015</u> you will require a license after updating your add-ons. Please <a href="https://connekthq.com/contact/">email us</a> with a reference to the email address used when you completed the add-on purchase and we will send your license key.</li>
787
  </ul>
788
  </div>
789
  </div>
1
  <div class="admin ajax-load-more" id="alm-licenses">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Licenses', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('Enter your license keys to enable automatic updates for <a href="admin.php?page=ajax-load-more-add-ons">ALM Add-ons</a>.', 'ajax-load-more'); ?></em>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main">
10
  <div class="group">
28
 
29
  <?php
30
  // Check if any add ons are installed.
31
+ if(alm_has_addon()) : ?>
32
 
33
 
34
  <?php
771
  </div>
772
 
773
  <div class="cnkt-sidebar">
774
+ <div class="cta padding-bottom">
775
  <h3><?php _e('About Licenses', 'ajax-load-more'); ?></h3>
776
  <div class="cta-wrap">
777
  <ul>
778
+ <li><?php _e('Add-on licenses will enable updates directly in your WP dashboard.', 'ajax-load-more');?></li>
779
+ <li><?php _e('License keys are found in the purchase receipt email that was sent immediately after your successful purchase and in the <a target="_blank" href="https://connekthq.com/account/">Account</a> section on our website', 'ajax-load-more');?></li>
780
+ <li><?php _e('If you cannot locate your key please open a support ticket by filling out the <a href="https://connekthq.com/contact/">form</a> on our website and reference the email address used when you completed the purchase.', 'ajax-load-more'); ?></li>
781
  </ul>
782
  </div>
783
+ <a class="visit" target="_blank" href="https://connekthq.com/account/"><i class="fa fa-chevron-circle-right"></i> Sign Into Your Account</a>
784
  </div>
785
  <div class="cta">
786
  <h3><?php _e('Legacy Users', 'ajax-load-more'); ?></h3>
787
  <div class="cta-wrap">
788
  <ul>
789
+ <li>If you have made a purchase prior to <u>July 6, 2015</u> you will require a license after updating your add-ons. Please <a href="https://connekthq.com/plugins/ajax-load-more/support/#contact-form" target="_blank">email us</a> with a reference to the email address used when you completed the add-on purchase and we will send your license key.</li>
790
  </ul>
791
  </div>
792
  </div>
admin/views/repeater-templates.php CHANGED
@@ -1,8 +1,10 @@
1
  <div class="admin ajax-load-more" id="alm-repeaters">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong></h1>
5
- <p><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></p>
 
 
6
  </div>
7
  <div class="cnkt-main form-table repeaters">
8
  <!-- Repeaters -->
@@ -19,10 +21,9 @@
19
  <?php } ?>
20
 
21
  <!-- Default Template -->
22
- <div class="row template default-repeater">
23
 
24
- <?php
25
-
26
  // Check for local repeater template
27
  $local_template = false;
28
  $readOnly = 'false';
@@ -86,10 +87,12 @@
86
  </div>
87
 
88
  <!-- End Default Template -->
89
-
 
90
  <?php
91
- // Custom Repeaters v2 - /cta/extend.php
92
- if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters')){ // If Custom Repeaters is NOT installed
 
93
  echo '<div class="row no-brd">';
94
  include( ALM_PATH . 'admin/includes/cta/extend.php');
95
  echo '</div>';
@@ -266,28 +269,33 @@
266
  </script>
267
 
268
  </div>
269
- <!-- End Repeaters -->
 
270
  </div>
271
 
272
  <div class="cnkt-sidebar">
273
- <div class="cta">
274
- <h3><?php _e('Templating Help', 'ajax-load-more'); ?></h3>
275
- <div class="item">
276
- <p><strong><?php _e('What is a repeater template?', 'ajax-load-more'); ?></strong></p>
277
- <p><?php _e('A repeater template is a snippet of code that will execute over and over within a <a href="http://codex.wordpress.org/The_Loop" target="_blank">WordPress loop</a>.</p>', 'ajax-load-more'); ?></p>
278
- </div>
279
- <div class="item">
280
- <p><strong><?php _e('Can I include PHP in the repeater template?', 'ajax-load-more'); ?></strong></p>
281
- <p><?php _e('Yes, PHP and core WordPress functions such as, <code>the_title()</code> and <code>the_permalink()</code> are required.</p>', 'ajax-load-more'); ?></p>
282
- </div>
283
- <div class="item">
284
- <p><strong><?php _e('Tips and Tricks', 'ajax-load-more'); ?></strong></p>
285
- <ul>
286
- <li><?php _e('Always open and close your templates with an HTML element. In some rare cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;li> &lt;/li></code> or <code>&lt;div> &lt;/div></code>', 'ajax-load-more'); ?><br/> </li>
287
- </ul>
288
- </div>
289
- </div>
290
- <?php include_once( ALM_PATH . 'admin/includes/cta/writeable.php'); ?>
 
 
 
 
291
  </div>
292
 
293
  </div>
1
  <div class="admin ajax-load-more" id="alm-repeaters">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Repeater Templates', 'ajax-load-more'); ?></strong>
6
+ <em><?php _e('The library of editable templates for use within your theme', 'ajax-load-more'); ?></em>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main form-table repeaters">
10
  <!-- Repeaters -->
21
  <?php } ?>
22
 
23
  <!-- Default Template -->
24
+ <div class="row template default-repeater" id="default-template">
25
 
26
+ <?php
 
27
  // Check for local repeater template
28
  $local_template = false;
29
  $readOnly = 'false';
87
  </div>
88
 
89
  <!-- End Default Template -->
90
+
91
+ <!-- Custom Repeaters -->
92
  <?php
93
+
94
+ if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters')){
95
+ // If Custom Repeaters & Theme Repeaters is NOT installed
96
  echo '<div class="row no-brd">';
97
  include( ALM_PATH . 'admin/includes/cta/extend.php');
98
  echo '</div>';
269
  </script>
270
 
271
  </div>
272
+ <!-- End Repeaters -->
273
+
274
  </div>
275
 
276
  <div class="cnkt-sidebar">
277
+ <?php if (has_action('alm_unlimited_repeaters')){
278
+ // Add TOC if users has Custom Repeaters
279
+ ?>
280
+ <div class="table-of-contents repeaters-toc">
281
+ <div class="cta">
282
+ <select class="toc"></select>
283
+ </div>
284
+ <?php } ?>
285
+ <div class="cta padding-bottom">
286
+ <h3><?php _e('Repeater Template Help', 'ajax-load-more'); ?></h3>
287
+ <div class="item">
288
+ <p><strong><?php _e('What is a repeater template?', 'ajax-load-more'); ?></strong></p>
289
+ <p><?php _e('A <a href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank">repeater template</a> is a snippet of code that will execute over and over within a <a href="http://codex.wordpress.org/The_Loop" target="_blank">WordPress loop</a>.</p>', 'ajax-load-more'); ?></p>
290
+ </div>
291
+ <a class="visit" href="https://connekthq.com/plugins/ajax-load-more/docs/repeater-templates/" target="_blank"><i class="fa fa-chevron-circle-right"></i> <?php _e('More About Templating', 'ajax-load-more'); ?></a>
292
+ </div>
293
+ <?php include_once( ALM_PATH . 'admin/includes/cta/writeable.php'); ?>
294
+
295
+ <?php if (has_action('alm_unlimited_repeaters')){ ?>
296
+ </div>
297
+ <?php } ?>
298
+
299
  </div>
300
 
301
  </div>
admin/views/settings.php CHANGED
@@ -1,8 +1,9 @@
1
  <div class="admin ajax-load-more settings" id="alm-settings">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?> <span><?php echo ALM_VERSION; ?></span></h1>
5
- <p><?php _e('A powerful plugin to add infinite scroll functionality to your website.', 'ajax-load-more'); ?></p>
 
6
  </div>
7
  <?php if( isset($_GET['settings-updated']) ) { ?>
8
  <div id="message" class="updated inline">
@@ -11,15 +12,15 @@
11
  <?php } ?>
12
  <div class="cnkt-main">
13
 
14
- <?php
15
- $alm_dismiss_sharing = get_transient( 'alm_dismiss_sharing');
16
- if(!isset($alm_dismiss_sharing)){
17
  // If transient has not been set - display this notice.
18
  ?>
19
  <div class="group share-alm">
20
  <div class="dotted">
21
  <h2 style="padding: 0; margin: 0 0 10px;"><?php _e('A small favor to ask', 'ajax-load-more'); ?>...</h2>
22
- <p style="padding: 0 0 15px; margin: 0 0 20px; border-bottom: 1px dashed #ccc;">
23
  <?php _e('If you\'re an Ajax Load More user, please consider helping <a href="https://twitter.com/KaptonKaos" target="_blank">me</a> spread the word by sharing with your networks and/or leaving a review on <a href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more" target="_blank">wordpress.org</a> forums.', 'ajax-load-more'); ?></p>
24
  <div class="one_half sharing">
25
  <?php include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
1
  <div class="admin ajax-load-more settings" id="alm-settings">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1><?php echo ALM_TITLE; ?> <span><?php echo ALM_VERSION; ?></span>
5
+ <em><?php _e('A powerful plugin to add infinite scroll functionality to your website.', 'ajax-load-more'); ?></em>
6
+ </h1>
7
  </div>
8
  <?php if( isset($_GET['settings-updated']) ) { ?>
9
  <div id="message" class="updated inline">
12
  <?php } ?>
13
  <div class="cnkt-main">
14
 
15
+ <?php
16
+ $alm_dismiss_sharing = get_transient( 'alm_dismiss_sharing');
17
+ if(!isset($alm_dismiss_sharing) || empty($alm_dismiss_sharing)){
18
  // If transient has not been set - display this notice.
19
  ?>
20
  <div class="group share-alm">
21
  <div class="dotted">
22
  <h2 style="padding: 0; margin: 0 0 10px;"><?php _e('A small favor to ask', 'ajax-load-more'); ?>...</h2>
23
+ <p style="padding: 0 0 15px; margin: 0 0 20px; border-bottom: 1px dashed #ccc; font-size: 14px;">
24
  <?php _e('If you\'re an Ajax Load More user, please consider helping <a href="https://twitter.com/KaptonKaos" target="_blank">me</a> spread the word by sharing with your networks and/or leaving a review on <a href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more" target="_blank">wordpress.org</a> forums.', 'ajax-load-more'); ?></p>
25
  <div class="one_half sharing">
26
  <?php include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
admin/views/shortcode-builder.php CHANGED
@@ -1,18 +1,16 @@
1
  <div class="admin ajax-load-more shortcode-builder" id="alm-builder">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
- <h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Shortcode Builder', 'ajax-load-more'); ?></strong></h1>
5
- <p><?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'); ?></p>
 
 
6
  </div>
7
  <div class="cnkt-main">
8
- <div class="group">
9
  <form id="alm-shortcode-builder-form">
10
  <?php include_once( ALM_PATH . 'admin/shortcode-builder/shortcode-builder.php'); ?>
11
  </form>
12
- <div class="row no-brd">
13
- <p class="back2top"><a href="#wpcontent"><i class="fa fa-chevron-up"></i> <?php _e('Back to Top', 'ajax-load-more'); ?></a></p>
14
- </div>
15
- </div>
16
  </div>
17
  <div class="cnkt-sidebar">
18
  <div class="table-of-contents">
@@ -26,7 +24,7 @@
26
  <div id="shortcode_output"></div>
27
  <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
28
  </div>
29
- <p class="small reset-shortcode-builder"><a href="javascript:void(0);" title="<?php _e('Clear all Shortcode Builder settings', 'ajax-load-more'); ?>"><i class="fa fa-refresh"></i> Reset Shortcode Builder</a></p>
30
  </div>
31
  </div>
32
  </div>
1
  <div class="admin ajax-load-more shortcode-builder" id="alm-builder">
2
  <div class="wrap">
3
  <div class="header-wrap">
4
+ <h1>
5
+ <?php echo ALM_TITLE; ?>: <strong><?php _e('Shortcode Builder', 'ajax-load-more'); ?></strong>
6
+ <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>
7
+ </h1>
8
  </div>
9
  <div class="cnkt-main">
 
10
  <form id="alm-shortcode-builder-form">
11
  <?php include_once( ALM_PATH . 'admin/shortcode-builder/shortcode-builder.php'); ?>
12
  </form>
13
+ <p class="back2top"><a href="#wpcontent" class="group"><i class="fa fa-angle-up"></i> <?php _e('Back to Top', 'ajax-load-more'); ?></a></p>
 
 
 
14
  </div>
15
  <div class="cnkt-sidebar">
16
  <div class="table-of-contents">
24
  <div id="shortcode_output"></div>
25
  <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
26
  </div>
27
+ <p class="small reset-shortcode-builder"><a href="javascript:void(0);"><i class="fa fa-refresh"></i> <?php _e('Reset Shortcode Builder', 'ajax-load-more'); ?></a></p>
28
  </div>
29
  </div>
30
  </div>
ajax-load-more.php CHANGED
@@ -7,14 +7,15 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
- Version: 2.12.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
 
13
  */
14
 
15
 
16
- define('ALM_VERSION', '2.12.0');
17
- define('ALM_RELEASE', 'September 5, 2016');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
 
@@ -315,6 +316,7 @@ if( !class_exists('AjaxLoadMore') ):
315
  }
316
  }
317
 
 
318
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
319
  $canonical_url = (isset($_GET['canonical_url'])) ? $_GET['canonical_url'] : $_SERVER['HTTP_REFERER'];
320
 
@@ -362,18 +364,8 @@ if( !class_exists('AjaxLoadMore') ):
362
  $s = (isset($_GET['search'])) ? $_GET['search'] : '';
363
  $custom_args = (isset($_GET['custom_args'])) ? $_GET['custom_args'] : '';
364
 
365
- // Author
366
- $author = (isset($_GET['author'])) ? $_GET['author'] : '';
367
- if(!is_numeric($author) && $author !== '') {
368
- $author = get_user_by('slug', $author); // Allow access to authors via slug
369
- if($author){
370
- $author_id = (isset($author)) ? $author->ID : '';
371
- }else{
372
- $author_id = '';
373
- }
374
- } else {
375
- $author_id = $author;
376
- }
377
 
378
  // Ordering
379
  $order = (isset($_GET['order'])) ? $_GET['order'] : 'DESC';
@@ -475,34 +467,16 @@ if( !class_exists('AjaxLoadMore') ):
475
 
476
  }else{
477
 
478
- // Taxonomy and possibly Post Formats
479
-
480
- if($tax_query_total === 1){
481
- $args['tax_query'] = array(
482
- 'relation' => $taxonomy_relation,
483
- alm_get_post_format($post_format),
484
- alm_get_taxonomy_query($taxonomy[0], $taxonomy_terms[0], $taxonomy_operator[0]),
485
- );
486
- }
487
-
488
- if($tax_query_total === 2){
489
- $args['tax_query'] = array(
490
- 'relation' => $taxonomy_relation,
491
- alm_get_post_format($post_format),
492
- alm_get_taxonomy_query($taxonomy[0], $taxonomy_terms[0], $taxonomy_operator[0]),
493
- alm_get_taxonomy_query($taxonomy[1], $taxonomy_terms[1], $taxonomy_operator[1]),
494
- );
495
- }
496
-
497
- if($tax_query_total === 3){
498
- $args['tax_query'] = array(
499
- 'relation' => $taxonomy_relation,
500
- alm_get_post_format($post_format),
501
- alm_get_taxonomy_query($taxonomy[0], $taxonomy_terms[0], $taxonomy_operator[0]),
502
- alm_get_taxonomy_query($taxonomy[1], $taxonomy_terms[1], $taxonomy_operator[1]),
503
- alm_get_taxonomy_query($taxonomy[2], $taxonomy_terms[2], $taxonomy_operator[2]),
504
- );
505
- }
506
  }
507
 
508
  }
@@ -591,8 +565,8 @@ if( !class_exists('AjaxLoadMore') ):
591
  }
592
 
593
  // Author
594
- if(!empty($author_id)){
595
- $args['author'] = $author_id;
596
  }
597
 
598
  // Include posts
@@ -666,7 +640,18 @@ if( !class_exists('AjaxLoadMore') ):
666
  *
667
  * @return $args;
668
  */
669
- $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
 
 
 
 
 
 
 
 
 
 
 
670
 
671
 
672
  /*
@@ -738,7 +723,7 @@ if( !class_exists('AjaxLoadMore') ):
738
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){ // Theme Repeater
739
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
740
  }else{
741
- include(alm_get_current_repeater( $repeater, $type )); //Include repeater template
742
  }
743
  // End Repeater Template
744
 
@@ -761,12 +746,15 @@ if( !class_exists('AjaxLoadMore') ):
761
  if(!empty($cache_id) && has_action('alm_cache_installed') && $seo_start_page <= 1){
762
  apply_filters('alm_cache_file', $cache_id, $page, $data);
763
  }
 
 
764
 
765
- $return = array(
766
  'html' => $data,
767
- 'meta' => array(
768
- 'postcount' => $alm_post_count,
769
- 'totalposts' => $alm_found_posts
 
770
  )
771
  );
772
  wp_send_json($return);
@@ -775,9 +763,10 @@ if( !class_exists('AjaxLoadMore') ):
775
 
776
  $return = array(
777
  'html' => null,
778
- 'meta' => array(
779
- 'postcount' => null,
780
- 'totalposts' => null
 
781
  )
782
  );
783
  wp_send_json($return);
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
+ Version: 2.13.0
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
+
14
  */
15
 
16
 
17
+ define('ALM_VERSION', '2.13.0');
18
+ define('ALM_RELEASE', 'November 6, 2016');
19
  define('ALM_STORE_URL', 'https://connekthq.com');
20
 
21
 
316
  }
317
  }
318
 
319
+ $id = (isset($_GET['id'])) ? $_GET['id'] : '';
320
  $slug = (isset($_GET['slug'])) ? $_GET['slug'] : '';
321
  $canonical_url = (isset($_GET['canonical_url'])) ? $_GET['canonical_url'] : $_SERVER['HTTP_REFERER'];
322
 
364
  $s = (isset($_GET['search'])) ? $_GET['search'] : '';
365
  $custom_args = (isset($_GET['custom_args'])) ? $_GET['custom_args'] : '';
366
 
367
+ // Author
368
+ $author = (isset($_GET['author'])) ? $_GET['author'] : '';
 
 
 
 
 
 
 
 
 
 
369
 
370
  // Ordering
371
  $order = (isset($_GET['order'])) ? $_GET['order'] : 'DESC';
467
 
468
  }else{
469
 
470
+ // Post Formats
471
+ $args['tax_query'] = array(
472
+ 'relation' => $taxonomy_relation,
473
+ alm_get_post_format( $post_format )
474
+ );
475
+
476
+ // Loop Taxonomies
477
+ for($tax_i = 0; $tax_i < $tax_query_total; $tax_i++){
478
+ $args['tax_query'][] = alm_get_taxonomy_query($taxonomy[$tax_i], $taxonomy_terms[$tax_i], $taxonomy_operator[$tax_i]);
479
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
480
  }
481
 
482
  }
565
  }
566
 
567
  // Author
568
+ if(!empty($author)){
569
+ $args['author'] = $author;
570
  }
571
 
572
  // Include posts
640
  *
641
  * @return $args;
642
  */
643
+ $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
644
+
645
+
646
+
647
+ /*
648
+ * alm_query_args_[id]
649
+ *
650
+ * ALM Core Filter Hook
651
+ *
652
+ * @return $args;
653
+ */
654
+ $args = apply_filters('alm_query_args_'.$id, $args); // ALM Core Filter Hook
655
 
656
 
657
  /*
723
  if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){ // Theme Repeater
724
  do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
725
  }else{
726
+ include(alm_get_current_repeater( $repeater, $type )); // Repeater
727
  }
728
  // End Repeater Template
729
 
746
  if(!empty($cache_id) && has_action('alm_cache_installed') && $seo_start_page <= 1){
747
  apply_filters('alm_cache_file', $cache_id, $page, $data);
748
  }
749
+
750
+ $debug = (apply_filters('alm_debug')) ? $alm_query : false;
751
 
752
+ $return = array(
753
  'html' => $data,
754
+ 'meta' => array(
755
+ 'postcount' => $alm_post_count,
756
+ 'totalposts' => $alm_found_posts,
757
+ 'debug' => $debug
758
  )
759
  );
760
  wp_send_json($return);
763
 
764
  $return = array(
765
  'html' => null,
766
+ 'meta' => array(
767
+ 'postcount' => null,
768
+ 'totalposts' => null,
769
+ 'debug' => null
770
  )
771
  );
772
  wp_send_json($return);
core/classes/class.alm-shortcode.php CHANGED
@@ -35,15 +35,7 @@ if( !class_exists('ALM_SHORTCODE') ):
35
  self::$counter++;
36
 
37
  // Define page slug
38
- $slug = '';
39
- if(!is_archive()){
40
- // If not an archive page, set the post slug
41
- if(is_front_page() || is_home()){
42
- $slug = 'home';
43
- }else{
44
- $slug = $post->post_name;
45
- }
46
- }
47
 
48
  // Custom CSS for Layouts - Only run this once.
49
  if(has_action('alm_layouts_custom_css')){
@@ -125,9 +117,10 @@ if( !class_exists('ALM_SHORTCODE') ):
125
  'button_loading_label' => '',
126
  'container_type' => '',
127
  'css_classes' => '',
 
128
  'primary' => false
129
- ), $atts));
130
-
131
 
132
  // Enqueue core Ajax Load More JS
133
  wp_enqueue_script( 'ajax-load-more' );
@@ -249,11 +242,19 @@ if( !class_exists('ALM_SHORTCODE') ):
249
  $canonicalURL = alm_get_canonical_url(); // Build canonical URL
250
 
251
  // ALM Wrapper
252
- $id = 'ajax-load-more';
253
  if(self::$counter > 1){
254
- $id = 'ajax-load-more-'.self::$counter; // Update ID to include counter value
 
 
 
 
 
 
 
255
  }
256
- $ajaxloadmore .= '<div id="'. $id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" data-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'">';
 
257
 
258
 
259
  // Previous Post Add-on
@@ -355,8 +356,39 @@ if( !class_exists('ALM_SHORTCODE') ):
355
  $type = alm_get_repeater_type($repeater);
356
 
357
  if(!$comments){
358
- $args = apply_filters('alm_preload_args', $preloaded_arr); // Create preloaded $args
359
- $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
 
361
  $alm_preload_query = new WP_Query($args);
362
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
35
  self::$counter++;
36
 
37
  // Define page slug
38
+ $slug = alm_get_page_slug($post);
 
 
 
 
 
 
 
 
39
 
40
  // Custom CSS for Layouts - Only run this once.
41
  if(has_action('alm_layouts_custom_css')){
117
  'button_loading_label' => '',
118
  'container_type' => '',
119
  'css_classes' => '',
120
+ 'id' => '',
121
  'primary' => false
122
+ ), $atts));
123
+
124
 
125
  // Enqueue core Ajax Load More JS
126
  wp_enqueue_script( 'ajax-load-more' );
242
  $canonicalURL = alm_get_canonical_url(); // Build canonical URL
243
 
244
  // ALM Wrapper
245
+ $div_id = 'ajax-load-more';
246
  if(self::$counter > 1){
247
+ $div_id = 'ajax-load-more-'.self::$counter; // Update ID to include counter value
248
+ }
249
+
250
+ // Unique ID
251
+ if(!empty($id)){
252
+ $the_id = 'data-id="'.$id.'"';
253
+ }else{
254
+ $the_id = '';
255
  }
256
+
257
+ $ajaxloadmore .= '<div id="'. $div_id .'" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" '.$the_id.' data-alm-id="" data-canonical-url="'. $canonicalURL .'" data-slug="'. $slug .'">';
258
 
259
 
260
  // Previous Post Add-on
356
  $type = alm_get_repeater_type($repeater);
357
 
358
  if(!$comments){
359
+
360
+
361
+ /*
362
+ * alm_preload_args
363
+ *
364
+ * ALM Preloaded Filter Hook
365
+ *
366
+ * @return $args;
367
+ */
368
+ $args = apply_filters('alm_preload_args', $preloaded_arr); // Create preloaded $args
369
+
370
+
371
+
372
+ /*
373
+ * alm_modify_query_args
374
+ *
375
+ * ALM Core Filter Hook
376
+ *
377
+ * @return $args;
378
+ */
379
+ $args = apply_filters('alm_modify_query_args', $args, $slug);
380
+
381
+
382
+
383
+ /*
384
+ * alm_query_args_[id]
385
+ *
386
+ * ALM Core Filter Hook
387
+ *
388
+ * @return $args;
389
+ */
390
+ $args = apply_filters('alm_query_args_'.$id, $args); // ALM Core Filter Hook
391
+
392
 
393
  $alm_preload_query = new WP_Query($args);
394
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
core/functions.php CHANGED
@@ -438,6 +438,71 @@ function alm_get_canonical_url(){
438
 
439
 
440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
441
  /*
442
  * alm_paging_no_script
443
  * Create paging navigation
438
 
439
 
440
 
441
+ /*
442
+ * alm_get_page_slug
443
+ * Get current page slug
444
+ *
445
+ * @return slug;
446
+ * @since 2.13.0
447
+ */
448
+ function alm_get_page_slug($post){
449
+
450
+ if(!is_archive()){
451
+ // If not an archive page, set the post slug
452
+ if(is_front_page() || is_home()){
453
+ $slug = 'home';
454
+ }else{
455
+ $slug = $post->post_name;
456
+ }
457
+ }else{
458
+ // Tax
459
+ if(is_tax()){
460
+ $queried_object = get_queried_object();
461
+ $slug = $queried_object->slug;
462
+ }
463
+ // Category
464
+ elseif(is_category()){
465
+ $cat = get_query_var('cat');
466
+ $category = get_category($cat);
467
+ $slug = $category->slug;
468
+ }
469
+ // Tag
470
+ elseif(is_tag()){
471
+ $slug = get_query_var('tag');
472
+ }
473
+ // Author
474
+ elseif(is_author()){
475
+ $slug = get_the_author_meta('ID');
476
+ }
477
+ // Post Tupe Archive
478
+ elseif(is_post_type_archive()){
479
+ $slug = get_post_type();
480
+ }
481
+ elseif(is_date()){
482
+ // Is archive page
483
+ $archive_year = get_the_date('Y');
484
+ $archive_month = get_the_date('m');
485
+ $archive_day = get_the_date('d');
486
+ if(is_year()){
487
+ $slug = $archive_year;
488
+ }
489
+ if(is_month()){
490
+ $slug = $archive_year.'-'.$archive_month;
491
+ }
492
+ if(is_day()){
493
+ $slug = $archive_year.'-'.$archive_month.'-'.$archive_day;
494
+ }
495
+ }
496
+ else{
497
+ $slug = '';
498
+ }
499
+ }
500
+
501
+ return $slug;
502
+ }
503
+
504
+
505
+
506
  /*
507
  * alm_paging_no_script
508
  * Create paging navigation
core/js/ajax-load-more.js CHANGED
@@ -36,7 +36,7 @@
36
  alm.data;
37
  alm.el = el;
38
  alm.container = el;
39
- alm.container.addClass('alm-'+e).attr('data-id', e); // Add unique classname and data id
40
  alm.content = $('.alm-ajax', alm.container);
41
  alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
42
  alm.canonical_url = alm.el.attr('data-canonical-url');
@@ -269,7 +269,7 @@
269
 
270
  /* Max number of pages to load while scrolling */
271
  if (alm.max_pages === undefined){
272
- alm.max_pages = 5;
273
  }
274
  if (alm.max_pages === 0){
275
  alm.max_pages = 10000;
@@ -496,7 +496,8 @@
496
  lang : alm.lang,
497
  preloaded : alm.preloaded,
498
  preloaded_amount : alm.preloaded_amount,
499
- seo_start_page : alm.start_page
 
500
  };
501
 
502
  $.ajax({
@@ -592,7 +593,8 @@
592
  previous_post_taxonomy: alm.previous_post_taxonomy,
593
  lang : alm.lang,
594
  slug : alm.slug,
595
- canonical_url : alm.canonical_url
 
596
  },
597
 
598
  beforeSend: function () {
@@ -1113,6 +1115,11 @@
1113
 
1114
 
1115
 
 
 
 
 
 
1116
  if(alm.paging){
1117
  alm.window.resize(function() {
1118
  if ($.isFunction($.fn.almOnWindowResize)){
@@ -1175,23 +1182,27 @@
1175
  * Load posts as user scrolls the page
1176
  * @since 2.0
1177
  */
1178
- if(!alm.paging && !alm.previous_post){
1179
- if(alm.disable_ajax){
1180
- alm.finished = true;
1181
- alm.button.addClass('done');
1182
- }else{
1183
- if (alm.pause === 'true') {
1184
- alm.button.text(alm.button_label);
1185
- alm.loading = false;
1186
- } else {
1187
- alm.AjaxLoadMore.loadPosts();
1188
- }
1189
- }
1190
- }
1191
- if(alm.previous_post){
1192
- alm.AjaxLoadMore.getPreviousPost(); // Set next post on load
1193
- alm.loading = false;
 
 
 
1194
  }
 
1195
 
1196
 
1197
 
36
  alm.data;
37
  alm.el = el;
38
  alm.container = el;
39
+ alm.container.addClass('alm-'+e).attr('data-alm-id', e); // Add unique classname and data id
40
  alm.content = $('.alm-ajax', alm.container);
41
  alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
42
  alm.canonical_url = alm.el.attr('data-canonical-url');
269
 
270
  /* Max number of pages to load while scrolling */
271
  if (alm.max_pages === undefined){
272
+ alm.max_pages = 0;
273
  }
274
  if (alm.max_pages === 0){
275
  alm.max_pages = 10000;
496
  lang : alm.lang,
497
  preloaded : alm.preloaded,
498
  preloaded_amount : alm.preloaded_amount,
499
+ seo_start_page : alm.start_page,
500
+ id : el.attr('data-id')
501
  };
502
 
503
  $.ajax({
593
  previous_post_taxonomy: alm.previous_post_taxonomy,
594
  lang : alm.lang,
595
  slug : alm.slug,
596
+ canonical_url : alm.canonical_url,
597
+ id : el.attr('data-id')
598
  },
599
 
600
  beforeSend: function () {
1115
 
1116
 
1117
 
1118
+ /* Window Resize
1119
+ *
1120
+ * Add resize function for Paging add-on only.
1121
+ * @since 2.1.2
1122
+ */
1123
  if(alm.paging){
1124
  alm.window.resize(function() {
1125
  if ($.isFunction($.fn.almOnWindowResize)){
1182
  * Load posts as user scrolls the page
1183
  * @since 2.0
1184
  */
1185
+ alm.AjaxLoadMore.init = function(){
1186
+ if(!alm.paging && !alm.previous_post){
1187
+ if(alm.disable_ajax){
1188
+ alm.finished = true;
1189
+ alm.button.addClass('done');
1190
+
1191
+ }else{
1192
+ if (alm.pause === 'true') {
1193
+ alm.button.text(alm.button_label);
1194
+ alm.loading = false;
1195
+ } else {
1196
+ alm.AjaxLoadMore.loadPosts();
1197
+ }
1198
+ }
1199
+ }
1200
+ if(alm.previous_post){
1201
+ alm.AjaxLoadMore.getPreviousPost(); // Set next post on load
1202
+ alm.loading = false;
1203
+ }
1204
  }
1205
+ alm.AjaxLoadMore.init();
1206
 
1207
 
1208
 
core/js/ajax-load-more.min.js CHANGED
@@ -1,5 +1,5 @@
1
  (function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
2
- var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.posts=0;alm.totalposts=0;alm.proceed=false;alm.disable_ajax=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.container=el;alm.container.addClass('alm-'+e).attr('data-id',e);alm.content=$('.alm-ajax',alm.container);alm.content_preloaded=$('.alm-listing.alm-preloaded',alm.container);alm.canonical_url=alm.el.attr('data-canonical-url');alm.slug=alm.el.attr('data-slug');alm.prefix='alm-';alm.cache=alm.content.attr('data-cache');alm.cache_id=alm.content.attr('data-cache-id');alm.cache_path=alm.content.attr('data-cache-path');alm.cache_logged_in=alm.content.attr('data-cache-logged-in');alm.repeater=alm.content.attr('data-repeater');alm.theme_repeater=alm.content.attr('data-theme-repeater');alm.scroll_distance=parseInt(alm.content.attr('data-scroll-distance'));alm.max_pages=parseInt(alm.content.attr('data-max-pages'));alm.pause_override=alm.content.attr('data-pause-override');alm.pause=alm.content.attr('data-pause');alm.transition=alm.content.attr('data-transition');alm.transition_container=alm.content.attr('data-transition-container');alm.speed=alm.content.attr('data-transition-speed');alm.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.cta_array='';alm.cta=alm.content.attr('data-cta');alm.cta_position=alm.content.attr('data-cta-position');alm.cta_repeater=alm.content.attr('data-cta-repeater');alm.cta_theme_repeater=alm.content.attr('data-cta-theme-repeater');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
3
  alm.comments_array='';alm.comments_post_id=alm.content.attr('data-comments_post_id');alm.comments_per_page=alm.content.attr('data-comments_per_page');alm.comments_type=alm.content.attr('data-comments_type');alm.comments_style=alm.content.attr('data-comments_style');alm.comments_template=alm.content.attr('data-comments_template');alm.comments_callback=alm.content.attr('data-comments_callback');alm.restapi=alm.content.attr('data-restapi');alm.restapi_base_url=alm.content.attr('data-restapi-base-url');alm.restapi_namespace=alm.content.attr('data-restapi-namespace');alm.restapi_endpoint=alm.content.attr('data-restapi-endpoint');alm.restapi_template_id=alm.content.attr('data-restapi-template-id');alm.restapi_debug=alm.content.attr('data-restapi-debug');alm.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');alm.paging_init=true;if(alm.restapi==='true'){alm.restapi=true;if(alm.restapi_debug===undefined){alm.restapi_debug=false;}
4
  if(alm.restapi_template_id===''){alm.restapi=false;}}else{alm.restapi=false;}
5
  if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
@@ -23,7 +23,7 @@ if(alm.preloaded==='true'&&alm.seo&&alm.start_page>0){alm.pause=false;}
23
  if(alm.preloaded==='true'&&alm.paging){alm.pause=true;}
24
  if(alm.repeater===undefined){alm.repeater='default';}
25
  if(alm.theme_repeater===undefined){alm.theme_repeater='null';}
26
- if(alm.max_pages===undefined){alm.max_pages=5;}
27
  if(alm.max_pages===0){alm.max_pages=10000;}
28
  if(alm.scroll_distance===undefined){alm.scroll_distance=150;}
29
  if(alm.transition===undefined){alm.transition='slide';}else if(alm.transition==="fade"){alm.transition='fade';}else if(alm.transition==="none"){alm.transition='none';}else{alm.transition='slide';}
@@ -40,10 +40,10 @@ alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.
40
  alm.loading=true;if(alm.cache==='true'&&!alm.cache_logged_in){if(alm.init&&alm.seo&&alm.isPaged){alm.AjaxLoadMore.ajax('standard');}else{var cachePage=alm.cache_path+'/page-'+alm.page+'.html';$.get(cachePage,function(data){alm.AjaxLoadMore.success(data,true);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){var action='alm_query_posts';if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
41
  if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
42
  if(alm.cta==='true'){alm.cta_array={'cta':'true','cta_position':alm.cta_position,'cta_repeater':alm.cta_repeater,'cta_theme_repeater':alm.cta_theme_repeater,};}
43
- if(alm.restapi){var alm_template=wp.template(alm.restapi_template_id),rest_url=alm.restapi_base_url+'/'+alm.restapi_namespace+'/'+alm.restapi_endpoint,rest_data={posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,slug:alm.slug,canonical_url:alm.canonical_url,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),lang:alm.lang,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page};$.ajax({type:"GET",url:rest_url,data:rest_data,dataType:"JSON",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(results){var data,html=results.html,meta=results.meta,postcount=meta.postcount,totalposts=meta.totalposts;$.each(html,function(e){var result=html[e];if(alm.restapi_debug==='true'){console.log(result);}
44
  data+=alm_template(result);});var obj={'html':data,'meta':{'postcount':postcount,'totalposts':totalposts},}
45
  alm.AjaxLoadMore.success(obj,false);}});}
46
- else{$.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,cta:alm.cta_array,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,paging:alm.paging,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,canonical_url:alm.canonical_url},beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
47
  else if(queryType==='totalposts'&&alm.paging){if($.isFunction($.fn.almBuildPagination)){$.fn.almBuildPagination(data,alm);}}},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);}});}};if(alm.paging){alm.AjaxLoadMore.ajax('totalposts');}
48
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
49
  var html,meta,total;if(is_cache){html=data;}else{html=data.html;meta=data.meta;alm.posts=alm.posts+meta.postcount;total=meta.postcount;alm.totalposts=meta.totalposts;if(alm.preloaded==='true'){alm.totalposts=alm.totalposts-alm.preloaded_amount;}}
@@ -82,9 +82,9 @@ if(alm.paging){alm.window.resize(function(){if($.isFunction($.fn.almOnWindowResi
82
  alm.AjaxLoadMore.isVisible=function(){alm.visible=false;if(alm.el.is(":visible")){alm.visible=true;}
83
  return alm.visible;};if(alm.scroll&&!alm.paging){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()&&!alm.fetchingPreviousPost){var content_offset=alm.button.offset(),top=Math.round(content_offset.top-(alm.window.height()-alm.scroll_distance));if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause==='true'&&alm.pause_override==='true'){alm.button.trigger('click');}
84
  else{if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause!=='true'){alm.page++;alm.AjaxLoadMore.loadPosts();}}}});}
85
- if(!alm.paging&&!alm.previous_post){if(alm.disable_ajax){alm.finished=true;alm.button.addClass('done');}else{if(alm.pause==='true'){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}}}
86
- if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();alm.loading=false;}
87
- setTimeout(function(){alm.proceed=true;},300);$.fn.almUpdateCurrentPage=function(current,obj,alm){alm.page=current;if(alm.paging_init&&alm.preloaded==='true'){var data=$('.alm-preloaded .alm-reveal',alm.el).html();$('.alm-preloaded',alm.el).remove();alm.preloaded_amount=0;alm.AjaxLoadMore.pagingPreloadedInit(data);alm.paging_init=false;alm.init=false;}else{alm.AjaxLoadMore.loadPosts();}};$.fn.almGetParentContainer=function(){return alm.el.closest('#ajax-load-more');};$.fn.almGetObj=function(){return alm;};$.fn.almTriggerClick=function(){alm.button.trigger('click');};$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b;}
88
  return-c/2*((--t)*(t-2)-1)+b;};};$.fn.almFilter=function(transition,speed,data){$(".ajax-load-more-wrap").each(function(e){var el=$(this);if(transition==='slide'){el.slideUp(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else if(transition==='fade'){el.fadeOut(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else{$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);}});};$.fn.almSetFilters=function(el,data){$.each(data,function(key,value){key=key.replace(/\W+/g,'-').replace(/([a-z\d])([A-Z])/g,'$1-$2');$('.alm-listing',el).attr('data-'+key,value);});if($.isFunction($.fn.almFilterComplete)){$.fn.almFilterComplete();}
89
  $(".ajax-load-more-wrap").ajaxloadmore();};$.fn.ajaxloadmore=function(){return this.each(function(e){$(this).data('alm',new $.ajaxloadmore($(this),e));});};if($(".ajax-load-more-wrap").length){$(".ajax-load-more-wrap").ajaxloadmore();}})(jQuery);;(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory(require('jquery'));}else{factory(jQuery);}}(function($){var eventNamespace='almWaitForImages';$.almWaitForImages={hasImageProperties:['backgroundImage','listStyleImage','borderImage','borderCornerImage','cursor'],hasImageAttributes:['srcset']};$.expr[':']['has-src']=function(obj){return $(obj).is('img[src][src!=""]');};$.expr[':'].uncached=function(obj){if(!$(obj).is(':has-src')){return false;}
90
  return!obj.complete;};$.fn.almWaitForImages=function(){var allImgsLength=0;var allImgsLoaded=0;var deferred=$.Deferred();var finishedCallback;var eachCallback;var waitForAll;if($.isPlainObject(arguments[0])){waitForAll=arguments[0].waitForAll;eachCallback=arguments[0].each;finishedCallback=arguments[0].finished;}else{if(arguments.length===1&&$.type(arguments[0])==='boolean'){waitForAll=arguments[0];}else{finishedCallback=arguments[0];eachCallback=arguments[1];waitForAll=arguments[2];}}
1
  (function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
2
+ var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.posts=0;alm.totalposts=0;alm.proceed=false;alm.disable_ajax=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.container=el;alm.container.addClass('alm-'+e).attr('data-alm-id',e);alm.content=$('.alm-ajax',alm.container);alm.content_preloaded=$('.alm-listing.alm-preloaded',alm.container);alm.canonical_url=alm.el.attr('data-canonical-url');alm.slug=alm.el.attr('data-slug');alm.prefix='alm-';alm.cache=alm.content.attr('data-cache');alm.cache_id=alm.content.attr('data-cache-id');alm.cache_path=alm.content.attr('data-cache-path');alm.cache_logged_in=alm.content.attr('data-cache-logged-in');alm.repeater=alm.content.attr('data-repeater');alm.theme_repeater=alm.content.attr('data-theme-repeater');alm.scroll_distance=parseInt(alm.content.attr('data-scroll-distance'));alm.max_pages=parseInt(alm.content.attr('data-max-pages'));alm.pause_override=alm.content.attr('data-pause-override');alm.pause=alm.content.attr('data-pause');alm.transition=alm.content.attr('data-transition');alm.transition_container=alm.content.attr('data-transition-container');alm.speed=alm.content.attr('data-transition-speed');alm.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.cta_array='';alm.cta=alm.content.attr('data-cta');alm.cta_position=alm.content.attr('data-cta-position');alm.cta_repeater=alm.content.attr('data-cta-repeater');alm.cta_theme_repeater=alm.content.attr('data-cta-theme-repeater');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
3
  alm.comments_array='';alm.comments_post_id=alm.content.attr('data-comments_post_id');alm.comments_per_page=alm.content.attr('data-comments_per_page');alm.comments_type=alm.content.attr('data-comments_type');alm.comments_style=alm.content.attr('data-comments_style');alm.comments_template=alm.content.attr('data-comments_template');alm.comments_callback=alm.content.attr('data-comments_callback');alm.restapi=alm.content.attr('data-restapi');alm.restapi_base_url=alm.content.attr('data-restapi-base-url');alm.restapi_namespace=alm.content.attr('data-restapi-namespace');alm.restapi_endpoint=alm.content.attr('data-restapi-endpoint');alm.restapi_template_id=alm.content.attr('data-restapi-template-id');alm.restapi_debug=alm.content.attr('data-restapi-debug');alm.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');alm.paging_init=true;if(alm.restapi==='true'){alm.restapi=true;if(alm.restapi_debug===undefined){alm.restapi_debug=false;}
4
  if(alm.restapi_template_id===''){alm.restapi=false;}}else{alm.restapi=false;}
5
  if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
23
  if(alm.preloaded==='true'&&alm.paging){alm.pause=true;}
24
  if(alm.repeater===undefined){alm.repeater='default';}
25
  if(alm.theme_repeater===undefined){alm.theme_repeater='null';}
26
+ if(alm.max_pages===undefined){alm.max_pages=0;}
27
  if(alm.max_pages===0){alm.max_pages=10000;}
28
  if(alm.scroll_distance===undefined){alm.scroll_distance=150;}
29
  if(alm.transition===undefined){alm.transition='slide';}else if(alm.transition==="fade"){alm.transition='fade';}else if(alm.transition==="none"){alm.transition='none';}else{alm.transition='slide';}
40
  alm.loading=true;if(alm.cache==='true'&&!alm.cache_logged_in){if(alm.init&&alm.seo&&alm.isPaged){alm.AjaxLoadMore.ajax('standard');}else{var cachePage=alm.cache_path+'/page-'+alm.page+'.html';$.get(cachePage,function(data){alm.AjaxLoadMore.success(data,true);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){var action='alm_query_posts';if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
41
  if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
42
  if(alm.cta==='true'){alm.cta_array={'cta':'true','cta_position':alm.cta_position,'cta_repeater':alm.cta_repeater,'cta_theme_repeater':alm.cta_theme_repeater,};}
43
+ if(alm.restapi){var alm_template=wp.template(alm.restapi_template_id),rest_url=alm.restapi_base_url+'/'+alm.restapi_namespace+'/'+alm.restapi_endpoint,rest_data={posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,slug:alm.slug,canonical_url:alm.canonical_url,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),lang:alm.lang,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,id:el.attr('data-id')};$.ajax({type:"GET",url:rest_url,data:rest_data,dataType:"JSON",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(results){var data,html=results.html,meta=results.meta,postcount=meta.postcount,totalposts=meta.totalposts;$.each(html,function(e){var result=html[e];if(alm.restapi_debug==='true'){console.log(result);}
44
  data+=alm_template(result);});var obj={'html':data,'meta':{'postcount':postcount,'totalposts':totalposts},}
45
  alm.AjaxLoadMore.success(obj,false);}});}
46
+ else{$.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,cta:alm.cta_array,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,page:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,paging:alm.paging,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,canonical_url:alm.canonical_url,id:el.attr('data-id')},beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data,false);}
47
  else if(queryType==='totalposts'&&alm.paging){if($.isFunction($.fn.almBuildPagination)){$.fn.almBuildPagination(data,alm);}}},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);}});}};if(alm.paging){alm.AjaxLoadMore.ajax('totalposts');}
48
  alm.AjaxLoadMore.success=function(data,is_cache){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
49
  var html,meta,total;if(is_cache){html=data;}else{html=data.html;meta=data.meta;alm.posts=alm.posts+meta.postcount;total=meta.postcount;alm.totalposts=meta.totalposts;if(alm.preloaded==='true'){alm.totalposts=alm.totalposts-alm.preloaded_amount;}}
82
  alm.AjaxLoadMore.isVisible=function(){alm.visible=false;if(alm.el.is(":visible")){alm.visible=true;}
83
  return alm.visible;};if(alm.scroll&&!alm.paging){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()&&!alm.fetchingPreviousPost){var content_offset=alm.button.offset(),top=Math.round(content_offset.top-(alm.window.height()-alm.scroll_distance));if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause==='true'&&alm.pause_override==='true'){alm.button.trigger('click');}
84
  else{if(!alm.loading&&!alm.finished&&(alm.window.scrollTop()>=top)&&alm.page<(alm.max_pages-1)&&alm.proceed&&alm.pause!=='true'){alm.page++;alm.AjaxLoadMore.loadPosts();}}}});}
85
+ alm.AjaxLoadMore.init=function(){if(!alm.paging&&!alm.previous_post){if(alm.disable_ajax){alm.finished=true;alm.button.addClass('done');}else{if(alm.pause==='true'){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}}}
86
+ if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();alm.loading=false;}}
87
+ alm.AjaxLoadMore.init();setTimeout(function(){alm.proceed=true;},300);$.fn.almUpdateCurrentPage=function(current,obj,alm){alm.page=current;if(alm.paging_init&&alm.preloaded==='true'){var data=$('.alm-preloaded .alm-reveal',alm.el).html();$('.alm-preloaded',alm.el).remove();alm.preloaded_amount=0;alm.AjaxLoadMore.pagingPreloadedInit(data);alm.paging_init=false;alm.init=false;}else{alm.AjaxLoadMore.loadPosts();}};$.fn.almGetParentContainer=function(){return alm.el.closest('#ajax-load-more');};$.fn.almGetObj=function(){return alm;};$.fn.almTriggerClick=function(){alm.button.trigger('click');};$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b;}
88
  return-c/2*((--t)*(t-2)-1)+b;};};$.fn.almFilter=function(transition,speed,data){$(".ajax-load-more-wrap").each(function(e){var el=$(this);if(transition==='slide'){el.slideUp(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else if(transition==='fade'){el.fadeOut(speed,function(){$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);});}else{$('.alm-listing',el).html('');$('.alm-btn-wrap',el).remove();el.fadeIn(speed);$.fn.almSetFilters(el,data);}});};$.fn.almSetFilters=function(el,data){$.each(data,function(key,value){key=key.replace(/\W+/g,'-').replace(/([a-z\d])([A-Z])/g,'$1-$2');$('.alm-listing',el).attr('data-'+key,value);});if($.isFunction($.fn.almFilterComplete)){$.fn.almFilterComplete();}
89
  $(".ajax-load-more-wrap").ajaxloadmore();};$.fn.ajaxloadmore=function(){return this.each(function(e){$(this).data('alm',new $.ajaxloadmore($(this),e));});};if($(".ajax-load-more-wrap").length){$(".ajax-load-more-wrap").ajaxloadmore();}})(jQuery);;(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){module.exports=factory(require('jquery'));}else{factory(jQuery);}}(function($){var eventNamespace='almWaitForImages';$.almWaitForImages={hasImageProperties:['backgroundImage','listStyleImage','borderImage','borderCornerImage','cursor'],hasImageAttributes:['srcset']};$.expr[':']['has-src']=function(obj){return $(obj).is('img[src][src!=""]');};$.expr[':'].uncached=function(obj){if(!$(obj).is(':has-src')){return false;}
90
  return!obj.complete;};$.fn.almWaitForImages=function(){var allImgsLength=0;var allImgsLoaded=0;var deferred=$.Deferred();var finishedCallback;var eachCallback;var waitForAll;if($.isPlainObject(arguments[0])){waitForAll=arguments[0].waitForAll;eachCallback=arguments[0].each;finishedCallback=arguments[0].finished;}else{if(arguments.length===1&&$.type(arguments[0])==='boolean'){waitForAll=arguments[0];}else{finishedCallback=arguments[0];eachCallback=arguments[1];waitForAll=arguments[2];}}
lang/ajax-load-more.pot CHANGED
@@ -1,42 +1,42 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
- "POT-Creation-Date: 2016-09-05 21:37-0500\n"
5
- "PO-Revision-Date: 2016-09-05 21:37-0500\n"
6
- "Last-Translator: Darren Cooney <darren.cooney@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.7\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../admin/admin.php:94 ../admin/admin.php:125 ../admin/admin.php:683
19
- #: ../admin/admin.php:727 ../admin/admin.php:777
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
- #: ../admin/admin.php:155 ../admin/editor/editor-build.php:67
24
- #: ../admin/views/licenses.php:63 ../admin/views/licenses.php:128
25
- #: ../admin/views/licenses.php:193 ../admin/views/licenses.php:259
26
- #: ../admin/views/licenses.php:326 ../admin/views/licenses.php:393
27
- #: ../admin/views/licenses.php:458 ../admin/views/licenses.php:522
28
- #: ../admin/views/licenses.php:588 ../admin/views/licenses.php:654
29
- #: ../admin/views/licenses.php:722
30
  msgid "Active"
31
  msgstr ""
32
 
33
- #: ../admin/admin.php:156 ../admin/editor/editor-build.php:68
34
- #: ../admin/views/licenses.php:67 ../admin/views/licenses.php:132
35
- #: ../admin/views/licenses.php:197 ../admin/views/licenses.php:263
36
- #: ../admin/views/licenses.php:330 ../admin/views/licenses.php:397
37
- #: ../admin/views/licenses.php:462 ../admin/views/licenses.php:526
38
- #: ../admin/views/licenses.php:592 ../admin/views/licenses.php:658
39
- #: ../admin/views/licenses.php:726
40
  msgid "Inactive"
41
  msgstr ""
42
 
@@ -44,175 +44,189 @@ msgstr ""
44
  msgid "Applying layout"
45
  msgstr ""
46
 
47
- #: ../admin/admin.php:158 ../admin/views/repeater-templates.php:243
48
  msgid "Template Updated"
49
  msgstr ""
50
 
51
- #: ../admin/admin.php:268
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  msgid ""
53
  "[Ajax Load More] Error opening default repeater template - Please check your "
54
  "file path and ensure your server is configured to allow Ajax Load More to "
55
  "read and write files within the /ajax-load-more/core/repeater directory"
56
  msgstr ""
57
 
58
- #: ../admin/admin.php:272
59
  msgid ""
60
  "[Ajax Load More] Error updating default repeater template - Please check "
61
  "your file path and ensure your server is configured to allow Ajax Load More "
62
  "to read and write files within the /ajax-load-more/core/repeater directory."
63
  msgstr ""
64
 
65
- #: ../admin/admin.php:641
66
  msgid "[Ajax Load More] Unable to open repeater template - "
67
  msgstr ""
68
 
69
- #: ../admin/admin.php:645
70
  msgid "[Ajax Load More] Error saving repeater template - "
71
  msgstr ""
72
 
73
- #: ../admin/admin.php:678
74
  msgid "Error Writing File"
75
  msgstr ""
76
 
77
- #: ../admin/admin.php:881
78
- #: ../admin/shortcode-builder/shortcode-builder.php:1367
79
  msgid "Container Type"
80
  msgstr ""
81
 
82
- #: ../admin/admin.php:889
83
- #: ../admin/shortcode-builder/shortcode-builder.php:1393
84
  msgid "Container Classes"
85
  msgstr ""
86
 
87
- #: ../admin/admin.php:897
88
  msgid "Disable CSS"
89
  msgstr ""
90
 
91
- #: ../admin/admin.php:905
92
  msgid "Button/Loading Style"
93
  msgstr ""
94
 
95
- #: ../admin/admin.php:913
96
  msgid "Button Classes"
97
  msgstr ""
98
 
99
- #: ../admin/admin.php:921
100
  msgid "Ajax Security"
101
  msgstr ""
102
 
103
- #: ../admin/admin.php:929
104
  msgid "Top of Page"
105
  msgstr ""
106
 
107
- #: ../admin/admin.php:937
108
  msgid "Dynamic Content"
109
  msgstr ""
110
 
111
- #: ../admin/admin.php:945
112
  msgid "Editor Button"
113
  msgstr ""
114
 
115
- #: ../admin/admin.php:953
116
  msgid "Error Notices"
117
  msgstr ""
118
 
119
- #: ../admin/admin.php:1024
120
  msgid ""
121
  "Customize the user experience of Ajax Load More by updating the fields below."
122
  msgstr ""
123
 
124
- #: ../admin/admin.php:1037
125
  msgid "The following settings affect the WordPress admin area only."
126
  msgstr ""
127
 
128
- #: ../admin/admin.php:1068
129
  msgid "I want to use my own CSS styles."
130
  msgstr ""
131
 
132
- #: ../admin/admin.php:1068
133
  msgid "View Ajax Load More CSS"
134
  msgstr ""
135
 
136
- #: ../admin/admin.php:1088
137
  msgid "Hide shortcode button in WYSIWYG editor."
138
  msgstr ""
139
 
140
- #: ../admin/admin.php:1109
141
  msgid ""
142
  "Display error messaging regarding repeater template updates in the browser "
143
  "console."
144
  msgstr ""
145
 
146
- #: ../admin/admin.php:1130
147
  msgid ""
148
  "Disable dynamic population of categories, tags and authors in the Shortcode "
149
  "Builder.<span style=\"display:block\">Recommended if you have an "
150
  "extraordinary number of categories, tags and/or authors."
151
  msgstr ""
152
 
153
- #: ../admin/admin.php:1151 ../admin/admin.php:1154
154
  msgid "Ajax Posts Here"
155
  msgstr ""
156
 
157
- #: ../admin/admin.php:1156
158
  msgid "You can modify the container type when building a shortcode."
159
  msgstr ""
160
 
161
- #: ../admin/admin.php:1173
162
  msgid ""
163
  "Add classes to Ajax Load More container - classes are applied globally and "
164
  "will appear with every instance of Ajax Load More. <span style=\"display:"
165
  "block\">You can also add classes when building a shortcode.</span>"
166
  msgstr ""
167
 
168
- #: ../admin/admin.php:1235
169
  msgid ""
170
  "Select an Ajax loading style - you can choose between a <strong>button</"
171
  "strong> or <strong>infinite scroll</strong>"
172
  msgstr ""
173
 
174
- #: ../admin/admin.php:1256
175
  msgid "Preview"
176
  msgstr ""
177
 
178
- #: ../admin/admin.php:1256
179
- #: ../admin/shortcode-builder/shortcode-builder.php:1341
180
- #: ../core/classes/class.alm-shortcode.php:124
181
  msgid "Older Posts"
182
  msgstr ""
183
 
184
- #: ../admin/admin.php:1275
185
  msgid "Add classes to your <strong>Load More</strong> button"
186
  msgstr ""
187
 
188
- #: ../admin/admin.php:1318
189
  msgid ""
190
  "On initial page load, move the user's browser window to the top of the "
191
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
192
  "loading of unnecessary posts.</span>"
193
  msgstr ""
194
 
195
- #: ../admin/admin.php:1339
196
  msgid ""
197
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
198
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
199
  "types of misuse, malicious or otherwise on each Ajax Load More query."
200
  msgstr ""
201
 
202
- #: ../admin/editor/editor-build.php:42
203
- msgid "Jump to Option"
204
- msgstr ""
205
-
206
- #: ../admin/editor/editor-build.php:46
207
  msgid ""
208
  "Create your own Ajax Load More shortcode by adjusting the parameters below:"
209
  msgstr ""
210
 
211
- #: ../admin/editor/editor-build.php:53
212
  msgid "Insert Shortcode"
213
  msgstr ""
214
 
215
- #: ../admin/editor/editor-build.php:56 ../admin/views/shortcode-builder.php:27
216
  msgid "Copy"
217
  msgstr ""
218
 
@@ -234,6 +248,7 @@ msgid ""
234
  msgstr ""
235
 
236
  #: ../admin/includes/components/repeater-options.php:2
 
237
  msgid "Options"
238
  msgstr ""
239
 
@@ -258,7 +273,7 @@ msgid "Release Date"
258
  msgstr ""
259
 
260
  #: ../admin/includes/cta/dyk.php:2
261
- msgid "Did you know?"
262
  msgstr ""
263
 
264
  #: ../admin/includes/cta/extend.php:1
@@ -306,19 +321,19 @@ msgid "Plugin Support and Issues"
306
  msgstr ""
307
 
308
  #: ../admin/includes/cta/resources.php:6
 
 
 
 
 
309
  msgid "Reviews"
310
  msgstr ""
311
 
312
- #: ../admin/includes/cta/resources.php:7
313
  #, fuzzy
314
  msgid "Facebook"
315
  msgstr "Partager sur Facebook"
316
 
317
- #: ../admin/includes/cta/resources.php:8
318
- #, fuzzy
319
- msgid "Twitter"
320
- msgstr "Partager sur Twitter"
321
-
322
  #: ../admin/includes/cta/resources.php:9
323
  msgid "Github"
324
  msgstr ""
@@ -457,7 +472,7 @@ msgstr ""
457
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
458
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
459
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
460
- #: ../admin/shortcode-builder/shortcode-builder.php:477
461
  msgid "Select Taxonomy"
462
  msgstr ""
463
 
@@ -474,7 +489,7 @@ msgid "Taxonomy Operator:"
474
  msgstr ""
475
 
476
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
477
- #: ../admin/shortcode-builder/shortcode-builder.php:940
478
  msgid "Relation:"
479
  msgstr ""
480
 
@@ -484,242 +499,247 @@ msgid ""
484
  msgstr ""
485
 
486
  #: ../admin/shortcode-builder/shortcode-builder.php:1
487
- #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:15
488
  msgid "Collapse All"
489
  msgstr ""
490
 
491
  #: ../admin/shortcode-builder/shortcode-builder.php:1
492
- #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:16
493
  msgid "Expand All"
494
  msgstr ""
495
 
496
- #: ../admin/shortcode-builder/shortcode-builder.php:15
497
- #: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:42
498
- #: ../admin/views/settings.php:52
 
 
 
 
 
499
  msgid "Cache"
500
  msgstr ""
501
 
502
- #: ../admin/shortcode-builder/shortcode-builder.php:18
503
  msgid "Turn on content caching."
504
  msgstr ""
505
 
506
- #: ../admin/shortcode-builder/shortcode-builder.php:25
507
- #: ../admin/shortcode-builder/shortcode-builder.php:69
508
- #: ../admin/shortcode-builder/shortcode-builder.php:164
509
- #: ../admin/shortcode-builder/shortcode-builder.php:318
510
- #: ../admin/shortcode-builder/shortcode-builder.php:341
511
- #: ../admin/shortcode-builder/shortcode-builder.php:395
512
- #: ../admin/shortcode-builder/shortcode-builder.php:436
513
  #: ../admin/shortcode-builder/shortcode-builder.php:530
514
  #: ../admin/shortcode-builder/shortcode-builder.php:610
515
  #: ../admin/shortcode-builder/shortcode-builder.php:644
516
- #: ../admin/shortcode-builder/shortcode-builder.php:1144
517
- #: ../admin/shortcode-builder/shortcode-builder.php:1169
518
- #: ../admin/shortcode-builder/shortcode-builder.php:1216
519
- #: ../admin/shortcode-builder/shortcode-builder.php:1302
520
  msgid "True"
521
  msgstr ""
522
 
523
- #: ../admin/shortcode-builder/shortcode-builder.php:29
524
- #: ../admin/shortcode-builder/shortcode-builder.php:73
525
- #: ../admin/shortcode-builder/shortcode-builder.php:168
526
- #: ../admin/shortcode-builder/shortcode-builder.php:322
527
- #: ../admin/shortcode-builder/shortcode-builder.php:345
528
- #: ../admin/shortcode-builder/shortcode-builder.php:399
529
- #: ../admin/shortcode-builder/shortcode-builder.php:440
530
  #: ../admin/shortcode-builder/shortcode-builder.php:534
531
  #: ../admin/shortcode-builder/shortcode-builder.php:614
532
  #: ../admin/shortcode-builder/shortcode-builder.php:648
533
- #: ../admin/shortcode-builder/shortcode-builder.php:1148
534
- #: ../admin/shortcode-builder/shortcode-builder.php:1173
535
- #: ../admin/shortcode-builder/shortcode-builder.php:1220
536
- #: ../admin/shortcode-builder/shortcode-builder.php:1306
537
  msgid "False"
538
  msgstr ""
539
 
540
- #: ../admin/shortcode-builder/shortcode-builder.php:39
541
  msgid "Cache ID"
542
  msgstr ""
543
 
544
- #: ../admin/shortcode-builder/shortcode-builder.php:40
545
  msgid ""
546
  "You <u>must</u> generate a unique ID for this cached query - this unique ID "
547
  "will be used as a content identifier."
548
  msgstr ""
549
 
550
- #: ../admin/shortcode-builder/shortcode-builder.php:46
551
- msgid "Generate New ID"
552
  msgstr ""
553
 
554
- #: ../admin/shortcode-builder/shortcode-builder.php:58
555
- #: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:107
556
  msgid "Call to Actions"
557
  msgstr ""
558
 
559
- #: ../admin/shortcode-builder/shortcode-builder.php:62
560
  msgid "Insert call to action block."
561
  msgstr ""
562
 
563
- #: ../admin/shortcode-builder/shortcode-builder.php:86
564
  msgid "CTA Positioning"
565
  msgstr ""
566
 
567
- #: ../admin/shortcode-builder/shortcode-builder.php:87
568
  msgid ""
569
  "Insert call to action <strong><em id=\"sequence-update-before-after"
570
  "\">before</em></strong> post #<strong><em id=\"sequence-update\">1</em></"
571
  "strong>"
572
  msgstr ""
573
 
574
- #: ../admin/shortcode-builder/shortcode-builder.php:92
575
  msgid "Before / After"
576
  msgstr ""
577
 
578
- #: ../admin/shortcode-builder/shortcode-builder.php:94
579
  msgid "Before"
580
  msgstr ""
581
 
582
- #: ../admin/shortcode-builder/shortcode-builder.php:95
583
  msgid "After"
584
  msgstr ""
585
 
586
- #: ../admin/shortcode-builder/shortcode-builder.php:99
587
  msgid "Post #"
588
  msgstr ""
589
 
590
- #: ../admin/shortcode-builder/shortcode-builder.php:110
591
- #: ../admin/shortcode-builder/shortcode-builder.php:661
592
  msgid "Template"
593
  msgstr ""
594
 
595
- #: ../admin/shortcode-builder/shortcode-builder.php:112
596
  msgid ""
597
  "Select the <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
598
  "\"_parent\">repeater template</a> that will display your call to action."
599
  msgstr ""
600
 
601
- #: ../admin/shortcode-builder/shortcode-builder.php:119
602
  #, fuzzy
603
  msgid "-- Select Repeater --"
604
  msgstr "Sélectionnez province"
605
 
606
- #: ../admin/shortcode-builder/shortcode-builder.php:140
607
  msgid ""
608
  "Call to actions do NOT count as a post within an Ajax Load More loop.<br/>\n"
609
- " For example, if you set <strong>posts_per_page=\"5\"</strong> "
610
- "in your shortcode, 6 items will be displayed."
611
  msgstr ""
612
 
613
- #: ../admin/shortcode-builder/shortcode-builder.php:154
614
- #: ../admin/views/add-ons.php:72 ../admin/views/licenses.php:172
615
  msgid "Comments"
616
  msgstr ""
617
 
618
- #: ../admin/shortcode-builder/shortcode-builder.php:157
619
  msgid "Enable Ajax Load More to display blog comments."
620
  msgstr ""
621
 
622
- #: ../admin/shortcode-builder/shortcode-builder.php:180
623
- #: ../admin/shortcode-builder/shortcode-builder.php:450
624
  msgid "Post ID"
625
  msgstr ""
626
 
627
- #: ../admin/shortcode-builder/shortcode-builder.php:181
628
- #: ../admin/shortcode-builder/shortcode-builder.php:451
629
  msgid "The ID of the current single post."
630
  msgstr ""
631
 
632
- #: ../admin/shortcode-builder/shortcode-builder.php:193
633
  msgid "Comments Per Page"
634
  msgstr ""
635
 
636
- #: ../admin/shortcode-builder/shortcode-builder.php:194
637
  msgid "The number of top level items to show for each page of comments."
638
  msgstr ""
639
 
640
- #: ../admin/shortcode-builder/shortcode-builder.php:202
641
  msgid ""
642
  "<strong>Note</strong>: The amount selected does NOT include comment replies."
643
  msgstr ""
644
 
645
- #: ../admin/shortcode-builder/shortcode-builder.php:208
646
  msgid "Comment Type"
647
  msgstr ""
648
 
649
- #: ../admin/shortcode-builder/shortcode-builder.php:209
650
  msgid "The type of comment(s) to display."
651
  msgstr ""
652
 
653
- #: ../admin/shortcode-builder/shortcode-builder.php:214
654
  msgid "Comment"
655
  msgstr ""
656
 
657
- #: ../admin/shortcode-builder/shortcode-builder.php:215
658
  msgid "All"
659
  msgstr ""
660
 
661
- #: ../admin/shortcode-builder/shortcode-builder.php:216
662
  msgid "Trackback"
663
  msgstr ""
664
 
665
- #: ../admin/shortcode-builder/shortcode-builder.php:217
666
  msgid "Pingback"
667
  msgstr ""
668
 
669
- #: ../admin/shortcode-builder/shortcode-builder.php:218
670
  msgid "Pings"
671
  msgstr ""
672
 
673
- #: ../admin/shortcode-builder/shortcode-builder.php:227
674
  msgid "Comment Style"
675
  msgstr ""
676
 
677
- #: ../admin/shortcode-builder/shortcode-builder.php:228
678
  msgid "Select the HTML container style for your comments."
679
  msgstr ""
680
 
681
- #: ../admin/shortcode-builder/shortcode-builder.php:254
682
  msgid "Comment Template"
683
  msgstr ""
684
 
685
- #: ../admin/shortcode-builder/shortcode-builder.php:255
686
  msgid "Select a repeater template that will display comment data."
687
  msgstr ""
688
 
689
- #: ../admin/shortcode-builder/shortcode-builder.php:261
690
- #: ../admin/shortcode-builder/shortcode-builder.php:1249
691
  msgid "None"
692
  msgstr ""
693
 
694
- #: ../admin/shortcode-builder/shortcode-builder.php:262
695
  msgid "Default"
696
  msgstr ""
697
 
698
- #: ../admin/shortcode-builder/shortcode-builder.php:274
699
  msgid ""
700
  "<strong>Note</strong>: <span>None</span> will use the default WordPress "
701
  "comment layout."
702
  msgstr ""
703
 
704
- #: ../admin/shortcode-builder/shortcode-builder.php:283
705
  msgid "Callback Function"
706
  msgstr ""
707
 
708
- #: ../admin/shortcode-builder/shortcode-builder.php:284
709
  msgid ""
710
  "A custom <a href=\"https://codex.wordpress.org/Function_Reference/"
711
  "wp_list_comments#Arguments\" target=\"_blank\">callback</a> function that "
712
  "will display each comment."
713
  msgstr ""
714
 
715
- #: ../admin/shortcode-builder/shortcode-builder.php:292
716
  msgid ""
717
  "<strong>Note</strong>: The majority of premium themes have a custom callback "
718
  "function for displaying comments. Please see comments.php or functions.php "
719
  "within your theme directory to locate the callback function for your theme."
720
  msgstr ""
721
 
722
- #: ../admin/shortcode-builder/shortcode-builder.php:297
723
  msgid ""
724
  "You must add the comments shortcode directly to your single template file "
725
  "using the <a href=\"https://developer.wordpress.org/reference/functions/"
@@ -728,94 +748,94 @@ msgid ""
728
  "\"_blank\">View documentation</a>"
729
  msgstr ""
730
 
731
- #: ../admin/shortcode-builder/shortcode-builder.php:309
732
- #: ../admin/views/add-ons.php:151 ../admin/views/licenses.php:372
733
- #: ../admin/views/settings.php:56
734
  msgid "Paging"
735
  msgstr ""
736
 
737
- #: ../admin/shortcode-builder/shortcode-builder.php:311
738
  msgid "Replace infinite scrolling with a paged ajax navigation system."
739
  msgstr ""
740
 
741
- #: ../admin/shortcode-builder/shortcode-builder.php:333
742
  msgid "Paging Controls"
743
  msgstr ""
744
 
745
- #: ../admin/shortcode-builder/shortcode-builder.php:334
746
  msgid "Show (&laquo;)previous and next(&raquo;) buttons."
747
  msgstr ""
748
 
749
- #: ../admin/shortcode-builder/shortcode-builder.php:354
750
  msgid "Paging Navigation Classes"
751
  msgstr ""
752
 
753
- #: ../admin/shortcode-builder/shortcode-builder.php:355
754
  msgid "Add custom CSS classes to the paging navigation menu."
755
  msgstr ""
756
 
757
- #: ../admin/shortcode-builder/shortcode-builder.php:366
758
  msgid "Show at Most"
759
  msgstr ""
760
 
761
- #: ../admin/shortcode-builder/shortcode-builder.php:367
762
  msgid ""
763
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
764
  msgstr ""
765
 
766
- #: ../admin/shortcode-builder/shortcode-builder.php:385
767
- #: ../admin/views/add-ons.php:178 ../admin/views/licenses.php:437
768
  msgid "Preloaded"
769
  msgstr ""
770
 
771
- #: ../admin/shortcode-builder/shortcode-builder.php:388
772
  msgid "Preload posts prior to making Ajax requests."
773
  msgstr ""
774
 
775
- #: ../admin/shortcode-builder/shortcode-builder.php:409
776
  msgid "Preload Amount"
777
  msgstr ""
778
 
779
- #: ../admin/shortcode-builder/shortcode-builder.php:410
780
  msgid "Enter the number of posts to preload."
781
  msgstr ""
782
 
783
- #: ../admin/shortcode-builder/shortcode-builder.php:426
784
- #: ../admin/views/add-ons.php:204 ../admin/views/licenses.php:501
785
- #: ../admin/views/settings.php:58
786
  msgid "Previous Post"
787
  msgstr ""
788
 
789
- #: ../admin/shortcode-builder/shortcode-builder.php:429
790
  msgid "Enable the infinite scrolling of single posts."
791
  msgstr ""
792
 
793
- #: ../admin/shortcode-builder/shortcode-builder.php:463
794
- #: ../admin/shortcode-builder/shortcode-builder.php:880
795
  msgid "Taxonomy"
796
  msgstr ""
797
 
798
- #: ../admin/shortcode-builder/shortcode-builder.php:463
799
  msgid ""
800
  "Selecting a taxonomy means only previous posts from the same taxonomy will "
801
  "be returned"
802
  msgstr ""
803
 
804
- #: ../admin/shortcode-builder/shortcode-builder.php:464
805
  msgid "Query previous posts from the same taxonomy."
806
  msgstr ""
807
 
808
- #: ../admin/shortcode-builder/shortcode-builder.php:478
809
- #: ../admin/shortcode-builder/shortcode-builder.php:762
810
  msgid "Category"
811
  msgstr ""
812
 
813
- #: ../admin/shortcode-builder/shortcode-builder.php:479
814
- #: ../admin/shortcode-builder/shortcode-builder.php:822
815
  msgid "Tag"
816
  msgstr ""
817
 
818
- #: ../admin/shortcode-builder/shortcode-builder.php:493
819
  msgid ""
820
  "You must add the Previous Post shortcode directly to your single template "
821
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
@@ -825,8 +845,8 @@ msgid ""
825
  msgstr ""
826
 
827
  #: ../admin/shortcode-builder/shortcode-builder.php:520
828
- #: ../admin/views/add-ons.php:230 ../admin/views/licenses.php:567
829
- #: ../admin/views/settings.php:60
830
  msgid "REST API"
831
  msgstr ""
832
 
@@ -886,6 +906,13 @@ msgid ""
886
  "template</em> = <em>alm-template</em>"
887
  msgstr ""
888
 
 
 
 
 
 
 
 
889
  #: ../admin/shortcode-builder/shortcode-builder.php:602
890
  msgid "Debug Mode"
891
  msgstr ""
@@ -913,761 +940,775 @@ msgid ""
913
  msgstr ""
914
 
915
  #: ../admin/shortcode-builder/shortcode-builder.php:665
 
 
 
 
916
  msgid "Repeater Template"
917
  msgstr ""
918
 
919
- #: ../admin/shortcode-builder/shortcode-builder.php:667
920
  msgid ""
921
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
922
  "\"_parent\">repeater template</a> you would like to use."
923
  msgstr ""
924
 
925
- #: ../admin/shortcode-builder/shortcode-builder.php:711
926
- msgid "Post Types"
927
- msgstr ""
928
-
929
  #: ../admin/shortcode-builder/shortcode-builder.php:714
930
- msgid "Select Post Types to query."
931
  msgstr ""
932
 
933
- #: ../admin/shortcode-builder/shortcode-builder.php:735
934
- msgid "Post Format"
935
- msgstr ""
936
-
937
- #: ../admin/shortcode-builder/shortcode-builder.php:738
938
  msgid ""
939
- "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
940
- "\">Post Format</a> to query."
941
  msgstr ""
942
 
943
- #: ../admin/shortcode-builder/shortcode-builder.php:741
944
- msgid "Select Post Format"
945
  msgstr ""
946
 
947
- #: ../admin/shortcode-builder/shortcode-builder.php:742
948
- msgid "Standard"
949
  msgstr ""
950
 
951
- #: ../admin/shortcode-builder/shortcode-builder.php:766
952
  msgid ""
953
- "A comma separated list of categories to include by slug. (design, research "
954
- "etc...)"
955
  msgstr ""
956
 
957
- #: ../admin/shortcode-builder/shortcode-builder.php:768
958
- #: ../admin/shortcode-builder/shortcode-builder.php:1039
959
- msgid "view example"
 
960
  msgstr ""
961
 
962
- #: ../admin/shortcode-builder/shortcode-builder.php:790
963
- #: ../admin/shortcode-builder/shortcode-builder.php:847
964
- #: ../admin/shortcode-builder/shortcode-builder.php:1038
965
- msgid "Exclude"
966
  msgstr ""
967
 
968
- #: ../admin/shortcode-builder/shortcode-builder.php:791
969
  msgid ""
970
- "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
 
971
  msgstr ""
972
 
973
- #: ../admin/shortcode-builder/shortcode-builder.php:825
974
- #: ../admin/shortcode-builder/shortcode-builder.php:1027
975
- msgid "Include"
976
  msgstr ""
977
 
978
- #: ../admin/shortcode-builder/shortcode-builder.php:826
979
- msgid ""
980
- "A comma separated list of tags to include by slug. (toronto, canada etc...)"
981
  msgstr ""
982
 
983
- #: ../admin/shortcode-builder/shortcode-builder.php:848
984
- msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
985
  msgstr ""
986
 
987
- #: ../admin/shortcode-builder/shortcode-builder.php:883
988
- msgid "Select a taxonomy then select the terms and an operator."
989
  msgstr ""
990
 
991
- #: ../admin/shortcode-builder/shortcode-builder.php:898
992
- msgid "Date"
993
  msgstr ""
994
 
995
- #: ../admin/shortcode-builder/shortcode-builder.php:901
996
  msgid ""
997
- "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
998
- "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
999
  msgstr ""
1000
 
1001
- #: ../admin/shortcode-builder/shortcode-builder.php:907
1002
- msgid "Year:"
1003
  msgstr ""
1004
 
1005
- #: ../admin/shortcode-builder/shortcode-builder.php:911
1006
- msgid "Month:"
1007
  msgstr ""
1008
 
1009
- #: ../admin/shortcode-builder/shortcode-builder.php:915
1010
- msgid "Day:"
1011
  msgstr ""
1012
 
1013
- #: ../admin/shortcode-builder/shortcode-builder.php:926
1014
- msgid "Custom Fields (Meta_Query)"
1015
  msgstr ""
1016
 
1017
- #: ../admin/shortcode-builder/shortcode-builder.php:929
1018
- msgid ""
1019
- "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1020
- "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1021
- "and operator."
1022
  msgstr ""
1023
 
1024
- #: ../admin/shortcode-builder/shortcode-builder.php:940
1025
  msgid ""
1026
- "The logical relationship between each custom field when there is more than "
1027
- "one."
1028
  msgstr ""
1029
 
1030
- #: ../admin/shortcode-builder/shortcode-builder.php:954
1031
- msgid "Add Another"
1032
  msgstr ""
1033
 
1034
- #: ../admin/shortcode-builder/shortcode-builder.php:970
1035
- msgid "Author"
1036
  msgstr ""
1037
 
1038
- #: ../admin/shortcode-builder/shortcode-builder.php:973
1039
- msgid "Select an Author to query(by ID)."
1040
  msgstr ""
1041
 
1042
- #: ../admin/shortcode-builder/shortcode-builder.php:978
1043
- msgid "Select Author"
1044
  msgstr ""
1045
 
1046
- #: ../admin/shortcode-builder/shortcode-builder.php:994
1047
- msgid "Search Term"
 
 
1048
  msgstr ""
1049
 
1050
- #: ../admin/shortcode-builder/shortcode-builder.php:997
1051
- msgid "Enter a search term to query."
 
 
1052
  msgstr ""
1053
 
1054
- #: ../admin/shortcode-builder/shortcode-builder.php:1001
1055
- msgid "Enter search term"
1056
  msgstr ""
1057
 
1058
- #: ../admin/shortcode-builder/shortcode-builder.php:1009
1059
- msgid "Custom Arguments"
1060
  msgstr ""
1061
 
1062
- #: ../admin/shortcode-builder/shortcode-builder.php:1012
1063
- msgid ""
1064
- "A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
1065
- "tag_slug__and:design,development; event_display:upcoming. Default"
1066
  msgstr ""
1067
 
1068
- #: ../admin/shortcode-builder/shortcode-builder.php:1016
1069
- msgid "event_display:upcoming"
1070
  msgstr ""
1071
 
1072
- #: ../admin/shortcode-builder/shortcode-builder.php:1024
1073
- msgid "Post Parameters"
 
 
1074
  msgstr ""
1075
 
1076
- #: ../admin/shortcode-builder/shortcode-builder.php:1028
1077
- msgid "A comma separated list of post ID's to query."
1078
  msgstr ""
1079
 
1080
- #: ../admin/shortcode-builder/shortcode-builder.php:1032
1081
- msgid "225, 340, 818, etc..."
1082
  msgstr ""
1083
 
1084
- #: ../admin/shortcode-builder/shortcode-builder.php:1039
1085
- msgid "A comma separated list of post ID's to exclude from query."
1086
  msgstr ""
1087
 
1088
- #: ../admin/shortcode-builder/shortcode-builder.php:1049
1089
- msgid "Post Status"
1090
  msgstr ""
1091
 
1092
- #: ../admin/shortcode-builder/shortcode-builder.php:1049
1093
- msgid ""
1094
- "Post Status parameters are only available for logged in (admin) users. Non "
1095
- "logged in users will only have access to view content in a 'publish' or "
1096
- "'inherit' state. "
1097
  msgstr ""
1098
 
1099
- #: ../admin/shortcode-builder/shortcode-builder.php:1050
1100
- msgid "Select status of the post."
1101
  msgstr ""
1102
 
1103
- #: ../admin/shortcode-builder/shortcode-builder.php:1055
1104
- msgid "Published"
1105
  msgstr ""
1106
 
1107
- #: ../admin/shortcode-builder/shortcode-builder.php:1071
1108
- msgid "Ordering"
1109
  msgstr ""
1110
 
1111
- #: ../admin/shortcode-builder/shortcode-builder.php:1074
1112
- msgid "Sort posts by Order and Orderby parameters."
1113
  msgstr ""
1114
 
1115
- #: ../admin/shortcode-builder/shortcode-builder.php:1078
1116
- msgid "Order"
 
 
1117
  msgstr ""
1118
 
1119
- #: ../admin/shortcode-builder/shortcode-builder.php:1085
1120
- msgid "Order By"
1121
  msgstr ""
1122
 
1123
- #: ../admin/shortcode-builder/shortcode-builder.php:1104
1124
- msgid "Offset"
1125
  msgstr ""
1126
 
1127
- #: ../admin/shortcode-builder/shortcode-builder.php:1107
1128
- msgid "Offset the initial query by <em>'n'</em> number of posts"
 
 
1129
  msgstr ""
1130
 
1131
- #: ../admin/shortcode-builder/shortcode-builder.php:1119
 
 
 
 
1132
  msgid "Posts Per Page"
1133
  msgstr ""
1134
 
1135
- #: ../admin/shortcode-builder/shortcode-builder.php:1122
1136
  msgid "Select the number of posts to load with each request."
1137
  msgstr ""
1138
 
1139
- #: ../admin/shortcode-builder/shortcode-builder.php:1134
1140
- msgid "Pause"
1141
  msgstr ""
1142
 
1143
- #: ../admin/shortcode-builder/shortcode-builder.php:1137
1144
- msgid ""
1145
- "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
1146
  msgstr ""
1147
 
1148
- #: ../admin/shortcode-builder/shortcode-builder.php:1158
1149
- msgid "Scrolling"
1150
  msgstr ""
1151
 
1152
- #: ../admin/shortcode-builder/shortcode-builder.php:1161
1153
- msgid "Enable Scrolling"
 
 
1154
  msgstr ""
1155
 
1156
- #: ../admin/shortcode-builder/shortcode-builder.php:1162
1157
- msgid "Load more posts as the user scrolls the page."
1158
  msgstr ""
1159
 
1160
- #: ../admin/shortcode-builder/shortcode-builder.php:1183
1161
- msgid "Scroll Distance"
1162
  msgstr ""
1163
 
1164
- #: ../admin/shortcode-builder/shortcode-builder.php:1183
1165
  msgid ""
1166
- "Distance is based on the position of the loading button from the bottom of "
1167
- "the screen"
1168
  msgstr ""
1169
 
1170
- #: ../admin/shortcode-builder/shortcode-builder.php:1184
 
 
 
 
 
 
1171
  msgid ""
1172
- "The distance from the bottom of the screen to trigger loading of posts. "
1173
- "(Default = 150)"
1174
  msgstr ""
1175
 
1176
- #: ../admin/shortcode-builder/shortcode-builder.php:1196
1177
- msgid "Maximum Pages"
 
1178
  msgstr ""
1179
 
1180
- #: ../admin/shortcode-builder/shortcode-builder.php:1196
1181
- msgid "If using an Infinite Scroll button style you should set this to 0"
 
1182
  msgstr ""
1183
 
1184
- #: ../admin/shortcode-builder/shortcode-builder.php:1197
1185
- msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1186
  msgstr ""
1187
 
1188
- #: ../admin/shortcode-builder/shortcode-builder.php:1209
1189
- msgid "Pause Override"
 
 
 
 
1190
  msgstr ""
1191
 
1192
- #: ../admin/shortcode-builder/shortcode-builder.php:1210
1193
  msgid ""
1194
- "Allow scrolling to override the Pause parameter and trigger the loading of "
1195
- "posts on scroll."
1196
  msgstr ""
1197
 
1198
- #: ../admin/shortcode-builder/shortcode-builder.php:1230
1199
- msgid "Transition"
1200
  msgstr ""
1201
 
1202
- #: ../admin/shortcode-builder/shortcode-builder.php:1233
1203
- msgid "Transition Type"
1204
  msgstr ""
1205
 
1206
- #: ../admin/shortcode-builder/shortcode-builder.php:1234
1207
- msgid "Select a loading transition style."
1208
  msgstr ""
1209
 
1210
- #: ../admin/shortcode-builder/shortcode-builder.php:1241
1211
- msgid "Slide"
1212
  msgstr ""
1213
 
1214
- #: ../admin/shortcode-builder/shortcode-builder.php:1245
1215
- msgid "Fade"
 
 
 
1216
  msgstr ""
1217
 
1218
- #: ../admin/shortcode-builder/shortcode-builder.php:1259
1219
- msgid "Transition Speed"
 
 
1220
  msgstr ""
1221
 
1222
- #: ../admin/shortcode-builder/shortcode-builder.php:1259
1223
- msgid "0.5 seconds = 500, 1 second = 1000 etc."
1224
  msgstr ""
1225
 
1226
- #: ../admin/shortcode-builder/shortcode-builder.php:1260
1227
- msgid "The speed of the loading transition in milliseconds"
1228
  msgstr ""
1229
 
1230
- #: ../admin/shortcode-builder/shortcode-builder.php:1272
1231
- msgid "Transition Container"
1232
  msgstr ""
1233
 
1234
- #: ../admin/shortcode-builder/shortcode-builder.php:1272
1235
- msgid ""
1236
- "Removing the transition container may have undesired results and is not "
1237
- "recommended."
1238
  msgstr ""
1239
 
1240
- #: ../admin/shortcode-builder/shortcode-builder.php:1273
1241
- msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1242
  msgstr ""
1243
 
1244
- #: ../admin/shortcode-builder/shortcode-builder.php:1290
1245
- msgid "Images Loaded"
1246
  msgstr ""
1247
 
1248
- #: ../admin/shortcode-builder/shortcode-builder.php:1293
1249
- msgid "Wait for all images to load before displaying ajax loaded content"
1250
  msgstr ""
1251
 
1252
- #: ../admin/shortcode-builder/shortcode-builder.php:1294
1253
- msgid "Background images are currently not supported"
1254
  msgstr ""
1255
 
1256
- #: ../admin/shortcode-builder/shortcode-builder.php:1316
1257
- msgid "Destroy After"
1258
  msgstr ""
1259
 
1260
- #: ../admin/shortcode-builder/shortcode-builder.php:1319
1261
- msgid ""
1262
- "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1263
- "been loaded."
1264
  msgstr ""
1265
 
1266
- #: ../admin/shortcode-builder/shortcode-builder.php:1331
1267
- msgid "Button Options"
1268
  msgstr ""
1269
 
1270
- #: ../admin/shortcode-builder/shortcode-builder.php:1336
1271
- msgid "Button Label"
 
 
 
1272
  msgstr ""
1273
 
1274
- #: ../admin/shortcode-builder/shortcode-builder.php:1337
1275
- msgid "Customize the text of the <em>Load More</em> button."
1276
  msgstr ""
1277
 
1278
- #: ../admin/shortcode-builder/shortcode-builder.php:1349
1279
- msgid "Button Loading Label"
1280
  msgstr ""
1281
 
1282
- #: ../admin/shortcode-builder/shortcode-builder.php:1349
1283
- msgid "Leave field empty to not update text while loading content"
1284
  msgstr ""
1285
 
1286
- #: ../admin/shortcode-builder/shortcode-builder.php:1350
1287
- msgid ""
1288
- "Update the text of the <em>Load More</em> button while content is loading."
1289
  msgstr ""
1290
 
1291
- #: ../admin/shortcode-builder/shortcode-builder.php:1354
1292
- msgid "Loading Posts..."
1293
  msgstr ""
1294
 
1295
- #: ../admin/shortcode-builder/shortcode-builder.php:1363
1296
- msgid "Container Options"
1297
  msgstr ""
1298
 
1299
- #: ../admin/shortcode-builder/shortcode-builder.php:1367
1300
- msgid ""
1301
- "You can define a global container type on the Ajax Load More settings screen"
1302
  msgstr ""
1303
 
1304
- #: ../admin/shortcode-builder/shortcode-builder.php:1368
1305
- msgid ""
1306
- "Override the global Container Type that was set on <a href=\"admin.php?"
1307
- "page=ajax-load-more\">ALM Settings page</a>."
1308
  msgstr ""
1309
 
1310
- #: ../admin/shortcode-builder/shortcode-builder.php:1393
1311
- msgid ""
1312
- "You can define global container classes on the Ajax Load More settings screen"
1313
  msgstr ""
1314
 
1315
- #: ../admin/shortcode-builder/shortcode-builder.php:1394
 
 
 
 
1316
  msgid ""
1317
- "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1318
- "portfolio-listing large-12 etc"
1319
  msgstr ""
1320
 
1321
- #: ../admin/views/add-ons.php:4
1322
- msgid "Add-ons"
1323
  msgstr ""
1324
 
1325
- #: ../admin/views/add-ons.php:5
1326
  msgid ""
1327
  "Add-ons are available to extend and enhance the core functionality of Ajax "
1328
  "Load More"
1329
  msgstr ""
1330
 
1331
- #: ../admin/views/add-ons.php:19
1332
  msgid "Improve performance with the Ajax Load More caching engine."
1333
  msgstr ""
1334
 
1335
- #: ../admin/views/add-ons.php:20
1336
  msgid ""
1337
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
1338
  "delivers those static files to your visitors."
1339
  msgstr ""
1340
 
1341
- #: ../admin/views/add-ons.php:46
1342
  msgid ""
1343
  "Ajax Load More extension for displaying advertisements and call to actions."
1344
  msgstr ""
1345
 
1346
- #: ../admin/views/add-ons.php:47
1347
  msgid ""
1348
  "The Call to Actions add-on will provide the ability to inject a custom CTA "
1349
  "template within each Ajax Load More loop."
1350
  msgstr ""
1351
 
1352
- #: ../admin/views/add-ons.php:73
1353
  msgid "Load blog comments on demand with Ajax Load More."
1354
  msgstr ""
1355
 
1356
- #: ../admin/views/add-ons.php:74
1357
  msgid ""
1358
  "The Comments add-on will display your blog comments with Ajax Load More's "
1359
  "infinite scroll functionality."
1360
  msgstr ""
1361
 
1362
- #: ../admin/views/add-ons.php:97 ../admin/views/licenses.php:238
1363
  msgid "Custom Repeaters"
1364
  msgstr ""
1365
 
1366
- #: ../admin/views/add-ons.php:98
1367
  msgid "Extend Ajax Load More with unlimited repeater templates."
1368
  msgstr ""
1369
 
1370
- #: ../admin/views/add-ons.php:99
1371
  msgid ""
1372
  "Create, delete and modify repeater templates as you need them with "
1373
  "absolutely zero restrictions."
1374
  msgstr ""
1375
 
1376
- #: ../admin/views/add-ons.php:125 ../admin/views/licenses.php:305
1377
- #: ../admin/views/settings.php:54
1378
  msgid "Layouts"
1379
  msgstr ""
1380
 
1381
- #: ../admin/views/add-ons.php:126
1382
  msgid "Predefined layouts for your repeater templates."
1383
  msgstr ""
1384
 
1385
- #: ../admin/views/add-ons.php:127
1386
  msgid ""
1387
  "The Layouts add-on provides a collection of unique, well designed and fully "
1388
  "responsive templates."
1389
  msgstr ""
1390
 
1391
- #: ../admin/views/add-ons.php:152
1392
  msgid "Extend Ajax Load More with a numbered navigation."
1393
  msgstr ""
1394
 
1395
- #: ../admin/views/add-ons.php:153
1396
  msgid ""
1397
  "The Paging add-on will transform the default infinite scroll functionality "
1398
  "into a robust ajax powered navigation system."
1399
  msgstr ""
1400
 
1401
- #: ../admin/views/add-ons.php:179
1402
  msgid "Load an initial set of posts before making Ajax requests to the server."
1403
  msgstr ""
1404
 
1405
- #: ../admin/views/add-ons.php:180
1406
  msgid ""
1407
  "The Preloaded add-on will display content quicker and allow caching of the "
1408
  "initial query which can reduce stress on your server."
1409
  msgstr ""
1410
 
1411
- #: ../admin/views/add-ons.php:205
1412
  msgid "An extension to enable infinite scrolling of single posts."
1413
  msgstr ""
1414
 
1415
- #: ../admin/views/add-ons.php:206
1416
  msgid ""
1417
  "The Previous Post add-on will load single posts as you scroll and update the "
1418
  "browser URL to the current post."
1419
  msgstr ""
1420
 
1421
- #: ../admin/views/add-ons.php:231
1422
  msgid "Infinite scroll with the WP REST API and Ajax Load More plugins."
1423
  msgstr ""
1424
 
1425
- #: ../admin/views/add-ons.php:232
1426
  msgid ""
1427
  "The REST API add-on will enable compatibility between Ajax Load More and the "
1428
  "WP REST API plugins.</p>"
1429
  msgstr ""
1430
 
1431
- #: ../admin/views/add-ons.php:258 ../admin/views/licenses.php:633
1432
  msgid "Search Engine Optimization"
1433
  msgstr ""
1434
 
1435
- #: ../admin/views/add-ons.php:259
1436
  msgid "Generate unique paging URLs with every Ajax Load More query."
1437
  msgstr ""
1438
 
1439
- #: ../admin/views/add-ons.php:260
1440
  msgid ""
1441
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1442
  "generating unique URLs with every query.</p>"
1443
  msgstr ""
1444
 
1445
- #: ../admin/views/add-ons.php:284 ../admin/views/licenses.php:701
1446
- #: ../admin/views/settings.php:64
1447
  msgid "Theme Repeaters"
1448
  msgstr ""
1449
 
1450
- #: ../admin/views/add-ons.php:285
1451
  msgid "Manage repeater templates within your current theme directory."
1452
  msgstr ""
1453
 
1454
- #: ../admin/views/add-ons.php:286
1455
  msgid ""
1456
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1457
  "from your current theme directory.</p>"
1458
  msgstr ""
1459
 
1460
- #: ../admin/views/add-ons.php:305
1461
  msgid ""
1462
  "All add-ons are installed as stand alone plugins and with a valid license "
1463
  "key will receive plugin update notifications directly within the <a href="
1464
  "\"plugins.php\">WordPress plugin dashboard</a>."
1465
  msgstr ""
1466
 
1467
- #: ../admin/views/examples.php:4
1468
  msgid "Examples"
1469
  msgstr ""
1470
 
1471
- #: ../admin/views/examples.php:5
1472
  msgid "A collection of everyday shortcode usages and implementation examples"
1473
  msgstr ""
1474
 
1475
- #: ../admin/views/examples.php:12
1476
  msgid "Archive.php"
1477
  msgstr ""
1478
 
1479
- #: ../admin/views/examples.php:14
1480
  msgid "Shortcode for use on generic archive page."
1481
  msgstr ""
1482
 
1483
- #: ../admin/views/examples.php:22
1484
  msgid "Author.php"
1485
  msgstr ""
1486
 
1487
- #: ../admin/views/examples.php:24
1488
  msgid "Shortcode for use on author archive pages."
1489
  msgstr ""
1490
 
1491
- #: ../admin/views/examples.php:31
1492
  msgid "Category.php"
1493
  msgstr ""
1494
 
1495
- #: ../admin/views/examples.php:33
1496
  msgid "Shortcode for use on category archive pages."
1497
  msgstr ""
1498
 
1499
- #: ../admin/views/examples.php:40
1500
  msgid "Date Archives"
1501
  msgstr ""
1502
 
1503
- #: ../admin/views/examples.php:42
1504
  msgid "Shortcode for use for archiving by date."
1505
  msgstr ""
1506
 
1507
- #: ../admin/views/examples.php:49
1508
  msgid "Excluding Posts"
1509
  msgstr ""
1510
 
1511
- #: ../admin/views/examples.php:51
1512
  msgid "Shortcode for excluding an array of posts."
1513
  msgstr ""
1514
 
1515
- #: ../admin/views/examples.php:57
1516
  msgid "Tag.php"
1517
  msgstr ""
1518
 
1519
- #: ../admin/views/examples.php:59
1520
  msgid "Shortcode for use on tag archive pages."
1521
  msgstr ""
1522
 
1523
- #: ../admin/views/examples.php:67 ../admin/views/shortcode-builder.php:13
1524
  msgid "Back to Top"
1525
  msgstr ""
1526
 
1527
- #: ../admin/views/help.php:4
1528
  msgid "Help"
1529
  msgstr ""
1530
 
1531
- #: ../admin/views/help.php:5
1532
  msgid "Get started with our four step guide to painless implementation!"
1533
  msgstr ""
1534
 
1535
- #: ../admin/views/licenses.php:4
1536
  msgid "Licenses"
1537
  msgstr ""
1538
 
1539
- #: ../admin/views/licenses.php:5
1540
  msgid ""
1541
  "Enter your license keys to enable automatic updates for <a href=\"admin.php?"
1542
  "page=ajax-load-more-add-ons\">ALM Add-ons</a>."
1543
  msgstr ""
1544
 
1545
- #: ../admin/views/licenses.php:9
1546
  msgid "License Keys"
1547
  msgstr ""
1548
 
1549
- #: ../admin/views/licenses.php:11
1550
  msgid ""
1551
  "Manage your Ajax Load More license key's below - enter a key for each of "
1552
  "your add-ons to receive plugin update notifications directly within the <a "
1553
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1554
  msgstr ""
1555
 
1556
- #: ../admin/views/licenses.php:51 ../admin/views/licenses.php:116
1557
- #: ../admin/views/licenses.php:181 ../admin/views/licenses.php:247
1558
- #: ../admin/views/licenses.php:314 ../admin/views/licenses.php:381
1559
- #: ../admin/views/licenses.php:446 ../admin/views/licenses.php:510
1560
- #: ../admin/views/licenses.php:576 ../admin/views/licenses.php:642
1561
- #: ../admin/views/licenses.php:710
1562
  msgid "Don't have a license?"
1563
  msgstr ""
1564
 
1565
- #: ../admin/views/licenses.php:52 ../admin/views/licenses.php:117
1566
- #: ../admin/views/licenses.php:182 ../admin/views/licenses.php:248
1567
- #: ../admin/views/licenses.php:315 ../admin/views/licenses.php:382
1568
- #: ../admin/views/licenses.php:447 ../admin/views/licenses.php:511
1569
- #: ../admin/views/licenses.php:577 ../admin/views/licenses.php:643
1570
- #: ../admin/views/licenses.php:711
1571
  msgid ""
1572
  "A valid license is required to activate and receive plugin updates directly "
1573
  "in your WordPress dashboard"
1574
  msgstr ""
1575
 
1576
- #: ../admin/views/licenses.php:52 ../admin/views/licenses.php:117
1577
- #: ../admin/views/licenses.php:182 ../admin/views/licenses.php:248
1578
- #: ../admin/views/licenses.php:315 ../admin/views/licenses.php:382
1579
- #: ../admin/views/licenses.php:447 ../admin/views/licenses.php:511
1580
- #: ../admin/views/licenses.php:577 ../admin/views/licenses.php:643
1581
- #: ../admin/views/licenses.php:711
1582
  msgid "Purchase Now"
1583
  msgstr ""
1584
 
1585
- #: ../admin/views/licenses.php:58 ../admin/views/licenses.php:60
1586
- #: ../admin/views/licenses.php:123 ../admin/views/licenses.php:125
1587
- #: ../admin/views/licenses.php:188 ../admin/views/licenses.php:190
1588
- #: ../admin/views/licenses.php:254 ../admin/views/licenses.php:256
1589
- #: ../admin/views/licenses.php:321 ../admin/views/licenses.php:323
1590
- #: ../admin/views/licenses.php:388 ../admin/views/licenses.php:390
1591
- #: ../admin/views/licenses.php:453 ../admin/views/licenses.php:455
1592
- #: ../admin/views/licenses.php:517 ../admin/views/licenses.php:519
1593
- #: ../admin/views/licenses.php:583 ../admin/views/licenses.php:585
1594
- #: ../admin/views/licenses.php:649 ../admin/views/licenses.php:651
1595
- #: ../admin/views/licenses.php:717 ../admin/views/licenses.php:719
1596
  msgid "Enter License Key"
1597
  msgstr ""
1598
 
1599
- #: ../admin/views/licenses.php:80 ../admin/views/licenses.php:145
1600
- #: ../admin/views/licenses.php:210 ../admin/views/licenses.php:276
1601
- #: ../admin/views/licenses.php:343 ../admin/views/licenses.php:410
1602
- #: ../admin/views/licenses.php:474 ../admin/views/licenses.php:539
1603
- #: ../admin/views/licenses.php:605 ../admin/views/licenses.php:671
1604
- #: ../admin/views/licenses.php:740
1605
  msgid "Activate License"
1606
  msgstr ""
1607
 
1608
- #: ../admin/views/licenses.php:84 ../admin/views/licenses.php:149
1609
- #: ../admin/views/licenses.php:214 ../admin/views/licenses.php:280
1610
- #: ../admin/views/licenses.php:347 ../admin/views/licenses.php:414
1611
- #: ../admin/views/licenses.php:478 ../admin/views/licenses.php:543
1612
- #: ../admin/views/licenses.php:609 ../admin/views/licenses.php:675
1613
- #: ../admin/views/licenses.php:744
1614
  msgid "Deactivate License"
1615
  msgstr ""
1616
 
1617
- #: ../admin/views/licenses.php:762
1618
  msgid "You do not have any Ajax Load More add-ons installed"
1619
  msgstr ""
1620
 
1621
- #: ../admin/views/licenses.php:762
1622
  msgid "Browse Add-ons"
1623
  msgstr ""
1624
 
1625
- #: ../admin/views/licenses.php:773
1626
  msgid "About Licenses"
1627
  msgstr ""
1628
 
1629
- #: ../admin/views/licenses.php:776
1630
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1631
  msgstr ""
1632
 
1633
- #: ../admin/views/licenses.php:777
1634
  msgid ""
1635
  "License keys are found in the purchase receipt email that was sent "
1636
- "immediately after your successful purchase."
 
1637
  msgstr ""
1638
 
1639
- #: ../admin/views/licenses.php:778
1640
  msgid ""
1641
- "If you cannot locate your key please use the <a href=\"https://connekthq.com/"
1642
- "contact/\">contact form</a> on our website and reference the email address "
1643
- "used when you completed the purchase."
1644
  msgstr ""
1645
 
1646
- #: ../admin/views/licenses.php:783
1647
  msgid "Legacy Users"
1648
  msgstr ""
1649
 
1650
- #: ../admin/views/repeater-templates.php:4
1651
  msgid "Repeater Templates"
1652
  msgstr ""
1653
 
1654
- #: ../admin/views/repeater-templates.php:5
1655
  msgid "The library of editable templates for use within your theme"
1656
  msgstr ""
1657
 
1658
- #: ../admin/views/repeater-templates.php:54
1659
  msgid "Default Template"
1660
  msgstr ""
1661
 
1662
- #: ../admin/views/repeater-templates.php:58
1663
  msgid "Enter the HTML and PHP code for the default template"
1664
  msgstr ""
1665
 
1666
- #: ../admin/views/repeater-templates.php:78
1667
  msgid "Save Template"
1668
  msgstr ""
1669
 
1670
- #: ../admin/views/repeater-templates.php:82
1671
  msgid ""
1672
  "It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
1673
  "load-more/docs/repeater-templates/#default-template\" target=\"_blank"
@@ -1676,67 +1717,60 @@ msgid ""
1676
  "your server."
1677
  msgstr ""
1678
 
1679
- #: ../admin/views/repeater-templates.php:151
1680
  msgid "Saving template..."
1681
  msgstr ""
1682
 
1683
- #: ../admin/views/repeater-templates.php:184
1684
  msgid "Something went wrong and the data could not be saved."
1685
  msgstr ""
1686
 
1687
- #: ../admin/views/repeater-templates.php:222
1688
  msgid "Updating template..."
1689
  msgstr ""
1690
 
1691
- #: ../admin/views/repeater-templates.php:274
1692
  msgid "Templating Help"
1693
  msgstr ""
1694
 
1695
- #: ../admin/views/repeater-templates.php:276
1696
  msgid "What is a repeater template?"
1697
  msgstr ""
1698
 
1699
- #: ../admin/views/repeater-templates.php:277
1700
  msgid ""
1701
  "A repeater template is a snippet of code that will execute over and over "
1702
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
1703
  "\">WordPress loop</a>.</p>"
1704
  msgstr ""
1705
 
1706
- #: ../admin/views/repeater-templates.php:280
1707
  msgid "Can I include PHP in the repeater template?"
1708
  msgstr ""
1709
 
1710
- #: ../admin/views/repeater-templates.php:281
1711
  msgid ""
1712
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
1713
  "<code>the_permalink()</code> are required.</p>"
1714
  msgstr ""
1715
 
1716
- #: ../admin/views/repeater-templates.php:284
1717
- msgid "Tips and Tricks"
1718
- msgstr ""
1719
-
1720
- #: ../admin/views/repeater-templates.php:286
1721
- msgid ""
1722
- "Always open and close your templates with an HTML element. In some rare "
1723
- "cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;"
1724
- "li> &lt;/li></code> or <code>&lt;div> &lt;/div></code>"
1725
  msgstr ""
1726
 
1727
  #: ../admin/views/settings.php:5
1728
  msgid "A powerful plugin to add infinite scroll functionality to your website."
1729
  msgstr ""
1730
 
1731
- #: ../admin/views/settings.php:9
1732
  msgid "Ajax Load More settings have been saved."
1733
  msgstr ""
1734
 
1735
- #: ../admin/views/settings.php:21
1736
  msgid "A small favor to ask"
1737
  msgstr ""
1738
 
1739
- #: ../admin/views/settings.php:23
1740
  msgid ""
1741
  "If you're an Ajax Load More user, please consider helping <a href=\"https://"
1742
  "twitter.com/KaptonKaos\" target=\"_blank\">me</a> spread the word by sharing "
@@ -1745,59 +1779,59 @@ msgid ""
1745
  "org</a> forums."
1746
  msgstr ""
1747
 
1748
- #: ../admin/views/settings.php:33
1749
  msgid "Don't show me this again!"
1750
  msgstr ""
1751
 
1752
- #: ../admin/views/settings.php:44 ../admin/views/settings.php:47
1753
  msgid "Jump to Setting"
1754
  msgstr ""
1755
 
1756
- #: ../admin/views/settings.php:48
1757
  msgid "Global Settings"
1758
  msgstr ""
1759
 
1760
- #: ../admin/views/settings.php:49
1761
  msgid "Admin"
1762
  msgstr ""
1763
 
1764
- #: ../admin/views/settings.php:62
1765
  msgid "SEO"
1766
  msgstr ""
1767
 
1768
- #: ../admin/views/settings.php:93
1769
  msgid "Sorry, settings could not be saved."
1770
  msgstr ""
1771
 
1772
- #: ../admin/views/shortcode-builder.php:4
1773
  msgid "Shortcode Builder"
1774
  msgstr ""
1775
 
1776
- #: ../admin/views/shortcode-builder.php:5
1777
  msgid ""
1778
  "Create your own Ajax Load More <a href=\"http://en.support.wordpress.com/"
1779
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
1780
  msgstr ""
1781
 
1782
- #: ../admin/views/shortcode-builder.php:23
1783
  msgid "Shortcode Output"
1784
  msgstr ""
1785
 
1786
- #: ../admin/views/shortcode-builder.php:24
1787
  msgid ""
1788
  "Place the following shortcode into the content editor or widget area of your "
1789
  "theme."
1790
  msgstr ""
1791
 
1792
- #: ../admin/views/shortcode-builder.php:29
1793
- msgid "Clear all Shortcode Builder settings"
1794
  msgstr ""
1795
 
1796
- #: ../ajax-load-more.php:196
1797
  msgid "Settings"
1798
  msgstr ""
1799
 
1800
- #: ../core/functions.php:477
1801
  msgid "Pages:"
1802
  msgstr ""
1803
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
+ "POT-Creation-Date: 2016-11-06 17:42-0500\n"
5
+ "PO-Revision-Date: 2016-11-06 17:42-0500\n"
6
+ "Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
  "X-Poedit-Basepath: .\n"
14
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../admin/admin.php:94 ../admin/admin.php:125 ../admin/admin.php:689
19
+ #: ../admin/admin.php:733 ../admin/admin.php:783
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
+ #: ../admin/admin.php:155 ../admin/editor/editor-build.php:72
24
+ #: ../admin/views/licenses.php:65 ../admin/views/licenses.php:130
25
+ #: ../admin/views/licenses.php:195 ../admin/views/licenses.php:261
26
+ #: ../admin/views/licenses.php:328 ../admin/views/licenses.php:395
27
+ #: ../admin/views/licenses.php:460 ../admin/views/licenses.php:524
28
+ #: ../admin/views/licenses.php:590 ../admin/views/licenses.php:656
29
+ #: ../admin/views/licenses.php:724
30
  msgid "Active"
31
  msgstr ""
32
 
33
+ #: ../admin/admin.php:156 ../admin/editor/editor-build.php:73
34
+ #: ../admin/views/licenses.php:69 ../admin/views/licenses.php:134
35
+ #: ../admin/views/licenses.php:199 ../admin/views/licenses.php:265
36
+ #: ../admin/views/licenses.php:332 ../admin/views/licenses.php:399
37
+ #: ../admin/views/licenses.php:464 ../admin/views/licenses.php:528
38
+ #: ../admin/views/licenses.php:594 ../admin/views/licenses.php:660
39
+ #: ../admin/views/licenses.php:728
40
  msgid "Inactive"
41
  msgstr ""
42
 
44
  msgid "Applying layout"
45
  msgstr ""
46
 
47
+ #: ../admin/admin.php:158 ../admin/views/repeater-templates.php:246
48
  msgid "Template Updated"
49
  msgstr ""
50
 
51
+ #: ../admin/admin.php:160
52
+ msgid "Select Author(s)"
53
+ msgstr ""
54
+
55
+ #: ../admin/admin.php:161
56
+ msgid "Select Categories"
57
+ msgstr ""
58
+
59
+ #: ../admin/admin.php:162
60
+ msgid "Select Tags"
61
+ msgstr ""
62
+
63
+ #: ../admin/admin.php:163 ../admin/editor/editor-build.php:44
64
+ msgid "Jump to Option"
65
+ msgstr ""
66
+
67
+ #: ../admin/admin.php:164
68
+ msgid "Jump to Template"
69
+ msgstr ""
70
+
71
+ #: ../admin/admin.php:274
72
  msgid ""
73
  "[Ajax Load More] Error opening default repeater template - Please check your "
74
  "file path and ensure your server is configured to allow Ajax Load More to "
75
  "read and write files within the /ajax-load-more/core/repeater directory"
76
  msgstr ""
77
 
78
+ #: ../admin/admin.php:278
79
  msgid ""
80
  "[Ajax Load More] Error updating default repeater template - Please check "
81
  "your file path and ensure your server is configured to allow Ajax Load More "
82
  "to read and write files within the /ajax-load-more/core/repeater directory."
83
  msgstr ""
84
 
85
+ #: ../admin/admin.php:647
86
  msgid "[Ajax Load More] Unable to open repeater template - "
87
  msgstr ""
88
 
89
+ #: ../admin/admin.php:651
90
  msgid "[Ajax Load More] Error saving repeater template - "
91
  msgstr ""
92
 
93
+ #: ../admin/admin.php:684
94
  msgid "Error Writing File"
95
  msgstr ""
96
 
97
+ #: ../admin/admin.php:887 ../admin/shortcode-builder/shortcode-builder.php:730
 
98
  msgid "Container Type"
99
  msgstr ""
100
 
101
+ #: ../admin/admin.php:895 ../admin/shortcode-builder/shortcode-builder.php:760
 
102
  msgid "Container Classes"
103
  msgstr ""
104
 
105
+ #: ../admin/admin.php:903
106
  msgid "Disable CSS"
107
  msgstr ""
108
 
109
+ #: ../admin/admin.php:911
110
  msgid "Button/Loading Style"
111
  msgstr ""
112
 
113
+ #: ../admin/admin.php:919
114
  msgid "Button Classes"
115
  msgstr ""
116
 
117
+ #: ../admin/admin.php:927
118
  msgid "Ajax Security"
119
  msgstr ""
120
 
121
+ #: ../admin/admin.php:935
122
  msgid "Top of Page"
123
  msgstr ""
124
 
125
+ #: ../admin/admin.php:943
126
  msgid "Dynamic Content"
127
  msgstr ""
128
 
129
+ #: ../admin/admin.php:951
130
  msgid "Editor Button"
131
  msgstr ""
132
 
133
+ #: ../admin/admin.php:959
134
  msgid "Error Notices"
135
  msgstr ""
136
 
137
+ #: ../admin/admin.php:1030
138
  msgid ""
139
  "Customize the user experience of Ajax Load More by updating the fields below."
140
  msgstr ""
141
 
142
+ #: ../admin/admin.php:1043
143
  msgid "The following settings affect the WordPress admin area only."
144
  msgstr ""
145
 
146
+ #: ../admin/admin.php:1074
147
  msgid "I want to use my own CSS styles."
148
  msgstr ""
149
 
150
+ #: ../admin/admin.php:1074
151
  msgid "View Ajax Load More CSS"
152
  msgstr ""
153
 
154
+ #: ../admin/admin.php:1094
155
  msgid "Hide shortcode button in WYSIWYG editor."
156
  msgstr ""
157
 
158
+ #: ../admin/admin.php:1115
159
  msgid ""
160
  "Display error messaging regarding repeater template updates in the browser "
161
  "console."
162
  msgstr ""
163
 
164
+ #: ../admin/admin.php:1136
165
  msgid ""
166
  "Disable dynamic population of categories, tags and authors in the Shortcode "
167
  "Builder.<span style=\"display:block\">Recommended if you have an "
168
  "extraordinary number of categories, tags and/or authors."
169
  msgstr ""
170
 
171
+ #: ../admin/admin.php:1157 ../admin/admin.php:1160
172
  msgid "Ajax Posts Here"
173
  msgstr ""
174
 
175
+ #: ../admin/admin.php:1162
176
  msgid "You can modify the container type when building a shortcode."
177
  msgstr ""
178
 
179
+ #: ../admin/admin.php:1179
180
  msgid ""
181
  "Add classes to Ajax Load More container - classes are applied globally and "
182
  "will appear with every instance of Ajax Load More. <span style=\"display:"
183
  "block\">You can also add classes when building a shortcode.</span>"
184
  msgstr ""
185
 
186
+ #: ../admin/admin.php:1241
187
  msgid ""
188
  "Select an Ajax loading style - you can choose between a <strong>button</"
189
  "strong> or <strong>infinite scroll</strong>"
190
  msgstr ""
191
 
192
+ #: ../admin/admin.php:1262
193
  msgid "Preview"
194
  msgstr ""
195
 
196
+ #: ../admin/admin.php:1262
197
+ #: ../admin/shortcode-builder/shortcode-builder.php:785
198
+ #: ../core/classes/class.alm-shortcode.php:116
199
  msgid "Older Posts"
200
  msgstr ""
201
 
202
+ #: ../admin/admin.php:1281
203
  msgid "Add classes to your <strong>Load More</strong> button"
204
  msgstr ""
205
 
206
+ #: ../admin/admin.php:1324
207
  msgid ""
208
  "On initial page load, move the user's browser window to the top of the "
209
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
210
  "loading of unnecessary posts.</span>"
211
  msgstr ""
212
 
213
+ #: ../admin/admin.php:1345
214
  msgid ""
215
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
216
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
217
  "types of misuse, malicious or otherwise on each Ajax Load More query."
218
  msgstr ""
219
 
220
+ #: ../admin/editor/editor-build.php:48
 
 
 
 
221
  msgid ""
222
  "Create your own Ajax Load More shortcode by adjusting the parameters below:"
223
  msgstr ""
224
 
225
+ #: ../admin/editor/editor-build.php:56
226
  msgid "Insert Shortcode"
227
  msgstr ""
228
 
229
+ #: ../admin/editor/editor-build.php:59 ../admin/views/shortcode-builder.php:25
230
  msgid "Copy"
231
  msgstr ""
232
 
248
  msgstr ""
249
 
250
  #: ../admin/includes/components/repeater-options.php:2
251
+ #: ../admin/shortcode-builder/shortcode-builder.php:710
252
  msgid "Options"
253
  msgstr ""
254
 
273
  msgstr ""
274
 
275
  #: ../admin/includes/cta/dyk.php:2
276
+ msgid "Did You Know?"
277
  msgstr ""
278
 
279
  #: ../admin/includes/cta/extend.php:1
321
  msgstr ""
322
 
323
  #: ../admin/includes/cta/resources.php:6
324
+ #, fuzzy
325
+ msgid "Twitter"
326
+ msgstr "Partager sur Twitter"
327
+
328
+ #: ../admin/includes/cta/resources.php:7
329
  msgid "Reviews"
330
  msgstr ""
331
 
332
+ #: ../admin/includes/cta/resources.php:8
333
  #, fuzzy
334
  msgid "Facebook"
335
  msgstr "Partager sur Facebook"
336
 
 
 
 
 
 
337
  #: ../admin/includes/cta/resources.php:9
338
  msgid "Github"
339
  msgstr ""
472
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
473
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
474
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
475
+ #: ../admin/shortcode-builder/shortcode-builder.php:478
476
  msgid "Select Taxonomy"
477
  msgstr ""
478
 
489
  msgstr ""
490
 
491
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
492
+ #: ../admin/shortcode-builder/shortcode-builder.php:1276
493
  msgid "Relation:"
494
  msgstr ""
495
 
499
  msgstr ""
500
 
501
  #: ../admin/shortcode-builder/shortcode-builder.php:1
502
+ #: ../admin/views/examples.php:11 ../admin/views/repeater-templates.php:17
503
  msgid "Collapse All"
504
  msgstr ""
505
 
506
  #: ../admin/shortcode-builder/shortcode-builder.php:1
507
+ #: ../admin/views/examples.php:11 ../admin/views/repeater-templates.php:18
508
  msgid "Expand All"
509
  msgstr ""
510
 
511
+ #: ../admin/shortcode-builder/shortcode-builder.php:16
512
+ #: ../admin/views/add-ons.php:5
513
+ msgid "Add-ons"
514
+ msgstr ""
515
+
516
+ #: ../admin/shortcode-builder/shortcode-builder.php:21
517
+ #: ../admin/views/add-ons.php:20 ../admin/views/licenses.php:44
518
+ #: ../admin/views/settings.php:53
519
  msgid "Cache"
520
  msgstr ""
521
 
522
+ #: ../admin/shortcode-builder/shortcode-builder.php:24
523
  msgid "Turn on content caching."
524
  msgstr ""
525
 
526
+ #: ../admin/shortcode-builder/shortcode-builder.php:31
527
+ #: ../admin/shortcode-builder/shortcode-builder.php:75
528
+ #: ../admin/shortcode-builder/shortcode-builder.php:169
529
+ #: ../admin/shortcode-builder/shortcode-builder.php:319
530
+ #: ../admin/shortcode-builder/shortcode-builder.php:342
531
+ #: ../admin/shortcode-builder/shortcode-builder.php:396
532
+ #: ../admin/shortcode-builder/shortcode-builder.php:437
533
  #: ../admin/shortcode-builder/shortcode-builder.php:530
534
  #: ../admin/shortcode-builder/shortcode-builder.php:610
535
  #: ../admin/shortcode-builder/shortcode-builder.php:644
536
+ #: ../admin/shortcode-builder/shortcode-builder.php:820
537
+ #: ../admin/shortcode-builder/shortcode-builder.php:845
538
+ #: ../admin/shortcode-builder/shortcode-builder.php:871
539
+ #: ../admin/shortcode-builder/shortcode-builder.php:918
540
  msgid "True"
541
  msgstr ""
542
 
543
+ #: ../admin/shortcode-builder/shortcode-builder.php:35
544
+ #: ../admin/shortcode-builder/shortcode-builder.php:79
545
+ #: ../admin/shortcode-builder/shortcode-builder.php:173
546
+ #: ../admin/shortcode-builder/shortcode-builder.php:323
547
+ #: ../admin/shortcode-builder/shortcode-builder.php:346
548
+ #: ../admin/shortcode-builder/shortcode-builder.php:400
549
+ #: ../admin/shortcode-builder/shortcode-builder.php:441
550
  #: ../admin/shortcode-builder/shortcode-builder.php:534
551
  #: ../admin/shortcode-builder/shortcode-builder.php:614
552
  #: ../admin/shortcode-builder/shortcode-builder.php:648
553
+ #: ../admin/shortcode-builder/shortcode-builder.php:824
554
+ #: ../admin/shortcode-builder/shortcode-builder.php:849
555
+ #: ../admin/shortcode-builder/shortcode-builder.php:875
556
+ #: ../admin/shortcode-builder/shortcode-builder.php:922
557
  msgid "False"
558
  msgstr ""
559
 
560
+ #: ../admin/shortcode-builder/shortcode-builder.php:45
561
  msgid "Cache ID"
562
  msgstr ""
563
 
564
+ #: ../admin/shortcode-builder/shortcode-builder.php:46
565
  msgid ""
566
  "You <u>must</u> generate a unique ID for this cached query - this unique ID "
567
  "will be used as a content identifier."
568
  msgstr ""
569
 
570
+ #: ../admin/shortcode-builder/shortcode-builder.php:52
571
+ msgid "Generate Cache ID"
572
  msgstr ""
573
 
574
+ #: ../admin/shortcode-builder/shortcode-builder.php:64
575
+ #: ../admin/views/add-ons.php:47 ../admin/views/licenses.php:109
576
  msgid "Call to Actions"
577
  msgstr ""
578
 
579
+ #: ../admin/shortcode-builder/shortcode-builder.php:68
580
  msgid "Insert call to action block."
581
  msgstr ""
582
 
583
+ #: ../admin/shortcode-builder/shortcode-builder.php:92
584
  msgid "CTA Positioning"
585
  msgstr ""
586
 
587
+ #: ../admin/shortcode-builder/shortcode-builder.php:93
588
  msgid ""
589
  "Insert call to action <strong><em id=\"sequence-update-before-after"
590
  "\">before</em></strong> post #<strong><em id=\"sequence-update\">1</em></"
591
  "strong>"
592
  msgstr ""
593
 
594
+ #: ../admin/shortcode-builder/shortcode-builder.php:98
595
  msgid "Before / After"
596
  msgstr ""
597
 
598
+ #: ../admin/shortcode-builder/shortcode-builder.php:100
599
  msgid "Before"
600
  msgstr ""
601
 
602
+ #: ../admin/shortcode-builder/shortcode-builder.php:101
603
  msgid "After"
604
  msgstr ""
605
 
606
+ #: ../admin/shortcode-builder/shortcode-builder.php:105
607
  msgid "Post #"
608
  msgstr ""
609
 
610
+ #: ../admin/shortcode-builder/shortcode-builder.php:116
611
+ #: ../admin/shortcode-builder/shortcode-builder.php:670
612
  msgid "Template"
613
  msgstr ""
614
 
615
+ #: ../admin/shortcode-builder/shortcode-builder.php:118
616
  msgid ""
617
  "Select the <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
618
  "\"_parent\">repeater template</a> that will display your call to action."
619
  msgstr ""
620
 
621
+ #: ../admin/shortcode-builder/shortcode-builder.php:125
622
  #, fuzzy
623
  msgid "-- Select Repeater --"
624
  msgstr "Sélectionnez province"
625
 
626
+ #: ../admin/shortcode-builder/shortcode-builder.php:145
627
  msgid ""
628
  "Call to actions do NOT count as a post within an Ajax Load More loop.<br/>\n"
629
+ " For example, if you set <strong>posts_per_page=\"5\"</"
630
+ "strong> in your shortcode, 6 items will be displayed."
631
  msgstr ""
632
 
633
+ #: ../admin/shortcode-builder/shortcode-builder.php:159
634
+ #: ../admin/views/add-ons.php:74 ../admin/views/licenses.php:174
635
  msgid "Comments"
636
  msgstr ""
637
 
638
+ #: ../admin/shortcode-builder/shortcode-builder.php:162
639
  msgid "Enable Ajax Load More to display blog comments."
640
  msgstr ""
641
 
642
+ #: ../admin/shortcode-builder/shortcode-builder.php:184
643
+ #: ../admin/shortcode-builder/shortcode-builder.php:451
644
  msgid "Post ID"
645
  msgstr ""
646
 
647
+ #: ../admin/shortcode-builder/shortcode-builder.php:185
648
+ #: ../admin/shortcode-builder/shortcode-builder.php:452
649
  msgid "The ID of the current single post."
650
  msgstr ""
651
 
652
+ #: ../admin/shortcode-builder/shortcode-builder.php:196
653
  msgid "Comments Per Page"
654
  msgstr ""
655
 
656
+ #: ../admin/shortcode-builder/shortcode-builder.php:197
657
  msgid "The number of top level items to show for each page of comments."
658
  msgstr ""
659
 
660
+ #: ../admin/shortcode-builder/shortcode-builder.php:205
661
  msgid ""
662
  "<strong>Note</strong>: The amount selected does NOT include comment replies."
663
  msgstr ""
664
 
665
+ #: ../admin/shortcode-builder/shortcode-builder.php:211
666
  msgid "Comment Type"
667
  msgstr ""
668
 
669
+ #: ../admin/shortcode-builder/shortcode-builder.php:212
670
  msgid "The type of comment(s) to display."
671
  msgstr ""
672
 
673
+ #: ../admin/shortcode-builder/shortcode-builder.php:217
674
  msgid "Comment"
675
  msgstr ""
676
 
677
+ #: ../admin/shortcode-builder/shortcode-builder.php:218
678
  msgid "All"
679
  msgstr ""
680
 
681
+ #: ../admin/shortcode-builder/shortcode-builder.php:219
682
  msgid "Trackback"
683
  msgstr ""
684
 
685
+ #: ../admin/shortcode-builder/shortcode-builder.php:220
686
  msgid "Pingback"
687
  msgstr ""
688
 
689
+ #: ../admin/shortcode-builder/shortcode-builder.php:221
690
  msgid "Pings"
691
  msgstr ""
692
 
693
+ #: ../admin/shortcode-builder/shortcode-builder.php:229
694
  msgid "Comment Style"
695
  msgstr ""
696
 
697
+ #: ../admin/shortcode-builder/shortcode-builder.php:230
698
  msgid "Select the HTML container style for your comments."
699
  msgstr ""
700
 
701
+ #: ../admin/shortcode-builder/shortcode-builder.php:255
702
  msgid "Comment Template"
703
  msgstr ""
704
 
705
+ #: ../admin/shortcode-builder/shortcode-builder.php:256
706
  msgid "Select a repeater template that will display comment data."
707
  msgstr ""
708
 
709
+ #: ../admin/shortcode-builder/shortcode-builder.php:262
710
+ #: ../admin/shortcode-builder/shortcode-builder.php:952
711
  msgid "None"
712
  msgstr ""
713
 
714
+ #: ../admin/shortcode-builder/shortcode-builder.php:263
715
  msgid "Default"
716
  msgstr ""
717
 
718
+ #: ../admin/shortcode-builder/shortcode-builder.php:275
719
  msgid ""
720
  "<strong>Note</strong>: <span>None</span> will use the default WordPress "
721
  "comment layout."
722
  msgstr ""
723
 
724
+ #: ../admin/shortcode-builder/shortcode-builder.php:284
725
  msgid "Callback Function"
726
  msgstr ""
727
 
728
+ #: ../admin/shortcode-builder/shortcode-builder.php:285
729
  msgid ""
730
  "A custom <a href=\"https://codex.wordpress.org/Function_Reference/"
731
  "wp_list_comments#Arguments\" target=\"_blank\">callback</a> function that "
732
  "will display each comment."
733
  msgstr ""
734
 
735
+ #: ../admin/shortcode-builder/shortcode-builder.php:293
736
  msgid ""
737
  "<strong>Note</strong>: The majority of premium themes have a custom callback "
738
  "function for displaying comments. Please see comments.php or functions.php "
739
  "within your theme directory to locate the callback function for your theme."
740
  msgstr ""
741
 
742
+ #: ../admin/shortcode-builder/shortcode-builder.php:298
743
  msgid ""
744
  "You must add the comments shortcode directly to your single template file "
745
  "using the <a href=\"https://developer.wordpress.org/reference/functions/"
748
  "\"_blank\">View documentation</a>"
749
  msgstr ""
750
 
751
+ #: ../admin/shortcode-builder/shortcode-builder.php:310
752
+ #: ../admin/views/add-ons.php:153 ../admin/views/licenses.php:374
753
+ #: ../admin/views/settings.php:57
754
  msgid "Paging"
755
  msgstr ""
756
 
757
+ #: ../admin/shortcode-builder/shortcode-builder.php:312
758
  msgid "Replace infinite scrolling with a paged ajax navigation system."
759
  msgstr ""
760
 
761
+ #: ../admin/shortcode-builder/shortcode-builder.php:334
762
  msgid "Paging Controls"
763
  msgstr ""
764
 
765
+ #: ../admin/shortcode-builder/shortcode-builder.php:335
766
  msgid "Show (&laquo;)previous and next(&raquo;) buttons."
767
  msgstr ""
768
 
769
+ #: ../admin/shortcode-builder/shortcode-builder.php:355
770
  msgid "Paging Navigation Classes"
771
  msgstr ""
772
 
773
+ #: ../admin/shortcode-builder/shortcode-builder.php:356
774
  msgid "Add custom CSS classes to the paging navigation menu."
775
  msgstr ""
776
 
777
+ #: ../admin/shortcode-builder/shortcode-builder.php:367
778
  msgid "Show at Most"
779
  msgstr ""
780
 
781
+ #: ../admin/shortcode-builder/shortcode-builder.php:368
782
  msgid ""
783
  "The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
784
  msgstr ""
785
 
786
+ #: ../admin/shortcode-builder/shortcode-builder.php:386
787
+ #: ../admin/views/add-ons.php:180 ../admin/views/licenses.php:439
788
  msgid "Preloaded"
789
  msgstr ""
790
 
791
+ #: ../admin/shortcode-builder/shortcode-builder.php:389
792
  msgid "Preload posts prior to making Ajax requests."
793
  msgstr ""
794
 
795
+ #: ../admin/shortcode-builder/shortcode-builder.php:410
796
  msgid "Preload Amount"
797
  msgstr ""
798
 
799
+ #: ../admin/shortcode-builder/shortcode-builder.php:411
800
  msgid "Enter the number of posts to preload."
801
  msgstr ""
802
 
803
+ #: ../admin/shortcode-builder/shortcode-builder.php:427
804
+ #: ../admin/views/add-ons.php:206 ../admin/views/licenses.php:503
805
+ #: ../admin/views/settings.php:59
806
  msgid "Previous Post"
807
  msgstr ""
808
 
809
+ #: ../admin/shortcode-builder/shortcode-builder.php:430
810
  msgid "Enable the infinite scrolling of single posts."
811
  msgstr ""
812
 
813
+ #: ../admin/shortcode-builder/shortcode-builder.php:464
814
+ #: ../admin/shortcode-builder/shortcode-builder.php:1216
815
  msgid "Taxonomy"
816
  msgstr ""
817
 
818
+ #: ../admin/shortcode-builder/shortcode-builder.php:464
819
  msgid ""
820
  "Selecting a taxonomy means only previous posts from the same taxonomy will "
821
  "be returned"
822
  msgstr ""
823
 
824
+ #: ../admin/shortcode-builder/shortcode-builder.php:465
825
  msgid "Query previous posts from the same taxonomy."
826
  msgstr ""
827
 
828
+ #: ../admin/shortcode-builder/shortcode-builder.php:479
829
+ #: ../admin/shortcode-builder/shortcode-builder.php:1097
830
  msgid "Category"
831
  msgstr ""
832
 
833
+ #: ../admin/shortcode-builder/shortcode-builder.php:480
834
+ #: ../admin/shortcode-builder/shortcode-builder.php:1157
835
  msgid "Tag"
836
  msgstr ""
837
 
838
+ #: ../admin/shortcode-builder/shortcode-builder.php:494
839
  msgid ""
840
  "You must add the Previous Post shortcode directly to your single template "
841
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
845
  msgstr ""
846
 
847
  #: ../admin/shortcode-builder/shortcode-builder.php:520
848
+ #: ../admin/views/add-ons.php:232 ../admin/views/licenses.php:569
849
+ #: ../admin/views/settings.php:61
850
  msgid "REST API"
851
  msgstr ""
852
 
906
  "template</em> = <em>alm-template</em>"
907
  msgstr ""
908
 
909
+ #: ../admin/shortcode-builder/shortcode-builder.php:590
910
+ #: ../admin/shortcode-builder/shortcode-builder.php:1102
911
+ #: ../admin/shortcode-builder/shortcode-builder.php:1161
912
+ #: ../admin/shortcode-builder/shortcode-builder.php:1361
913
+ msgid "View Example"
914
+ msgstr ""
915
+
916
  #: ../admin/shortcode-builder/shortcode-builder.php:602
917
  msgid "Debug Mode"
918
  msgstr ""
940
  msgstr ""
941
 
942
  #: ../admin/shortcode-builder/shortcode-builder.php:665
943
+ msgid "Display Settings"
944
+ msgstr ""
945
+
946
+ #: ../admin/shortcode-builder/shortcode-builder.php:674
947
  msgid "Repeater Template"
948
  msgstr ""
949
 
950
+ #: ../admin/shortcode-builder/shortcode-builder.php:676
951
  msgid ""
952
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
953
  "\"_parent\">repeater template</a> you would like to use."
954
  msgstr ""
955
 
 
 
 
 
956
  #: ../admin/shortcode-builder/shortcode-builder.php:714
957
+ msgid "ID"
958
  msgstr ""
959
 
960
+ #: ../admin/shortcode-builder/shortcode-builder.php:714
 
 
 
 
961
  msgid ""
962
+ "Adding a unique ID will allow you target this specific Ajax Load More "
963
+ "instance with the alm_query_args_id() filter."
964
  msgstr ""
965
 
966
+ #: ../admin/shortcode-builder/shortcode-builder.php:715
967
+ msgid "Set a unique ID for this Ajax Load More instance."
968
  msgstr ""
969
 
970
+ #: ../admin/shortcode-builder/shortcode-builder.php:722
971
+ msgid "Generate Unique ID"
972
  msgstr ""
973
 
974
+ #: ../admin/shortcode-builder/shortcode-builder.php:730
975
  msgid ""
976
+ "You can define a global container type on the Ajax Load More settings screen"
 
977
  msgstr ""
978
 
979
+ #: ../admin/shortcode-builder/shortcode-builder.php:731
980
+ msgid ""
981
+ "Override the global Container Type that was set on <a href=\"admin.php?"
982
+ "page=ajax-load-more\">ALM Settings page</a>."
983
  msgstr ""
984
 
985
+ #: ../admin/shortcode-builder/shortcode-builder.php:760
986
+ msgid ""
987
+ "You can define global container classes on the Ajax Load More settings screen"
 
988
  msgstr ""
989
 
990
+ #: ../admin/shortcode-builder/shortcode-builder.php:761
991
  msgid ""
992
+ "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
993
+ "portfolio-listing large-12 etc"
994
  msgstr ""
995
 
996
+ #: ../admin/shortcode-builder/shortcode-builder.php:775
997
+ msgid "Button Labels"
 
998
  msgstr ""
999
 
1000
+ #: ../admin/shortcode-builder/shortcode-builder.php:780
1001
+ msgid "Label"
 
1002
  msgstr ""
1003
 
1004
+ #: ../admin/shortcode-builder/shortcode-builder.php:781
1005
+ msgid "Customize the text of the <em>Load More</em> button."
1006
  msgstr ""
1007
 
1008
+ #: ../admin/shortcode-builder/shortcode-builder.php:793
1009
+ msgid "Loading Label"
1010
  msgstr ""
1011
 
1012
+ #: ../admin/shortcode-builder/shortcode-builder.php:793
1013
+ msgid "Leave field empty to not update text while loading content"
1014
  msgstr ""
1015
 
1016
+ #: ../admin/shortcode-builder/shortcode-builder.php:794
1017
  msgid ""
1018
+ "Update the text of the <em>Load More</em> button while content is loading."
 
1019
  msgstr ""
1020
 
1021
+ #: ../admin/shortcode-builder/shortcode-builder.php:798
1022
+ msgid "Loading Posts..."
1023
  msgstr ""
1024
 
1025
+ #: ../admin/shortcode-builder/shortcode-builder.php:808
1026
+ msgid "Images Loaded"
1027
  msgstr ""
1028
 
1029
+ #: ../admin/shortcode-builder/shortcode-builder.php:811
1030
+ msgid "Wait for all images to load before displaying ajax loaded content"
1031
  msgstr ""
1032
 
1033
+ #: ../admin/shortcode-builder/shortcode-builder.php:812
1034
+ msgid "Background images are currently not supported"
1035
  msgstr ""
1036
 
1037
+ #: ../admin/shortcode-builder/shortcode-builder.php:835
1038
+ msgid "Pause"
 
 
 
1039
  msgstr ""
1040
 
1041
+ #: ../admin/shortcode-builder/shortcode-builder.php:838
1042
  msgid ""
1043
+ "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
 
1044
  msgstr ""
1045
 
1046
+ #: ../admin/shortcode-builder/shortcode-builder.php:860
1047
+ msgid "Scrolling"
1048
  msgstr ""
1049
 
1050
+ #: ../admin/shortcode-builder/shortcode-builder.php:863
1051
+ msgid "Enable Scrolling"
1052
  msgstr ""
1053
 
1054
+ #: ../admin/shortcode-builder/shortcode-builder.php:864
1055
+ msgid "Load more posts as the user scrolls the page."
1056
  msgstr ""
1057
 
1058
+ #: ../admin/shortcode-builder/shortcode-builder.php:885
1059
+ msgid "Scroll Distance"
1060
  msgstr ""
1061
 
1062
+ #: ../admin/shortcode-builder/shortcode-builder.php:885
1063
+ msgid ""
1064
+ "Distance is based on the position of the loading button from the bottom of "
1065
+ "the screen"
1066
  msgstr ""
1067
 
1068
+ #: ../admin/shortcode-builder/shortcode-builder.php:886
1069
+ msgid ""
1070
+ "The distance from the bottom of the screen to trigger loading of posts. "
1071
+ "(Default = 150)"
1072
  msgstr ""
1073
 
1074
+ #: ../admin/shortcode-builder/shortcode-builder.php:898
1075
+ msgid "Maximum Pages"
1076
  msgstr ""
1077
 
1078
+ #: ../admin/shortcode-builder/shortcode-builder.php:898
1079
+ msgid "If using an Infinite Scroll button style you should set this to 0"
1080
  msgstr ""
1081
 
1082
+ #: ../admin/shortcode-builder/shortcode-builder.php:899
1083
+ msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
 
 
1084
  msgstr ""
1085
 
1086
+ #: ../admin/shortcode-builder/shortcode-builder.php:911
1087
+ msgid "Pause Override"
1088
  msgstr ""
1089
 
1090
+ #: ../admin/shortcode-builder/shortcode-builder.php:912
1091
+ msgid ""
1092
+ "Allow scrolling to override the Pause parameter and trigger the loading of "
1093
+ "posts on scroll."
1094
  msgstr ""
1095
 
1096
+ #: ../admin/shortcode-builder/shortcode-builder.php:933
1097
+ msgid "Transition"
1098
  msgstr ""
1099
 
1100
+ #: ../admin/shortcode-builder/shortcode-builder.php:936
1101
+ msgid "Transition Type"
1102
  msgstr ""
1103
 
1104
+ #: ../admin/shortcode-builder/shortcode-builder.php:937
1105
+ msgid "Select a loading transition style."
1106
  msgstr ""
1107
 
1108
+ #: ../admin/shortcode-builder/shortcode-builder.php:944
1109
+ msgid "Slide"
1110
  msgstr ""
1111
 
1112
+ #: ../admin/shortcode-builder/shortcode-builder.php:948
1113
+ msgid "Fade"
 
 
 
1114
  msgstr ""
1115
 
1116
+ #: ../admin/shortcode-builder/shortcode-builder.php:962
1117
+ msgid "Transition Speed"
1118
  msgstr ""
1119
 
1120
+ #: ../admin/shortcode-builder/shortcode-builder.php:962
1121
+ msgid "0.5 seconds = 500, 1 second = 1000 etc."
1122
  msgstr ""
1123
 
1124
+ #: ../admin/shortcode-builder/shortcode-builder.php:963
1125
+ msgid "The speed of the loading transition in milliseconds"
1126
  msgstr ""
1127
 
1128
+ #: ../admin/shortcode-builder/shortcode-builder.php:975
1129
+ msgid "Transition Container"
1130
  msgstr ""
1131
 
1132
+ #: ../admin/shortcode-builder/shortcode-builder.php:975
1133
+ msgid ""
1134
+ "Removing the transition container may have undesired results and is not "
1135
+ "recommended."
1136
  msgstr ""
1137
 
1138
+ #: ../admin/shortcode-builder/shortcode-builder.php:976
1139
+ msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1140
  msgstr ""
1141
 
1142
+ #: ../admin/shortcode-builder/shortcode-builder.php:994
1143
+ msgid "Destroy After"
1144
  msgstr ""
1145
 
1146
+ #: ../admin/shortcode-builder/shortcode-builder.php:997
1147
+ msgid ""
1148
+ "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1149
+ "been loaded."
1150
  msgstr ""
1151
 
1152
+ #: ../admin/shortcode-builder/shortcode-builder.php:1015
1153
+ msgid "Query Parameters"
1154
+ msgstr ""
1155
+
1156
+ #: ../admin/shortcode-builder/shortcode-builder.php:1019
1157
  msgid "Posts Per Page"
1158
  msgstr ""
1159
 
1160
+ #: ../admin/shortcode-builder/shortcode-builder.php:1022
1161
  msgid "Select the number of posts to load with each request."
1162
  msgstr ""
1163
 
1164
+ #: ../admin/shortcode-builder/shortcode-builder.php:1041
1165
+ msgid "Post Type"
1166
  msgstr ""
1167
 
1168
+ #: ../admin/shortcode-builder/shortcode-builder.php:1044
1169
+ msgid "Select Post Types to query."
 
1170
  msgstr ""
1171
 
1172
+ #: ../admin/shortcode-builder/shortcode-builder.php:1068
1173
+ msgid "Post Format"
1174
  msgstr ""
1175
 
1176
+ #: ../admin/shortcode-builder/shortcode-builder.php:1071
1177
+ msgid ""
1178
+ "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
1179
+ "\">Post Format</a> to query."
1180
  msgstr ""
1181
 
1182
+ #: ../admin/shortcode-builder/shortcode-builder.php:1074
1183
+ msgid "Select Post Format"
1184
  msgstr ""
1185
 
1186
+ #: ../admin/shortcode-builder/shortcode-builder.php:1075
1187
+ msgid "Standard"
1188
  msgstr ""
1189
 
1190
+ #: ../admin/shortcode-builder/shortcode-builder.php:1101
1191
  msgid ""
1192
+ "A comma separated list of categories to include by slug. (design, research "
1193
+ "etc...)"
1194
  msgstr ""
1195
 
1196
+ #: ../admin/shortcode-builder/shortcode-builder.php:1124
1197
+ #: ../admin/shortcode-builder/shortcode-builder.php:1182
1198
+ #: ../admin/shortcode-builder/shortcode-builder.php:1360
1199
+ msgid "Exclude"
1200
+ msgstr ""
1201
+
1202
+ #: ../admin/shortcode-builder/shortcode-builder.php:1125
1203
  msgid ""
1204
+ "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
 
1205
  msgstr ""
1206
 
1207
+ #: ../admin/shortcode-builder/shortcode-builder.php:1160
1208
+ #: ../admin/shortcode-builder/shortcode-builder.php:1349
1209
+ msgid "Include"
1210
  msgstr ""
1211
 
1212
+ #: ../admin/shortcode-builder/shortcode-builder.php:1161
1213
+ msgid ""
1214
+ "A comma separated list of tags to include by slug. (toronto, canada etc...)"
1215
  msgstr ""
1216
 
1217
+ #: ../admin/shortcode-builder/shortcode-builder.php:1183
1218
+ msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
1219
  msgstr ""
1220
 
1221
+ #: ../admin/shortcode-builder/shortcode-builder.php:1219
1222
+ msgid "Select a taxonomy then select the terms and an operator."
1223
+ msgstr ""
1224
+
1225
+ #: ../admin/shortcode-builder/shortcode-builder.php:1234
1226
+ msgid "Date"
1227
  msgstr ""
1228
 
1229
+ #: ../admin/shortcode-builder/shortcode-builder.php:1237
1230
  msgid ""
1231
+ "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
1232
+ "href=\"admin.php?page=ajax-load-more-examples#example-date\">View Example</a>"
1233
  msgstr ""
1234
 
1235
+ #: ../admin/shortcode-builder/shortcode-builder.php:1243
1236
+ msgid "Year:"
1237
  msgstr ""
1238
 
1239
+ #: ../admin/shortcode-builder/shortcode-builder.php:1247
1240
+ msgid "Month:"
1241
  msgstr ""
1242
 
1243
+ #: ../admin/shortcode-builder/shortcode-builder.php:1251
1244
+ msgid "Day:"
1245
  msgstr ""
1246
 
1247
+ #: ../admin/shortcode-builder/shortcode-builder.php:1262
1248
+ msgid "Custom Fields (Meta_Query)"
1249
  msgstr ""
1250
 
1251
+ #: ../admin/shortcode-builder/shortcode-builder.php:1265
1252
+ msgid ""
1253
+ "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
1254
+ "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
1255
+ "and operator."
1256
  msgstr ""
1257
 
1258
+ #: ../admin/shortcode-builder/shortcode-builder.php:1276
1259
+ msgid ""
1260
+ "The logical relationship between each custom field when there is more than "
1261
+ "one."
1262
  msgstr ""
1263
 
1264
+ #: ../admin/shortcode-builder/shortcode-builder.php:1290
1265
+ msgid "Add Another"
1266
  msgstr ""
1267
 
1268
+ #: ../admin/shortcode-builder/shortcode-builder.php:1306
1269
+ msgid "Author"
1270
  msgstr ""
1271
 
1272
+ #: ../admin/shortcode-builder/shortcode-builder.php:1309
1273
+ msgid "Select an Author to query(by ID)."
1274
  msgstr ""
1275
 
1276
+ #: ../admin/shortcode-builder/shortcode-builder.php:1330
1277
+ msgid "Search Term"
 
 
1278
  msgstr ""
1279
 
1280
+ #: ../admin/shortcode-builder/shortcode-builder.php:1333
1281
+ msgid "Enter a search term to query."
1282
  msgstr ""
1283
 
1284
+ #: ../admin/shortcode-builder/shortcode-builder.php:1337
1285
+ msgid "Enter search term"
1286
  msgstr ""
1287
 
1288
+ #: ../admin/shortcode-builder/shortcode-builder.php:1346
1289
+ msgid "Post Parameters"
1290
  msgstr ""
1291
 
1292
+ #: ../admin/shortcode-builder/shortcode-builder.php:1350
1293
+ msgid "A comma separated list of post ID's to query."
1294
  msgstr ""
1295
 
1296
+ #: ../admin/shortcode-builder/shortcode-builder.php:1354
1297
+ msgid "225, 340, 818, etc..."
1298
  msgstr ""
1299
 
1300
+ #: ../admin/shortcode-builder/shortcode-builder.php:1361
1301
+ msgid "A comma separated list of post ID's to exclude from query."
 
 
1302
  msgstr ""
1303
 
1304
+ #: ../admin/shortcode-builder/shortcode-builder.php:1371
1305
+ msgid "Post Status"
1306
  msgstr ""
1307
 
1308
+ #: ../admin/shortcode-builder/shortcode-builder.php:1371
1309
+ msgid ""
1310
+ "Post Status parameters are only available for logged in (admin) users. Non "
1311
+ "logged in users will only have access to view content in a 'publish' or "
1312
+ "'inherit' state. "
1313
  msgstr ""
1314
 
1315
+ #: ../admin/shortcode-builder/shortcode-builder.php:1372
1316
+ msgid "Select status of the post."
1317
  msgstr ""
1318
 
1319
+ #: ../admin/shortcode-builder/shortcode-builder.php:1377
1320
+ msgid "Published"
1321
  msgstr ""
1322
 
1323
+ #: ../admin/shortcode-builder/shortcode-builder.php:1394
1324
+ msgid "Ordering"
1325
  msgstr ""
1326
 
1327
+ #: ../admin/shortcode-builder/shortcode-builder.php:1397
1328
+ msgid "Sort posts by Order and Orderby parameters."
 
1329
  msgstr ""
1330
 
1331
+ #: ../admin/shortcode-builder/shortcode-builder.php:1401
1332
+ msgid "Order"
1333
  msgstr ""
1334
 
1335
+ #: ../admin/shortcode-builder/shortcode-builder.php:1408
1336
+ msgid "Order By"
1337
  msgstr ""
1338
 
1339
+ #: ../admin/shortcode-builder/shortcode-builder.php:1428
1340
+ msgid "Offset"
 
1341
  msgstr ""
1342
 
1343
+ #: ../admin/shortcode-builder/shortcode-builder.php:1431
1344
+ msgid "Offset the initial query by <em>'n'</em> number of posts"
 
 
1345
  msgstr ""
1346
 
1347
+ #: ../admin/shortcode-builder/shortcode-builder.php:1444
1348
+ msgid "Custom Arguments"
 
1349
  msgstr ""
1350
 
1351
+ #: ../admin/shortcode-builder/shortcode-builder.php:1447
1352
+ msgid "A semicolon separated list of custom value:pair arguments."
1353
+ msgstr ""
1354
+
1355
+ #: ../admin/shortcode-builder/shortcode-builder.php:1447
1356
  msgid ""
1357
+ "Custom Arguments can be used to query by parameters not available in the "
1358
+ "Shortcode Builder."
1359
  msgstr ""
1360
 
1361
+ #: ../admin/shortcode-builder/shortcode-builder.php:1451
1362
+ msgid "event_display:upcoming"
1363
  msgstr ""
1364
 
1365
+ #: ../admin/views/add-ons.php:6
1366
  msgid ""
1367
  "Add-ons are available to extend and enhance the core functionality of Ajax "
1368
  "Load More"
1369
  msgstr ""
1370
 
1371
+ #: ../admin/views/add-ons.php:21
1372
  msgid "Improve performance with the Ajax Load More caching engine."
1373
  msgstr ""
1374
 
1375
+ #: ../admin/views/add-ons.php:22
1376
  msgid ""
1377
  "The Cache add-on creates static HTML files of Ajax Load More requests then "
1378
  "delivers those static files to your visitors."
1379
  msgstr ""
1380
 
1381
+ #: ../admin/views/add-ons.php:48
1382
  msgid ""
1383
  "Ajax Load More extension for displaying advertisements and call to actions."
1384
  msgstr ""
1385
 
1386
+ #: ../admin/views/add-ons.php:49
1387
  msgid ""
1388
  "The Call to Actions add-on will provide the ability to inject a custom CTA "
1389
  "template within each Ajax Load More loop."
1390
  msgstr ""
1391
 
1392
+ #: ../admin/views/add-ons.php:75
1393
  msgid "Load blog comments on demand with Ajax Load More."
1394
  msgstr ""
1395
 
1396
+ #: ../admin/views/add-ons.php:76
1397
  msgid ""
1398
  "The Comments add-on will display your blog comments with Ajax Load More's "
1399
  "infinite scroll functionality."
1400
  msgstr ""
1401
 
1402
+ #: ../admin/views/add-ons.php:99 ../admin/views/licenses.php:240
1403
  msgid "Custom Repeaters"
1404
  msgstr ""
1405
 
1406
+ #: ../admin/views/add-ons.php:100
1407
  msgid "Extend Ajax Load More with unlimited repeater templates."
1408
  msgstr ""
1409
 
1410
+ #: ../admin/views/add-ons.php:101
1411
  msgid ""
1412
  "Create, delete and modify repeater templates as you need them with "
1413
  "absolutely zero restrictions."
1414
  msgstr ""
1415
 
1416
+ #: ../admin/views/add-ons.php:127 ../admin/views/licenses.php:307
1417
+ #: ../admin/views/settings.php:55
1418
  msgid "Layouts"
1419
  msgstr ""
1420
 
1421
+ #: ../admin/views/add-ons.php:128
1422
  msgid "Predefined layouts for your repeater templates."
1423
  msgstr ""
1424
 
1425
+ #: ../admin/views/add-ons.php:129
1426
  msgid ""
1427
  "The Layouts add-on provides a collection of unique, well designed and fully "
1428
  "responsive templates."
1429
  msgstr ""
1430
 
1431
+ #: ../admin/views/add-ons.php:154
1432
  msgid "Extend Ajax Load More with a numbered navigation."
1433
  msgstr ""
1434
 
1435
+ #: ../admin/views/add-ons.php:155
1436
  msgid ""
1437
  "The Paging add-on will transform the default infinite scroll functionality "
1438
  "into a robust ajax powered navigation system."
1439
  msgstr ""
1440
 
1441
+ #: ../admin/views/add-ons.php:181
1442
  msgid "Load an initial set of posts before making Ajax requests to the server."
1443
  msgstr ""
1444
 
1445
+ #: ../admin/views/add-ons.php:182
1446
  msgid ""
1447
  "The Preloaded add-on will display content quicker and allow caching of the "
1448
  "initial query which can reduce stress on your server."
1449
  msgstr ""
1450
 
1451
+ #: ../admin/views/add-ons.php:207
1452
  msgid "An extension to enable infinite scrolling of single posts."
1453
  msgstr ""
1454
 
1455
+ #: ../admin/views/add-ons.php:208
1456
  msgid ""
1457
  "The Previous Post add-on will load single posts as you scroll and update the "
1458
  "browser URL to the current post."
1459
  msgstr ""
1460
 
1461
+ #: ../admin/views/add-ons.php:233
1462
  msgid "Infinite scroll with the WP REST API and Ajax Load More plugins."
1463
  msgstr ""
1464
 
1465
+ #: ../admin/views/add-ons.php:234
1466
  msgid ""
1467
  "The REST API add-on will enable compatibility between Ajax Load More and the "
1468
  "WP REST API plugins.</p>"
1469
  msgstr ""
1470
 
1471
+ #: ../admin/views/add-ons.php:260 ../admin/views/licenses.php:635
1472
  msgid "Search Engine Optimization"
1473
  msgstr ""
1474
 
1475
+ #: ../admin/views/add-ons.php:261
1476
  msgid "Generate unique paging URLs with every Ajax Load More query."
1477
  msgstr ""
1478
 
1479
+ #: ../admin/views/add-ons.php:262
1480
  msgid ""
1481
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1482
  "generating unique URLs with every query.</p>"
1483
  msgstr ""
1484
 
1485
+ #: ../admin/views/add-ons.php:286 ../admin/views/licenses.php:703
1486
+ #: ../admin/views/settings.php:65
1487
  msgid "Theme Repeaters"
1488
  msgstr ""
1489
 
1490
+ #: ../admin/views/add-ons.php:287
1491
  msgid "Manage repeater templates within your current theme directory."
1492
  msgstr ""
1493
 
1494
+ #: ../admin/views/add-ons.php:288
1495
  msgid ""
1496
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1497
  "from your current theme directory.</p>"
1498
  msgstr ""
1499
 
1500
+ #: ../admin/views/add-ons.php:307
1501
  msgid ""
1502
  "All add-ons are installed as stand alone plugins and with a valid license "
1503
  "key will receive plugin update notifications directly within the <a href="
1504
  "\"plugins.php\">WordPress plugin dashboard</a>."
1505
  msgstr ""
1506
 
1507
+ #: ../admin/views/examples.php:5
1508
  msgid "Examples"
1509
  msgstr ""
1510
 
1511
+ #: ../admin/views/examples.php:6
1512
  msgid "A collection of everyday shortcode usages and implementation examples"
1513
  msgstr ""
1514
 
1515
+ #: ../admin/views/examples.php:14
1516
  msgid "Archive.php"
1517
  msgstr ""
1518
 
1519
+ #: ../admin/views/examples.php:16
1520
  msgid "Shortcode for use on generic archive page."
1521
  msgstr ""
1522
 
1523
+ #: ../admin/views/examples.php:24
1524
  msgid "Author.php"
1525
  msgstr ""
1526
 
1527
+ #: ../admin/views/examples.php:26
1528
  msgid "Shortcode for use on author archive pages."
1529
  msgstr ""
1530
 
1531
+ #: ../admin/views/examples.php:33
1532
  msgid "Category.php"
1533
  msgstr ""
1534
 
1535
+ #: ../admin/views/examples.php:35
1536
  msgid "Shortcode for use on category archive pages."
1537
  msgstr ""
1538
 
1539
+ #: ../admin/views/examples.php:42
1540
  msgid "Date Archives"
1541
  msgstr ""
1542
 
1543
+ #: ../admin/views/examples.php:44
1544
  msgid "Shortcode for use for archiving by date."
1545
  msgstr ""
1546
 
1547
+ #: ../admin/views/examples.php:51
1548
  msgid "Excluding Posts"
1549
  msgstr ""
1550
 
1551
+ #: ../admin/views/examples.php:53
1552
  msgid "Shortcode for excluding an array of posts."
1553
  msgstr ""
1554
 
1555
+ #: ../admin/views/examples.php:59
1556
  msgid "Tag.php"
1557
  msgstr ""
1558
 
1559
+ #: ../admin/views/examples.php:61
1560
  msgid "Shortcode for use on tag archive pages."
1561
  msgstr ""
1562
 
1563
+ #: ../admin/views/examples.php:69 ../admin/views/shortcode-builder.php:13
1564
  msgid "Back to Top"
1565
  msgstr ""
1566
 
1567
+ #: ../admin/views/help.php:5
1568
  msgid "Help"
1569
  msgstr ""
1570
 
1571
+ #: ../admin/views/help.php:6
1572
  msgid "Get started with our four step guide to painless implementation!"
1573
  msgstr ""
1574
 
1575
+ #: ../admin/views/licenses.php:5
1576
  msgid "Licenses"
1577
  msgstr ""
1578
 
1579
+ #: ../admin/views/licenses.php:6
1580
  msgid ""
1581
  "Enter your license keys to enable automatic updates for <a href=\"admin.php?"
1582
  "page=ajax-load-more-add-ons\">ALM Add-ons</a>."
1583
  msgstr ""
1584
 
1585
+ #: ../admin/views/licenses.php:11
1586
  msgid "License Keys"
1587
  msgstr ""
1588
 
1589
+ #: ../admin/views/licenses.php:13
1590
  msgid ""
1591
  "Manage your Ajax Load More license key's below - enter a key for each of "
1592
  "your add-ons to receive plugin update notifications directly within the <a "
1593
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1594
  msgstr ""
1595
 
1596
+ #: ../admin/views/licenses.php:53 ../admin/views/licenses.php:118
1597
+ #: ../admin/views/licenses.php:183 ../admin/views/licenses.php:249
1598
+ #: ../admin/views/licenses.php:316 ../admin/views/licenses.php:383
1599
+ #: ../admin/views/licenses.php:448 ../admin/views/licenses.php:512
1600
+ #: ../admin/views/licenses.php:578 ../admin/views/licenses.php:644
1601
+ #: ../admin/views/licenses.php:712
1602
  msgid "Don't have a license?"
1603
  msgstr ""
1604
 
1605
+ #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:119
1606
+ #: ../admin/views/licenses.php:184 ../admin/views/licenses.php:250
1607
+ #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:384
1608
+ #: ../admin/views/licenses.php:449 ../admin/views/licenses.php:513
1609
+ #: ../admin/views/licenses.php:579 ../admin/views/licenses.php:645
1610
+ #: ../admin/views/licenses.php:713
1611
  msgid ""
1612
  "A valid license is required to activate and receive plugin updates directly "
1613
  "in your WordPress dashboard"
1614
  msgstr ""
1615
 
1616
+ #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:119
1617
+ #: ../admin/views/licenses.php:184 ../admin/views/licenses.php:250
1618
+ #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:384
1619
+ #: ../admin/views/licenses.php:449 ../admin/views/licenses.php:513
1620
+ #: ../admin/views/licenses.php:579 ../admin/views/licenses.php:645
1621
+ #: ../admin/views/licenses.php:713
1622
  msgid "Purchase Now"
1623
  msgstr ""
1624
 
1625
+ #: ../admin/views/licenses.php:60 ../admin/views/licenses.php:62
1626
+ #: ../admin/views/licenses.php:125 ../admin/views/licenses.php:127
1627
+ #: ../admin/views/licenses.php:190 ../admin/views/licenses.php:192
1628
+ #: ../admin/views/licenses.php:256 ../admin/views/licenses.php:258
1629
+ #: ../admin/views/licenses.php:323 ../admin/views/licenses.php:325
1630
+ #: ../admin/views/licenses.php:390 ../admin/views/licenses.php:392
1631
+ #: ../admin/views/licenses.php:455 ../admin/views/licenses.php:457
1632
+ #: ../admin/views/licenses.php:519 ../admin/views/licenses.php:521
1633
+ #: ../admin/views/licenses.php:585 ../admin/views/licenses.php:587
1634
+ #: ../admin/views/licenses.php:651 ../admin/views/licenses.php:653
1635
+ #: ../admin/views/licenses.php:719 ../admin/views/licenses.php:721
1636
  msgid "Enter License Key"
1637
  msgstr ""
1638
 
1639
+ #: ../admin/views/licenses.php:82 ../admin/views/licenses.php:147
1640
+ #: ../admin/views/licenses.php:212 ../admin/views/licenses.php:278
1641
+ #: ../admin/views/licenses.php:345 ../admin/views/licenses.php:412
1642
+ #: ../admin/views/licenses.php:476 ../admin/views/licenses.php:541
1643
+ #: ../admin/views/licenses.php:607 ../admin/views/licenses.php:673
1644
+ #: ../admin/views/licenses.php:742
1645
  msgid "Activate License"
1646
  msgstr ""
1647
 
1648
+ #: ../admin/views/licenses.php:86 ../admin/views/licenses.php:151
1649
+ #: ../admin/views/licenses.php:216 ../admin/views/licenses.php:282
1650
+ #: ../admin/views/licenses.php:349 ../admin/views/licenses.php:416
1651
+ #: ../admin/views/licenses.php:480 ../admin/views/licenses.php:545
1652
+ #: ../admin/views/licenses.php:611 ../admin/views/licenses.php:677
1653
+ #: ../admin/views/licenses.php:746
1654
  msgid "Deactivate License"
1655
  msgstr ""
1656
 
1657
+ #: ../admin/views/licenses.php:764
1658
  msgid "You do not have any Ajax Load More add-ons installed"
1659
  msgstr ""
1660
 
1661
+ #: ../admin/views/licenses.php:764
1662
  msgid "Browse Add-ons"
1663
  msgstr ""
1664
 
1665
+ #: ../admin/views/licenses.php:775
1666
  msgid "About Licenses"
1667
  msgstr ""
1668
 
1669
+ #: ../admin/views/licenses.php:778
1670
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1671
  msgstr ""
1672
 
1673
+ #: ../admin/views/licenses.php:779
1674
  msgid ""
1675
  "License keys are found in the purchase receipt email that was sent "
1676
+ "immediately after your successful purchase and in the <a target=\"_blank\" "
1677
+ "href=\"https://connekthq.com/account/\">Account</a> section on our website"
1678
  msgstr ""
1679
 
1680
+ #: ../admin/views/licenses.php:780
1681
  msgid ""
1682
+ "If you cannot locate your key please open a support ticket by filling out "
1683
+ "the <a href=\"https://connekthq.com/contact/\">form</a> on our website and "
1684
+ "reference the email address used when you completed the purchase."
1685
  msgstr ""
1686
 
1687
+ #: ../admin/views/licenses.php:786
1688
  msgid "Legacy Users"
1689
  msgstr ""
1690
 
1691
+ #: ../admin/views/repeater-templates.php:5
1692
  msgid "Repeater Templates"
1693
  msgstr ""
1694
 
1695
+ #: ../admin/views/repeater-templates.php:6
1696
  msgid "The library of editable templates for use within your theme"
1697
  msgstr ""
1698
 
1699
+ #: ../admin/views/repeater-templates.php:55
1700
  msgid "Default Template"
1701
  msgstr ""
1702
 
1703
+ #: ../admin/views/repeater-templates.php:59
1704
  msgid "Enter the HTML and PHP code for the default template"
1705
  msgstr ""
1706
 
1707
+ #: ../admin/views/repeater-templates.php:79
1708
  msgid "Save Template"
1709
  msgstr ""
1710
 
1711
+ #: ../admin/views/repeater-templates.php:83
1712
  msgid ""
1713
  "It appears you are loading the <a href=\"https://connekthq.com/plugins/ajax-"
1714
  "load-more/docs/repeater-templates/#default-template\" target=\"_blank"
1717
  "your server."
1718
  msgstr ""
1719
 
1720
+ #: ../admin/views/repeater-templates.php:154
1721
  msgid "Saving template..."
1722
  msgstr ""
1723
 
1724
+ #: ../admin/views/repeater-templates.php:187
1725
  msgid "Something went wrong and the data could not be saved."
1726
  msgstr ""
1727
 
1728
+ #: ../admin/views/repeater-templates.php:225
1729
  msgid "Updating template..."
1730
  msgstr ""
1731
 
1732
+ #: ../admin/views/repeater-templates.php:286
1733
  msgid "Templating Help"
1734
  msgstr ""
1735
 
1736
+ #: ../admin/views/repeater-templates.php:288
1737
  msgid "What is a repeater template?"
1738
  msgstr ""
1739
 
1740
+ #: ../admin/views/repeater-templates.php:289
1741
  msgid ""
1742
  "A repeater template is a snippet of code that will execute over and over "
1743
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
1744
  "\">WordPress loop</a>.</p>"
1745
  msgstr ""
1746
 
1747
+ #: ../admin/views/repeater-templates.php:292
1748
  msgid "Can I include PHP in the repeater template?"
1749
  msgstr ""
1750
 
1751
+ #: ../admin/views/repeater-templates.php:293
1752
  msgid ""
1753
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
1754
  "<code>the_permalink()</code> are required.</p>"
1755
  msgstr ""
1756
 
1757
+ #: ../admin/views/repeater-templates.php:295
1758
+ msgid "Learn More"
 
 
 
 
 
 
 
1759
  msgstr ""
1760
 
1761
  #: ../admin/views/settings.php:5
1762
  msgid "A powerful plugin to add infinite scroll functionality to your website."
1763
  msgstr ""
1764
 
1765
+ #: ../admin/views/settings.php:10
1766
  msgid "Ajax Load More settings have been saved."
1767
  msgstr ""
1768
 
1769
+ #: ../admin/views/settings.php:22
1770
  msgid "A small favor to ask"
1771
  msgstr ""
1772
 
1773
+ #: ../admin/views/settings.php:24
1774
  msgid ""
1775
  "If you're an Ajax Load More user, please consider helping <a href=\"https://"
1776
  "twitter.com/KaptonKaos\" target=\"_blank\">me</a> spread the word by sharing "
1779
  "org</a> forums."
1780
  msgstr ""
1781
 
1782
+ #: ../admin/views/settings.php:34
1783
  msgid "Don't show me this again!"
1784
  msgstr ""
1785
 
1786
+ #: ../admin/views/settings.php:45 ../admin/views/settings.php:48
1787
  msgid "Jump to Setting"
1788
  msgstr ""
1789
 
1790
+ #: ../admin/views/settings.php:49
1791
  msgid "Global Settings"
1792
  msgstr ""
1793
 
1794
+ #: ../admin/views/settings.php:50
1795
  msgid "Admin"
1796
  msgstr ""
1797
 
1798
+ #: ../admin/views/settings.php:63
1799
  msgid "SEO"
1800
  msgstr ""
1801
 
1802
+ #: ../admin/views/settings.php:94
1803
  msgid "Sorry, settings could not be saved."
1804
  msgstr ""
1805
 
1806
+ #: ../admin/views/shortcode-builder.php:5
1807
  msgid "Shortcode Builder"
1808
  msgstr ""
1809
 
1810
+ #: ../admin/views/shortcode-builder.php:6
1811
  msgid ""
1812
  "Create your own Ajax Load More <a href=\"http://en.support.wordpress.com/"
1813
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
1814
  msgstr ""
1815
 
1816
+ #: ../admin/views/shortcode-builder.php:21
1817
  msgid "Shortcode Output"
1818
  msgstr ""
1819
 
1820
+ #: ../admin/views/shortcode-builder.php:22
1821
  msgid ""
1822
  "Place the following shortcode into the content editor or widget area of your "
1823
  "theme."
1824
  msgstr ""
1825
 
1826
+ #: ../admin/views/shortcode-builder.php:27
1827
+ msgid "Reset Shortcode Builder"
1828
  msgstr ""
1829
 
1830
+ #: ../ajax-load-more.php:197
1831
  msgid "Settings"
1832
  msgstr ""
1833
 
1834
+ #: ../core/functions.php:542
1835
  msgid "Pages:"
1836
  msgstr ""
1837