WordPress Infinite Scroll – Ajax Load More - Version 2.9.0

Version Description

Download this release

Release Info

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

Code changes from version 2.8.6 to 2.9.0

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Ajax Load More - Infinite Scroll ===
2
  Contributors: dcooney
3
- Donate link: http://connekthq.com/donate/
4
- Tags: infinite scroll, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, loop, query, dynamic, shortcode builder, wp_query, search, tags, category, post types, taxonomy, meta_query, archives, date, infinite scrolling, endless scroll, endless, endless scroll
5
  Requires at least: 3.6
6
- Tested up to: 4.4
7
- Stable tag: 2.8.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -84,6 +84,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
84
  * **pause_override** - Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll. Default = null
85
  * **pause** - Do not load posts until user clicks the Load More button (true/false). Default = 'false'
86
  * **transition** - Choose a posts reveal transition (slide/fade/none). Default = 'slide'
 
87
  * **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
88
  * **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
89
  * **button_label** - The label text for Load More button. Default = 'Older Posts'
@@ -124,6 +125,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
124
  * **[Search Results](http://connekthq.com/plugins/ajax-load-more/examples/search-results/)** - Returning results based on search terms
125
  * **[SEO & Paging](https://connekthq.com/plugins/ajax-load-more/examples/seo-paging-add-ons/)** - Combine these two add-ons to create one powerful navigation system
126
  * **[Slideshow Gallery](https://connekthq.com/plugins/ajax-load-more/examples/slideshow-gallery/)** - Create a gallery of posts with Ajax Load More and the Paging add-on.
 
127
 
128
  *The [Custom Repeater Add-On](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/) has been installed for use on each of our product demos*
129
 
@@ -146,6 +148,10 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
146
  > The **[Custom Repeaters](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)** add-on will allow for **unlimited repeater templates** and provide the ability to create unique templates for different content types throughout your theme.<br />
147
  > [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)
148
  >
 
 
 
 
149
  > #### Paging
150
  > The **[Paging](http://connekthq.com/plugins/ajax-load-more/paging/)** add-on will transform Ajax Load More’s lazy load/infinite scroll functionality into a robust ajax powered navigation system.<br />
151
  > [Get More Information](http://connekthq.com/plugins/ajax-load-more/paging/)
@@ -210,6 +216,7 @@ The following [functions](https://connekthq.com/plugins/ajax-load-more/docs/call
210
 
211
  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.
212
 
 
213
  * **$alm_page** - Returns the current page number. 'echo $alm_page;'
214
  * **$alm_item** - Returns the current item number within your loop. 'echo $alm_item;'
215
  * **$alm_found_posts** - Returns the total number of posts found within the entire WordPress query. 'echo $alm_found_posts;'
@@ -313,6 +320,20 @@ How to install Ajax Load More.
313
 
314
  == Changelog ==
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  = 2.8.6 =
317
  * NEW - Adding a set of filter hooks to enable users to hook into Ajax Load More to insert or modify data. See https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/ for more information.
318
  * FIX - Updated infinite scrolling css styling.
1
  === Ajax Load More - Infinite Scroll ===
2
  Contributors: dcooney
3
+ Donate link: https://connekthq.com/donate/
4
+ Tags: infinite scroll, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, loop, query, dynamic, shortcode builder, wp_query, search, tags, category, post types, taxonomy, meta_query, archives, date, infinite scrolling
5
  Requires at least: 3.6
6
+ Tested up to: 4.5
7
+ Stable tag: 3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
84
  * **pause_override** - Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll. Default = null
85
  * **pause** - Do not load posts until user clicks the Load More button (true/false). Default = 'false'
86
  * **transition** - Choose a posts reveal transition (slide/fade/none). Default = 'slide'
87
+ * **transition_container - Display the Ajax Load More (.alm-reveal) loading container. Default = 'true'
88
  * **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
89
  * **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
90
  * **button_label** - The label text for Load More button. Default = 'Older Posts'
125
  * **[Search Results](http://connekthq.com/plugins/ajax-load-more/examples/search-results/)** - Returning results based on search terms
126
  * **[SEO & Paging](https://connekthq.com/plugins/ajax-load-more/examples/seo-paging-add-ons/)** - Combine these two add-ons to create one powerful navigation system
127
  * **[Slideshow Gallery](https://connekthq.com/plugins/ajax-load-more/examples/slideshow-gallery/)** - Create a gallery of posts with Ajax Load More and the Paging add-on.
128
+ * **[Table Layout](https://connekthq.com/plugins/ajax-load-more/examples/table/)** - Ajax Load More will display query results in a table format.
129
 
130
  *The [Custom Repeater Add-On](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/) has been installed for use on each of our product demos*
131
 
148
  > The **[Custom Repeaters](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)** add-on will allow for **unlimited repeater templates** and provide the ability to create unique templates for different content types throughout your theme.<br />
149
  > [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)
150
  >
151
+ > #### Layouts
152
+ > The **[Layouts](http://connekthq.com/plugins/ajax-load-more/layouts/)** add-on will provide a library of fully responsive layout templates ready for use on your website.<br />
153
+ > [Get More Information](http://connekthq.com/plugins/ajax-load-more/layouts/)
154
+ >
155
  > #### Paging
156
  > The **[Paging](http://connekthq.com/plugins/ajax-load-more/paging/)** add-on will transform Ajax Load More’s lazy load/infinite scroll functionality into a robust ajax powered navigation system.<br />
157
  > [Get More Information](http://connekthq.com/plugins/ajax-load-more/paging/)
216
 
217
  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.
218
 
219
+ * **$alm_current** - Returns the current item number in the current Ajax Load More loop and will reset to zero with every 'Load More' action.. 'echo $alm_current;'
220
  * **$alm_page** - Returns the current page number. 'echo $alm_page;'
221
  * **$alm_item** - Returns the current item number within your loop. 'echo $alm_item;'
222
  * **$alm_found_posts** - Returns the total number of posts found within the entire WordPress query. 'echo $alm_found_posts;'
320
 
321
  == Changelog ==
322
 
323
+ = 2.9 =
324
+ * NEW - Adding support for new Layouts add-on.
325
+ * NEW - Adding support for table container type.
326
+ * NEW - Adding new 'transition_container' shortcode parameter to allow for removal of the .alm-reveal div in the ajax output.
327
+ * FIX - Fixed issue with the display of Previous Post taxonomy selection in Shortcode Builder.
328
+ * FIX - Fixed issue with noscript navigation for preloaded and seo add-ons.
329
+ * FIX - Fixed issue with hiding of Button Classes setting if 'Disable CSS' is checked.
330
+ * FIX - Fixed bug with custom repeater fallback function.
331
+ * FIX - Fixed issue with almDone function firing before a the button text reset function.
332
+ * UPDATE - Various UI/UX enhancments.
333
+ * UPDATE - Adding cache support for Theme Repeaters add-on.
334
+ * UPDATE - Updating add-on activation script from wp_remote_get to wp_remote_post.
335
+
336
+
337
  = 2.8.6 =
338
  * NEW - Adding a set of filter hooks to enable users to hook into Ajax Load More to insert or modify data. See https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/ for more information.
339
  * FIX - Updated infinite scrolling css styling.
admin/admin.php CHANGED
@@ -1,7 +1,5 @@
1
  <?php
2
-
3
- /* Admin function */
4
-
5
  add_action( 'plugins_loaded', 'alm_core_update' ); // Core Update
6
  add_action( 'wp_ajax_alm_save_repeater', 'alm_save_repeater' ); // Ajax Save Repeater
7
  add_action( 'wp_ajax_alm_update_repeater', 'alm_update_repeater' ); // Ajax Update Repeater
@@ -9,9 +7,9 @@ add_action( 'wp_ajax_alm_get_tax_terms', 'alm_get_tax_terms' ); // Ajax Get Taxo
9
  add_action( 'wp_ajax_alm_delete_cache', 'alm_delete_cache' ); // Delete Cache
10
  add_action( 'wp_ajax_alm_layouts_dismiss', 'alm_layouts_dismiss' ); // Dismiss Layouts CTA
11
  add_action( 'wp_ajax_alm_license_activation', 'alm_license_activation' ); // Activate Add-on
12
- add_action( 'add_layout_listing', 'add_layout_listing' ); // Add layout dropmenu
13
  add_action( 'wp_ajax_alm_layouts_get', 'alm_layouts_get' ); // Get layout
14
- add_action( 'admin_init', 'alm_image_sizes' ); // Add image size
15
 
16
 
17
  /*
@@ -51,7 +49,15 @@ function alm_license_activation(){
51
  );
52
 
53
  // Call the custom API.
54
- $response = wp_remote_get( add_query_arg( $api_params, $url ), array( 'timeout' => 15, 'sslverify' => false ) );
 
 
 
 
 
 
 
 
55
 
56
  $license_data = $response['body'];
57
  $license_data = json_decode($license_data); // decode the license data
@@ -73,7 +79,6 @@ function alm_license_activation(){
73
  }
74
  $return["msg"] = $msg;
75
 
76
-
77
  update_option( $option_status, $license_data->license);
78
  update_option( $option_key, $license );
79
 
@@ -116,31 +121,18 @@ function alm_layouts_get(){
116
 
117
 
118
 
119
- /*
120
- * alm_layouts_image_sizes
121
- * Add the required image sizes
122
- *
123
- * @since 2.8.3
124
- */
125
-
126
- function alm_image_sizes(){
127
- add_image_size( 'alm-thumbnail', 150, 150, true); // Custom ALM thumbnail size
128
- }
129
-
130
-
131
 
132
  /*
133
- * add_layout_listing
134
- * Get the list of layouts
135
  *
136
- * @since 2.8.3
137
  */
138
- function add_layout_listing(){
139
- //include( ALM_PATH . 'admin/includes/components/layout-list.php');
140
  }
141
 
142
 
143
-
144
  /*
145
  * alm_admin_vars
146
  * Create admin variables and ajax nonce
@@ -154,6 +146,8 @@ function alm_admin_vars() { ?>
154
  'ajax_admin_url' => admin_url( 'admin-ajax.php' ),
155
  'active' => __('Active', 'ajax-load-more'),
156
  'inactive' => __('Inactive', 'ajax-load-more'),
 
 
157
  'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' )
158
  )); ?>
159
  /* ]]> */
@@ -189,6 +183,11 @@ function alm_core_update() {
189
 
190
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
191
  if ( $alm_installed_ver != ALM_VERSION ) {
 
 
 
 
 
192
  alm_run_update();
193
  }
194
  }
@@ -327,6 +326,15 @@ function alm_admin_menu() {
327
  'ajax-load-more-shortcode-builder',
328
  'alm_shortcode_builder_page'
329
  );
 
 
 
 
 
 
 
 
 
330
 
331
  $alm_examples_page = add_submenu_page(
332
  'ajax-load-more',
@@ -334,17 +342,17 @@ function alm_admin_menu() {
334
  'Examples',
335
  'edit_theme_options',
336
  'ajax-load-more-examples',
337
- 'alm_example_page'
338
- );
339
-
340
- $alm_addons_page = add_submenu_page(
341
  'ajax-load-more',
342
- 'Add-ons',
343
- 'Add-ons',
344
  'edit_theme_options',
345
- 'ajax-load-more-add-ons',
346
- 'alm_add_ons_page'
347
- );
348
 
349
  $alm_licenses_page = add_submenu_page(
350
  'ajax-load-more',
@@ -370,11 +378,13 @@ function alm_admin_menu() {
370
 
371
  //Add our admin scripts
372
  add_action( 'load-' . $alm_settings_page, 'alm_load_admin_js' );
 
373
  add_action( 'load-' . $alm_template_page, 'alm_load_admin_js' );
374
  add_action( 'load-' . $alm_template_page, 'alm_set_admin_nonce' );
375
  add_action( 'load-' . $alm_shortcode_page, 'alm_load_admin_js' );
376
  add_action( 'load-' . $alm_shortcode_page, 'alm_set_admin_nonce' );
377
  add_action( 'load-' . $alm_examples_page, 'alm_load_admin_js' );
 
378
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
379
  add_action( 'load-' . $alm_licenses_page, 'alm_load_admin_js' );
380
  add_action( 'load-' . $alm_licenses_page, 'alm_set_admin_nonce' );
@@ -408,10 +418,10 @@ function alm_load_cache_admin_js(){
408
  function alm_enqueue_admin_scripts(){
409
 
410
  //Load Admin CSS
411
- wp_enqueue_style( 'alm-admin-css', ALM_ADMIN_URL. 'css/admin.css');
412
- wp_enqueue_style( 'alm-select2-css', ALM_ADMIN_URL. 'css/select2.css');
413
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
414
- wp_enqueue_style( 'alm-core-css', ALM_URL. '/core/css/ajax-load-more.css');
415
  wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
416
 
417
  //Load CodeMirror Syntax Highlighting if on Repater Template page
@@ -494,12 +504,25 @@ function alm_shortcode_builder_page(){
494
  * @since 2.0.0
495
  */
496
 
497
- function alm_example_page(){
498
  include_once( ALM_PATH . 'admin/views/examples.php');
499
  }
500
 
501
 
502
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  /*
504
  * alm_add_ons_page
505
  * Ajax Load More Add-ons
@@ -772,6 +795,30 @@ function alm_layouts_dismiss(){
772
 
773
 
774
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
775
  /*
776
  * admin_init
777
  * Initiate the plugin, create our setting variables.
@@ -1204,16 +1251,16 @@ function alm_btn_class_callback(){
1204
  // Check if Disable CSS === true
1205
  if(jQuery('input#alm_disable_css_input').is(":checked")){
1206
  jQuery('select#alm_settings_btn_color').parent().parent().hide(); // Hide button color
1207
- jQuery('input.btn-classes').parent().parent().hide(); // Hide Button Classes
1208
  }
1209
  jQuery('input#alm_disable_css_input').change(function() {
1210
  var el = jQuery(this);
1211
  if(el.is(":checked")) {
1212
  el.parent().parent('tr').next('tr').hide(); // Hide button color
1213
- el.parent().parent('tr').next('tr').next('tr').hide(); // Hide Button Classes
1214
  }else{
1215
  el.parent().parent('tr').next('tr').show(); // show button color
1216
- el.parent().parent('tr').next('tr').next('tr').show(); // show Button Classes
1217
  }
1218
  });
1219
 
1
  <?php
2
+
 
 
3
  add_action( 'plugins_loaded', 'alm_core_update' ); // Core Update
4
  add_action( 'wp_ajax_alm_save_repeater', 'alm_save_repeater' ); // Ajax Save Repeater
5
  add_action( 'wp_ajax_alm_update_repeater', 'alm_update_repeater' ); // Ajax Update Repeater
7
  add_action( 'wp_ajax_alm_delete_cache', 'alm_delete_cache' ); // Delete Cache
8
  add_action( 'wp_ajax_alm_layouts_dismiss', 'alm_layouts_dismiss' ); // Dismiss Layouts CTA
9
  add_action( 'wp_ajax_alm_license_activation', 'alm_license_activation' ); // Activate Add-on
10
+ add_action( 'alm_get_layouts', 'alm_get_layouts' ); // Add layout selection
11
  add_action( 'wp_ajax_alm_layouts_get', 'alm_layouts_get' ); // Get layout
12
+
13
 
14
 
15
  /*
49
  );
50
 
51
  // Call the custom API.
52
+ //$response = wp_remote_get( add_query_arg( $api_params, $url ), array( 'timeout' => 15, 'sslverify' => false ) );
53
+
54
+ // Updated 2.8.7
55
+ $response = wp_remote_post( ALM_STORE_URL, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
56
+
57
+ // make sure the response came back okay
58
+ if ( is_wp_error( $response ) )
59
+ return false;
60
+
61
 
62
  $license_data = $response['body'];
63
  $license_data = json_decode($license_data); // decode the license data
79
  }
80
  $return["msg"] = $msg;
81
 
 
82
  update_option( $option_status, $license_data->license);
83
  update_option( $option_key, $license );
84
 
121
 
122
 
123
 
 
 
 
 
 
 
 
 
 
 
 
 
124
 
125
  /*
126
+ * alm_get_layouts
127
+ * Get the list of layout templates
128
  *
129
+ * @since 2.8.7
130
  */
131
+ function alm_get_layouts(){ // do_action
132
+ include( ALM_PATH . 'admin/includes/components/layout-list.php');
133
  }
134
 
135
 
 
136
  /*
137
  * alm_admin_vars
138
  * Create admin variables and ajax nonce
146
  'ajax_admin_url' => admin_url( 'admin-ajax.php' ),
147
  'active' => __('Active', 'ajax-load-more'),
148
  'inactive' => __('Inactive', 'ajax-load-more'),
149
+ 'applying_layout' => __('Applying layout', 'ajax-load-more'),
150
+ 'template_updated' => __('Template Updated', 'ajax-load-more'),
151
  'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' )
152
  )); ?>
153
  /* ]]> */
183
 
184
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
185
  if ( $alm_installed_ver != ALM_VERSION ) {
186
+
187
+ // Delete our ALM transients
188
+ delete_transient( 'alm_dismiss_sharing' );
189
+
190
+ // Update repeaters
191
  alm_run_update();
192
  }
193
  }
326
  'ajax-load-more-shortcode-builder',
327
  'alm_shortcode_builder_page'
328
  );
329
+
330
+ $alm_addons_page = add_submenu_page(
331
+ 'ajax-load-more',
332
+ 'Add-ons',
333
+ 'Add-ons',
334
+ 'edit_theme_options',
335
+ 'ajax-load-more-add-ons',
336
+ 'alm_add_ons_page'
337
+ );
338
 
339
  $alm_examples_page = add_submenu_page(
340
  'ajax-load-more',
342
  'Examples',
343
  'edit_theme_options',
344
  'ajax-load-more-examples',
345
+ 'alm_examples_page'
346
+ );
347
+
348
+ $alm_help_page = add_submenu_page(
349
  'ajax-load-more',
350
+ 'Help',
351
+ 'Help',
352
  'edit_theme_options',
353
+ 'ajax-load-more-help',
354
+ 'alm_help_page'
355
+ );
356
 
357
  $alm_licenses_page = add_submenu_page(
358
  'ajax-load-more',
378
 
379
  //Add our admin scripts
380
  add_action( 'load-' . $alm_settings_page, 'alm_load_admin_js' );
381
+ add_action( 'load-' . $alm_settings_page, 'alm_set_admin_nonce' );
382
  add_action( 'load-' . $alm_template_page, 'alm_load_admin_js' );
383
  add_action( 'load-' . $alm_template_page, 'alm_set_admin_nonce' );
384
  add_action( 'load-' . $alm_shortcode_page, 'alm_load_admin_js' );
385
  add_action( 'load-' . $alm_shortcode_page, 'alm_set_admin_nonce' );
386
  add_action( 'load-' . $alm_examples_page, 'alm_load_admin_js' );
387
+ add_action( 'load-' . $alm_help_page, 'alm_load_admin_js' );
388
  add_action( 'load-' . $alm_addons_page, 'alm_load_admin_js' );
389
  add_action( 'load-' . $alm_licenses_page, 'alm_load_admin_js' );
390
  add_action( 'load-' . $alm_licenses_page, 'alm_set_admin_nonce' );
418
  function alm_enqueue_admin_scripts(){
419
 
420
  //Load Admin CSS
421
+ wp_enqueue_style( 'alm-admin', ALM_ADMIN_URL. 'css/admin.css');
422
+ wp_enqueue_style( 'alm-select2', ALM_ADMIN_URL. 'css/select2.css');
423
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
424
+ wp_enqueue_style( 'alm-core', ALM_URL. '/core/css/ajax-load-more.css');
425
  wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
426
 
427
  //Load CodeMirror Syntax Highlighting if on Repater Template page
504
  * @since 2.0.0
505
  */
506
 
507
+ function alm_examples_page(){
508
  include_once( ALM_PATH . 'admin/views/examples.php');
509
  }
510
 
511
 
512
 
513
+ /*
514
+ * alm_help_page
515
+ * Help Page (Implementation Inforgraphic)
516
+ *
517
+ * @since 2.8.7
518
+ */
519
+
520
+ function alm_help_page(){
521
+ include_once( ALM_PATH . 'admin/views/help.php');
522
+ }
523
+
524
+
525
+
526
  /*
527
  * alm_add_ons_page
528
  * Ajax Load More Add-ons
795
 
796
 
797
 
798
+ /*
799
+ * alm_dismiss_sharing
800
+ * Dismiss sharing widget on plugin settings page.
801
+ *
802
+ * @since 2.8.2.1
803
+ */
804
+ function alm_dismiss_sharing(){
805
+ if (current_user_can( 'edit_theme_options' )){
806
+
807
+ $nonce = $_POST["nonce"];
808
+
809
+ // Check our nonce, if they don't match then bounce!
810
+ if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
811
+ die('Error - unable to verify nonce, please try again.');
812
+
813
+ set_transient( 'alm_dismiss_sharing', 'true', 365 * DAY_IN_SECONDS );
814
+ echo 'Success';
815
+
816
+ die();
817
+ }
818
+ }
819
+ add_action( 'wp_ajax_alm_dismiss_sharing', 'alm_dismiss_sharing' );
820
+
821
+
822
  /*
823
  * admin_init
824
  * Initiate the plugin, create our setting variables.
1251
  // Check if Disable CSS === true
1252
  if(jQuery('input#alm_disable_css_input').is(":checked")){
1253
  jQuery('select#alm_settings_btn_color').parent().parent().hide(); // Hide button color
1254
+ //jQuery('input.btn-classes').parent().parent().hide(); // Hide Button Classes
1255
  }
1256
  jQuery('input#alm_disable_css_input').change(function() {
1257
  var el = jQuery(this);
1258
  if(el.is(":checked")) {
1259
  el.parent().parent('tr').next('tr').hide(); // Hide button color
1260
+ //el.parent().parent('tr').next('tr').next('tr').hide(); // Hide Button Classes
1261
  }else{
1262
  el.parent().parent('tr').next('tr').show(); // show button color
1263
+ //el.parent().parent('tr').next('tr').next('tr').show(); // show Button Classes
1264
  }
1265
  });
1266
 
admin/css/admin.css CHANGED
@@ -79,6 +79,10 @@
79
  .forceColors{
80
  background: #fff !important;
81
  }
 
 
 
 
82
  .ajax-load-more{
83
  font-size: 14px;
84
  color:#666;
@@ -86,6 +90,9 @@
86
  font-family: 'Open Sans', sans-serif;
87
  max-width: 1250px;
88
  }
 
 
 
89
  .ajax-load-more a:focus{
90
  -webkit-box-shadow: none;
91
  -moz-box-shadow: none;
@@ -107,6 +114,21 @@
107
  padding: 15px 10px 140px !important;
108
  }
109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  #alm-settings form h2{
111
  padding: 2px 0 6px 12px;
112
  border-left: 5px solid #ff5a58;
@@ -140,6 +162,33 @@
140
  .ajax-load-more label{
141
  font-size: 14px;
142
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  .ajax-load-more p.highlight{
145
  background-color: #fffbd4;
@@ -623,6 +672,10 @@
623
  .ajax-load-more input.disabled-input{
624
  opacity: 0.5;
625
  filter: alpha(opacity=50);
 
 
 
 
626
  }
627
  .ajax-load-more input[type=text]:focus,
628
  .ajax-load-more textarea:focus{
@@ -640,8 +693,9 @@
640
  display: inline-block;
641
  width: 47.333%;
642
  margin: 0 0 1% 2%;
 
643
  }
644
- .ajax-load-more .one_half:first-child{
645
  margin: 0 2% 1% 0;
646
  }
647
 
@@ -818,7 +872,8 @@
818
  }
819
 
820
  .preload_amount,
821
- .cache_id{
 
822
  display: none;
823
  }
824
 
@@ -1209,7 +1264,7 @@
1209
  .ajax-load-more p.writeable-title i{
1210
  position: absolute !important;
1211
  left: 0 !important;
1212
- top:0 !important;
1213
  }
1214
 
1215
  .ajax-load-more p.back2top{
@@ -1261,8 +1316,8 @@ p.loading{
1261
  }
1262
 
1263
  .alm-dropdown ul li a.updating{
1264
- background-position: 4px center;
1265
- padding-left: 29px;
1266
  }
1267
 
1268
  input.save-repeater{
@@ -1341,6 +1396,28 @@ table.highlight{
1341
  margin: 0 0 20px;
1342
  }
1343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1344
 
1345
  /* Repeaters */
1346
  .repeaters {}
@@ -1368,8 +1445,7 @@ table.highlight{
1368
  max-width: 72%;
1369
  opacity: 0;
1370
  }
1371
-
1372
-
1373
 
1374
  /* Add-ons */
1375
  #alm-add-ons {}
@@ -1429,7 +1505,7 @@ table.highlight{
1429
 
1430
  /* Add-on Callout! */
1431
  .call-out{
1432
- background: #73d3b9;
1433
  padding: 13px 100px 13px 12px;
1434
  border-radius: 3px;
1435
  margin: 0;
@@ -1487,7 +1563,7 @@ table.highlight{
1487
  span.cnkt-button{
1488
  padding: 6px 10px;
1489
  display: inline-block;
1490
- background: #73d3b9;
1491
  border: 1px solid #5da592;
1492
  border-radius: 3px;
1493
  position: static;
@@ -1755,6 +1831,11 @@ table.highlight{
1755
  margin: 0 0 5px;
1756
  font-size: 13px;
1757
  }
 
 
 
 
 
1758
  .ajax-load-more .cnkt-sidebar ul{
1759
  margin: 0 0 10px;
1760
  overflow: hidden;
@@ -1859,6 +1940,10 @@ table.highlight{
1859
  color: #999;
1860
  line-height: 1.3;
1861
  }
 
 
 
 
1862
 
1863
  .ajax-load-more .cm-s-pastel-on-dark.CodeMirror{ /* Bkg color */
1864
  background: #333;
@@ -2497,77 +2582,134 @@ p.cache-stats{
2497
  margin: 0 0 13px;
2498
  }
2499
  .alm-drop-btn.alm-layout-selection a.target{
2500
- background-color: #fefeed;
2501
  border-color: #e7e7e7;
2502
  color: #555;
2503
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
 
2504
  }
2505
  .alm-drop-btn.alm-layout-selection a i{
2506
- margin: 0 2px 0 0;
2507
  }
2508
 
2509
  .alm-drop-btn.alm-layout-selection li.type{
2510
- height: 34px;
2511
- line-height: 34px;
2512
- padding: 0 0 0 29px;
2513
  position: relative;
2514
  }
2515
- .alm-dropdown ul li.type i {
2516
- color: #999 !important;
2517
- display: inline-block;
2518
- font-size: 14px;
2519
- left: 4px;
2520
- margin: 0;
2521
- padding-left: 3px;
2522
- position: absolute;
2523
- top: 10px;
2524
- width: 19px;
2525
  }
2526
  .alm-drop-btn.alm-layout-selection li.type .col-select{
2527
  float: right;
2528
  text-align: right;
2529
  width: auto;
2530
- height: 34px;
2531
- line-height: 34px;
2532
  }
2533
  .alm-drop-btn.alm-layout-selection li.type .col-select a{
2534
- width: 30px;
2535
- height: 34px;
2536
- display: inline-block;
2537
- margin: 0;
2538
- border-left: 1px solid #efefef;
2539
  padding: 0;
 
2540
  text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2541
  }
 
 
 
 
 
 
 
 
 
2542
 
2543
  /* External Link + Add-on */
2544
  .alm-drop-btn.alm-layout-selection a.external,
2545
- .alm-drop-btn.alm-layout-selection a.add-on{
2546
- border-top: 1px solid #ccc;
2547
  background-color: #f7f7f7;
2548
- padding: 13px 10px 13px 29px;
2549
  display: block;
2550
- }
 
 
 
 
 
 
 
 
 
 
 
2551
  .alm-drop-btn.alm-layout-selection a.add-on{
2552
- line-height: 1.45;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2553
  }
2554
  .alm-drop-btn.alm-layout-selection a.add-on strong{
2555
- color: #111;
 
2556
  }
2557
- .alm-drop-btn.alm-layout-selection a.add-on i,
2558
- .alm-drop-btn.alm-layout-selection a.external i{
2559
  top: 14px;
2560
  }
 
 
 
 
2561
 
2562
  .alm-drop-btn.alm-layout-selection a.target:hover,
2563
  .alm-drop-btn.alm-layout-selection a.target:active,
2564
  .alm-drop-btn.alm-layout-selection.active a.target{
2565
  color: #222;
2566
- background-color: #fafad7;
2567
  border-color: #ccc;
2568
  -webkit-box-shadow: 0 0 3px #efefef;
2569
  -moz-box-shadow: 0 0 3px #efefef;
2570
- box-shadow: 0 0 3px #efefef;
 
2571
  }
2572
  .alm-drop-btn.alm-layout-selection.active a.target,
2573
  .alm-drop-btn.alm-layout-selection a.target:active{
@@ -2690,7 +2832,7 @@ p.cache-stats{
2690
  -webkit-border-radius: 2px;
2691
  -moz-border-radius: 2px;
2692
  border-radius: 2px;
2693
- border: 1px solid #f7f7f7;
2694
  overflow: hidden;
2695
  }
2696
  .alm-dropdown ul li{
@@ -2698,17 +2840,20 @@ p.cache-stats{
2698
  padding:0;
2699
  list-style: none;
2700
  clear: both;
2701
- font-size: 13px;
2702
  margin: 0;
2703
  padding: 0;
2704
  line-height: 1.2;
2705
- border-top: 1px solid #f7f7f7;
 
2706
  }
2707
  .alm-dropdown ul li:first-child{
2708
  border: none;
2709
  }
2710
  .alm-dropdown ul li a{
2711
- padding: 13px 5px 13px 29px;
 
 
2712
  display: block;
2713
  text-decoration: none;
2714
  background-position: 4px center;
@@ -2717,31 +2862,33 @@ p.cache-stats{
2717
  -moz-box-shadow: none !important;
2718
  box-shadow: none !important;
2719
  position: relative;
 
 
 
 
2720
  }
2721
 
2722
  .alm-dropdown ul li a i{
2723
  margin: 0;
2724
- color: #999 !important;
2725
  position: absolute;
2726
- left: 4px;
2727
- top: 13px;
2728
- font-size: 14px;
2729
- width: 19px;
2730
- padding-left: 3px;
 
 
2731
  display: inline-block;
 
2732
  }
2733
- .alm-dropdown ul li.option-update a i{
2734
- top: 14px;
2735
- }
2736
- .alm-dropdown ul li a i.fa-th-large{
2737
- left: 5px;
2738
- }
2739
 
2740
  .alm-dropdown ul li a:hover{
2741
  color: #111;
 
2742
  }
2743
  .alm-dropdown ul li a:hover i{
2744
- color: #ec4745 !important;
2745
  }
2746
 
2747
 
@@ -2791,20 +2938,19 @@ p.cache-stats{
2791
  }
2792
  .ajax-load-more .cnkt-sidebar .cta.social .follow-btn.twitter{
2793
  background-color: #00aced;
2794
- color: #fff;
2795
  }
2796
  .ajax-load-more .cnkt-sidebar .cta.social .follow-btn:hover{
2797
  opacity: 1;
2798
  }
2799
 
2800
  #alm-mailing-list .form-wrap{
2801
- background-color: #f7f7f7;
2802
- padding: 18px;
2803
- border-top: 1px solid #ccc;
2804
- -webkit-box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.05);
2805
- -moz-box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.05);
2806
- box-shadow: 0 -1px 0 1px rgba(0, 0, 0, 0.05);
2807
  position: relative;
 
2808
  }
2809
  #alm-mailing-list .form-wrap .inner-wrap{
2810
  position: relative;
@@ -2816,10 +2962,10 @@ p.cache-stats{
2816
  margin: 0;
2817
  background: #fff;
2818
  font-size: 13px;
2819
- border-color: #ccc;
2820
- padding: 0 7px 0 40px;
2821
- height: 34px;
2822
- line-height: 34px;
2823
  }
2824
  #alm-mailing-list .form-wrap i.fa-envelope{
2825
  color: #fff;
@@ -2829,10 +2975,10 @@ p.cache-stats{
2829
  left: 0;
2830
  font-size: 18px;
2831
  z-index: 1;
2832
- height: 34px;
2833
- width: 34px;
2834
  text-align: center;
2835
- line-height: 34px;
2836
  -webkit-border-radius: 2px 0 0 2px;
2837
  -moz-border-radius: 2px 0 0 2px;
2838
  border-radius: 2px 0 0 2px;
@@ -2850,8 +2996,8 @@ p.cache-stats{
2850
  height: 100%;
2851
  font-size: 13px;
2852
  border-radius: 0;
2853
- width: 34px;
2854
- height: 34px;
2855
  color: #ff5a58;
2856
  background: none !important;
2857
  cursor: pointer;
@@ -2859,13 +3005,13 @@ p.cache-stats{
2859
 
2860
  #alm-mailing-list .form-wrap button i{
2861
  color: #ccc;
2862
- line-height: 34px;
2863
  width: 20px;
2864
  text-align: center;
2865
  position: absolute;
2866
  right: 5px;
2867
  top:0;
2868
- font-size: 20px;
2869
  }
2870
  #alm-mailing-list .form-wrap button:hover i{
2871
  color: #999;
@@ -2888,7 +3034,7 @@ p.cache-stats{
2888
  top:-9999px;
2889
  }
2890
  #alm-mailing-list .form-wrap #response{
2891
- padding-top: 6px;
2892
  font-size: 13px;
2893
  display: none;
2894
  text-align: center;
@@ -2897,12 +3043,146 @@ p.cache-stats{
2897
  top:0;
2898
  width: 100%;
2899
  height: 100%;
2900
- background: #f7f7f7;
2901
  z-index: 1;
2902
  }
2903
  #alm-mailing-list .form-wrap #response p{
2904
  font-style: normal !important;
2905
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2906
 
2907
 
2908
 
@@ -3004,6 +3284,21 @@ p.cache-stats{
3004
  }
3005
  }
3006
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3007
  @media screen and (max-width: 480px){
3008
  .ajax-load-more .section-title,
3009
  .ajax-load-more .row .wrap{
@@ -3076,7 +3371,6 @@ p.cache-stats{
3076
  display: block;
3077
  font-size: 12px;
3078
  }
3079
-
3080
  }
3081
 
3082
 
79
  .forceColors{
80
  background: #fff !important;
81
  }
82
+ .offscreen{
83
+ position: absolute;
84
+ left: -9999px;
85
+ }
86
  .ajax-load-more{
87
  font-size: 14px;
88
  color:#666;
90
  font-family: 'Open Sans', sans-serif;
91
  max-width: 1250px;
92
  }
93
+ #alm-help.ajax-load-more{
94
+ max-width: 1600px;
95
+ }
96
  .ajax-load-more a:focus{
97
  -webkit-box-shadow: none;
98
  -moz-box-shadow: none;
114
  padding: 15px 10px 140px !important;
115
  }
116
 
117
+ #alm-settings .admin-select{
118
+ width: 100%;
119
+ display: block;
120
+ padding: 0 0 20px;
121
+ margin: -10px 0 20px;
122
+ border-bottom: 1px solid #efefef;
123
+ }
124
+ #alm-settings .admin-select .select2-container{
125
+ width: 48%;
126
+ min-width: 48%;
127
+ display: inline-block;
128
+ vertical-align: top;
129
+ }
130
+
131
+
132
  #alm-settings form h2{
133
  padding: 2px 0 6px 12px;
134
  border-left: 5px solid #ff5a58;
162
  .ajax-load-more label{
163
  font-size: 14px;
164
  }
165
+ textarea#_alm_layouts_css{
166
+ height: 240px;
167
+ }
168
+ a.layout-hover{
169
+ width: 20px !important;
170
+ height: 20px !important;
171
+ background: #ccc;
172
+ display: inline-block;
173
+ position: relative;
174
+ }
175
+ a.layout-hover img{
176
+ position: absolute;
177
+ left: 100%;
178
+ top: 0;
179
+ z-index: 999;
180
+ opacity: 0;
181
+ filter: alpha(opacity=0);
182
+ }
183
+ a.layout-hover:hover img{
184
+ position: absolute;
185
+ left: 100%;
186
+ top: 0;
187
+ z-index: 999;
188
+ opacity: 1;
189
+ filter: alpha(opacity=100);
190
+ }
191
+
192
 
193
  .ajax-load-more p.highlight{
194
  background-color: #fffbd4;
672
  .ajax-load-more input.disabled-input{
673
  opacity: 0.5;
674
  filter: alpha(opacity=50);
675
+ cursor: default;
676
+ background: #f7f7f7 !important;
677
+ border-color: #ccc !important;
678
+ box-shadow: none !important;
679
  }
680
  .ajax-load-more input[type=text]:focus,
681
  .ajax-load-more textarea:focus{
693
  display: inline-block;
694
  width: 47.333%;
695
  margin: 0 0 1% 2%;
696
+ vertical-align: top;
697
  }
698
+ .ajax-load-more .one_half:first-of-type{
699
  margin: 0 2% 1% 0;
700
  }
701
 
872
  }
873
 
874
  .preload_amount,
875
+ .cache_id,
876
+ .alternate_template_wrap{
877
  display: none;
878
  }
879
 
1264
  .ajax-load-more p.writeable-title i{
1265
  position: absolute !important;
1266
  left: 0 !important;
1267
+ top: 1px !important;
1268
  }
1269
 
1270
  .ajax-load-more p.back2top{
1316
  }
1317
 
1318
  .alm-dropdown ul li a.updating{
1319
+ background-position: 6px center;
1320
+ padding-left: 42px;
1321
  }
1322
 
1323
  input.save-repeater{
1396
  margin: 0 0 20px;
1397
  }
1398
 
1399
+ .ajax-load-more .cnkt-main .group a.dismiss{
1400
+ position: absolute;
1401
+ right: 0;
1402
+ top: 0;
1403
+ text-decoration: none;
1404
+ width: 40px;
1405
+ height: 40px;
1406
+ line-height: 40px;
1407
+ text-align: center;
1408
+ background: #fff;
1409
+ color: #777;
1410
+ border: 1px dashed #ccc;
1411
+ border-right: none;
1412
+ border-top: none;
1413
+ display: block;
1414
+ font-size: 24px;
1415
+ border-radius: 0 2px 0 2px;
1416
+ }
1417
+ .ajax-load-more .cnkt-main .group a.dismiss:hover{
1418
+ background-color: #be3f3f;
1419
+ color: #fff;
1420
+ }
1421
 
1422
  /* Repeaters */
1423
  .repeaters {}
1445
  max-width: 72%;
1446
  opacity: 0;
1447
  }
1448
+
 
1449
 
1450
  /* Add-ons */
1451
  #alm-add-ons {}
1505
 
1506
  /* Add-on Callout! */
1507
  .call-out{
1508
+ background: #5acfb2;
1509
  padding: 13px 100px 13px 12px;
1510
  border-radius: 3px;
1511
  margin: 0;
1563
  span.cnkt-button{
1564
  padding: 6px 10px;
1565
  display: inline-block;
1566
+ background: #5acfb2;
1567
  border: 1px solid #5da592;
1568
  border-radius: 3px;
1569
  position: static;
1831
  margin: 0 0 5px;
1832
  font-size: 13px;
1833
  }
1834
+ .ajax-load-more .cnkt-sidebar .cta.dyk p{
1835
+ margin: 5px 0;
1836
+ display: block;
1837
+ overflow: hidden;
1838
+ }
1839
  .ajax-load-more .cnkt-sidebar ul{
1840
  margin: 0 0 10px;
1841
  overflow: hidden;
1940
  color: #999;
1941
  line-height: 1.3;
1942
  }
1943
+ .ajax-load-more .CodeMirror.loading {
1944
+ background: #f7f7f7 url("../img/loader-unlimited.gif") no-repeat center center;
1945
+ opacity: 0.6;
1946
+ }
1947
 
1948
  .ajax-load-more .cm-s-pastel-on-dark.CodeMirror{ /* Bkg color */
1949
  background: #333;
2582
  margin: 0 0 13px;
2583
  }
2584
  .alm-drop-btn.alm-layout-selection a.target{
2585
+ background-color: #f7f7f7;
2586
  border-color: #e7e7e7;
2587
  color: #555;
2588
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
2589
+ opacity: 0.8;
2590
  }
2591
  .alm-drop-btn.alm-layout-selection a i{
2592
+ margin: 1px 2px 0 0;
2593
  }
2594
 
2595
  .alm-drop-btn.alm-layout-selection li.type{
2596
+ height: 36px;
2597
+ line-height: 36px;
2598
+ padding: 0 0 0 8px;
2599
  position: relative;
2600
  }
2601
+ .alm-dropdown ul li.layout i {
2602
+ top: 11px;
 
 
 
 
 
 
 
 
2603
  }
2604
  .alm-drop-btn.alm-layout-selection li.type .col-select{
2605
  float: right;
2606
  text-align: right;
2607
  width: auto;
2608
+ height: 33px;
2609
+ line-height: 33px;
2610
  }
2611
  .alm-drop-btn.alm-layout-selection li.type .col-select a{
2612
+ width: 32px;
2613
+ height: 30px;
2614
+ margin: 3px 3px 0 0;
 
 
2615
  padding: 0;
2616
+ float: left;
2617
  text-align: center;
2618
+ background-position: center center;
2619
+ background-repeat: no-repeat;
2620
+ vertical-align: top;
2621
+ text-indent: -99999px;
2622
+ overflow: hidden;
2623
+ opacity: 1;
2624
+ border-radius: 2px;
2625
+ border: 1px solid transparent;
2626
+ }
2627
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-1{
2628
+ background-image: url('../img/column-1.png');
2629
+ }
2630
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-2{
2631
+ background-image: url('../img/column-2.png');
2632
+ }
2633
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-3{
2634
+ background-image: url('../img/column-3.png');
2635
+ width: 36px;
2636
+ }
2637
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
2638
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
2639
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating{
2640
+ background-image: url("../img/loader.gif");
2641
+ padding: 0 !important;
2642
  }
2643
+ .alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
2644
+ .alm-drop-btn.alm-layout-selection li.type .col-select a.updating{
2645
+ opacity: 1;
2646
+ background-color: #fff;
2647
+ border-color: #ccc;
2648
+ }
2649
+ .alm-drop-btn.alm-layout-selection li.type:hover{
2650
+ background-color: #faf8e6;
2651
+ }
2652
 
2653
  /* External Link + Add-on */
2654
  .alm-drop-btn.alm-layout-selection a.external,
2655
+ .alm-drop-btn.alm-layout-selection a.add-on{
 
2656
  background-color: #f7f7f7;
2657
+ padding: 13px 10px 13px 42px;
2658
  display: block;
2659
+ }
2660
+ .alm-drop-btn.alm-layout-selection a.external{
2661
+ padding: 0 10px 0 42px;
2662
+ }
2663
+ .alm-drop-btn.alm-layout-selection a.external i{
2664
+ color: #999;
2665
+ border-color: #ccc;
2666
+ top: 10px;
2667
+ }
2668
+ .alm-drop-btn.alm-layout-selection a.external:hover i{
2669
+ color: #666;
2670
+ }
2671
  .alm-drop-btn.alm-layout-selection a.add-on{
2672
+ line-height: 1.6;
2673
+ background-color: #5acfb2;
2674
+ border: none;
2675
+ color: #fff;
2676
+ font-weight: 600;
2677
+ text-overflow: inherit;
2678
+ height: auto;
2679
+ white-space: normal;
2680
+ }
2681
+ .alm-drop-btn.alm-layout-selection a.add-on:hover{
2682
+ background-color: #935eaf;
2683
+ }
2684
+ .alm-drop-btn.alm-layout-selection a.add-on:hover i{
2685
+ opacity: 1;
2686
+ }
2687
+ .alm-drop-btn.alm-layout-selection a.add-on:hover strong{
2688
+ color: #fff;
2689
+ opacity: 0.7;
2690
  }
2691
  .alm-drop-btn.alm-layout-selection a.add-on strong{
2692
+ color: #387061;
2693
+ font-weight: 600;
2694
  }
2695
+ .alm-drop-btn.alm-layout-selection a.add-on i{
 
2696
  top: 14px;
2697
  }
2698
+ .alm-drop-btn.alm-layout-selection a.add-on i{
2699
+ color: #fff !important;
2700
+ border-color: rgba(255, 255, 255, 0.3);
2701
+ }
2702
 
2703
  .alm-drop-btn.alm-layout-selection a.target:hover,
2704
  .alm-drop-btn.alm-layout-selection a.target:active,
2705
  .alm-drop-btn.alm-layout-selection.active a.target{
2706
  color: #222;
2707
+ background-color: #fff;
2708
  border-color: #ccc;
2709
  -webkit-box-shadow: 0 0 3px #efefef;
2710
  -moz-box-shadow: 0 0 3px #efefef;
2711
+ box-shadow: 0 0 3px #efefef;
2712
+ opacity: 1;
2713
  }
2714
  .alm-drop-btn.alm-layout-selection.active a.target,
2715
  .alm-drop-btn.alm-layout-selection a.target:active{
2832
  -webkit-border-radius: 2px;
2833
  -moz-border-radius: 2px;
2834
  border-radius: 2px;
2835
+ border: 1px solid #efefef;
2836
  overflow: hidden;
2837
  }
2838
  .alm-dropdown ul li{
2840
  padding:0;
2841
  list-style: none;
2842
  clear: both;
2843
+ font-size: 12px;
2844
  margin: 0;
2845
  padding: 0;
2846
  line-height: 1.2;
2847
+ border-top: 1px solid #efefef;
2848
+ font-weight: 600;
2849
  }
2850
  .alm-dropdown ul li:first-child{
2851
  border: none;
2852
  }
2853
  .alm-dropdown ul li a{
2854
+ padding: 0 10px 0 42px;
2855
+ line-height: 37px;
2856
+ height: 36px;
2857
  display: block;
2858
  text-decoration: none;
2859
  background-position: 4px center;
2862
  -moz-box-shadow: none !important;
2863
  box-shadow: none !important;
2864
  position: relative;
2865
+ width: 100%;
2866
+ white-space: nowrap;
2867
+ overflow: hidden;
2868
+ text-overflow: ellipsis;
2869
  }
2870
 
2871
  .alm-dropdown ul li a i{
2872
  margin: 0;
2873
+ color: #ccc;
2874
  position: absolute;
2875
+ left: 0;
2876
+ top: 11px;
2877
+ font-size: 13px;
2878
+ width: 32px;
2879
+ height: 16px;
2880
+ line-height: 16px;
2881
+ border-right: 1px solid #e7e7e7;
2882
  display: inline-block;
2883
+ text-align: center;
2884
  }
 
 
 
 
 
 
2885
 
2886
  .alm-dropdown ul li a:hover{
2887
  color: #111;
2888
+ background-color: #f7f7f7;
2889
  }
2890
  .alm-dropdown ul li a:hover i{
2891
+ color: #999;
2892
  }
2893
 
2894
 
2938
  }
2939
  .ajax-load-more .cnkt-sidebar .cta.social .follow-btn.twitter{
2940
  background-color: #00aced;
2941
+ color: #fff;
2942
  }
2943
  .ajax-load-more .cnkt-sidebar .cta.social .follow-btn:hover{
2944
  opacity: 1;
2945
  }
2946
 
2947
  #alm-mailing-list .form-wrap{
2948
+ background-color: #fff;
2949
+ padding: 12px;
2950
+ border: 1px solid #e7e7e7;
2951
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.025);
 
 
2952
  position: relative;
2953
+ border-radius: 2px;
2954
  }
2955
  #alm-mailing-list .form-wrap .inner-wrap{
2956
  position: relative;
2962
  margin: 0;
2963
  background: #fff;
2964
  font-size: 13px;
2965
+ border-color: #eee;
2966
+ padding: 0 7px 0 46px;
2967
+ height: 40px;
2968
+ line-height: 40px;
2969
  }
2970
  #alm-mailing-list .form-wrap i.fa-envelope{
2971
  color: #fff;
2975
  left: 0;
2976
  font-size: 18px;
2977
  z-index: 1;
2978
+ height: 40px;
2979
+ width: 40px;
2980
  text-align: center;
2981
+ line-height: 40px;
2982
  -webkit-border-radius: 2px 0 0 2px;
2983
  -moz-border-radius: 2px 0 0 2px;
2984
  border-radius: 2px 0 0 2px;
2996
  height: 100%;
2997
  font-size: 13px;
2998
  border-radius: 0;
2999
+ width: 40px;
3000
+ height: 40px;
3001
  color: #ff5a58;
3002
  background: none !important;
3003
  cursor: pointer;
3005
 
3006
  #alm-mailing-list .form-wrap button i{
3007
  color: #ccc;
3008
+ line-height: 40px;
3009
  width: 20px;
3010
  text-align: center;
3011
  position: absolute;
3012
  right: 5px;
3013
  top:0;
3014
+ font-size: 19px;
3015
  }
3016
  #alm-mailing-list .form-wrap button:hover i{
3017
  color: #999;
3034
  top:-9999px;
3035
  }
3036
  #alm-mailing-list .form-wrap #response{
3037
+ padding-top: 11px;
3038
  font-size: 13px;
3039
  display: none;
3040
  text-align: center;
3043
  top:0;
3044
  width: 100%;
3045
  height: 100%;
3046
+ background: #fff;
3047
  z-index: 1;
3048
  }
3049
  #alm-mailing-list .form-wrap #response p{
3050
  font-style: normal !important;
3051
  }
3052
+
3053
+
3054
+
3055
+ /* share-alm*/
3056
+ .dotted{
3057
+ border: 1px dashed #ccc;
3058
+ background: #f7f7f7;
3059
+ padding: 20px;
3060
+ }
3061
+ .share-alm{}
3062
+ .share-alm h3{
3063
+ font-size: 16px;
3064
+ }
3065
+ .share-alm i.fa-star,
3066
+ .share-alm i.fa-share-alt{
3067
+ color: #efc919;
3068
+ position: relative;
3069
+ left: 2px;
3070
+ }
3071
+ .share-alm i.fa-share-alt{
3072
+ color: #ff5a58;
3073
+ }
3074
+ .share-alm p{
3075
+ font-size: 13px;
3076
+ color: #777;
3077
+ }
3078
+ .share-alm .sharing{
3079
+ padding-right: 20px;
3080
+ width: 46%;
3081
+ margin-right: 0 !important;
3082
+ }
3083
+ .share-alm .mailing{
3084
+ width: 52%;
3085
+ margin-left: 0 !important;
3086
+ padding-left: 40px;
3087
+ border-left: 1px dashed #ccc;
3088
+ }
3089
+ ul.share{
3090
+ margin: 0;
3091
+ padding: 0 0 0;
3092
+ width: auto;
3093
+ clear: both;
3094
+ display: inline-block;
3095
+ overflow: hidden;
3096
+ text-align: center;
3097
+ width: 100%;
3098
+ margin: 0;
3099
+ padding: 0;
3100
+ height: auto;
3101
+ overflow: visible;
3102
+ }
3103
+ ul.share li{
3104
+ background: none;
3105
+ padding:9px 0;
3106
+ margin: 0 3px;
3107
+ float: left;
3108
+ vertical-align: top;
3109
+ height: 30px;
3110
+ line-height: 30px;
3111
+ font-size: 12px;
3112
+ width: auto;
3113
+ position: relative;
3114
+ font-weight: 400;
3115
+ text-align: left;
3116
+ background: none;
3117
+ color: #787878;
3118
+ width: 46%;
3119
+ text-align: center;
3120
+ height: 36px;
3121
+ margin: 5px 3% 0 0;
3122
+ padding: 0;
3123
+ }
3124
+ ul.share li i{
3125
+ height: 36px;
3126
+ line-height: 36px;
3127
+ left: 0;
3128
+ width: 36px;
3129
+ }
3130
+ ul.share li a{
3131
+ display: block;
3132
+ line-height: 39px;
3133
+ height: 40px;
3134
+ width: auto;
3135
+ padding: 0 2px;
3136
+ text-decoration: none;
3137
+ color: #fff;
3138
+ background: none;
3139
+ border-radius: 3px;
3140
+ position: relative;
3141
+ font-weight: 600;
3142
+ background: #33cf92;
3143
+ /* box-shadow: inset 0 -10px 10px rgba(0, 0, 0, 0.05); */
3144
+ }
3145
+ ul.share li a:hover{
3146
+ background-color: #45dfa3;
3147
+ }
3148
+
3149
+ ul.share li i{
3150
+ font-size: 18px;
3151
+ line-height: 36px;
3152
+ height: 36px;
3153
+ width: 32px;
3154
+ position: absolute;
3155
+ top: 0;
3156
+ left: 0;
3157
+ text-align: center;
3158
+ border-right: 1px solid rgba(0, 0, 0, 0.1);
3159
+ background-color: rgba(0, 0, 0, 0.1);
3160
+ border-radius: 2px 0 0 2px;
3161
+ }
3162
+
3163
+ ul.share li a:hover,
3164
+ ul.share li a:hover i{
3165
+ text-decoration: none;
3166
+ color:#fff !important;
3167
+ }
3168
+ ul.share li a:hover span{
3169
+ text-decoration: none;
3170
+ }
3171
+
3172
+ ul.share li.twitter a{
3173
+ background: #00aced;
3174
+ }
3175
+ ul.share li.twitter a:hover{
3176
+ background: #13beff !important;
3177
+ }
3178
+ ul.share li.facebook a{
3179
+ background: #3b5998;
3180
+ }
3181
+ ul.share li.facebook a:hover{
3182
+ background: #466cbc !important;
3183
+ }
3184
+
3185
+
3186
 
3187
 
3188
 
3284
  }
3285
  }
3286
 
3287
+ @media screen and (max-width: 768px){
3288
+ .share-alm .sharing{
3289
+ padding-right: 0;
3290
+ width: 100%;
3291
+ margin-right: 0 !important;
3292
+ }
3293
+ .share-alm .mailing{
3294
+ width: 100%;
3295
+ margin-left: 0 !important;
3296
+ padding-left: 0;
3297
+ padding-top: 40px;
3298
+ border-left: none;
3299
+ }
3300
+ }
3301
+
3302
  @media screen and (max-width: 480px){
3303
  .ajax-load-more .section-title,
3304
  .ajax-load-more .row .wrap{
3371
  display: block;
3372
  font-size: 12px;
3373
  }
 
3374
  }
3375
 
3376
 
admin/css/select2.css CHANGED
@@ -100,7 +100,7 @@
100
  top: 100%;
101
  background: #fff;
102
  color: #000;
103
- border: 1px solid #ccc;
104
  border-top: 0;
105
  border-radius: 0 0 2px 2px;
106
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
@@ -109,7 +109,7 @@
109
 
110
  .select2-drop.select2-drop-above {
111
  margin-top: 1px;
112
- border-top: 1px solid #ccc;
113
  border-bottom: 0;
114
  border-radius: 2px 2px 0 0;
115
  box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1);
100
  top: 100%;
101
  background: #fff;
102
  color: #000;
103
+ border: 1px solid #efefef;
104
  border-top: 0;
105
  border-radius: 0 0 2px 2px;
106
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
109
 
110
  .select2-drop.select2-drop-above {
111
  margin-top: 1px;
112
+ border-top: 1px solid #efefef;
113
  border-bottom: 0;
114
  border-radius: 2px 2px 0 0;
115
  box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1);
admin/editor/editor-build.php CHANGED
@@ -6,6 +6,7 @@
6
  <link rel="stylesheet" src="<?php echo includes_url(); ?>js/tinymce/themes/advanced/skins/wp_theme/dialog.css"></link>
7
  <link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/admin.css" />
8
  <link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/select2.css" />
 
9
  <link rel="stylesheet" href="<?php echo includes_url(); ?>css/buttons.css" />
10
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script>
11
  <script type="text/javascript" src="<?php echo includes_url('/js/tinymce/tiny_mce_popup.js'); ?>"></script>
@@ -69,6 +70,8 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
69
  )); ?>
70
  /* ]]> */
71
  </script>
 
 
72
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/admin.js"></script>
73
  </body>
74
  </html>
6
  <link rel="stylesheet" src="<?php echo includes_url(); ?>js/tinymce/themes/advanced/skins/wp_theme/dialog.css"></link>
7
  <link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/admin.css" />
8
  <link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/select2.css" />
9
+ <link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/tooltipster/tooltipster.css" />
10
  <link rel="stylesheet" href="<?php echo includes_url(); ?>css/buttons.css" />
11
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script>
12
  <script type="text/javascript" src="<?php echo includes_url('/js/tinymce/tiny_mce_popup.js'); ?>"></script>
70
  )); ?>
71
  /* ]]> */
72
  </script>
73
+
74
+ <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/jquery.tooltipster.min.js"></script>
75
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/admin.js"></script>
76
  </body>
77
  </html>
admin/img/add-ons/cache-add-on.jpg CHANGED
Binary file
admin/img/add-ons/layouts-add-on.jpg ADDED
Binary file
admin/img/add-ons/shortcode-editor.jpg CHANGED
Binary file
admin/img/column-1.png ADDED
Binary file
admin/img/column-2.png ADDED
Binary file
admin/img/column-3.png ADDED
Binary file
admin/img/infographic.png ADDED
Binary file
admin/includes/components/layout-list.php CHANGED
@@ -4,14 +4,16 @@
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
 
 
 
7
  <li>
8
- <a href="javascript:void(0);" class="layout" data-type="default"><i class="fa fa-picture-o"></i>
9
- <?php _e('Default', 'ajax-load-more'); ?>
 
10
  </a>
11
  </li>
12
- <?php if (has_action('alm_layouts_installed')){
13
- do_action('alm_get_layouts_add_on');
14
- } else {
15
  echo '<li><a href="https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=Extend&utm_campaign=Layouts" class="add-on" target="_blank">';
16
  echo '<i class="fa fa-key"></i>';
17
  _e('Unlock additional layout templates with the <strong>Layouts add-on</strong>', 'ajax-load-more');
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
7
+ <?php if (has_action('alm_layouts_installed')){
8
+ do_action('alm_get_layouts_add_on');
9
+ } else { ?>
10
  <li>
11
+ <a href="javascript:void(0);" class="layout" data-type="default">
12
+ <i class="fa fa-list-alt"></i>
13
+ <?php _e('Default Layout', 'ajax-load-more'); ?>
14
  </a>
15
  </li>
16
+ <?php
 
 
17
  echo '<li><a href="https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=Extend&utm_campaign=Layouts" class="add-on" target="_blank">';
18
  echo '<i class="fa fa-key"></i>';
19
  _e('Unlock additional layout templates with the <strong>Layouts add-on</strong>', 'ajax-load-more');
admin/includes/components/repeater-options.php CHANGED
@@ -3,8 +3,8 @@
3
  <div class="alm-dropdown">
4
  <div class="alm-drop-inner">
5
  <ul>
6
- <li class="option-update"><a href="javascript:void(0);"><i class="fa fa-download"></i> <?php _e('Update Template from Database', 'ajax-load-more'); ?></a></li>
7
- <li class="copy"><a href="javascript:void(0);"><i class="fa fa-files-o"></i> <?php _e('Copy Template Data', 'ajax-load-more'); ?></a></li>
8
  </ul>
9
  </div>
10
  </div>
3
  <div class="alm-dropdown">
4
  <div class="alm-drop-inner">
5
  <ul>
6
+ <li class="option-update"><a href="javascript:void(0);" title="<?php _e('Update Template from Database', 'ajax-load-more'); ?>"><i class="fa fa-download"></i> <?php _e('Update Template from Database', 'ajax-load-more'); ?></a></li>
7
+ <li class="copy"><a href="javascript:void(0);" title="<?php _e('Copy Template Data', 'ajax-load-more'); ?>"><i class="fa fa-file"></i> <?php _e('Copy Template Data', 'ajax-load-more'); ?></a></li>
8
  </ul>
9
  </div>
10
  </div>
admin/includes/cta/add-ons.php CHANGED
@@ -1,8 +1,12 @@
1
- <div class="cta padding-bottom">
2
  <h3>Add-ons</h3>
 
3
  <ul>
4
  <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>
5
- <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Custom%20Repeaters">Custom Repeaters</a></li><li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Paging">Paging</a></li>
 
 
 
6
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Preloaded">Preloaded</a></li>
7
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Previous">Previous Post</a></li>
8
  <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>
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/comments/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Comments">Comments</a></li>
7
+ <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Custom%20Repeaters">Custom Repeaters</a></li>
8
+ <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Layouts">Layouts</a></li>
9
+ <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Paging">Paging</a></li>
10
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Preloaded">Preloaded</a></li>
11
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Previous">Previous Post</a></li>
12
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
admin/includes/cta/dyk.php CHANGED
@@ -1,5 +1,26 @@
1
- <div class="cta">
2
  <h3><?php _e('Did you know?', 'ajax-load-more'); ?></h3>
 
 
 
 
3
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg"><br/>
4
- <?php _e('<p class="addon-intro">You can generate shortcodes while editing pages!</p><p>Click the Ajax Load More icon in the content editor toolbar and the <a href="?page=ajax-load-more-shortcode-builder">shortcode builder</a> will open in an overlay window.', 'ajax-load-more'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  </div>
1
+ <div class="cta dyk">
2
  <h3><?php _e('Did you know?', 'ajax-load-more'); ?></h3>
3
+ <?php
4
+ $random = rand(1, 3);
5
+ ?>
6
+ <?php if($random == 1){ ?>
7
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/shortcode-editor.jpg"><br/>
8
+ <p class="addon-intro">You can generate shortcodes while editing pages!</p>
9
+ <p>Click the Ajax Load More icon in the content editor toolbar and the <a href="?page=ajax-load-more-shortcode-builder">shortcode builder</a> will open up in an lightbox window.</p>
10
+ <?php } ?>
11
+
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
  </div>
admin/includes/cta/extend.php CHANGED
@@ -1 +1 @@
1
- <div class="clear"></div><div class="call-out"><?php _e('Unlock additional templates with the <a href="?page=ajax-load-more-add-ons" target="_parent">Custom Repeaters add-on</a>', 'ajax-load-more'); ?> <a class="cnkt-button" href="https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=CustomRepeaters%20Extend&utm_campaign=Custom%20Repeaters" target="_blank"><?php _e('More Info', 'ajax-load-more'); ?></a></div>
1
+ <div class="clear"></div><div class="call-out"><?php _e('Unlock additional templates with the <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=CustomRepeaters%20Extend&utm_campaign=Custom%20Repeaters" target="_parent">Custom Repeaters add-on</a>', 'ajax-load-more'); ?> <a class="cnkt-button" href="https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=CustomRepeaters%20Extend&utm_campaign=Custom%20Repeaters" target="_blank"><?php _e('More Info', 'ajax-load-more'); ?></a></div>
admin/includes/cta/mailinglist.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="cta mailing-list social" id="alm-mailing-list">
2
  <div class="head-wrap">
3
- <h3><?php _e('Join the Mailing List', 'ajax-load-more'); ?></h3>
4
- <p><?php _e('Enter your email below to receive product updates delivered directly to your inbox.', 'ajax-load-more'); ?></p>
5
  </div>
6
  <form action="" method="post" id="alm-mc-embedded" name="mc-embedded-subscribe-form" class="validate" data-path="<?php echo ALM_ADMIN_URL; ?>includes/mailchimp/mailchimp-info.php" novalidate>
7
  <div class="form-wrap">
1
  <div class="cta mailing-list social" id="alm-mailing-list">
2
  <div class="head-wrap">
3
+ <h3><?php _e('Join our mailing list', 'ajax-load-more'); ?></h3>
4
+ <p><?php _e('Get product updates delivered directly to your inbox.', 'ajax-load-more'); ?></p>
5
  </div>
6
  <form action="" method="post" id="alm-mc-embedded" name="mc-embedded-subscribe-form" class="validate" data-path="<?php echo ALM_ADMIN_URL; ?>includes/mailchimp/mailchimp-info.php" novalidate>
7
  <div class="form-wrap">
admin/includes/cta/resources.php CHANGED
@@ -2,7 +2,7 @@
2
  <h3><?php _e('Resources', 'ajax-load-more'); ?></h3>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
- <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?>s</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>
2
  <h3><?php _e('Resources', 'ajax-load-more'); ?></h3>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
+ <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
6
  <li><a target="blank" href="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>
admin/includes/cta/reviews.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <h4><?php _e('Leave a Review', 'ajax-load-more'); ?> <i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i></h4>
2
+ <p><?php _e('Good <em>or</em> bad - all reviews will help the plugin push forward and grow.', 'ajax-load-more'); ?> </p>
3
+ <ul class="share">
4
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more" target="_blank"><?php _e('Write a Review', 'ajax-load-more'); ?></a></li>
5
+ </ul>
admin/includes/cta/sharing.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <h4><?php _e('Share Ajax Load More', 'ajax-load-more'); ?> <i class="fa fa-share-alt"></i></h4>
2
+ <p><?php _e('Use the links below to share with your friends on Twitter and Facebook.', 'ajax-load-more'); ?></p>
3
+ <ul class="share">
4
+ <li class="twitter">
5
+ <a target="blank" title="Share on Twitter" href="//twitter.com/home?status=Ajax Load More - WordPress plugin for infinite scrolling posts with Ajax - https://connekthq.com/plugins/ajax-load-more/" class="share-twitter">Twitter</a>
6
+ </li>
7
+ <li class="facebook">
8
+ <a target="blank" title="Share on Facebook" href="//facebook.com/share.php?u=https://connekthq.com/plugins/ajax-load-more/" class="share-facebook">Facebook</a>
9
+ </li>
10
+ </ul>
admin/js/admin.js CHANGED
@@ -266,18 +266,23 @@ jQuery(document).ready(function($) {
266
 
267
 
268
 
269
- // Get layout value Ajax
270
- //$('.alm-layout-selection ul li a.layout').click(function(){
 
 
 
271
  $(document).on('click', '.alm-layout-selection li a.layout', function(e){
272
  e.preventDefault();
273
  var el = $(this),
274
  type = el.data('type'),
 
275
  layout_btn_text = el.html(),
276
  name = el.closest('.repeater-wrap').data('name');
277
 
278
  if(!el.hasClass('updating')){
279
 
280
- el.addClass('updating').text("Applying layout...");
 
281
 
282
  // Get editor ID
283
  var eid = '';
@@ -302,10 +307,11 @@ jQuery(document).ready(function($) {
302
 
303
  // Clear button styles
304
  setTimeout(function() {
305
- el.text('Template Updated').blur();
306
  setTimeout(function() {
307
  el.removeClass('updating').html(layout_btn_text).blur(); // CLose drop menu
308
- el.closest('.alm-drop-btn').trigger('click');
 
309
  }, 400);
310
  }, 400);
311
 
@@ -313,11 +319,41 @@ jQuery(document).ready(function($) {
313
  },
314
  error: function(xhr, status, error) {
315
  console.log(status);
 
316
  }
317
  });
318
  }
319
 
320
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
 
322
 
323
 
@@ -328,13 +364,15 @@ jQuery(document).ready(function($) {
328
  * @since 2.7.3
329
  */
330
 
331
- $(document).on('click', '.alm-settings-nav li a', function(e){
332
  e.preventDefault();
333
- var el = $(this).parent(),
334
- index = el.index();
335
- $('html, body').animate({
336
- scrollTop: $("#alm_OptionsForm h2").eq(index).offset().top - 40
337
- }, 500);
 
 
338
 
339
 
340
  });
266
 
267
 
268
 
269
+ /*
270
+ * Get layout value Ajax
271
+ *
272
+ * @since 2.8.7
273
+ */
274
  $(document).on('click', '.alm-layout-selection li a.layout', function(e){
275
  e.preventDefault();
276
  var el = $(this),
277
  type = el.data('type'),
278
+ textarea = el.closest('.repeater-wrap').find('.CodeMirror'),
279
  layout_btn_text = el.html(),
280
  name = el.closest('.repeater-wrap').data('name');
281
 
282
  if(!el.hasClass('updating')){
283
 
284
+ el.addClass('updating').text(alm_admin_localize.applying_layout+"...");
285
+ textarea.addClass('loading');
286
 
287
  // Get editor ID
288
  var eid = '';
307
 
308
  // Clear button styles
309
  setTimeout(function() {
310
+ el.text(alm_admin_localize.template_updated).blur();
311
  setTimeout(function() {
312
  el.removeClass('updating').html(layout_btn_text).blur(); // CLose drop menu
313
+ el.closest('.alm-drop-btn').trigger('click');
314
+ textarea.removeClass('loading');
315
  }, 400);
316
  }, 400);
317
 
319
  },
320
  error: function(xhr, status, error) {
321
  console.log(status);
322
+ textarea.removeClass('loading');
323
  }
324
  });
325
  }
326
 
327
  });
328
+
329
+
330
+
331
+ /*
332
+ * Dismiss Sharing (Transient)
333
+ *
334
+ * @since 2.8.7
335
+ */
336
+ $(document).on('click', '#alm_dismiss_sharing', function(e){
337
+ e.preventDefault();
338
+ var el = $(this),
339
+ container = el.parent('.group');
340
+ // Get value from Ajax
341
+ $.ajax({
342
+ type: 'POST',
343
+ url: alm_admin_localize.ajax_admin_url,
344
+ data: {
345
+ action: 'alm_dismiss_sharing',
346
+ nonce: alm_admin_localize.alm_admin_nonce,
347
+ },
348
+ success: function(data) {
349
+ container.fadeOut();
350
+ },
351
+ error: function(xhr, status, error) {
352
+ console.log(status);
353
+ }
354
+ });
355
+
356
+ });
357
 
358
 
359
 
364
  * @since 2.7.3
365
  */
366
 
367
+ $(document).on('change', '#alm-settings-nav', function(e){
368
  e.preventDefault();
369
+ var el = $(this),
370
+ index = el.val();
371
+ if(index !== '#'){
372
+ $('html, body').animate({
373
+ scrollTop: $("#alm_OptionsForm h2").eq(index).offset().top - 40
374
+ }, 500);
375
+ }
376
 
377
 
378
  });
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -25,6 +25,9 @@ jQuery(document).ready(function($) {
25
  });
26
  $('.ajax-load-more .tags select.multiple').select2({
27
  placeholder : '-- Select Tags --'
 
 
 
28
  });
29
  };
30
  _alm.select2();
@@ -300,8 +303,8 @@ jQuery(document).ready(function($) {
300
  // - Repeater
301
  // ---------------------------
302
 
303
- var repeater = $('select#repeater-select').val(),
304
- theme_repeater = $('select#theme-repeater-select').val();
305
 
306
  if(theme_repeater != 'null' && theme_repeater != '' && theme_repeater != undefined){
307
  output += ' theme_repeater="'+theme_repeater+'"';
@@ -312,6 +315,43 @@ jQuery(document).ready(function($) {
312
  }
313
 
314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
 
316
  // ---------------------------
317
  // - Post Types
@@ -741,6 +781,11 @@ jQuery(document).ready(function($) {
741
  output += ' transition="'+transition+'"';
742
 
743
 
 
 
 
 
 
744
  // ---------------------------
745
  // - Images loaded
746
  // ---------------------------
@@ -821,14 +866,26 @@ jQuery(document).ready(function($) {
821
  el.addClass('changed');
822
 
823
  // reset repeater templates
824
- if(el.attr('id') === 'repeater-select'){
825
- $('select#theme-repeater-select').select2('val','');
826
  }
827
- if(el.attr('id') === 'theme-repeater-select'){
828
- if($('#theme-repeater-select').val() !== 'null' && $('#theme-repeater-select').val() !== ''){
829
- $('select#repeater-select').select2('val','default');
830
  }
831
  }
 
 
 
 
 
 
 
 
 
 
 
 
832
 
833
  if(el.attr('id') === 'comments_template'){
834
  $('#comments_callback').val('');
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();
303
  // - Repeater
304
  // ---------------------------
305
 
306
+ var repeater = $('.repeater select[name=repeater-select]').val(),
307
+ theme_repeater = $('.select-theme-repeater select[name=theme-repeater-select]').val();
308
 
309
  if(theme_repeater != 'null' && theme_repeater != '' && theme_repeater != undefined){
310
  output += ' theme_repeater="'+theme_repeater+'"';
315
  }
316
 
317
 
318
+
319
+ // ---------------------------
320
+ // - Alternate Repeater
321
+ // ---------------------------
322
+
323
+ var alternate_container = $('#alm-alternate');
324
+ var alternate = $('input[name=alternate]:checked', alternate_container).val();
325
+ var alternate_sequence = $('input[name=alternate-sequence]', alternate_container).val();
326
+ var alternate_sequence_max = $('input[name=alternate-sequence-max]', alternate_container).val();
327
+ var alternate_repeater = $('select[name=alternate-repeater-select]', alternate_container).val();
328
+ var alternate_theme_repeater = $('select[name=theme-repeater-select]', alternate_container).val();
329
+ if(alternate !== 'false' && alternate != undefined){
330
+
331
+ $('.alternate_template_wrap').slideDown(100, 'alm_easeInOutQuad');
332
+
333
+ // Standard repeater
334
+ if(alternate_repeater != '' && alternate_repeater != undefined && alternate_sequence != '' && alternate_sequence != null){
335
+ output += ' alternate="'+alternate+'"';
336
+ output += ' alternate_repeater="'+alternate_repeater+'"';
337
+ output += ' alternate_sequence="'+alternate_sequence+'"';
338
+ output += ' alternate_sequence_max="'+alternate_sequence_max+'"';
339
+ }
340
+ // Theme repeater
341
+ if(alternate_theme_repeater != '' && alternate_theme_repeater != undefined && alternate_sequence != '' && alternate_sequence != null){
342
+ output += ' alternate="'+alternate+'"';
343
+ output += ' alternate_theme_repeater="'+alternate_theme_repeater+'"';
344
+ output += ' alternate_sequence="'+alternate_sequence+'"';
345
+ output += ' alternate_sequence_max="'+alternate_sequence_max+'"';
346
+ }
347
+
348
+ }else{
349
+
350
+ $('.alternate_template_wrap').slideUp(100, 'alm_easeInOutQuad');
351
+
352
+ }
353
+
354
+
355
 
356
  // ---------------------------
357
  // - Post Types
781
  output += ' transition="'+transition+'"';
782
 
783
 
784
+ var transition_container = $('.transition input[name=remove_container]:checked').val();
785
+ if(transition_container === 'f' && seo !== 'true' && previous !== 'true')
786
+ output += ' transition_container="false"';
787
+
788
+
789
  // ---------------------------
790
  // - Images loaded
791
  // ---------------------------
866
  el.addClass('changed');
867
 
868
  // reset repeater templates
869
+ if(el.attr('name') === 'repeater-select'){
870
+ $('.select-theme-repeater select[name=theme-repeater-select]').select2('val','');
871
  }
872
+ if(el.attr('name') === 'theme-repeater-select'){
873
+ if($('.select-theme-repeater select[name=theme-repeater-select]').val() !== 'null' && $('.select-theme-repeater select[name=theme-repeater-select]').val() !== ''){
874
+ $('.repeater select[name=repeater-select]').select2('val','default');
875
  }
876
  }
877
+
878
+
879
+ // reset alternate repeater templates
880
+ if(el.attr('name') === 'alternate-repeater-select'){
881
+ $('#alm-alternate select[name=theme-repeater-select]').select2('val','');
882
+ }
883
+ if(el.attr('name') === 'theme-repeater-select'){
884
+ if($('#alm-alternate select[name=theme-repeater-select]').val() !== 'null' && $('#alm-alternate select[name=theme-repeater-select]').val() !== ''){
885
+ $('select[name=alternate-repeater-select]').select2('val','');
886
+ }
887
+ }
888
+
889
 
890
  if(el.attr('id') === 'comments_template'){
891
  $('#comments_callback').val('');
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -380,16 +380,19 @@
380
  );
381
  $pp_tax_output = 'objects';
382
  $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
383
- if ( $pp_taxonomies ) {
384
- echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
385
- echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
386
- echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
387
- echo '<option value="tag">' . __('Tag', 'ajax-load-more') . '</option>';
388
- foreach( $pp_taxonomies as $pp_taxonomy ){
389
- echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
390
- }
391
- echo '</select>';
392
- } ?>
 
 
 
393
  </div>
394
  </div>
395
 
@@ -441,8 +444,8 @@
441
  echo '<p>'.__('Select which <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> you would like to use.', 'ajax-load-more'). '</p>';
442
  echo '</div>';
443
  echo '<div class="wrap"><div class="inner">';
444
- echo '<select name="repeater-select" id="repeater-select" class="alm_element">';
445
- echo '<option name="default" id="chk-default" value="default" selected="selected">Default</option>';
446
  if (has_action('alm_get_custom_repeaters')) {
447
  do_action('alm_get_custom_repeaters');
448
  }
@@ -452,13 +455,17 @@
452
  echo '</select>';
453
 
454
  echo '</div></div>';
 
455
 
456
 
 
 
457
  if (has_action('alm_theme_repeaters_selection')){
458
  do_action('alm_theme_repeaters_selection');
459
- }
460
-
461
-
 
462
  // Custom Repeaters v2 - /cta/extend.php
463
  if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters')) {
464
  include( ALM_PATH . 'admin/includes/cta/extend.php');
@@ -466,8 +473,109 @@
466
 
467
  echo '</div>';
468
  echo '</div>';
 
 
469
 
470
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  // List registered post_types
472
  $pt_args = array(
473
  'public' => true
@@ -860,6 +968,7 @@
860
  <option value="author">Author</option>
861
  <option value="ID">ID</option>
862
  <option value="comment_count">Comment Count</option>
 
863
  <option value="meta_value_num">meta_value_num</option>
864
  </select>
865
  </div>
@@ -998,7 +1107,8 @@
998
  <h3 class="heading"><?php _e('Transition', 'ajax-load-more'); ?></h3>
999
  <div class="expand-wrap">
1000
  <div class="section-title">
1001
- <p><?php _e('Select a loading transition.', 'ajax-load-more'); ?></p>
 
1002
  </div>
1003
  <div class="wrap">
1004
  <div class="inner">
@@ -1018,6 +1128,22 @@
1018
  </ul>
1019
  </div>
1020
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1021
  </div>
1022
  </div>
1023
 
@@ -1114,6 +1240,10 @@
1114
  <input type="radio" id="type-div" value="div" name="alm_container_type" class="alm_element">
1115
  <label for="type-div">&lt;div&gt; &lt;/div&gt;</label>
1116
  </li>
 
 
 
 
1117
  </ul>
1118
  </div>
1119
  </div>
380
  );
381
  $pp_tax_output = 'objects';
382
  $pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
383
+ echo '<select class="alm_element" name="pp-taxonomy-select" id="pp-taxonomy-select">';
384
+ echo '<option value="" selected="selected">-- ' . __('Select Taxonomy', 'ajax-load-more') . ' --</option>';
385
+ echo '<option value="category">' . __('Category', 'ajax-load-more') . '</option>';
386
+ echo '<option value="tag">' . __('Tag', 'ajax-load-more') . '</option>';
387
+ if ( $pp_taxonomies ) {
388
+
389
+ foreach( $pp_taxonomies as $pp_taxonomy ){
390
+ echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
391
+ }
392
+
393
+ }
394
+ echo '</select>';
395
+ ?>
396
  </div>
397
  </div>
398
 
444
  echo '<p>'.__('Select which <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a> you would like to use.', 'ajax-load-more'). '</p>';
445
  echo '</div>';
446
  echo '<div class="wrap"><div class="inner">';
447
+ echo '<select name="repeater-select" class="alm_element">';
448
+ echo '<option name="default" value="default" selected="selected">Default</option>';
449
  if (has_action('alm_get_custom_repeaters')) {
450
  do_action('alm_get_custom_repeaters');
451
  }
455
  echo '</select>';
456
 
457
  echo '</div></div>';
458
+ ?>
459
 
460
 
461
+ <?php
462
+ // Get Theme Repeaters
463
  if (has_action('alm_theme_repeaters_selection')){
464
  do_action('alm_theme_repeaters_selection');
465
+ }
466
+ ?>
467
+
468
+ <?php
469
  // Custom Repeaters v2 - /cta/extend.php
470
  if (!has_action('alm_get_unlimited_repeaters') && !has_action('alm_get_custom_repeaters')) {
471
  include( ALM_PATH . 'admin/includes/cta/extend.php');
473
 
474
  echo '</div>';
475
  echo '</div>';
476
+
477
+ ?>
478
 
479
+ <?php if(has_action('alm_alternating_installed')){ ?>
480
+ <div class="row alternating add-on" id="alm-alternate">
481
+ <h3 class="heading"><?php _e('Alternating Templates', 'ajax-load-more'); ?></h3>
482
+ <div class="expand-wrap">
483
+
484
+ <div class="section-title">
485
+ <p><?php _e('Select an alternate repeater template to be display every <em>x</em> number of posts.', 'ajax-load-more'); ?></p>
486
+ </div>
487
+ <div class="wrap">
488
+ <div class="inner">
489
+ <ul>
490
+ <li>
491
+ <input class="alm_element" type="radio" name="alternate" value="true" id="alternate-true" >
492
+ <label for="alternate-true"><?php _e('True', 'ajax-load-more'); ?></label>
493
+ </li>
494
+ <li>
495
+ <input class="alm_element" type="radio" name="alternate" value="false" id="alternate-false" checked="checked">
496
+ <label for="alternate-false"><?php _e('False', 'ajax-load-more'); ?></label>
497
+ </li>
498
+ </ul>
499
+ </div>
500
+ </div>
501
+ <div class="clear"></div>
502
+
503
+ <div class="alternate_template_wrap">
504
+
505
+ <hr/>
506
+ <div class="spacer"></div>
507
+
508
+ <div class="section-title">
509
+ <h4><?php _e('Template Sequencing', 'ajax-load-more'); ?></h4>
510
+ <p><?php _e('A comma separated list of post position values. Posts in these positions will be replaced by the alternate template', 'ajax-load-more'); ?>.<br/><br/>
511
+ <strong><?php _e('Pro-Tip', 'ajax-load-more'); ?></strong> -
512
+ <?php _e('Use sequence "even" to use an alternate template for every even result', 'ajax-load-more'); ?>.</p>
513
+ </div>
514
+ <div class="wrap">
515
+ <div class="inner">
516
+ <input type="text" placeholder="3, 4, 7, 8" id="alternate-sequence-max" class="alm_element sm" name="alternate-sequence">
517
+ </div>
518
+ </div>
519
+
520
+ <div class="clear"></div>
521
+ <hr/>
522
+ <div class="spacer"></div>
523
+
524
+ <div class="section-title">
525
+ <h4><?php _e('Sequence Loop', 'ajax-load-more'); ?></h4>
526
+ <p>
527
+ <?php _e('Select the maximum number of loops to repeat alternate template sequence.', 'ajax-load-more'); ?><br/><br/>
528
+ <?php _e('0 = no maximum', 'ajax-load-more'); ?>
529
+ </p>
530
+ </div>
531
+ <div class="wrap">
532
+ <div class="inner">
533
+ <input type="number" placeholder="0" id="alternate-sequence-max" class="alm_element sm numbers-only" name="alternate-sequence-max" value="0" step="1" min="0">
534
+
535
+ </div>
536
+ </div>
537
+
538
+ <div class="clear"></div>
539
+ <hr/>
540
+ <div class="spacer"></div>
541
+
542
+ <div class="section-title">
543
+ <h4><?php _e('Repeater Template', 'ajax-load-more'); ?></h4>
544
+ <?php
545
+ echo '<p>'.__('Select an alternate <a href="admin.php?page=ajax-load-more-repeaters" target="_parent">repeater template</a>.', 'ajax-load-more'). '</p>';
546
+ ?>
547
+ </div>
548
+ <div class="wrap">
549
+ <div class="inner">
550
+ <?php
551
+ echo '<select name="alternate-repeater-select" class="alm_element">';
552
+ echo '<option name="" value="" selected="selected">'.__('-- Select Repeater --', 'ajax-load-more').'</option>';
553
+ echo '<option name="default" value="default">Default</option>';
554
+ if (has_action('alm_get_custom_repeaters')) {
555
+ do_action('alm_get_custom_repeaters');
556
+ }
557
+ if (has_action('alm_get_unlimited_repeaters')) {
558
+ do_action('alm_get_unlimited_repeaters');
559
+ }
560
+ echo '</select>';
561
+ ?>
562
+ </div>
563
+ </div>
564
+ <?php
565
+ // Get Theme Repeaters
566
+ if (has_action('alm_theme_repeaters_selection')){
567
+ do_action('alm_theme_repeaters_selection');
568
+ }
569
+ ?>
570
+
571
+ </div>
572
+
573
+ </div>
574
+ </div>
575
+ <?php } ?>
576
+
577
+
578
+ <?php
579
  // List registered post_types
580
  $pt_args = array(
581
  'public' => true
968
  <option value="author">Author</option>
969
  <option value="ID">ID</option>
970
  <option value="comment_count">Comment Count</option>
971
+ <option value="modified">Modified</option>
972
  <option value="meta_value_num">meta_value_num</option>
973
  </select>
974
  </div>
1107
  <h3 class="heading"><?php _e('Transition', 'ajax-load-more'); ?></h3>
1108
  <div class="expand-wrap">
1109
  <div class="section-title">
1110
+ <h4><?php _e('Transition Type', 'ajax-load-more'); ?></h4>
1111
+ <p><?php _e('Select a loading transition style.', 'ajax-load-more'); ?></p>
1112
  </div>
1113
  <div class="wrap">
1114
  <div class="inner">
1128
  </ul>
1129
  </div>
1130
  </div>
1131
+ <div class="clear"></div>
1132
+ <hr>
1133
+ <div class="section-title">
1134
+ <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>
1135
+ <p><?php _e('Remove the Ajax Load More (.alm-reveal) loading container.', 'ajax-load-more'); ?></p>
1136
+ </div>
1137
+ <div class="wrap">
1138
+ <div class="inner">
1139
+ <ul>
1140
+ <li style="width:100%;">
1141
+ <input class="alm_element" type="checkbox" name="remove_container" id="remove_container" value="f">
1142
+ <label for="remove_container">Remove Container</label>
1143
+ </li>
1144
+ </ul>
1145
+ </div>
1146
+ </div>
1147
  </div>
1148
  </div>
1149
 
1240
  <input type="radio" id="type-div" value="div" name="alm_container_type" class="alm_element">
1241
  <label for="type-div">&lt;div&gt; &lt;/div&gt;</label>
1242
  </li>
1243
+ <li>
1244
+ <input type="radio" id="type-table" value="table" name="alm_container_type" class="alm_element">
1245
+ <label for="type-table">&lt;table&gt; &lt;/table&gt;</label>
1246
+ </li>
1247
  </ul>
1248
  </div>
1249
  </div>
admin/views/add-ons.php CHANGED
@@ -14,7 +14,7 @@
14
 
15
  <a href="<?php echo $cache_url; ?>">
16
  <div class="expand-wrap">
17
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg">
18
  <h2 class="addon-title"><?php _e('Cache', 'ajax-load-more'); ?></h2>
19
  <p class="addon-intro"><?php _e('Improve performance with the Ajax Load More caching engine.', 'ajax-load-more'); ?></p>
20
  <p><?php _e('The Cache add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.', 'ajax-load-more'); ?></p>
@@ -41,7 +41,7 @@
41
 
42
  <a href="<?php echo $comments_url; ?>">
43
  <div class="expand-wrap">
44
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg">
45
  <h2 class="addon-title"><?php _e('Comments', 'ajax-load-more'); ?></h2>
46
  <p class="addon-intro"><?php _e('Load blog comments on demand with Ajax Load More.', 'ajax-load-more'); ?></p>
47
  <p><?php _e('The Comments add-on will display your blog comments with Ajax Load More\'s infinite scroll functionality.', 'ajax-load-more'); ?></p>
@@ -66,7 +66,7 @@
66
  <?php $cr_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Custom%20Repeaters'; ?>
67
  <a href="<?php echo $cr_url; ?>">
68
  <div class="expand-wrap">
69
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/unlimited-add-ons.jpg">
70
  <h2 class="addon-title"><?php _e('Custom Repeaters', 'ajax-load-more'); ?></h2>
71
  <p class="addon-intro"><?php _e('Extend Ajax Load More with unlimited repeater templates.', 'ajax-load-more'); ?></p>
72
  <p><?php _e('Create, delete and modify repeater templates as you need them with absolutely zero restrictions.', 'ajax-load-more'); ?></p>
@@ -83,9 +83,33 @@
83
  </div>
84
 
85
  </div>
86
- <!-- End Custom Repeaters -->
87
 
88
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
 
91
  <!-- Paging -->
@@ -96,7 +120,7 @@
96
  ?>
97
  <a href="<?php echo $paging_url; ?>">
98
  <div class="expand-wrap">
99
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg">
100
  <h2 class="addon-title"><?php _e('Paging', 'ajax-load-more'); ?></h2>
101
  <p class="addon-intro"><?php _e('Extend Ajax Load More with a numbered navigation.', 'ajax-load-more'); ?></p>
102
  <p><?php _e('The Paging add-on will transform the default infinite scroll functionality into a robust ajax powered navigation system.', 'ajax-load-more'); ?></p>
@@ -123,7 +147,7 @@
123
  ?>
124
  <a href="<?php echo $preload_url; ?>">
125
  <div class="expand-wrap">
126
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/preloaded-add-ons.jpg">
127
  <h2 class="addon-title"><?php _e('Preloaded', 'ajax-load-more'); ?></h2>
128
  <p class="addon-intro"><?php _e('Load an initial set of posts before making Ajax requests to the server.', 'ajax-load-more'); ?></p>
129
  <p><?php _e('The Preloaded add-on will display content quicker and allow caching of the initial query which can reduce stress on your server.', 'ajax-load-more'); ?></p>
@@ -138,7 +162,7 @@
138
  </a>
139
  </div>
140
  </div>
141
- <!-- End Preloaded -->
142
 
143
 
144
  <!-- Previous Post -->
@@ -149,7 +173,7 @@
149
  ?>
150
  <a href="<?php echo $prev_url; ?>">
151
  <div class="expand-wrap">
152
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg">
153
  <h2 class="addon-title"><?php _e('Previous Post', 'ajax-load-more'); ?></h2>
154
  <p class="addon-intro"><?php _e('An extension to enable infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
155
  <p><?php _e('The Previous Post add-on will load single posts as you scroll and update the browser URL to the current post.', 'ajax-load-more'); ?></p>
@@ -175,7 +199,7 @@
175
  ?>
176
  <a href="<?php echo $seo_url; ?>">
177
  <div class="expand-wrap">
178
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/seo-add-ons.jpg">
179
  <h2 class="addon-title"><?php _e('Search Engine Optimization', 'ajax-load-more'); ?></h2>
180
  <p class="addon-intro"><?php _e('Generate unique paging URLs with every Ajax Load More query.', 'ajax-load-more'); ?></p>
181
  <p><?php _e('The SEO add-on will optimize your ajax loaded content for search engines by generating unique URLs with every query.</p>', 'ajax-load-more'); ?></p>
@@ -201,7 +225,7 @@
201
  <?php $themer_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Theme Repeaters'; ?>
202
  <a href="<?php echo $themer_url; ?>">
203
  <div class="expand-wrap">
204
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/theme-repeater-add-on.jpg">
205
  <h2 class="addon-title"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></h2>
206
  <p class="addon-intro"><?php _e('Manage repeater templates within your current theme directory.', 'ajax-load-more'); ?></p>
207
  <p><?php _e('The Theme Repeater add-on will allow you load, edit and maintain templates from your current theme directory.</p>', 'ajax-load-more'); ?></p>
@@ -229,7 +253,7 @@
229
  ?>
230
  <a href="<?php echo $layouts_url; ?>">
231
  <div class="expand-wrap">
232
- <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg">
233
  <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
234
  <p class="addon-intro"><?php _e('Extend Ajax Load More with predefined responsive layouts.', 'ajax-load-more'); ?></p>
235
  <p><?php _e('Boost the look of your theme with a library of mobile ready layouts.', 'ajax-load-more'); ?></p>
14
 
15
  <a href="<?php echo $cache_url; ?>">
16
  <div class="expand-wrap">
17
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg" alt="">
18
  <h2 class="addon-title"><?php _e('Cache', 'ajax-load-more'); ?></h2>
19
  <p class="addon-intro"><?php _e('Improve performance with the Ajax Load More caching engine.', 'ajax-load-more'); ?></p>
20
  <p><?php _e('The Cache add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.', 'ajax-load-more'); ?></p>
41
 
42
  <a href="<?php echo $comments_url; ?>">
43
  <div class="expand-wrap">
44
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg" alt="">
45
  <h2 class="addon-title"><?php _e('Comments', 'ajax-load-more'); ?></h2>
46
  <p class="addon-intro"><?php _e('Load blog comments on demand with Ajax Load More.', 'ajax-load-more'); ?></p>
47
  <p><?php _e('The Comments add-on will display your blog comments with Ajax Load More\'s infinite scroll functionality.', 'ajax-load-more'); ?></p>
66
  <?php $cr_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/custom-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Custom%20Repeaters'; ?>
67
  <a href="<?php echo $cr_url; ?>">
68
  <div class="expand-wrap">
69
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/unlimited-add-ons.jpg" alt="">
70
  <h2 class="addon-title"><?php _e('Custom Repeaters', 'ajax-load-more'); ?></h2>
71
  <p class="addon-intro"><?php _e('Extend Ajax Load More with unlimited repeater templates.', 'ajax-load-more'); ?></p>
72
  <p><?php _e('Create, delete and modify repeater templates as you need them with absolutely zero restrictions.', 'ajax-load-more'); ?></p>
83
  </div>
84
 
85
  </div>
86
+ <!-- End Custom Repeaters -->
87
 
88
+
89
+ <!-- Layouts -->
90
+ <div class="group<?php if (has_action('alm_layouts_installed')){echo ' installed'; } ?>">
91
+ <div class="row no-brd">
92
+ <?php
93
+ $layout_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Layouts';
94
+ ?>
95
+ <a href="<?php echo $layout_url; ?>">
96
+ <div class="expand-wrap">
97
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/layouts-add-on.jpg" alt="">
98
+ <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
99
+ <p class="addon-intro"><?php _e('Predefined layouts for your repeater templates.', 'ajax-load-more'); ?></p>
100
+ <p><?php _e('The Layouts add-on provides a collection of unique, well designed and fully responsive templates.', 'ajax-load-more'); ?></p>
101
+ <?php
102
+ if (has_action('alm_layouts_installed')){
103
+ echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> Installed</span> ';
104
+ }else{
105
+ echo '<span class="cnkt-button"><i class="fa fa-download"></i> Purchase &amp; Install</span>';
106
+ }
107
+ ?>
108
+ </div>
109
+ </a>
110
+ </div>
111
+ </div>
112
+ <!-- End Layouts -->
113
 
114
 
115
  <!-- Paging -->
120
  ?>
121
  <a href="<?php echo $paging_url; ?>">
122
  <div class="expand-wrap">
123
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg" alt="">
124
  <h2 class="addon-title"><?php _e('Paging', 'ajax-load-more'); ?></h2>
125
  <p class="addon-intro"><?php _e('Extend Ajax Load More with a numbered navigation.', 'ajax-load-more'); ?></p>
126
  <p><?php _e('The Paging add-on will transform the default infinite scroll functionality into a robust ajax powered navigation system.', 'ajax-load-more'); ?></p>
147
  ?>
148
  <a href="<?php echo $preload_url; ?>">
149
  <div class="expand-wrap">
150
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/preloaded-add-ons.jpg" alt="">
151
  <h2 class="addon-title"><?php _e('Preloaded', 'ajax-load-more'); ?></h2>
152
  <p class="addon-intro"><?php _e('Load an initial set of posts before making Ajax requests to the server.', 'ajax-load-more'); ?></p>
153
  <p><?php _e('The Preloaded add-on will display content quicker and allow caching of the initial query which can reduce stress on your server.', 'ajax-load-more'); ?></p>
162
  </a>
163
  </div>
164
  </div>
165
+ <!-- End Preloaded -->
166
 
167
 
168
  <!-- Previous Post -->
173
  ?>
174
  <a href="<?php echo $prev_url; ?>">
175
  <div class="expand-wrap">
176
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg" alt="">
177
  <h2 class="addon-title"><?php _e('Previous Post', 'ajax-load-more'); ?></h2>
178
  <p class="addon-intro"><?php _e('An extension to enable infinite scrolling of single posts.', 'ajax-load-more'); ?></p>
179
  <p><?php _e('The Previous Post add-on will load single posts as you scroll and update the browser URL to the current post.', 'ajax-load-more'); ?></p>
199
  ?>
200
  <a href="<?php echo $seo_url; ?>">
201
  <div class="expand-wrap">
202
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/seo-add-ons.jpg" alt="">
203
  <h2 class="addon-title"><?php _e('Search Engine Optimization', 'ajax-load-more'); ?></h2>
204
  <p class="addon-intro"><?php _e('Generate unique paging URLs with every Ajax Load More query.', 'ajax-load-more'); ?></p>
205
  <p><?php _e('The SEO add-on will optimize your ajax loaded content for search engines by generating unique URLs with every query.</p>', 'ajax-load-more'); ?></p>
225
  <?php $themer_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Theme Repeaters'; ?>
226
  <a href="<?php echo $themer_url; ?>">
227
  <div class="expand-wrap">
228
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/theme-repeater-add-on.jpg" alt="">
229
  <h2 class="addon-title"><?php _e('Theme Repeaters', 'ajax-load-more'); ?></h2>
230
  <p class="addon-intro"><?php _e('Manage repeater templates within your current theme directory.', 'ajax-load-more'); ?></p>
231
  <p><?php _e('The Theme Repeater add-on will allow you load, edit and maintain templates from your current theme directory.</p>', 'ajax-load-more'); ?></p>
253
  ?>
254
  <a href="<?php echo $layouts_url; ?>">
255
  <div class="expand-wrap">
256
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/paging-add-ons.jpg" alt="">
257
  <h2 class="addon-title"><?php _e('Layouts', 'ajax-load-more'); ?></h2>
258
  <p class="addon-intro"><?php _e('Extend Ajax Load More with predefined responsive layouts.', 'ajax-load-more'); ?></p>
259
  <p><?php _e('Boost the look of your theme with a library of mobile ready layouts.', 'ajax-load-more'); ?></p>
admin/views/examples.php CHANGED
@@ -70,8 +70,8 @@
70
 
71
  </div>
72
  <div class="cnkt-sidebar">
73
- <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
74
  <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
 
75
  </div>
76
 
77
  </div>
70
 
71
  </div>
72
  <div class="cnkt-sidebar">
 
73
  <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
74
+ <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
75
  </div>
76
 
77
  </div>
admin/views/help.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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">
9
+
10
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/infographic.png">
11
+
12
+ </div>
13
+ </div>
14
+ <div class="cnkt-sidebar">
15
+ <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
16
+ <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
17
+ </div>
18
+
19
+ </div>
20
+ </div>
admin/views/licenses.php CHANGED
@@ -11,6 +11,7 @@
11
  <p><?php _e('Manage your Ajax Load More license key\'s below - enter a key for each of your add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more'); ?></p>
12
 
13
  <?php
 
14
  // alm_cache_installed
15
  // alm_comments_installed
16
  // alm_unlimited_installed
@@ -24,7 +25,62 @@
24
 
25
  <?php
26
  // Check if any add ons are installed.
27
- if(has_action('alm_cache_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) : ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
 
30
  <?php
@@ -192,6 +248,62 @@
192
 
193
 
194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  <?php
196
  if (has_action('alm_paging_installed')){
197
  // PAGING
11
  <p><?php _e('Manage your Ajax Load More license key\'s below - enter a key for each of your add-ons to receive plugin update notifications directly within the <a href="plugins.php">WP Plugins dashboard</a>.', 'ajax-load-more'); ?></p>
12
 
13
  <?php
14
+ // alm_alternating_installed
15
  // alm_cache_installed
16
  // alm_comments_installed
17
  // alm_unlimited_installed
25
 
26
  <?php
27
  // Check if any add ons are installed.
28
+ if(has_action('alm_alternating_installed') || has_action('alm_cache_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) : ?>
29
+
30
+
31
+ <?php
32
+ if (has_action('alm_alternating_installed')){
33
+ // CACHE
34
+ $alm_alternating_license = get_option( 'alm_alternating_license_key' );
35
+ $alm_alternating_status = get_option( 'alm_alternating_license_status' );
36
+ ?>
37
+ <div class="license" id="license-alternating">
38
+ <div class="license-title">
39
+ <div class="status <?php if($alm_alternating_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
40
+ <h2><?php _e('Alternating Templates', 'ajax-load-more'); ?></h2>
41
+ </div>
42
+ <div class="license-wrap">
43
+ <form method="post" action="options.php">
44
+
45
+ <?php settings_fields('alm_alternating_license'); ?>
46
+ <label class="description" for="alm_alternating_license_key"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
47
+ <div class="license-key-field">
48
+ <input id="alm_alternating_license_key" name="alm_alternating_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $alm_alternating_license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
49
+ <?php if( $alm_alternating_status !== false && $alm_alternating_status == 'valid' ) { ?>
50
+ <span class="status active">
51
+ <?php _e('Active', 'ajax-load-more'); ?>
52
+ </span>
53
+ <?php } else { ?>
54
+ <span class="status inactive">
55
+ <?php _e('Inactive', 'ajax-load-more'); ?>
56
+ </span>
57
+ <?php } ?>
58
+ </div>
59
+
60
+ <?php wp_nonce_field( 'alm_alternating_license_nonce', 'alm_alternating_license_nonce' ); ?>
61
+ <div class="license-btn-wrap"
62
+ data-name="<?php echo ALM_ALTERNATING_ITEM_NAME; ?>"
63
+ data-url="<?php echo ALM_STORE_URL; ?>"
64
+ data-option-status="alm_alternating_license_status"
65
+ data-option-key="alm_alternating_license_key"
66
+ data-upgrade-url="https://connekthq.com/plugins/ajax-load-more/add-ons/alternating-templates/">
67
+ <button type="button" class="activate license-btn <?php if($alm_alternating_status === 'valid'){ echo 'hide'; } ?> button-primary" data-type="activate">
68
+ <?php _e('Activate License', 'ajax-load-more'); ?>
69
+ </button>
70
+
71
+ <button type="button" class="deactivate license-btn <?php if($alm_alternating_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
72
+ <?php _e('Deactivate License', 'ajax-load-more'); ?>
73
+ </button>
74
+ </div>
75
+
76
+ </form>
77
+ </div>
78
+ <div class="loading"></div>
79
+ </div>
80
+ <?php
81
+ }
82
+ // End alternating
83
+ ?>
84
 
85
 
86
  <?php
248
 
249
 
250
 
251
+ <?php
252
+ if (has_action('alm_layouts_installed')){
253
+ // LAYOUTS
254
+ $alm_layouts_license = get_option( 'alm_layouts_license_key' );
255
+ $alm_layouts_status = get_option( 'alm_layouts_license_status' );
256
+ ?>
257
+ <div class="license" id="license-layouts">
258
+ <div class="license-title">
259
+ <div class="status <?php if($alm_layouts_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
260
+ <h2><?php _e('Layouts', 'ajax-load-more'); ?></h2>
261
+ </div>
262
+ <div class="license-wrap">
263
+ <form method="post" action="options.php">
264
+
265
+ <?php settings_fields('alm_layouts_license'); ?>
266
+ <label class="description" for="alm_layouts_license_key"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
267
+ <div class="license-key-field">
268
+ <input id="alm_layouts_license_key" name="alm_layouts_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $alm_layouts_license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
269
+ <?php if( $alm_layouts_status !== false && $alm_layouts_status == 'valid' ) { ?>
270
+ <span class="status active">
271
+ <?php _e('Active', 'ajax-load-more'); ?>
272
+ </span>
273
+ <?php } else { ?>
274
+ <span class="status inactive">
275
+ <?php _e('Inactive', 'ajax-load-more'); ?>
276
+ </span>
277
+ <?php } ?>
278
+ </div>
279
+
280
+ <?php wp_nonce_field( 'alm_layouts_license_nonce', 'alm_layouts_license_nonce' ); ?>
281
+ <div class="license-btn-wrap"
282
+ data-name="<?php echo ALM_LAYOUTS_ITEM_NAME; ?>"
283
+ data-url="<?php echo ALM_STORE_URL; ?>"
284
+ data-option-status="alm_layouts_license_status"
285
+ data-option-key="alm_layouts_license_key"
286
+ data-upgrade-url="https://connekthq.com/plugins/ajax-load-more/add-ons/layouts/">
287
+ <button type="button" class="activate license-btn <?php if($alm_layouts_status === 'valid'){ echo 'hide'; } ?> button-primary" data-type="activate">
288
+ <?php _e('Activate License', 'ajax-load-more'); ?>
289
+ </button>
290
+
291
+ <button type="button" class="deactivate license-btn <?php if($alm_layouts_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
292
+ <?php _e('Deactivate License', 'ajax-load-more'); ?>
293
+ </button>
294
+ </div>
295
+
296
+ </form>
297
+ </div>
298
+ <div class="loading"></div>
299
+ </div>
300
+ <?php
301
+ }
302
+ // End LAYOUTS
303
+ ?>
304
+
305
+
306
+
307
  <?php
308
  if (has_action('alm_paging_installed')){
309
  // PAGING
admin/views/repeater-templates.php CHANGED
@@ -8,8 +8,13 @@
8
  <!-- Repeaters -->
9
  <div class="group">
10
  <?php
11
- if (has_action('alm_custom_repeaters') || has_action('alm_unlimited_repeaters')){ ?>
12
- <span class="toggle-all"><span class="inner-wrap"><em class="collapse"><?php _e('Collapse All', 'ajax-load-more'); ?></em><em class="expand"><?php _e('Expand All', 'ajax-load-more'); ?></em></span></span>
 
 
 
 
 
13
  <?php } ?>
14
  <!-- Default Template -->
15
  <div class="row template default-repeater">
@@ -38,7 +43,7 @@
38
  </label>
39
 
40
  <?php
41
- do_action('add_layout_listing'); // Layouts - Template Selection
42
  ?>
43
  <textarea rows="10" id="template-default" class="_alm_repeater"><?php echo $contents; ?></textarea>
44
  <script>
@@ -90,6 +95,7 @@
90
  _alm_admin.saveRepeater = function(btn, editorId) {
91
  var container = btn.parent('.repeater-wrap'),
92
  el = $('textarea._alm_repeater', container),
 
93
  btn = btn,
94
  value = '',
95
  repeater = container.data('name'), // Get templete name
@@ -118,6 +124,7 @@
118
  //If template is not already saving, then proceed
119
  if (!btn.hasClass('saving')) {
120
  btn.addClass('saving');
 
121
  responseText.addClass('loading').html('<?php _e('Saving template...', 'ajax-load-more') ?>');
122
  responseText.animate({'opacity' : 1});
123
 
@@ -137,7 +144,8 @@
137
  $('textarea#'+editorId).val(value); // Set the target textarea val to 'value'
138
 
139
  setTimeout(function() {
140
- responseText.delay(500).html(response).removeClass('loading');
 
141
  }, 250);
142
 
143
  setTimeout(function() {
@@ -146,12 +154,13 @@
146
  btn.removeClass('saving');
147
  });
148
 
149
- }, 6000);
150
 
151
  },
152
  error: function(xhr, status, error) {
153
  responseText.html('<?php _e('Something went wrong and the data could not be saved.', 'ajax-load-more') ?>').removeClass('loading');
154
  btn.removeClass('saving');
 
155
  }
156
  });
157
  }
@@ -188,7 +197,7 @@
188
  //If template is not already saving, then proceed
189
  if (!btn.hasClass('updating')) {
190
  btn.addClass('updating').text("<?php _e('Updating template...', 'ajax-load-more'); ?>");
191
-
192
  $.ajax({
193
  type: 'POST',
194
  url: alm_admin_localize.ajax_admin_url,
@@ -211,13 +220,15 @@
211
  btn.text("<?php _e('Template Updated', 'ajax-load-more'); ?>").blur();
212
  setTimeout(function() {
213
  btn.closest('.alm-drop-btn').trigger('click'); // CLose drop menu
214
- btn.removeClass('updating').html(btn_text).blur();
 
215
  }, 400);
216
  }, 400);
217
 
218
  },
219
  error: function(xhr, status, error) {
220
  btn.removeClass('updating').html(btn_text).blur();
 
221
  }
222
  });
223
  }
8
  <!-- Repeaters -->
9
  <div class="group">
10
  <?php
11
+ if (has_action('alm_custom_repeaters') || has_action('alm_unlimited_repeaters')){ ?>
12
+ <span class="toggle-all">
13
+ <span class="inner-wrap">
14
+ <em class="collapse"><?php _e('Collapse All', 'ajax-load-more'); ?></em>
15
+ <em class="expand"><?php _e('Expand All', 'ajax-load-more'); ?></em>
16
+ </span>
17
+ </span>
18
  <?php } ?>
19
  <!-- Default Template -->
20
  <div class="row template default-repeater">
43
  </label>
44
 
45
  <?php
46
+ do_action('alm_get_layouts'); // Layouts - Template Selection
47
  ?>
48
  <textarea rows="10" id="template-default" class="_alm_repeater"><?php echo $contents; ?></textarea>
49
  <script>
95
  _alm_admin.saveRepeater = function(btn, editorId) {
96
  var container = btn.parent('.repeater-wrap'),
97
  el = $('textarea._alm_repeater', container),
98
+ textarea = el.next('.CodeMirror'),
99
  btn = btn,
100
  value = '',
101
  repeater = container.data('name'), // Get templete name
124
  //If template is not already saving, then proceed
125
  if (!btn.hasClass('saving')) {
126
  btn.addClass('saving');
127
+ textarea.addClass('loading');
128
  responseText.addClass('loading').html('<?php _e('Saving template...', 'ajax-load-more') ?>');
129
  responseText.animate({'opacity' : 1});
130
 
144
  $('textarea#'+editorId).val(value); // Set the target textarea val to 'value'
145
 
146
  setTimeout(function() {
147
+ responseText.delay(500).html(response).removeClass('loading');
148
+ textarea.removeClass('loading');
149
  }, 250);
150
 
151
  setTimeout(function() {
154
  btn.removeClass('saving');
155
  });
156
 
157
+ }, 4500);
158
 
159
  },
160
  error: function(xhr, status, error) {
161
  responseText.html('<?php _e('Something went wrong and the data could not be saved.', 'ajax-load-more') ?>').removeClass('loading');
162
  btn.removeClass('saving');
163
+ textarea.removeClass('loading');
164
  }
165
  });
166
  }
197
  //If template is not already saving, then proceed
198
  if (!btn.hasClass('updating')) {
199
  btn.addClass('updating').text("<?php _e('Updating template...', 'ajax-load-more'); ?>");
200
+ editor.addClass('loading');
201
  $.ajax({
202
  type: 'POST',
203
  url: alm_admin_localize.ajax_admin_url,
220
  btn.text("<?php _e('Template Updated', 'ajax-load-more'); ?>").blur();
221
  setTimeout(function() {
222
  btn.closest('.alm-drop-btn').trigger('click'); // CLose drop menu
223
+ btn.removeClass('updating').html(btn_text).blur();
224
+ editor.removeClass('loading');
225
  }, 400);
226
  }, 400);
227
 
228
  },
229
  error: function(xhr, status, error) {
230
  btn.removeClass('updating').html(btn_text).blur();
231
+ editor.removeClass('loading');
232
  }
233
  });
234
  }
admin/views/settings.php CHANGED
@@ -10,28 +10,58 @@
10
  </div>
11
  <?php } ?>
12
  <div class="cnkt-main">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  <div class="group">
14
  <?php
15
  if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_next_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_theme_repeaters_settings')) {
16
  ?>
17
- <ul class="alm-settings-nav">
18
- <li><a href="javascript:void(0);"><?php _e('Global Settings', 'ajax-load-more'); ?></a></li>
19
- <li><a href="javascript:void(0);"><?php _e('Admin', 'ajax-load-more'); ?></a></li>
 
 
 
 
 
20
  <?php
21
  if(has_action('alm_cache_settings'))
22
- echo '<li><a href="javascript:void(0);">'.__('Cache', 'ajax-load-more').'</a></li>';
23
- //if(has_action('alm_layouts_installed'))
24
- //echo '<li><a href="javascript:void(0);">'.__('Layouts', 'ajax-load-more').'</a></li>';
25
  if(has_action('alm_paging_settings'))
26
- echo '<li><a href="javascript:void(0);">'.__('Paging', 'ajax-load-more').'</a></li>';
27
  if(has_action('alm_prev_post_settings'))
28
- echo '<li><a href="javascript:void(0);">'.__('Previous Post', 'ajax-load-more').'</a></li>';
29
  if(has_action('alm_seo_settings'))
30
- echo '<li><a href="javascript:void(0);">'.__('SEO', 'ajax-load-more').'</a></li>';
31
  if(has_action('alm_theme_repeaters_settings'))
32
- echo '<li><a href="javascript:void(0);">'.__('Theme Repeaters', 'ajax-load-more').'</a></li>';
33
  ?>
34
- </ul>
 
35
  <?php
36
  }
37
  ?>
@@ -67,8 +97,9 @@
67
  </div>
68
  </div>
69
  <div class="cnkt-sidebar">
70
- <?php include_once( ALM_PATH . 'admin/includes/cta/mailinglist.php'); ?>
71
  <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
 
72
  <?php include_once( ALM_PATH . 'admin/includes/cta/add-ons.php'); ?>
73
  <?php include_once( ALM_PATH . 'admin/includes/cta/about.php'); ?>
74
  </div>
10
  </div>
11
  <?php } ?>
12
  <div class="cnkt-main">
13
+
14
+ <?php
15
+ $alm_dismiss_sharing = get_transient( 'alm_dismiss_sharing');
16
+ if($alm_dismiss_sharing !== 'true'){
17
+ ?>
18
+ <div class="group share-alm">
19
+ <div class="dotted">
20
+ <h2 style="padding: 0; margin: 0 0 10px;"><?php _e('A small favor to ask', 'ajax-load-more'); ?>...</h2>
21
+ <p style="padding: 0 0 20px; margin: 0 0 25px; border-bottom: 1px dashed #ccc;">
22
+ <?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>
23
+ <div class="one_half sharing">
24
+ <?php include_once( ALM_PATH . 'admin/includes/cta/sharing.php'); ?>
25
+ </div>
26
+
27
+ <div class="one_half mailing">
28
+ <?php include_once( ALM_PATH . 'admin/includes/cta/reviews.php'); ?>
29
+ </div>
30
+ </div>
31
+ <div class="clear"></div>
32
+ <a href="javascript: void(0);" class="dismiss" id="alm_dismiss_sharing" title="<?php _e('Don\'t show me this again!', 'ajax-load-more');?>">&times;</a>
33
+ </div>
34
+ <?php } ?>
35
+
36
+
37
  <div class="group">
38
  <?php
39
  if(has_action('alm_cache_settings') || has_action('alm_layouts_installed') || has_action('alm_next_post_settings') || has_action('alm_paging_settings') || has_action('alm_seo_settings') || has_action('alm_theme_repeaters_settings')) {
40
  ?>
41
+ <div class="admin-select">
42
+ <label fo"alm-settings-nav" class="offscreen">
43
+ <?php _e('Jump to Setting', 'ajax-load-more'); ?>
44
+ </label>
45
+ <select id="alm-settings-nav">
46
+ <option value="#">-- <?php _e('Jump to Setting', 'ajax-load-more'); ?> --</option>
47
+ <option value="0"><?php _e('Global Settings', 'ajax-load-more'); ?></option>
48
+ <option value="1"><?php _e('Admin', 'ajax-load-more'); ?></option>
49
  <?php
50
  if(has_action('alm_cache_settings'))
51
+ echo '<option value="2">'.__('Cache', 'ajax-load-more').'</option>';
52
+ if(has_action('alm_layouts_installed'))
53
+ echo '<option value="3">'.__('Layouts', 'ajax-load-more').'</options>';
54
  if(has_action('alm_paging_settings'))
55
+ echo '<option value="4">'.__('Paging', 'ajax-load-more').'</option>';
56
  if(has_action('alm_prev_post_settings'))
57
+ echo '<option value="5">'.__('Previous Post', 'ajax-load-more').'</option>';
58
  if(has_action('alm_seo_settings'))
59
+ echo '<option value="6">'.__('SEO', 'ajax-load-more').'</option>';
60
  if(has_action('alm_theme_repeaters_settings'))
61
+ echo '<option value="7">'.__('Theme Repeaters', 'ajax-load-more').'</option>';
62
  ?>
63
+ </select>
64
+ </div>
65
  <?php
66
  }
67
  ?>
97
  </div>
98
  </div>
99
  <div class="cnkt-sidebar">
100
+ <?php //include_once( ALM_PATH . 'admin/includes/cta/mailinglist.php'); ?>
101
  <?php include_once( ALM_PATH . 'admin/includes/cta/resources.php'); ?>
102
+ <?php include_once( ALM_PATH . 'admin/includes/cta/dyk.php'); ?>
103
  <?php include_once( ALM_PATH . 'admin/includes/cta/add-ons.php'); ?>
104
  <?php include_once( ALM_PATH . 'admin/includes/cta/about.php'); ?>
105
  </div>
ajax-load-more.php CHANGED
@@ -7,16 +7,20 @@ Text Domain: ajax-load-more
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
- Version: 2.8.6
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
- define('ALM_VERSION', '2.8.6');
17
- define('ALM_RELEASE', 'January 3, 2016');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
 
 
 
 
20
  if (!defined('ALM_CACHE_ITEM_NAME'))
21
  define('ALM_CACHE_ITEM_NAME', '4878' );
22
 
@@ -25,6 +29,9 @@ if (!defined('ALM_COMMENTS_ITEM_NAME'))
25
 
26
  if (!defined('ALM_UNLIMITED_ITEM_NAME'))
27
  define('ALM_UNLIMITED_ITEM_NAME', '3118' );
 
 
 
28
 
29
  if (!defined('ALM_PAGING_ITEM_NAME'))
30
  define('ALM_PAGING_ITEM_NAME', '6898' );
@@ -124,8 +131,9 @@ function alm_create_table(){
124
 
125
 
126
  if( !class_exists('AjaxLoadMore') ):
127
-
128
  class AjaxLoadMore {
 
 
129
 
130
  function __construct(){
131
 
@@ -139,7 +147,8 @@ if( !class_exists('AjaxLoadMore') ):
139
  add_action( 'wp_ajax_nopriv_alm_query_posts', array(&$this, 'alm_query_posts') );
140
  add_action( 'wp_ajax_alm_query_total', array(&$this, 'alm_query_total') );
141
  add_action( 'wp_ajax_nopriv_alm_query_total', array(&$this, 'alm_query_total') );
142
- add_action( 'wp_enqueue_scripts', array(&$this, 'alm_enqueue_scripts') );
 
143
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'alm_action_links') );
144
  add_filter( 'plugin_row_meta', array(&$this, 'alm_plugin_meta_links'), 10, 2 );
145
  add_shortcode( 'ajax_load_more', array(&$this, 'alm_shortcode') );
@@ -153,6 +162,7 @@ if( !class_exists('AjaxLoadMore') ):
153
  $this->alm_before_theme(); // includes WP admin core
154
 
155
  }
 
156
 
157
 
158
  /*
@@ -204,6 +214,19 @@ if( !class_exists('AjaxLoadMore') ):
204
 
205
  return $links;
206
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
 
209
 
@@ -215,16 +238,19 @@ if( !class_exists('AjaxLoadMore') ):
215
  */
216
 
217
  function alm_enqueue_scripts(){
 
218
 
219
  // Load JS
 
220
  //wp_register_script( 'ajax-load-more', plugins_url( '/core/js/ajax-load-more.js', __FILE__ ), array('jquery'), '1.1', true );
221
- wp_register_script( 'ajax-load-more', plugins_url( '/core/js/ajax-load-more.min.js', __FILE__ ), array('jquery'), '1.1', true );
222
 
223
- $options = get_option( 'alm_settings' );
224
 
225
  // Load CSS
 
226
  if(!isset($options['_alm_disable_css']) || $options['_alm_disable_css'] != '1'){
227
- wp_enqueue_style( 'ajax-load-more', plugins_url('/core/css/ajax-load-more.css', __FILE__ ));
 
228
  }
229
 
230
  // Prevent loading of unnessasry posts - move user to top of page
@@ -260,8 +286,14 @@ if( !class_exists('AjaxLoadMore') ):
260
  function alm_shortcode( $atts, $content = null ) {
261
 
262
  global $post;
263
- $options = get_option( 'alm_settings' ); // Get Ajax Load More Settings
264
  $slug = $post->post_name; // Current page slug
 
 
 
 
 
 
265
 
266
  extract(shortcode_atts(array(
267
  'comments' => false,
@@ -285,6 +317,11 @@ if( !class_exists('AjaxLoadMore') ):
285
  'seo' => 'false',
286
  'repeater' => 'default',
287
  'theme_repeater' => 'null',
 
 
 
 
 
288
  'post_type' => 'post',
289
  'post_format' => '',
290
  'category' => '',
@@ -321,6 +358,7 @@ if( !class_exists('AjaxLoadMore') ):
321
  'pause' => 'false',
322
  'destroy_after' => '',
323
  'transition' => 'slide',
 
324
  'images_loaded' => 'false',
325
  'button_label' => __('Older Posts', 'ajax-load-more'),
326
  'button_loading_label' => '',
@@ -341,11 +379,17 @@ if( !class_exists('AjaxLoadMore') ):
341
  }
342
  if(has_action('alm_prev_post_installed') && $previous_post === 'true'){
343
  wp_enqueue_script( 'ajax-load-more-previous-post' );
 
 
 
344
  }
 
 
 
345
 
346
-
347
- if($previous_post === 'true')
348
- $previous_post === true;
349
 
350
  // Get container elements (ul | div)
351
 
@@ -377,11 +421,16 @@ if( !class_exists('AjaxLoadMore') ):
377
  if(isset($options['_alm_btn_color']))
378
  $btn_color = ' '.$options['_alm_btn_color'];
379
 
380
- // Get button color
381
  $paging_color = '';
382
- if(isset($options['_alm_paging_color']))
383
  $paging_color = ' paging-'.$options['_alm_paging_color'];
384
 
 
 
 
 
 
385
  // Get btn classnames
386
  $button_classname = '';
387
  if(isset($options['_alm_btn_classname']))
@@ -414,7 +463,7 @@ if( !class_exists('AjaxLoadMore') ):
414
 
415
  $ajaxloadmore .= apply_filters('alm_before_container', ''); // ALM Core Filter Hook
416
 
417
- $ajaxloadmore .= '<div id="ajax-load-more" class="ajax-load-more-wrap '. $btn_color .''. $paging_color .'" data-id="" data-canonical-url="'.get_permalink().'" data-slug="'. $post->post_name .'">';
418
 
419
 
420
  // Previous Post
@@ -424,6 +473,7 @@ if( !class_exists('AjaxLoadMore') ):
424
  $seo = false;
425
  $paging = false;
426
  $cache = false;
 
427
  }
428
 
429
  // Comments
@@ -492,9 +542,8 @@ if( !class_exists('AjaxLoadMore') ):
492
  'css_classes' => $css_classes,
493
  );
494
 
495
- $preloaded_type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater at number to retrieve type
496
- $preloaded_type = $preloaded_type[0]; // (default | repeater | template_)
497
-
498
  $args = apply_filters('alm_preload_args', $preloaded_arr); // Create preloaded $args
499
  $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
500
 
@@ -502,24 +551,55 @@ if( !class_exists('AjaxLoadMore') ):
502
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
503
  $output = '';
504
  $noscript = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
 
506
  if ($alm_preload_query->have_posts()) :
507
  $alm_loop_count = 0; // Count var
508
  $alm_page = 0; // Set page to 0
509
  $alm_found_posts = $alm_total_posts;
 
510
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
511
- $alm_loop_count++;
512
- $alm_item = $alm_loop_count; // Get current item in loop
 
513
 
514
- if($theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
515
- $preloaded_type = null;
516
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
 
518
- $output .= apply_filters('alm_preload_inc', $repeater, $preloaded_type, $theme_repeater, $alm_found_posts, $alm_page, $alm_item);
519
 
520
  endwhile; wp_reset_query();
521
 
522
- if(has_action('alm_seo_installed')){ // If SEO, add noscript paging
523
  // Create noscript paging for SEO if preload and seo are enabled
524
  $noscript = alm_paging_no_script($alm_preload_query);
525
  }
@@ -533,6 +613,13 @@ if( !class_exists('AjaxLoadMore') ):
533
  $preloaded_output .= $noscript;
534
  }
535
 
 
 
 
 
 
 
 
536
  $ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
537
  }
538
  // End Preload Posts
@@ -548,6 +635,19 @@ if( !class_exists('AjaxLoadMore') ):
548
  $ajaxloadmore .= '<'.$container_element.' class="'.$listing_class.' alm-ajax'. $paging_container_class .' '. $classname . ' '. $css_classes .'"'; // Build ALM container
549
 
550
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  // Cache Add-on
552
  if(has_action('alm_cache_installed') && $cache === 'true'){
553
  $cache_return = apply_filters(
@@ -666,6 +766,8 @@ if( !class_exists('AjaxLoadMore') ):
666
  $ajaxloadmore .= ' data-button-class="'.$button_classname.'"';
667
  $ajaxloadmore .= ' data-destroy-after="'.$destroy_after.'"';
668
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
 
 
669
  $ajaxloadmore .= ' data-images-loaded="'.$images_loaded.'"';
670
 
671
  $ajaxloadmore .= '>';
@@ -680,7 +782,7 @@ if( !class_exists('AjaxLoadMore') ):
680
  $repeater_type = null;
681
  }
682
  // Get next post include and build the output from the next post filter
683
- $previous_post_output = '<div class="alm-reveal alm-previous-post post-'. $previous_post_id .'" data-url="'. get_permalink($previous_post_id) .'" data-title="'. get_the_title($previous_post_id) .'" data-id="'. $previous_post_id .'">'; // Set teh post id .alm-reveal div
684
  $previous_post_output .= apply_filters('alm_prev_post_inc', $repeater, $repeater_type, $theme_repeater, $previous_post_id, $post_type);
685
  $previous_post_output .= '</div>';
686
  $ajaxloadmore .= $previous_post_output; // Add $next_post_output data to $ajaxloadmore
@@ -729,11 +831,22 @@ if( !class_exists('AjaxLoadMore') ):
729
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
730
 
731
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
732
- $type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater value at number to determine type
733
- $type = $type[0]; // default | repeater | template_
734
-
735
  $theme_repeater = (isset($_GET['theme_repeater'])) ? $_GET['theme_repeater'] : 'null';
736
 
 
 
 
 
 
 
 
 
 
 
 
 
 
737
  $postType = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
738
  $post_format = (isset($_GET['post_format'])) ? $_GET['post_format'] : '';
739
 
@@ -1029,26 +1142,58 @@ if( !class_exists('AjaxLoadMore') ):
1029
  $alm_loop_count = 0;
1030
  }
1031
 
1032
-
1033
  // Create cache directory
1034
  if(!empty($cache_id) && has_action('alm_cache_create_dir')){
1035
  $url = $_SERVER['HTTP_REFERER'];
1036
  apply_filters('alm_cache_create_dir', $cache_id, $url);
1037
  $page_cache = ''; // set our page cache variable
1038
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
 
1040
 
1041
  if($queryType === 'standard'){
1042
  // Run the loop
1043
  if ($alm_query->have_posts()) :
1044
- $alm_found_posts = $alm_total_posts;
 
1045
  while ($alm_query->have_posts()): $alm_query->the_post();
1046
- $alm_loop_count++;
 
1047
  $alm_page = $alm_page_count; // Get page number
1048
  $alm_item = ($alm_page_count * $numPosts) - $numPosts + $alm_loop_count; // Get current item
1049
 
1050
- if($theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
1051
- do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1052
  }else{
1053
  include( alm_get_current_repeater($repeater, $type) );//Include repeater template
1054
  }
@@ -1056,7 +1201,7 @@ if( !class_exists('AjaxLoadMore') ):
1056
  // If ALM Cache is enabled
1057
  // - Build the cache include and store in $page_cache var
1058
  if(!empty($cache_id) && has_action('alm_cache_inc')){
1059
- $page_cache .= apply_filters('alm_cache_inc', $repeater, $type, $alm_page, $alm_found_posts, $alm_item);
1060
  }
1061
 
1062
  endwhile; wp_reset_query();
@@ -1087,17 +1232,12 @@ if( !class_exists('AjaxLoadMore') ):
1087
  */
1088
 
1089
  function AjaxLoadMore(){
1090
- global $ajax_load_more;
1091
-
1092
- if( !isset($ajax_load_more) )
1093
- {
1094
  $ajax_load_more = new AjaxLoadMore();
1095
- }
1096
-
1097
  return $ajax_load_more;
1098
- }
1099
-
1100
-
1101
  // initialize
1102
  AjaxLoadMore();
1103
 
7
  Author: Darren Cooney
8
  Twitter: @KaptonKaos
9
  Author URI: http://connekthq.com
10
+ Version: 2.9
11
  License: GPL
12
  Copyright: Darren Cooney & Connekt Media
13
  */
14
 
15
 
16
+ define('ALM_VERSION', '2.9');
17
+ define('ALM_RELEASE', 'February 16, 2016');
18
  define('ALM_STORE_URL', 'https://connekthq.com');
19
 
20
+
21
+ if (!defined('ALM_ALTERNATING_ITEM_NAME'))
22
+ define('ALM_ALTERNATING_ITEM_NAME', '14456' );
23
+
24
  if (!defined('ALM_CACHE_ITEM_NAME'))
25
  define('ALM_CACHE_ITEM_NAME', '4878' );
26
 
29
 
30
  if (!defined('ALM_UNLIMITED_ITEM_NAME'))
31
  define('ALM_UNLIMITED_ITEM_NAME', '3118' );
32
+
33
+ if (!defined('ALM_LAYOUTS_ITEM_NAME'))
34
+ define('ALM_LAYOUTS_ITEM_NAME', '11398' );
35
 
36
  if (!defined('ALM_PAGING_ITEM_NAME'))
37
  define('ALM_PAGING_ITEM_NAME', '6898' );
131
 
132
 
133
  if( !class_exists('AjaxLoadMore') ):
 
134
  class AjaxLoadMore {
135
+
136
+ public $counter = 0;
137
 
138
  function __construct(){
139
 
147
  add_action( 'wp_ajax_nopriv_alm_query_posts', array(&$this, 'alm_query_posts') );
148
  add_action( 'wp_ajax_alm_query_total', array(&$this, 'alm_query_total') );
149
  add_action( 'wp_ajax_nopriv_alm_query_total', array(&$this, 'alm_query_total') );
150
+ add_action( 'wp_enqueue_scripts', array(&$this, 'alm_enqueue_scripts') );
151
+ add_action( 'after_setup_theme', array(&$this, 'alm_image_sizes') );
152
  add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'alm_action_links') );
153
  add_filter( 'plugin_row_meta', array(&$this, 'alm_plugin_meta_links'), 10, 2 );
154
  add_shortcode( 'ajax_load_more', array(&$this, 'alm_shortcode') );
162
  $this->alm_before_theme(); // includes WP admin core
163
 
164
  }
165
+
166
 
167
 
168
  /*
214
 
215
  return $links;
216
  }
217
+
218
+
219
+
220
+ /*
221
+ * alm_layouts_image_sizes
222
+ * Add the required image sizes
223
+ *
224
+ * @since 2.8.3
225
+ */
226
+
227
+ function alm_image_sizes(){
228
+ add_image_size( 'alm-thumbnail', 150, 150, true); // Custom ALM thumbnail size
229
+ }
230
 
231
 
232
 
238
  */
239
 
240
  function alm_enqueue_scripts(){
241
+ $options = get_option( 'alm_settings' );
242
 
243
  // Load JS
244
+
245
  //wp_register_script( 'ajax-load-more', plugins_url( '/core/js/ajax-load-more.js', __FILE__ ), array('jquery'), '1.1', true );
246
+ wp_register_script( 'ajax-load-more', plugins_url( '/core/js/ajax-load-more.min.js', __FILE__ ), array('jquery'), '1.1', true );
247
 
 
248
 
249
  // Load CSS
250
+
251
  if(!isset($options['_alm_disable_css']) || $options['_alm_disable_css'] != '1'){
252
+ //wp_enqueue_style( 'ajax-load-more', plugins_url('/core/css/ajax-load-more.css', __FILE__ ));
253
+ wp_enqueue_style( 'ajax-load-more', plugins_url('/core/css/ajax-load-more.min.css', __FILE__ ));
254
  }
255
 
256
  // Prevent loading of unnessasry posts - move user to top of page
286
  function alm_shortcode( $atts, $content = null ) {
287
 
288
  global $post;
289
+ $options = get_option( 'alm_settings' ); // Get ALM Settings
290
  $slug = $post->post_name; // Current page slug
291
+ $this->counter++; // Shotcode counter
292
+
293
+ // Custom CSS for Layouts
294
+ if(has_action('alm_layouts_custom_css')){
295
+ do_action('alm_layouts_custom_css', $this->counter);
296
+ }
297
 
298
  extract(shortcode_atts(array(
299
  'comments' => false,
317
  'seo' => 'false',
318
  'repeater' => 'default',
319
  'theme_repeater' => 'null',
320
+ 'alternate' => false,
321
+ 'alternate_sequence' => '',
322
+ 'alternate_sequence_max' => '0',
323
+ 'alternate_repeater' => 'null',
324
+ 'alternate_theme_repeater' => 'null',
325
  'post_type' => 'post',
326
  'post_format' => '',
327
  'category' => '',
358
  'pause' => 'false',
359
  'destroy_after' => '',
360
  'transition' => 'slide',
361
+ 'transition_container' => 'true',
362
  'images_loaded' => 'false',
363
  'button_label' => __('Older Posts', 'ajax-load-more'),
364
  'button_loading_label' => '',
379
  }
380
  if(has_action('alm_prev_post_installed') && $previous_post === 'true'){
381
  wp_enqueue_script( 'ajax-load-more-previous-post' );
382
+ }
383
+ if(has_action('alm_layouts_installed')){
384
+ wp_enqueue_script( 'ajax-load-more-layouts' );
385
  }
386
+
387
+ if($previous_post === 'true')
388
+ $previous_post === true;
389
 
390
+ if($seo === "true" || $previous_post)
391
+ $transition_container = "true";
392
+
393
 
394
  // Get container elements (ul | div)
395
 
421
  if(isset($options['_alm_btn_color']))
422
  $btn_color = ' '.$options['_alm_btn_color'];
423
 
424
+ // Get paging color
425
  $paging_color = '';
426
+ if(isset($options['_alm_paging_color']) && has_action('alm_paging_installed'))
427
  $paging_color = ' paging-'.$options['_alm_paging_color'];
428
 
429
+ // Get Layouts activated
430
+ $alm_layouts = '';
431
+ if(has_action('alm_layouts_installed'))
432
+ $alm_layouts = ' alm-layouts';
433
+
434
  // Get btn classnames
435
  $button_classname = '';
436
  if(isset($options['_alm_btn_classname']))
463
 
464
  $ajaxloadmore .= apply_filters('alm_before_container', ''); // ALM Core Filter Hook
465
 
466
+ $ajaxloadmore .= '<div id="ajax-load-more" class="ajax-load-more-wrap'. $btn_color .''. $paging_color .''. $alm_layouts .'" data-id="" data-canonical-url="'.get_permalink().'" data-slug="'. $post->post_name .'">';
467
 
468
 
469
  // Previous Post
473
  $seo = false;
474
  $paging = false;
475
  $cache = false;
476
+ $comments = false;
477
  }
478
 
479
  // Comments
542
  'css_classes' => $css_classes,
543
  );
544
 
545
+ $type = alm_get_repeater_type($repeater);
546
+
 
547
  $args = apply_filters('alm_preload_args', $preloaded_arr); // Create preloaded $args
548
  $args = apply_filters('alm_modify_query_args', $args, $slug); // ALM Core Filter Hook
549
 
551
  $alm_total_posts = $alm_preload_query->found_posts - $offset;
552
  $output = '';
553
  $noscript = '';
554
+
555
+
556
+ // Alternating Templates
557
+ if($alternate === 'true' && has_action('alm_alternating_installed')){
558
+ $alternate_sequence_array = '';
559
+ if($alternate_sequence === 'even'){
560
+ $alternate_sequence_array = 'even';
561
+ }else{
562
+ $alternate_sequence_array = explode(',', $alternate_sequence);
563
+ }
564
+ $global_repeater = $repeater;
565
+ $global_type = $type;
566
+ $global_theme_repeater = $theme_repeater;
567
+ }
568
+
569
 
570
  if ($alm_preload_query->have_posts()) :
571
  $alm_loop_count = 0; // Count var
572
  $alm_page = 0; // Set page to 0
573
  $alm_found_posts = $alm_total_posts;
574
+ $alm_current = 0;
575
  while ($alm_preload_query->have_posts()) : $alm_preload_query->the_post();
576
+ $alm_loop_count++;
577
+ $alm_current++;
578
+ $alm_item = $alm_loop_count; // Get current item in loop
579
 
580
+ // Alternating Templates
581
+ if($alternate === 'true' && has_action('alm_alternating_installed')){
582
+ if (function_exists('alm_alternate_is_in_array')) {
583
+ if(alm_alternate_is_in_array($alm_current, $alternate_sequence_array)){ // If $alm_current is found in array
584
+ if($alternate_theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
585
+ $theme_repeater = $alternate_theme_repeater;
586
+ }else{
587
+ $repeater = $alternate_repeater;
588
+ $type = alm_get_repeater_type($repeater);
589
+ }
590
+ }else{ // Reset $repeater values
591
+ $repeater = $global_repeater;
592
+ $type = $global_type;
593
+ $theme_repeater = $global_theme_repeater;
594
+ }
595
+ }
596
+ }
597
 
598
+ $output .= apply_filters('alm_preload_inc', $repeater, $type, $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
599
 
600
  endwhile; wp_reset_query();
601
 
602
+ if(has_action('alm_seo_installed') && $seo === 'true'){ // If SEO, add noscript paging
603
  // Create noscript paging for SEO if preload and seo are enabled
604
  $noscript = alm_paging_no_script($alm_preload_query);
605
  }
613
  $preloaded_output .= $noscript;
614
  }
615
 
616
+ // Reset templates (custom and theme) if $alternate is true
617
+ if($alternate === 'true' && has_action('alm_alternating_installed')){
618
+ $repeater = $global_repeater;
619
+ $type = $global_type;
620
+ $theme_repeater = $theme_repeater;
621
+ }
622
+
623
  $ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
624
  }
625
  // End Preload Posts
635
  $ajaxloadmore .= '<'.$container_element.' class="'.$listing_class.' alm-ajax'. $paging_container_class .' '. $classname . ' '. $css_classes .'"'; // Build ALM container
636
 
637
 
638
+ // Alternating Templates Add-on
639
+ if(has_action('alm_alternating_installed') && $alternate === 'true'){
640
+ $alternate_return = apply_filters(
641
+ 'alm_alternating_templates_shortcode',
642
+ $alternate,
643
+ $alternate_sequence,
644
+ $alternate_sequence_max,
645
+ $alternate_repeater,
646
+ $alternate_theme_repeater
647
+ );
648
+ $ajaxloadmore .= $alternate_return;
649
+ }
650
+
651
  // Cache Add-on
652
  if(has_action('alm_cache_installed') && $cache === 'true'){
653
  $cache_return = apply_filters(
766
  $ajaxloadmore .= ' data-button-class="'.$button_classname.'"';
767
  $ajaxloadmore .= ' data-destroy-after="'.$destroy_after.'"';
768
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
769
+ if($transition_container === 'false')
770
+ $ajaxloadmore .= ' data-transition-container="'.$transition_container.'"';
771
  $ajaxloadmore .= ' data-images-loaded="'.$images_loaded.'"';
772
 
773
  $ajaxloadmore .= '>';
782
  $repeater_type = null;
783
  }
784
  // Get next post include and build the output from the next post filter
785
+ $previous_post_output = '<div class="alm-reveal alm-previous-post post-'. $previous_post_id .'" data-url="'. get_permalink($previous_post_id) .'" data-title="'. get_the_title($previous_post_id) .'" data-id="'. $previous_post_id .'">'; // Set the post id .alm-reveal div
786
  $previous_post_output .= apply_filters('alm_prev_post_inc', $repeater, $repeater_type, $theme_repeater, $previous_post_id, $post_type);
787
  $previous_post_output .= '</div>';
788
  $ajaxloadmore .= $previous_post_output; // Add $next_post_output data to $ajaxloadmore
831
  $cache_id = (isset($_GET['cache_id'])) ? $_GET['cache_id'] : '';
832
 
833
  $repeater = (isset($_GET['repeater'])) ? $_GET['repeater'] : 'default';
834
+ $type = alm_get_repeater_type($repeater);
 
 
835
  $theme_repeater = (isset($_GET['theme_repeater'])) ? $_GET['theme_repeater'] : 'null';
836
 
837
+ // Alternate Template data array - from ajax-load-more.js
838
+ $alternate = false;
839
+ $alternateData = (isset($_GET['alternate'])) ? $_GET['alternate'] : '';
840
+ if($alternateData){
841
+ $alternate = true;
842
+ $alternate_sequence = (isset($alternateData['alternate_sequence'])) ? $alternateData['alternate_sequence'] : '';
843
+ $alternate_sequence_max = (isset($alternateData['alternate_sequence_max'])) ? $alternateData['alternate_sequence_max'] : '9999';
844
+ if($alternate_sequence_max === '0')
845
+ $alternate_sequence_max = '9999';
846
+ $alternate_repeater = (isset($alternateData['alternate_repeater'])) ? $alternateData['alternate_repeater'] : 'null';
847
+ $alternate_theme_repeater = (isset($alternateData['alternate_theme_repeater'])) ? $alternateData['alternate_theme_repeater'] : 'null';
848
+ }
849
+
850
  $postType = (isset($_GET['post_type'])) ? $_GET['post_type'] : 'post';
851
  $post_format = (isset($_GET['post_format'])) ? $_GET['post_format'] : '';
852
 
1142
  $alm_loop_count = 0;
1143
  }
1144
 
 
1145
  // Create cache directory
1146
  if(!empty($cache_id) && has_action('alm_cache_create_dir')){
1147
  $url = $_SERVER['HTTP_REFERER'];
1148
  apply_filters('alm_cache_create_dir', $cache_id, $url);
1149
  $page_cache = ''; // set our page cache variable
1150
+ }
1151
+
1152
+ // Alternating Templates
1153
+ if($alternate && has_action('alm_alternating_installed')){
1154
+ $alternate_sequence_array = '';
1155
+ if($alternate_sequence === 'even'){
1156
+ $alternate_sequence_array = 'even';
1157
+ }else{
1158
+ $alternate_sequence_array = explode(',', $alternate_sequence);
1159
+ }
1160
+ $global_repeater = $repeater;
1161
+ $global_type = $type;
1162
+ $global_theme_repeater = $theme_repeater;
1163
+ }
1164
 
1165
 
1166
  if($queryType === 'standard'){
1167
  // Run the loop
1168
  if ($alm_query->have_posts()) :
1169
+ $alm_found_posts = $alm_total_posts;
1170
+ $alm_current = 0;
1171
  while ($alm_query->have_posts()): $alm_query->the_post();
1172
+ $alm_loop_count++;
1173
+ $alm_current++;
1174
  $alm_page = $alm_page_count; // Get page number
1175
  $alm_item = ($alm_page_count * $numPosts) - $numPosts + $alm_loop_count; // Get current item
1176
 
1177
+ // Alternating Templates
1178
+ if($alternate && has_action('alm_alternating_installed') && $alm_page <= $alternate_sequence_max){
1179
+ if (function_exists('alm_alternate_is_in_array')) {
1180
+ if(alm_alternate_is_in_array($alm_current, $alternate_sequence_array)){ // If $alm_current is found in array
1181
+ if($alternate_theme_repeater != 'null' && has_filter('alm_get_theme_repeater')){
1182
+ $theme_repeater = $alternate_theme_repeater;
1183
+ }else{
1184
+ $repeater = $alternate_repeater;
1185
+ $type = alm_get_repeater_type($repeater);
1186
+ }
1187
+ }else{ // Reset $repeater values
1188
+ $repeater = $global_repeater;
1189
+ $type = $global_type;
1190
+ $theme_repeater = $global_theme_repeater;
1191
+ }
1192
+ }
1193
+ }
1194
+
1195
+ if($theme_repeater != 'null' && has_action('alm_get_theme_repeater')){
1196
+ do_action('alm_get_theme_repeater', $theme_repeater, $alm_found_posts, $alm_page, $alm_item, $alm_current);
1197
  }else{
1198
  include( alm_get_current_repeater($repeater, $type) );//Include repeater template
1199
  }
1201
  // If ALM Cache is enabled
1202
  // - Build the cache include and store in $page_cache var
1203
  if(!empty($cache_id) && has_action('alm_cache_inc')){
1204
+ $page_cache .= apply_filters('alm_cache_inc', $repeater, $type, $theme_repeater, $alm_page, $alm_found_posts, $alm_item, $alm_current);
1205
  }
1206
 
1207
  endwhile; wp_reset_query();
1232
  */
1233
 
1234
  function AjaxLoadMore(){
1235
+ global $ajax_load_more;
1236
+ if( !isset($ajax_load_more)){
 
 
1237
  $ajax_load_more = new AjaxLoadMore();
1238
+ }
 
1239
  return $ajax_load_more;
1240
+ }
 
 
1241
  // initialize
1242
  AjaxLoadMore();
1243
 
core/css/ajax-load-more.css CHANGED
@@ -2,7 +2,7 @@
2
  * Ajax Load More
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  *
5
- * Copyright 2015 Connekt Media - http://connekthq.com
6
  * Free to use under the GPLv2 license.
7
  * http://www.gnu.org/licenses/gpl-2.0.html
8
  *
2
  * Ajax Load More
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  *
5
+ * Copyright 2016 Connekt Media - https://connekthq.com
6
  * Free to use under the GPLv2 license.
7
  * http://www.gnu.org/licenses/gpl-2.0.html
8
  *
core/css/ajax-load-more.min.css ADDED
@@ -0,0 +1 @@
 
1
+ button.alm-load-more-btn{font-family:Helvetica, Arial, sans-serif;font-size:16px;font-weight:600;width:auto;height:42px;line-height:44px;background:#ed7070;color:#fff;border:none;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;margin:0 0 4px;padding:0 20px;display:inline-block;position:relative;-webkit-transition:padding 0.25s ease-in-out, width 0.25s ease-in-out;-moz-transition:padding 0.25s ease-in-out, width 0.25s ease-in-out;transition:padding 0.25s ease-in-out, width 0.25s ease-in-out;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;cursor:pointer}button.alm-load-more-btn:hover{background-color:#e06464;color:#fff;text-decoration:none}button.alm-load-more-btn:active{-webkit-box-shadow:inset 0 2px 1px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 2px 1px rgba(0, 0, 0, 0.1);box-shadow:inset 0 2px 1px rgba(0, 0, 0, 0.1);text-decoration:none}button.alm-load-more-btn.loading{padding-left:44px}button.alm-load-more-btn.done{cursor:default;opacity:0.2;filter:alpha(opacity=20);background-color:#ed7070;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}button.alm-load-more-btn:before,button.alm-load-more-btn.done:before{background:none;width:0}button.alm-load-more-btn.loading:before{background:#fff url("../../core/img/ajax-loader.gif") no-repeat center center;width:30px;height:30px;margin:6px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:2px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width 0.5s ease-in-out;-moz-transition:width 0.5s ease-in-out;transition:width 0.5s ease-in-out}.alm-btn-wrap{text-align:center;padding:10px 10px 30px;overflow:hidden;display:block}.ajax-load-more-wrap.blue button.alm-load-more-btn{background-color:#0081bf}.ajax-load-more-wrap.blue button.alm-load-more-btn:hover,.ajax-load-more-wrap.blue button.alm-load-more-btn.done{background-color:#0073aa}.ajax-load-more-wrap.green button.alm-load-more-btn{background-color:#6fca68}.ajax-load-more-wrap.green button.alm-load-more-btn:hover,.ajax-load-more-wrap.green button.alm-load-more-btn.done{background-color:#64b95e}.ajax-load-more-wrap.red button.alm-load-more-btn{background-color:#ca4b4b}.ajax-load-more-wrap.red button.alm-load-more-btn:hover,.ajax-load-more-wrap.red button.alm-load-more-btn.done{background-color:#b13b3b}.ajax-load-more-wrap.purple button.alm-load-more-btn{background-color:#a86bb9}.ajax-load-more-wrap.purple button.alm-load-more-btn:hover,.ajax-load-more-wrap.purple button.alm-load-more-btn.done{background-color:#9963a8}.ajax-load-more-wrap.grey button.alm-load-more-btn{background-color:#888}.ajax-load-more-wrap.grey button.alm-load-more-btn:hover,.ajax-load-more-wrap.grey button.alm-load-more-btn.done{background-color:#777}.ajax-load-more-wrap.white button.alm-load-more-btn{background-color:#fff;color:#666;border:1px solid #efefef}.ajax-load-more-wrap.white button.alm-load-more-btn:hover,.ajax-load-more-wrap.white button.alm-load-more-btn.done{background-color:#efefef;color:#333}.ajax-load-more-wrap.white button.alm-load-more-btn.done{border-color:#fff}.ajax-load-more-wrap.infinite button.alm-load-more-btn{width:100%;background-color:transparent !important;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;-o-box-shadow:none !important;-ms-box-shadow:none !important;box-shadow:none !important;overflow:hidden;text-indent:-9999px;cursor:default !important;outline:none !important}.ajax-load-more-wrap.infinite button.alm-load-more-btn:before{display:none !important}.ajax-load-more-wrap.infinite button.alm-load-more-btn.done{opacity:0;filter:alpha(opacity=0)}.ajax-load-more-wrap.infinite button.alm-load-more-btn:active{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.ajax-load-more-wrap.infinite button.alm-load-more-btn{background-color:transparent;background-position:center center;background-repeat:no-repeat;background-image:url("../../core/img/spinner.gif");border:none !important;opacity:0;filter:alpha(opacity=0)}.ajax-load-more-wrap.infinite button.alm-load-more-btn{-webkit-transition:opacity 0.25s ease;-moz-transition:opacity 0.25s ease;transition:opacity 0.25s ease}.ajax-load-more-wrap.infinite button.alm-load-more-btn.loading{opacity:1;filter:alpha(opacity=100)}.ajax-load-more-wrap.infinite.skype button.alm-load-more-btn{background-image:url("../../core/img/spinner-skype.gif")}.ajax-load-more-wrap.infinite.ring button.alm-load-more-btn{background-image:url("../../core/img/spinner-ring.gif")}.ajax-load-more-wrap.infinite.fading-blocks button.alm-load-more-btn{background-image:url("../../core/img/loader-fading-blocks.gif")}.ajax-load-more-wrap.infinite.fading-circles button.alm-load-more-btn{background-image:url("../../core/img/loader-fading-circles.gif")}.ajax-load-more-wrap.infinite.chasing-arrows button.alm-load-more-btn{background-image:url("../../core/img/spinner-chasing-arrows.gif")}.alm-listing{margin:0;padding:0}.alm-listing li{background:none;margin:0 0 30px;padding:0 0 0 170px;overflow:hidden;position:relative;list-style:none}.alm-listing li.no-img{padding:0}.alm-listing li p{margin:0}.alm-listing li h3{margin:0 0 10px}.alm-listing li img{position:absolute;left:0;top:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}
core/functions.php CHANGED
@@ -12,9 +12,9 @@
12
  function alm_get_current_repeater($repeater, $type) {
13
  $template = $repeater;
14
  $include = '';
 
15
  // If is Custom Repeaters (Custom Repeaters v1)
16
- if( $type == 'repeater' && has_action('alm_repeater_installed' ))
17
- {
18
  $include = ALM_REPEATER_PATH . 'repeaters/'. $template .'.php';
19
 
20
  if(!file_exists($include)) //confirm file exists
@@ -22,24 +22,22 @@ function alm_get_current_repeater($repeater, $type) {
22
 
23
  }
24
  // If is Unlimited Repeaters (Custom Repeaters v2)
25
- elseif( $type == 'template_' && has_action('alm_unlimited_installed' ))
26
- {
27
  global $wpdb;
28
  $blog_id = $wpdb->blogid;
29
 
30
  if($blog_id > 1){
31
  $include = ALM_UNLIMITED_PATH. 'repeaters/'. $blog_id .'/'.$template .'.php';
32
  }else{
33
- $include = ALM_UNLIMITED_PATH. 'repeaters/'.$repeater .'.php';
34
- }
35
-
36
  if(!file_exists($include)) //confirm file exists
37
- alm_get_default_repeater();
38
 
39
  }
40
  // Default repeater
41
- else
42
- {
43
  $include = alm_get_default_repeater();
44
  }
45
 
@@ -120,6 +118,7 @@ function alm_get_taxonomy($taxonomy, $taxonomy_terms, $taxonomy_operator){
120
  }
121
 
122
 
 
123
  /*
124
  * alm_get_post_format
125
  * Query by post format
@@ -336,6 +335,19 @@ function alm_parse_meta_value($meta_value, $meta_compare){
336
 
337
 
338
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
 
340
  /*
341
  * alm_paging_no_script
12
  function alm_get_current_repeater($repeater, $type) {
13
  $template = $repeater;
14
  $include = '';
15
+
16
  // If is Custom Repeaters (Custom Repeaters v1)
17
+ if( $type == 'repeater' && has_action('alm_repeater_installed' )){
 
18
  $include = ALM_REPEATER_PATH . 'repeaters/'. $template .'.php';
19
 
20
  if(!file_exists($include)) //confirm file exists
22
 
23
  }
24
  // If is Unlimited Repeaters (Custom Repeaters v2)
25
+ elseif( $type == 'template_' && has_action('alm_unlimited_installed' )){
 
26
  global $wpdb;
27
  $blog_id = $wpdb->blogid;
28
 
29
  if($blog_id > 1){
30
  $include = ALM_UNLIMITED_PATH. 'repeaters/'. $blog_id .'/'.$template .'.php';
31
  }else{
32
+ $include = ALM_UNLIMITED_PATH. 'repeaters/'.$template .'.php';
33
+ }
34
+
35
  if(!file_exists($include)) //confirm file exists
36
+ $include = alm_get_default_repeater();
37
 
38
  }
39
  // Default repeater
40
+ else{
 
41
  $include = alm_get_default_repeater();
42
  }
43
 
118
  }
119
 
120
 
121
+
122
  /*
123
  * alm_get_post_format
124
  * Query by post format
335
 
336
 
337
 
338
+ /*
339
+ * alm_get_repeater_type
340
+ * Get type of repeater
341
+ *
342
+ * @return $type;
343
+ * @since 2.9
344
+ */
345
+ function alm_get_repeater_type($repeater){
346
+ $type = preg_split('/(?=\d)/', $repeater, 2); // split $repeater value at number to determine type
347
+ $type = $type[0]; // default | repeater | template_
348
+ return $type;
349
+ }
350
+
351
 
352
  /*
353
  * alm_paging_no_script
core/js/ajax-load-more.js CHANGED
@@ -4,7 +4,7 @@
4
  * http://wordpress.org/plugins/ajax-load-more/
5
  * https://connekthq.com/plugins/ajax-load-more/
6
  *
7
- * Copyright 2015 Connekt Media - http://connekthq.com
8
  * Free to use under the GPLv2 license.
9
  * http://www.gnu.org/licenses/gpl-2.0.html
10
  *
@@ -49,11 +49,19 @@
49
  alm.repeater = alm.content.attr('data-repeater');
50
  alm.theme_repeater = alm.content.attr('data-theme-repeater');
51
 
 
 
 
 
 
 
 
52
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
53
  alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
54
  alm.pause_override = alm.content.attr('data-pause-override'); // true | false
55
  alm.pause = alm.content.attr('data-pause'); // true | false
56
- alm.transition = alm.content.attr('data-transition');
 
57
  alm.images_loaded = alm.content.attr('data-images-loaded');
58
  alm.destroy_after = alm.content.attr('data-destroy-after');
59
  alm.lang = alm.content.attr('data-lang');
@@ -256,6 +264,12 @@
256
  alm.transition = 'none';
257
  }else {
258
  alm.transition = 'slide';
 
 
 
 
 
 
259
  }
260
 
261
 
@@ -382,8 +396,7 @@
382
 
383
  var action = 'alm_query_posts';
384
 
385
- // If this is a comment query
386
-
387
  if(alm.comments === 'true'){
388
  action = 'alm_comments_query';
389
  alm.posts_per_page = alm.comments_per_page;
@@ -399,7 +412,17 @@
399
  };
400
 
401
  }
402
-
 
 
 
 
 
 
 
 
 
 
403
 
404
  $.ajax({
405
  type: "GET",
@@ -411,6 +434,7 @@
411
  cache_id: alm.cache_id,
412
  repeater: alm.repeater,
413
  theme_repeater: alm.theme_repeater,
 
414
  comments: alm.comments_array,
415
  post_type: alm.post_type,
416
  post_format: alm.content.attr('data-post-format'),
@@ -530,23 +554,31 @@
530
  }
531
  }
532
 
 
533
  if(alm.isPaged){
534
  alm.posts_per_page = alm.content.attr('data-posts-per-page'); // Reset our posts per page variable
535
  alm.page = alm.start_page - 1; // Set our new page #
536
  }
537
  }
538
 
539
-
540
  if (alm.data.length > 0) {
541
  if(!alm.paging){
542
 
543
- if(alm.previous_post){
544
- alm.el = $('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');
 
545
  }else{
546
- alm.el = $('<div class="alm-reveal"/>');
 
 
 
 
 
 
 
547
  }
548
 
549
- alm.el.append(alm.data).hide();
550
  alm.content.append(alm.el);
551
 
552
  if (alm.transition === 'fade') { // Fade transition
@@ -696,15 +728,16 @@
696
 
697
  } else {
698
 
 
 
 
 
 
699
  // ALM Done
700
  if ($.isFunction($.fn.almDone)) {
701
  $.fn.almDone(alm);
702
  }
703
 
704
- if(!alm.paging){
705
- alm.button.delay(alm.speed).removeClass('loading').addClass('done');
706
- alm.resetBtnText();
707
- }
708
  alm.loading = false;
709
  alm.finished = true;
710
  }
@@ -838,7 +871,7 @@
838
 
839
 
840
 
841
- /* alm.AjaxLoadMore.isVisible()
842
  *
843
  * Check to see if element is visible before loading posts
844
  * @since 2.1.2
@@ -854,7 +887,7 @@
854
 
855
 
856
 
857
- /* Window scroll and touchmove events
858
  *
859
  * Load posts as user scrolls the page
860
  * @since 1.0
4
  * http://wordpress.org/plugins/ajax-load-more/
5
  * https://connekthq.com/plugins/ajax-load-more/
6
  *
7
+ * Copyright 2016 Connekt Media - https://connekthq.com
8
  * Free to use under the GPLv2 license.
9
  * http://www.gnu.org/licenses/gpl-2.0.html
10
  *
49
  alm.repeater = alm.content.attr('data-repeater');
50
  alm.theme_repeater = alm.content.attr('data-theme-repeater');
51
 
52
+ alm.alternate_array = '';
53
+ alm.alternate = alm.content.attr('data-alternate'); // is Alternating Templates enabled?
54
+ alm.alternate_sequence = alm.content.attr('data-alternate-sequence');
55
+ alm.alternate_sequence_max = alm.content.attr('data-alternate-sequence-max');
56
+ alm.alternate_repeater = alm.content.attr('data-alternate-repeater');
57
+ alm.alternate_theme_repeater = alm.content.attr('data-alternate-theme-repeater');
58
+
59
  alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
60
  alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
61
  alm.pause_override = alm.content.attr('data-pause-override'); // true | false
62
  alm.pause = alm.content.attr('data-pause'); // true | false
63
+ alm.transition = alm.content.attr('data-transition');
64
+ alm.transition_container = alm.content.attr('data-transition-container');
65
  alm.images_loaded = alm.content.attr('data-images-loaded');
66
  alm.destroy_after = alm.content.attr('data-destroy-after');
67
  alm.lang = alm.content.attr('data-lang');
264
  alm.transition = 'none';
265
  }else {
266
  alm.transition = 'slide';
267
+ }
268
+
269
+ if (alm.transition_container === undefined || alm.transition_container === 'true'){
270
+ alm.transition_container = true;
271
+ }else {
272
+ alm.transition_container = false;
273
  }
274
 
275
 
396
 
397
  var action = 'alm_query_posts';
398
 
399
+ // If this is a comment query
 
400
  if(alm.comments === 'true'){
401
  action = 'alm_comments_query';
402
  alm.posts_per_page = alm.comments_per_page;
412
  };
413
 
414
  }
415
+
416
+ // Set Alternate Query params
417
+ if(alm.alternate === 'true'){
418
+ alm.alternate_array = {
419
+ 'alternate': 'true',
420
+ 'alternate_sequence': alm.alternate_sequence,
421
+ 'alternate_sequence_max': alm.alternate_sequence_max,
422
+ 'alternate_repeater': alm.alternate_repeater,
423
+ 'alternate_theme_repeater': alm.alternate_theme_repeater,
424
+ };
425
+ }
426
 
427
  $.ajax({
428
  type: "GET",
434
  cache_id: alm.cache_id,
435
  repeater: alm.repeater,
436
  theme_repeater: alm.theme_repeater,
437
+ alternate: alm.alternate_array,
438
  comments: alm.comments_array,
439
  post_type: alm.post_type,
440
  post_format: alm.content.attr('data-post-format'),
554
  }
555
  }
556
 
557
+ // isPaged
558
  if(alm.isPaged){
559
  alm.posts_per_page = alm.content.attr('data-posts-per-page'); // Reset our posts per page variable
560
  alm.page = alm.start_page - 1; // Set our new page #
561
  }
562
  }
563
 
564
+ // We have results!
565
  if (alm.data.length > 0) {
566
  if(!alm.paging){
567
 
568
+ if(alm.previous_post){ // If Previous Post, create container and append data
569
+ alm.el = $('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');
570
+ alm.el.append(alm.data).hide();
571
  }else{
572
+
573
+ if(!alm.transition_container){ // If transiton container == false
574
+ alm.data.hide();
575
+ alm.el = alm.data;
576
+ }else{ // Normal transition
577
+ alm.el = $('<div class="alm-reveal"/>');
578
+ alm.el.append(alm.data).hide();
579
+ }
580
  }
581
 
 
582
  alm.content.append(alm.el);
583
 
584
  if (alm.transition === 'fade') { // Fade transition
728
 
729
  } else {
730
 
731
+ if(!alm.paging){
732
+ alm.button.delay(alm.speed).removeClass('loading').addClass('done');
733
+ alm.resetBtnText();
734
+ }
735
+
736
  // ALM Done
737
  if ($.isFunction($.fn.almDone)) {
738
  $.fn.almDone(alm);
739
  }
740
 
 
 
 
 
741
  alm.loading = false;
742
  alm.finished = true;
743
  }
871
 
872
 
873
 
874
+ /* alm.AjaxLoadMore.isVisible()
875
  *
876
  * Check to see if element is visible before loading posts
877
  * @since 2.1.2
887
 
888
 
889
 
890
+ /* Window scroll and touchmove events
891
  *
892
  * Load posts as user scrolls the page
893
  * @since 1.0
core/js/ajax-load-more.min.js CHANGED
@@ -1,19 +1,5 @@
1
- /*
2
- * WordPress Ajax Load More
3
- * http://wordpress.org/plugins/ajax-load-more/
4
- * https://connekthq.com/plugins/ajax-load-more/
5
- *
6
- * Copyright 2015 Connekt Media - http://connekthq.com
7
- * Free to use under the GPLv2 license.
8
- * http://www.gnu.org/licenses/gpl-2.0.html
9
- *
10
- * Author: Darren Cooney
11
- * Twitter: @KaptonKaos
12
- */
13
-
14
-
15
  (function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
16
- var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.speed=250;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.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
17
  alm.comments_array='';alm.comments_post_id=alm.content.attr('data-comments_post_id');alm.comments_per_page=alm.content.attr('data-comments_per_page');alm.comments_type=alm.content.attr('data-comments_type');alm.comments_style=alm.content.attr('data-comments_style');alm.comments_template=alm.content.attr('data-comments_template');alm.comments_callback=alm.content.attr('data-comments_callback');alm.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
18
  if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
19
  if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
@@ -38,6 +24,7 @@ if(alm.max_pages===undefined){alm.max_pages=5;}
38
  if(alm.max_pages===0){alm.max_pages=10000;}
39
  if(alm.scroll_distance===undefined){alm.scroll_distance=150;}
40
  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';}
 
41
  if(alm.images_loaded===undefined){alm.images_loaded='false';}
42
  if(alm.destroy_after!==undefined){}
43
  if(alm.content.attr('data-button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.attr('data-button-label');}
@@ -48,14 +35,15 @@ alm.post_type=alm.content.attr('data-post-type');alm.post_type=alm.post_type.spl
48
  alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.button.addClass('loading');if(alm.button_loading_label!==false){alm.button.text(alm.button_loading_label);}}
49
  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);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
50
  var action='alm_query_posts';if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
51
- $.ajax({type:"GET",url:alm_localize.ajaxurl,data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,pageNumber:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,},dataType:"html",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data);}
 
52
  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');}
53
  alm.AjaxLoadMore.success=function(data){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
54
  alm.data=$(data);if(alm.init){if(!alm.paging){alm.button.text(alm.button_label);}else{if(alm.data.length>0){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');$('.alm-paging-content',alm.el).append(alm.data).hide();alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.resetBtnText();$('.alm-paging-content',alm.el).fadeIn(alm.speed,'alm_easeInOutQuad',function(){var paddingT=parseInt(alm.content.css('padding-top')),paddingB=parseInt(alm.content.css('padding-bottom'));alm.content.css('height',alm.el.height()+paddingT+paddingB+'px');if($.isFunction($.fn.almFadePageControls)){$.fn.almFadePageControls(alm.btnWrap);}});}}
55
  if(alm.data.length===0){if($.isFunction($.fn.almEmpty)){$.fn.almEmpty(alm);}}
56
  if(alm.isPaged){alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.page=alm.start_page-1;}}
57
- if(alm.data.length>0){if(!alm.paging){if(alm.previous_post){alm.el=$('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');}else{alm.el=$('<div class="alm-reveal"/>');}
58
- alm.el.append(alm.data).hide();alm.content.append(alm.el);if(alm.transition==='fade'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
59
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});});}else{alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
60
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});}}else if(alm.transition==='none'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.show();});}else{alm.el.show();}
61
  alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
@@ -64,8 +52,8 @@ if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.but
64
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});}}}else{if(!alm.init){$('.alm-paging-content',alm.el).html('').append(alm.data).almWaitForImages().done(function(){$('.alm-paging-loading',alm.el).fadeOut(alm.speed);if($.isFunction($.fn.almOnPagingComplete)){$.fn.almOnPagingComplete(alm);}});}}
65
  if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
66
  if(alm.data.length<alm.posts_per_page){if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}}
67
- if($(".ajax-load-more-wrap").length===1){if($.isFunction($.fn.almSEO)&&alm.seo){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almSEO(alm);});}else{$.fn.almSEO(alm);}}}}else{if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}
68
- if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.resetBtnText();}
69
  alm.loading=false;alm.finished=true;}
70
  if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
71
  if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.speed=250;alm.proceed=false;alm.disable_ajax=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.container=el;alm.container.addClass('alm-'+e).attr('data-id',e);alm.content=$('.alm-ajax',alm.container);alm.content_preloaded=$('.alm-listing.alm-preloaded',alm.container);alm.canonical_url=alm.el.attr('data-canonical-url');alm.slug=alm.el.attr('data-slug');alm.prefix='alm-';alm.cache=alm.content.attr('data-cache');alm.cache_id=alm.content.attr('data-cache-id');alm.cache_path=alm.content.attr('data-cache-path');alm.cache_logged_in=alm.content.attr('data-cache-logged-in');alm.repeater=alm.content.attr('data-repeater');alm.theme_repeater=alm.content.attr('data-theme-repeater');alm.alternate_array='';alm.alternate=alm.content.attr('data-alternate');alm.alternate_sequence=alm.content.attr('data-alternate-sequence');alm.alternate_sequence_max=alm.content.attr('data-alternate-sequence-max');alm.alternate_repeater=alm.content.attr('data-alternate-repeater');alm.alternate_theme_repeater=alm.content.attr('data-alternate-theme-repeater');alm.scroll_distance=parseInt(alm.content.attr('data-scroll-distance'));alm.max_pages=parseInt(alm.content.attr('data-max-pages'));alm.pause_override=alm.content.attr('data-pause-override');alm.pause=alm.content.attr('data-pause');alm.transition=alm.content.attr('data-transition');alm.transition_container=alm.content.attr('data-transition-container');alm.images_loaded=alm.content.attr('data-images-loaded');alm.destroy_after=alm.content.attr('data-destroy-after');alm.lang=alm.content.attr('data-lang');alm.orginal_posts_per_page=alm.content.attr('data-posts-per-page');alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.previous_post=alm.content.attr('data-previous-post');alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');alm.comments=alm.content.attr('data-comments');if(alm.comments==='true'){alm.content=$('.alm-comments',alm.container);}
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.seo=alm.content.attr('data-seo');alm.preloaded=alm.content.attr('data-preloaded');alm.preloaded_amount=alm.content.attr('data-preloaded-amount');alm.paging=alm.content.attr('data-paging');alm.paging_controls=alm.content.attr('data-paging-controls');alm.paging_show_at_most=alm.content.attr('data-paging-show-at-most');alm.paging_classes=alm.content.attr('data-paging-classes');if(alm.paging==='true'){alm.paging=true;if(alm.paging_show_at_most===undefined){alm.paging_show_at_most=7;}
4
  if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
5
  if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
24
  if(alm.max_pages===0){alm.max_pages=10000;}
25
  if(alm.scroll_distance===undefined){alm.scroll_distance=150;}
26
  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';}
27
+ if(alm.transition_container===undefined||alm.transition_container==='true'){alm.transition_container=true;}else{alm.transition_container=false;}
28
  if(alm.images_loaded===undefined){alm.images_loaded='false';}
29
  if(alm.destroy_after!==undefined){}
30
  if(alm.content.attr('data-button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.attr('data-button-label');}
35
  alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.button.addClass('loading');if(alm.button_loading_label!==false){alm.button.text(alm.button_loading_label);}}
36
  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);}).fail(function(){alm.AjaxLoadMore.ajax('standard');});}}else{alm.AjaxLoadMore.ajax('standard');}}};alm.AjaxLoadMore.ajax=function(queryType){if(alm.previous_post){alm.previous_post_id=alm.content.attr('data-previous-post-id');alm.previous_post_taxonomy=alm.content.attr('data-previous-post-taxonomy');}
37
  var action='alm_query_posts';if(alm.comments==='true'){action='alm_comments_query';alm.posts_per_page=alm.comments_per_page;alm.comments_array={'comments':'true','post_id':alm.comments_post_id,'per_page':alm.comments_per_page,'type':alm.comments_type,'style':alm.comments_style,'template':alm.comments_template,'callback':alm.comments_callback,};}
38
+ if(alm.alternate==='true'){alm.alternate_array={'alternate':'true','alternate_sequence':alm.alternate_sequence,'alternate_sequence_max':alm.alternate_sequence_max,'alternate_repeater':alm.alternate_repeater,'alternate_theme_repeater':alm.alternate_theme_repeater,};}
39
+ $.ajax({type:"GET",url:alm_localize.ajaxurl,data:{action:action,query_type:queryType,nonce:alm_localize.alm_nonce,cache_id:alm.cache_id,repeater:alm.repeater,theme_repeater:alm.theme_repeater,alternate:alm.alternate_array,comments:alm.comments_array,post_type:alm.post_type,post_format:alm.content.attr('data-post-format'),category:alm.content.attr('data-category'),category__not_in:alm.content.attr('data-category-not-in'),tag:alm.content.attr('data-tag'),tag__not_in:alm.content.attr('data-tag-not-in'),taxonomy:alm.content.attr('data-taxonomy'),taxonomy_terms:alm.content.attr('data-taxonomy-terms'),taxonomy_operator:alm.content.attr('data-taxonomy-operator'),taxonomy_relation:alm.content.attr('data-taxonomy-relation'),meta_key:alm.content.attr('data-meta-key'),meta_value:alm.content.attr('data-meta-value'),meta_compare:alm.content.attr('data-meta-compare'),meta_relation:alm.content.attr('data-meta-relation'),meta_type:alm.content.attr('data-meta-type'),author:alm.content.attr('data-author'),year:alm.content.attr('data-year'),month:alm.content.attr('data-month'),day:alm.content.attr('data-day'),post_status:alm.content.attr('data-post-status'),order:alm.content.attr('data-order'),orderby:alm.content.attr('data-orderby'),post__in:alm.content.attr('data-post-in'),post__not_in:alm.content.attr('data-post-not-in'),exclude:alm.content.attr('data-exclude'),search:alm.content.attr('data-search'),custom_args:alm.content.attr('data-custom-args'),posts_per_page:alm.posts_per_page,pageNumber:alm.page,offset:alm.offset,preloaded:alm.preloaded,preloaded_amount:alm.preloaded_amount,seo_start_page:alm.start_page,previous_post:alm.previous_post,previous_post_id:alm.previous_post_id,previous_post_taxonomy:alm.previous_post_taxonomy,lang:alm.lang,slug:alm.slug,},dataType:"html",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data);}
40
  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');}
41
  alm.AjaxLoadMore.success=function(data){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
42
  alm.data=$(data);if(alm.init){if(!alm.paging){alm.button.text(alm.button_label);}else{if(alm.data.length>0){alm.el=$('<div class="alm-reveal"/>');alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');$('.alm-paging-content',alm.el).append(alm.data).hide();alm.content.append(alm.el);alm.content.parent().removeClass('loading');alm.resetBtnText();$('.alm-paging-content',alm.el).fadeIn(alm.speed,'alm_easeInOutQuad',function(){var paddingT=parseInt(alm.content.css('padding-top')),paddingB=parseInt(alm.content.css('padding-bottom'));alm.content.css('height',alm.el.height()+paddingT+paddingB+'px');if($.isFunction($.fn.almFadePageControls)){$.fn.almFadePageControls(alm.btnWrap);}});}}
43
  if(alm.data.length===0){if($.isFunction($.fn.almEmpty)){$.fn.almEmpty(alm);}}
44
  if(alm.isPaged){alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.page=alm.start_page-1;}}
45
+ if(alm.data.length>0){if(!alm.paging){if(alm.previous_post){alm.el=$('<div class="alm-reveal alm-previous-post post-'+alm.previous_post_id+'" data-id="'+alm.previous_post_id+'" data-title="'+alm.previous_post_title+'" data-url="'+alm.previous_post_permalink+'"/>');alm.el.append(alm.data).hide();}else{if(!alm.transition_container){alm.data.hide();alm.el=alm.data;}else{alm.el=$('<div class="alm-reveal"/>');alm.el.append(alm.data).hide();}}
46
+ alm.content.append(alm.el);if(alm.transition==='fade'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
47
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});});}else{alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
48
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});}}else if(alm.transition==='none'){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.show();});}else{alm.el.show();}
49
  alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
52
  if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});}}}else{if(!alm.init){$('.alm-paging-content',alm.el).html('').append(alm.data).almWaitForImages().done(function(){$('.alm-paging-loading',alm.el).fadeOut(alm.speed);if($.isFunction($.fn.almOnPagingComplete)){$.fn.almOnPagingComplete(alm);}});}}
53
  if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
54
  if(alm.data.length<alm.posts_per_page){if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}}
55
+ if($(".ajax-load-more-wrap").length===1){if($.isFunction($.fn.almSEO)&&alm.seo){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almSEO(alm);});}else{$.fn.almSEO(alm);}}}}else{if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.resetBtnText();}
56
+ if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}
57
  alm.loading=false;alm.finished=true;}
58
  if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
59
  if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
lang/ajax-load-more.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
- "POT-Creation-Date: 2015-12-22 15:58-0500\n"
5
- "PO-Revision-Date: 2015-12-22 15:59-0500\n"
6
  "Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
@@ -15,186 +15,196 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../admin/admin.php:112 ../admin/admin.php:651 ../admin/admin.php:695
19
- #: ../admin/admin.php:745
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
- #: ../admin/admin.php:155 ../admin/editor/editor-build.php:66
24
- #: ../admin/views/licenses.php:50 ../admin/views/licenses.php:104
25
- #: ../admin/views/licenses.php:159 ../admin/views/licenses.php:215
26
- #: ../admin/views/licenses.php:269 ../admin/views/licenses.php:322
27
- #: ../admin/views/licenses.php:377 ../admin/views/licenses.php:434
 
28
  msgid "Active"
29
  msgstr ""
30
 
31
- #: ../admin/admin.php:156 ../admin/editor/editor-build.php:67
32
- #: ../admin/views/licenses.php:54 ../admin/views/licenses.php:108
33
- #: ../admin/views/licenses.php:163 ../admin/views/licenses.php:219
34
- #: ../admin/views/licenses.php:273 ../admin/views/licenses.php:326
35
- #: ../admin/views/licenses.php:381 ../admin/views/licenses.php:438
 
36
  msgid "Inactive"
37
  msgstr ""
38
 
39
- #: ../admin/admin.php:260
 
 
 
 
 
 
 
 
40
  msgid ""
41
  "[Ajax Load More] Error opening default repeater template - Please check your "
42
  "file path and ensure your server is configured to allow Ajax Load More to "
43
  "read and write files within the /ajax-load-more/core/repeater directory"
44
  msgstr ""
45
 
46
- #: ../admin/admin.php:264
47
  msgid ""
48
  "[Ajax Load More] Error updating default repeater template - Please check "
49
  "your file path and ensure your server is configured to allow Ajax Load More "
50
  "to read and write files within the /ajax-load-more/core/repeater directory."
51
  msgstr ""
52
 
53
- #: ../admin/admin.php:609
54
  msgid "[Ajax Load More] Unable to open repeater template - "
55
  msgstr ""
56
 
57
- #: ../admin/admin.php:613
58
  msgid "[Ajax Load More] Error saving repeater template - "
59
  msgstr ""
60
 
61
- #: ../admin/admin.php:646
62
  msgid "Error Writing File"
63
  msgstr ""
64
 
65
- #: ../admin/admin.php:807
66
- #: ../admin/shortcode-builder/shortcode-builder.php:1103
67
  msgid "Container Type"
68
  msgstr ""
69
 
70
- #: ../admin/admin.php:815
71
- #: ../admin/shortcode-builder/shortcode-builder.php:1123
72
  msgid "Container Classes"
73
  msgstr ""
74
 
75
- #: ../admin/admin.php:823
76
  msgid "Disable CSS"
77
  msgstr ""
78
 
79
- #: ../admin/admin.php:831
80
  msgid "Button/Loading Style"
81
  msgstr ""
82
 
83
- #: ../admin/admin.php:839
84
  msgid "Button Classes"
85
  msgstr ""
86
 
87
- #: ../admin/admin.php:847
88
  msgid "Ajax Security"
89
  msgstr ""
90
 
91
- #: ../admin/admin.php:855
92
  msgid "Top of Page"
93
  msgstr ""
94
 
95
- #: ../admin/admin.php:863
96
  msgid "Dynamic Content"
97
  msgstr ""
98
 
99
- #: ../admin/admin.php:871
100
  msgid "Editor Button"
101
  msgstr ""
102
 
103
- #: ../admin/admin.php:879
104
  msgid "Error Notices"
105
  msgstr ""
106
 
107
- #: ../admin/admin.php:944
108
  msgid ""
109
  "Customize the user experience of Ajax Load More by updating the fields below."
110
  msgstr ""
111
 
112
- #: ../admin/admin.php:957
113
  msgid "The following settings affect the WordPress admin area only."
114
  msgstr ""
115
 
116
- #: ../admin/admin.php:988
117
  msgid "I want to use my own CSS styles."
118
  msgstr ""
119
 
120
- #: ../admin/admin.php:988
121
  msgid "View Ajax Load More CSS"
122
  msgstr ""
123
 
124
- #: ../admin/admin.php:1008
125
  msgid "Hide shortcode button in WYSIWYG editor."
126
  msgstr ""
127
 
128
- #: ../admin/admin.php:1029
129
  msgid ""
130
  "Display error messaging regarding repeater template updates in the browser "
131
  "console."
132
  msgstr ""
133
 
134
- #: ../admin/admin.php:1050
135
  msgid ""
136
  "Disable dynamic population of categories, tags and authors in the Shortcode "
137
  "Builder.<span style=\"display:block\">Recommended if you have an "
138
  "extraordinary number of categories, tags and/or authors."
139
  msgstr ""
140
 
141
- #: ../admin/admin.php:1071 ../admin/admin.php:1074
142
  msgid "Ajax Posts Here"
143
  msgstr ""
144
 
145
- #: ../admin/admin.php:1076
146
  msgid "You can modify the container type when building a shortcode."
147
  msgstr ""
148
 
149
- #: ../admin/admin.php:1093
150
  msgid ""
151
  "Add classes to Ajax Load More container - classes are applied globally and "
152
  "will appear with every instance of Ajax Load More. <span style=\"display:"
153
  "block\">You can also add classes when building a shortcode.</span>"
154
  msgstr ""
155
 
156
- #: ../admin/admin.php:1155
157
  msgid ""
158
  "Select an Ajax loading style - you can choose between a <strong>button</"
159
  "strong> or <strong>infinite scroll</strong>"
160
  msgstr ""
161
 
162
- #: ../admin/admin.php:1178
163
  msgid "Preview"
164
  msgstr ""
165
 
166
- #: ../admin/admin.php:1197
167
  msgid "Add classes to your <strong>Load More</strong> button"
168
  msgstr ""
169
 
170
- #: ../admin/admin.php:1240
171
  msgid ""
172
  "On initial page load, move the user's browser window to the top of the "
173
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
174
  "loading of unnecessary posts.</span>"
175
  msgstr ""
176
 
177
- #: ../admin/admin.php:1261
178
  msgid ""
179
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
180
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
181
  "types of misuse, malicious or otherwise on each Ajax Load More query."
182
  msgstr ""
183
 
184
- #: ../admin/editor/editor-build.php:41
185
  msgid "Jump to Option"
186
  msgstr ""
187
 
188
- #: ../admin/editor/editor-build.php:45
189
  msgid ""
190
  "Create your own Ajax Load More shortcode by adjusting the parameters below:"
191
  msgstr ""
192
 
193
- #: ../admin/editor/editor-build.php:52
194
  msgid "Insert Shortcode"
195
  msgstr ""
196
 
197
- #: ../admin/editor/editor-build.php:55 ../admin/views/shortcode-builder.php:27
198
  msgid "Copy"
199
  msgstr ""
200
 
@@ -206,12 +216,11 @@ msgstr ""
206
  msgid "Apply Layout"
207
  msgstr ""
208
 
209
- #: ../admin/includes/components/layout-list.php:9
210
- #: ../admin/shortcode-builder/shortcode-builder.php:168
211
- msgid "Default"
212
  msgstr ""
213
 
214
- #: ../admin/includes/components/layout-list.php:17
215
  msgid ""
216
  "Unlock additional layout templates with the <strong>Layouts add-on</strong>"
217
  msgstr ""
@@ -244,17 +253,11 @@ msgstr ""
244
  msgid "Did you know?"
245
  msgstr ""
246
 
247
- #: ../admin/includes/cta/dyk.php:4
248
- msgid ""
249
- "<p class=\"addon-intro\">You can generate shortcodes while editing pages!</"
250
- "p><p>Click the Ajax Load More icon in the content editor toolbar and the <a "
251
- "href=\"?page=ajax-load-more-shortcode-builder\">shortcode builder</a> will "
252
- "open in an overlay window."
253
- msgstr ""
254
-
255
  #: ../admin/includes/cta/extend.php:1
256
  msgid ""
257
- "Unlock additional templates with the <a href=\"?page=ajax-load-more-add-ons"
 
 
258
  "\" target=\"_parent\">Custom Repeaters add-on</a>"
259
  msgstr ""
260
 
@@ -263,13 +266,11 @@ msgid "More Info"
263
  msgstr ""
264
 
265
  #: ../admin/includes/cta/mailinglist.php:3
266
- msgid "Join the Mailing List"
267
  msgstr ""
268
 
269
  #: ../admin/includes/cta/mailinglist.php:4
270
- msgid ""
271
- "Enter your email below to receive product updates delivered directly to your "
272
- "inbox."
273
  msgstr ""
274
 
275
  #: ../admin/includes/cta/mailinglist.php:10
@@ -318,6 +319,28 @@ msgstr ""
318
  msgid "WordPress Repository"
319
  msgstr ""
320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  #: ../admin/includes/cta/writeable.php:2
322
  msgid "Read/Write Access"
323
  msgstr ""
@@ -426,7 +449,7 @@ msgstr ""
426
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
427
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
428
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
429
- #: ../admin/shortcode-builder/shortcode-builder.php:385
430
  msgid "Select Taxonomy"
431
  msgstr ""
432
 
@@ -443,7 +466,7 @@ msgid "Taxonomy Operator:"
443
  msgstr ""
444
 
445
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
446
- #: ../admin/shortcode-builder/shortcode-builder.php:707
447
  msgid "Relation:"
448
  msgstr ""
449
 
@@ -453,18 +476,18 @@ msgid ""
453
  msgstr ""
454
 
455
  #: ../admin/shortcode-builder/shortcode-builder.php:1
456
- #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:12
457
  msgid "Collapse All"
458
  msgstr ""
459
 
460
  #: ../admin/shortcode-builder/shortcode-builder.php:1
461
- #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:12
462
  msgid "Expand All"
463
  msgstr ""
464
 
465
  #: ../admin/shortcode-builder/shortcode-builder.php:15
466
- #: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:39
467
- #: ../admin/views/settings.php:22
468
  msgid "Cache"
469
  msgstr ""
470
 
@@ -482,11 +505,12 @@ msgstr ""
482
  #: ../admin/shortcode-builder/shortcode-builder.php:248
483
  #: ../admin/shortcode-builder/shortcode-builder.php:302
484
  #: ../admin/shortcode-builder/shortcode-builder.php:343
485
- #: ../admin/shortcode-builder/shortcode-builder.php:418
486
- #: ../admin/shortcode-builder/shortcode-builder.php:912
487
- #: ../admin/shortcode-builder/shortcode-builder.php:937
488
- #: ../admin/shortcode-builder/shortcode-builder.php:984
489
- #: ../admin/shortcode-builder/shortcode-builder.php:1038
 
490
  msgid "True"
491
  msgstr ""
492
 
@@ -496,11 +520,12 @@ msgstr ""
496
  #: ../admin/shortcode-builder/shortcode-builder.php:252
497
  #: ../admin/shortcode-builder/shortcode-builder.php:306
498
  #: ../admin/shortcode-builder/shortcode-builder.php:347
499
- #: ../admin/shortcode-builder/shortcode-builder.php:422
500
- #: ../admin/shortcode-builder/shortcode-builder.php:916
501
- #: ../admin/shortcode-builder/shortcode-builder.php:941
502
- #: ../admin/shortcode-builder/shortcode-builder.php:988
503
- #: ../admin/shortcode-builder/shortcode-builder.php:1042
 
504
  msgid "False"
505
  msgstr ""
506
 
@@ -520,7 +545,7 @@ msgstr ""
520
 
521
  #: ../admin/shortcode-builder/shortcode-builder.php:59
522
  #: ../admin/shortcode-builder/shortcode-builder.php:62
523
- #: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:93
524
  msgid "Comments"
525
  msgstr ""
526
 
@@ -596,10 +621,14 @@ msgid "Select a repeater template that will display comment data."
596
  msgstr ""
597
 
598
  #: ../admin/shortcode-builder/shortcode-builder.php:167
599
- #: ../admin/shortcode-builder/shortcode-builder.php:1016
600
  msgid "None"
601
  msgstr ""
602
 
 
 
 
 
603
  #: ../admin/shortcode-builder/shortcode-builder.php:180
604
  msgid ""
605
  "<strong>Note</strong>: <span>None</span> will use the default WordPress "
@@ -634,8 +663,8 @@ msgid ""
634
  msgstr ""
635
 
636
  #: ../admin/shortcode-builder/shortcode-builder.php:215
637
- #: ../admin/views/add-ons.php:100 ../admin/views/licenses.php:204
638
- #: ../admin/views/settings.php:26
639
  msgid "Paging"
640
  msgstr ""
641
 
@@ -669,7 +698,7 @@ msgid ""
669
  msgstr ""
670
 
671
  #: ../admin/shortcode-builder/shortcode-builder.php:292
672
- #: ../admin/views/add-ons.php:127 ../admin/views/licenses.php:258
673
  msgid "Preloaded"
674
  msgstr ""
675
 
@@ -686,8 +715,8 @@ msgid "Enter the number of posts to preload."
686
  msgstr ""
687
 
688
  #: ../admin/shortcode-builder/shortcode-builder.php:333
689
- #: ../admin/views/add-ons.php:153 ../admin/views/licenses.php:311
690
- #: ../admin/views/settings.php:28
691
  msgid "Previous Post"
692
  msgstr ""
693
 
@@ -696,7 +725,7 @@ msgid "Enable the infinite scrolling of single posts."
696
  msgstr ""
697
 
698
  #: ../admin/shortcode-builder/shortcode-builder.php:370
699
- #: ../admin/shortcode-builder/shortcode-builder.php:647
700
  msgid "Taxonomy"
701
  msgstr ""
702
 
@@ -710,17 +739,17 @@ msgstr ""
710
  msgid "Query previous posts from the same taxonomy."
711
  msgstr ""
712
 
713
- #: ../admin/shortcode-builder/shortcode-builder.php:386
714
- #: ../admin/shortcode-builder/shortcode-builder.php:529
715
  msgid "Category"
716
  msgstr ""
717
 
718
- #: ../admin/shortcode-builder/shortcode-builder.php:387
719
- #: ../admin/shortcode-builder/shortcode-builder.php:589
720
  msgid "Tag"
721
  msgstr ""
722
 
723
- #: ../admin/shortcode-builder/shortcode-builder.php:397
724
  msgid ""
725
  "You must add the Previous Post shortcode directly to your single template "
726
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
@@ -729,388 +758,461 @@ msgid ""
729
  "target=\"_blank\">View documentation</a>"
730
  msgstr ""
731
 
732
- #: ../admin/shortcode-builder/shortcode-builder.php:408
733
  msgid "SEO (Search Engine Optimization)"
734
  msgstr ""
735
 
736
- #: ../admin/shortcode-builder/shortcode-builder.php:411
737
  msgid ""
738
  "Enable address bar URL rewrites as users page through ajax loaded content."
739
  msgstr ""
740
 
741
- #: ../admin/shortcode-builder/shortcode-builder.php:435
742
  msgid "Template"
743
  msgstr ""
744
 
745
- #: ../admin/shortcode-builder/shortcode-builder.php:439
 
746
  msgid "Repeater Template"
747
  msgstr ""
748
 
749
- #: ../admin/shortcode-builder/shortcode-builder.php:441
750
  msgid ""
751
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
752
  "\"_parent\">repeater template</a> you would like to use."
753
  msgstr ""
754
 
755
- #: ../admin/shortcode-builder/shortcode-builder.php:478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
756
  msgid "Post Types"
757
  msgstr ""
758
 
759
- #: ../admin/shortcode-builder/shortcode-builder.php:481
760
  msgid "Select Post Types to query."
761
  msgstr ""
762
 
763
- #: ../admin/shortcode-builder/shortcode-builder.php:502
764
  msgid "Post Format"
765
  msgstr ""
766
 
767
- #: ../admin/shortcode-builder/shortcode-builder.php:505
768
  msgid ""
769
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
770
  "\">Post Format</a> to query."
771
  msgstr ""
772
 
773
- #: ../admin/shortcode-builder/shortcode-builder.php:508
774
  msgid "Select Post Format"
775
  msgstr ""
776
 
777
- #: ../admin/shortcode-builder/shortcode-builder.php:509
778
  msgid "Standard"
779
  msgstr ""
780
 
781
- #: ../admin/shortcode-builder/shortcode-builder.php:533
782
  msgid ""
783
  "A comma separated list of categories to include by slug. (design, research "
784
  "etc...)"
785
  msgstr ""
786
 
787
- #: ../admin/shortcode-builder/shortcode-builder.php:535
788
- #: ../admin/shortcode-builder/shortcode-builder.php:806
789
  msgid "view example"
790
  msgstr ""
791
 
792
- #: ../admin/shortcode-builder/shortcode-builder.php:557
793
- #: ../admin/shortcode-builder/shortcode-builder.php:614
794
- #: ../admin/shortcode-builder/shortcode-builder.php:805
795
  msgid "Exclude"
796
  msgstr ""
797
 
798
- #: ../admin/shortcode-builder/shortcode-builder.php:558
799
  msgid ""
800
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
801
  msgstr ""
802
 
803
- #: ../admin/shortcode-builder/shortcode-builder.php:592
804
- #: ../admin/shortcode-builder/shortcode-builder.php:794
805
  msgid "Include"
806
  msgstr ""
807
 
808
- #: ../admin/shortcode-builder/shortcode-builder.php:593
809
  msgid ""
810
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
811
  msgstr ""
812
 
813
- #: ../admin/shortcode-builder/shortcode-builder.php:615
814
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
815
  msgstr ""
816
 
817
- #: ../admin/shortcode-builder/shortcode-builder.php:650
818
  msgid "Select a taxonomy then select the terms and an operator."
819
  msgstr ""
820
 
821
- #: ../admin/shortcode-builder/shortcode-builder.php:665
822
  msgid "Date"
823
  msgstr ""
824
 
825
- #: ../admin/shortcode-builder/shortcode-builder.php:668
826
  msgid ""
827
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
828
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
829
  msgstr ""
830
 
831
- #: ../admin/shortcode-builder/shortcode-builder.php:674
832
  msgid "Year:"
833
  msgstr ""
834
 
835
- #: ../admin/shortcode-builder/shortcode-builder.php:678
836
  msgid "Month:"
837
  msgstr ""
838
 
839
- #: ../admin/shortcode-builder/shortcode-builder.php:682
840
  msgid "Day:"
841
  msgstr ""
842
 
843
- #: ../admin/shortcode-builder/shortcode-builder.php:693
844
  msgid "Custom Fields (Meta_Query)"
845
  msgstr ""
846
 
847
- #: ../admin/shortcode-builder/shortcode-builder.php:696
848
  msgid ""
849
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
850
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
851
  "and operator."
852
  msgstr ""
853
 
854
- #: ../admin/shortcode-builder/shortcode-builder.php:707
855
  msgid ""
856
  "The logical relationship between each custom field when there is more than "
857
  "one."
858
  msgstr ""
859
 
860
- #: ../admin/shortcode-builder/shortcode-builder.php:721
861
  msgid "Add Another"
862
  msgstr ""
863
 
864
- #: ../admin/shortcode-builder/shortcode-builder.php:737
865
  msgid "Author"
866
  msgstr ""
867
 
868
- #: ../admin/shortcode-builder/shortcode-builder.php:740
869
  msgid "Select an Author to query(by ID)."
870
  msgstr ""
871
 
872
- #: ../admin/shortcode-builder/shortcode-builder.php:745
873
  msgid "Select Author"
874
  msgstr ""
875
 
876
- #: ../admin/shortcode-builder/shortcode-builder.php:761
877
  msgid "Search Term"
878
  msgstr ""
879
 
880
- #: ../admin/shortcode-builder/shortcode-builder.php:764
881
  msgid "Enter a search term to query."
882
  msgstr ""
883
 
884
- #: ../admin/shortcode-builder/shortcode-builder.php:768
885
  msgid "Enter search term"
886
  msgstr ""
887
 
888
- #: ../admin/shortcode-builder/shortcode-builder.php:776
889
  msgid "Custom Arguments"
890
  msgstr ""
891
 
892
- #: ../admin/shortcode-builder/shortcode-builder.php:779
893
  msgid ""
894
  "A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
895
  "tag_slug__and:design,development; event_display:upcoming. Default"
896
  msgstr ""
897
 
898
- #: ../admin/shortcode-builder/shortcode-builder.php:783
899
  msgid "event_display:upcoming"
900
  msgstr ""
901
 
902
- #: ../admin/shortcode-builder/shortcode-builder.php:791
903
  msgid "Post Parameters"
904
  msgstr ""
905
 
906
- #: ../admin/shortcode-builder/shortcode-builder.php:795
907
  msgid "A comma separated list of post ID's to query."
908
  msgstr ""
909
 
910
- #: ../admin/shortcode-builder/shortcode-builder.php:799
911
  msgid "225, 340, 818, etc..."
912
  msgstr ""
913
 
914
- #: ../admin/shortcode-builder/shortcode-builder.php:806
915
  msgid "A comma separated list of post ID's to exclude from query."
916
  msgstr ""
917
 
918
- #: ../admin/shortcode-builder/shortcode-builder.php:818
919
  msgid "Post Status"
920
  msgstr ""
921
 
922
- #: ../admin/shortcode-builder/shortcode-builder.php:821
923
  msgid "Select status of the post."
924
  msgstr ""
925
 
926
- #: ../admin/shortcode-builder/shortcode-builder.php:826
927
  msgid "Published"
928
  msgstr ""
929
 
930
- #: ../admin/shortcode-builder/shortcode-builder.php:840
931
  msgid "Ordering"
932
  msgstr ""
933
 
934
- #: ../admin/shortcode-builder/shortcode-builder.php:843
935
  msgid "Sort posts by Order and Orderby parameters."
936
  msgstr ""
937
 
938
- #: ../admin/shortcode-builder/shortcode-builder.php:847
939
  msgid "Order"
940
  msgstr ""
941
 
942
- #: ../admin/shortcode-builder/shortcode-builder.php:854
943
  msgid "Order By"
944
  msgstr ""
945
 
946
- #: ../admin/shortcode-builder/shortcode-builder.php:872
947
  msgid "Offset"
948
  msgstr ""
949
 
950
- #: ../admin/shortcode-builder/shortcode-builder.php:875
951
  msgid "Offset the initial query by <em>'n'</em> number of posts"
952
  msgstr ""
953
 
954
- #: ../admin/shortcode-builder/shortcode-builder.php:887
955
  msgid "Posts Per Page"
956
  msgstr ""
957
 
958
- #: ../admin/shortcode-builder/shortcode-builder.php:890
959
  msgid "Select the number of posts to load with each request."
960
  msgstr ""
961
 
962
- #: ../admin/shortcode-builder/shortcode-builder.php:902
963
  msgid "Pause"
964
  msgstr ""
965
 
966
- #: ../admin/shortcode-builder/shortcode-builder.php:905
967
  msgid ""
968
  "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
969
  msgstr ""
970
 
971
- #: ../admin/shortcode-builder/shortcode-builder.php:926
972
  msgid "Scrolling"
973
  msgstr ""
974
 
975
- #: ../admin/shortcode-builder/shortcode-builder.php:929
976
  msgid "Enable Scrolling"
977
  msgstr ""
978
 
979
- #: ../admin/shortcode-builder/shortcode-builder.php:930
980
  msgid "Load more posts as the user scrolls the page."
981
  msgstr ""
982
 
983
- #: ../admin/shortcode-builder/shortcode-builder.php:951
984
  msgid "Scroll Distance"
985
  msgstr ""
986
 
987
- #: ../admin/shortcode-builder/shortcode-builder.php:951
988
  msgid ""
989
  "Distance is based on the position of the loading button from the bottom of "
990
  "the screen"
991
  msgstr ""
992
 
993
- #: ../admin/shortcode-builder/shortcode-builder.php:952
994
  msgid ""
995
  "The distance from the bottom of the screen to trigger loading of posts. "
996
  "(Default = 150)"
997
  msgstr ""
998
 
999
- #: ../admin/shortcode-builder/shortcode-builder.php:964
1000
  msgid "Maximum Pages"
1001
  msgstr ""
1002
 
1003
- #: ../admin/shortcode-builder/shortcode-builder.php:964
1004
  msgid "If using an Infinite Scroll button style you should set this to 0"
1005
  msgstr ""
1006
 
1007
- #: ../admin/shortcode-builder/shortcode-builder.php:965
1008
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1009
  msgstr ""
1010
 
1011
- #: ../admin/shortcode-builder/shortcode-builder.php:977
1012
  msgid "Pause Override"
1013
  msgstr ""
1014
 
1015
- #: ../admin/shortcode-builder/shortcode-builder.php:978
1016
  msgid ""
1017
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1018
  "posts on scroll."
1019
  msgstr ""
1020
 
1021
- #: ../admin/shortcode-builder/shortcode-builder.php:998
1022
  msgid "Transition"
1023
  msgstr ""
1024
 
1025
- #: ../admin/shortcode-builder/shortcode-builder.php:1001
1026
- msgid "Select a loading transition."
1027
  msgstr ""
1028
 
1029
- #: ../admin/shortcode-builder/shortcode-builder.php:1008
 
 
 
 
1030
  msgid "Slide"
1031
  msgstr ""
1032
 
1033
- #: ../admin/shortcode-builder/shortcode-builder.php:1012
1034
  msgid "Fade"
1035
  msgstr ""
1036
 
1037
- #: ../admin/shortcode-builder/shortcode-builder.php:1026
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1038
  msgid "Images Loaded"
1039
  msgstr ""
1040
 
1041
- #: ../admin/shortcode-builder/shortcode-builder.php:1029
1042
  msgid "Wait for all images to load before displaying ajax loaded content"
1043
  msgstr ""
1044
 
1045
- #: ../admin/shortcode-builder/shortcode-builder.php:1030
1046
  msgid "Background images are currently not supported"
1047
  msgstr ""
1048
 
1049
- #: ../admin/shortcode-builder/shortcode-builder.php:1052
1050
  msgid "Destroy After"
1051
  msgstr ""
1052
 
1053
- #: ../admin/shortcode-builder/shortcode-builder.php:1055
1054
  msgid ""
1055
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1056
  "been loaded."
1057
  msgstr ""
1058
 
1059
- #: ../admin/shortcode-builder/shortcode-builder.php:1067
1060
  msgid "Button Labels"
1061
  msgstr ""
1062
 
1063
- #: ../admin/shortcode-builder/shortcode-builder.php:1072
1064
  msgid "Button Label"
1065
  msgstr ""
1066
 
1067
- #: ../admin/shortcode-builder/shortcode-builder.php:1073
1068
  msgid "Customize the text of the <em>Load More</em> button."
1069
  msgstr ""
1070
 
1071
- #: ../admin/shortcode-builder/shortcode-builder.php:1077
1072
- #: ../ajax-load-more.php:323
1073
  msgid "Older Posts"
1074
  msgstr ""
1075
 
1076
- #: ../admin/shortcode-builder/shortcode-builder.php:1085
1077
  msgid "Button Loading Label"
1078
  msgstr ""
1079
 
1080
- #: ../admin/shortcode-builder/shortcode-builder.php:1085
1081
  msgid "Leave field empty to not update text while loading content"
1082
  msgstr ""
1083
 
1084
- #: ../admin/shortcode-builder/shortcode-builder.php:1086
1085
  msgid ""
1086
  "Update the text of the <em>Load More</em> button while content is loading."
1087
  msgstr ""
1088
 
1089
- #: ../admin/shortcode-builder/shortcode-builder.php:1090
1090
  msgid "Loading Posts..."
1091
  msgstr ""
1092
 
1093
- #: ../admin/shortcode-builder/shortcode-builder.php:1099
1094
  msgid "Container Options"
1095
  msgstr ""
1096
 
1097
- #: ../admin/shortcode-builder/shortcode-builder.php:1103
1098
  msgid ""
1099
  "You can define a global container type on the Ajax Load More settings screen"
1100
  msgstr ""
1101
 
1102
- #: ../admin/shortcode-builder/shortcode-builder.php:1104
1103
  msgid ""
1104
  "Override the global Container Type that was set on <a href=\"admin.php?"
1105
  "page=ajax-load-more\">ALM Settings page</a>."
1106
  msgstr ""
1107
 
1108
- #: ../admin/shortcode-builder/shortcode-builder.php:1123
1109
  msgid ""
1110
  "You can define global container classes on the Ajax Load More settings screen"
1111
  msgstr ""
1112
 
1113
- #: ../admin/shortcode-builder/shortcode-builder.php:1124
1114
  msgid ""
1115
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1116
  "portfolio-listing large-12 etc"
@@ -1146,7 +1248,7 @@ msgid ""
1146
  "infinite scroll functionality."
1147
  msgstr ""
1148
 
1149
- #: ../admin/views/add-ons.php:70 ../admin/views/licenses.php:148
1150
  msgid "Custom Repeaters"
1151
  msgstr ""
1152
 
@@ -1160,78 +1262,89 @@ msgid ""
1160
  "absolutely zero restrictions."
1161
  msgstr ""
1162
 
1163
- #: ../admin/views/add-ons.php:101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1164
  msgid "Extend Ajax Load More with a numbered navigation."
1165
  msgstr ""
1166
 
1167
- #: ../admin/views/add-ons.php:102
1168
  msgid ""
1169
  "The Paging add-on will transform the default infinite scroll functionality "
1170
  "into a robust ajax powered navigation system."
1171
  msgstr ""
1172
 
1173
- #: ../admin/views/add-ons.php:128
1174
  msgid "Load an initial set of posts before making Ajax requests to the server."
1175
  msgstr ""
1176
 
1177
- #: ../admin/views/add-ons.php:129
1178
  msgid ""
1179
  "The Preloaded add-on will display content quicker and allow caching of the "
1180
  "initial query which can reduce stress on your server."
1181
  msgstr ""
1182
 
1183
- #: ../admin/views/add-ons.php:154
1184
  msgid "An extension to enable infinite scrolling of single posts."
1185
  msgstr ""
1186
 
1187
- #: ../admin/views/add-ons.php:155
1188
  msgid ""
1189
  "The Previous Post add-on will load single posts as you scroll and update the "
1190
  "browser URL to the current post."
1191
  msgstr ""
1192
 
1193
- #: ../admin/views/add-ons.php:179 ../admin/views/licenses.php:366
1194
  msgid "Search Engine Optimization"
1195
  msgstr ""
1196
 
1197
- #: ../admin/views/add-ons.php:180
1198
  msgid "Generate unique paging URLs with every Ajax Load More query."
1199
  msgstr ""
1200
 
1201
- #: ../admin/views/add-ons.php:181
1202
  msgid ""
1203
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1204
  "generating unique URLs with every query.</p>"
1205
  msgstr ""
1206
 
1207
- #: ../admin/views/add-ons.php:205 ../admin/views/licenses.php:423
1208
- #: ../admin/views/settings.php:32
1209
  msgid "Theme Repeaters"
1210
  msgstr ""
1211
 
1212
- #: ../admin/views/add-ons.php:206
1213
  msgid "Manage repeater templates within your current theme directory."
1214
  msgstr ""
1215
 
1216
- #: ../admin/views/add-ons.php:207
1217
  msgid ""
1218
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1219
  "from your current theme directory.</p>"
1220
  msgstr ""
1221
 
1222
- #: ../admin/views/add-ons.php:233
1223
- msgid "Layouts"
1224
- msgstr ""
1225
-
1226
- #: ../admin/views/add-ons.php:234
1227
  msgid "Extend Ajax Load More with predefined responsive layouts."
1228
  msgstr ""
1229
 
1230
- #: ../admin/views/add-ons.php:235
1231
  msgid "Boost the look of your theme with a library of mobile ready layouts."
1232
  msgstr ""
1233
 
1234
- #: ../admin/views/add-ons.php:252
1235
  msgid ""
1236
  "All add-ons are installed as stand alone plugins and with a valid license "
1237
  "key will receive plugin update notifications directly within the <a href="
@@ -1298,6 +1411,14 @@ msgstr ""
1298
  msgid "Back to Top"
1299
  msgstr ""
1300
 
 
 
 
 
 
 
 
 
1301
  #: ../admin/views/licenses.php:4
1302
  msgid "Licenses"
1303
  msgstr ""
@@ -1319,61 +1440,65 @@ msgid ""
1319
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1320
  msgstr ""
1321
 
1322
- #: ../admin/views/licenses.php:45 ../admin/views/licenses.php:47
1323
- #: ../admin/views/licenses.php:99 ../admin/views/licenses.php:101
1324
- #: ../admin/views/licenses.php:154 ../admin/views/licenses.php:156
1325
  #: ../admin/views/licenses.php:210 ../admin/views/licenses.php:212
1326
- #: ../admin/views/licenses.php:264 ../admin/views/licenses.php:266
1327
- #: ../admin/views/licenses.php:317 ../admin/views/licenses.php:319
1328
- #: ../admin/views/licenses.php:372 ../admin/views/licenses.php:374
1329
  #: ../admin/views/licenses.php:429 ../admin/views/licenses.php:431
 
 
1330
  msgid "Enter License Key"
1331
  msgstr ""
1332
 
1333
- #: ../admin/views/licenses.php:67 ../admin/views/licenses.php:121
1334
- #: ../admin/views/licenses.php:176 ../admin/views/licenses.php:232
1335
- #: ../admin/views/licenses.php:285 ../admin/views/licenses.php:339
1336
- #: ../admin/views/licenses.php:394 ../admin/views/licenses.php:452
 
1337
  msgid "Activate License"
1338
  msgstr ""
1339
 
1340
- #: ../admin/views/licenses.php:71 ../admin/views/licenses.php:125
1341
- #: ../admin/views/licenses.php:180 ../admin/views/licenses.php:236
1342
- #: ../admin/views/licenses.php:289 ../admin/views/licenses.php:343
1343
- #: ../admin/views/licenses.php:398 ../admin/views/licenses.php:456
 
1344
  msgid "Deactivate License"
1345
  msgstr ""
1346
 
1347
- #: ../admin/views/licenses.php:474
1348
  msgid "You do not have any Ajax Load More add-ons installed"
1349
  msgstr ""
1350
 
1351
- #: ../admin/views/licenses.php:474
1352
  msgid "Browse Add-ons"
1353
  msgstr ""
1354
 
1355
- #: ../admin/views/licenses.php:485
1356
  msgid "About Licenses"
1357
  msgstr ""
1358
 
1359
- #: ../admin/views/licenses.php:488
1360
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1361
  msgstr ""
1362
 
1363
- #: ../admin/views/licenses.php:489
1364
  msgid ""
1365
  "License keys are found in the purchase receipt email that was sent "
1366
  "immediately after your successful purchase."
1367
  msgstr ""
1368
 
1369
- #: ../admin/views/licenses.php:490
1370
  msgid ""
1371
  "If you cannot locate your key please use the <a href=\"https://connekthq.com/"
1372
  "contact/\">contact form</a> on our website and reference the email address "
1373
  "used when you completed the purchase."
1374
  msgstr ""
1375
 
1376
- #: ../admin/views/licenses.php:495
1377
  msgid "Legacy Users"
1378
  msgstr ""
1379
 
@@ -1385,64 +1510,60 @@ msgstr ""
1385
  msgid "The library of editable templates for use within your theme"
1386
  msgstr ""
1387
 
1388
- #: ../admin/views/repeater-templates.php:33
1389
  msgid "Default Template"
1390
  msgstr ""
1391
 
1392
- #: ../admin/views/repeater-templates.php:37
1393
  msgid "Enter the HTML and PHP code for the default template"
1394
  msgstr ""
1395
 
1396
- #: ../admin/views/repeater-templates.php:55
1397
  msgid "Save Template"
1398
  msgstr ""
1399
 
1400
- #: ../admin/views/repeater-templates.php:121
1401
  msgid "Saving template..."
1402
  msgstr ""
1403
 
1404
- #: ../admin/views/repeater-templates.php:153
1405
  msgid "Something went wrong and the data could not be saved."
1406
  msgstr ""
1407
 
1408
- #: ../admin/views/repeater-templates.php:190
1409
  msgid "Updating template..."
1410
  msgstr ""
1411
 
1412
- #: ../admin/views/repeater-templates.php:211
1413
- msgid "Template Updated"
1414
- msgstr ""
1415
-
1416
- #: ../admin/views/repeater-templates.php:241
1417
  msgid "Templating Help"
1418
  msgstr ""
1419
 
1420
- #: ../admin/views/repeater-templates.php:243
1421
  msgid "What is a repeater template?"
1422
  msgstr ""
1423
 
1424
- #: ../admin/views/repeater-templates.php:244
1425
  msgid ""
1426
  "A repeater template is a snippet of code that will execute over and over "
1427
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
1428
  "\">WordPress loop</a>.</p>"
1429
  msgstr ""
1430
 
1431
- #: ../admin/views/repeater-templates.php:247
1432
  msgid "Can I include PHP in the repeater template?"
1433
  msgstr ""
1434
 
1435
- #: ../admin/views/repeater-templates.php:248
1436
  msgid ""
1437
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
1438
  "<code>the_permalink()</code> are required.</p>"
1439
  msgstr ""
1440
 
1441
- #: ../admin/views/repeater-templates.php:251
1442
  msgid "Tips and Tricks"
1443
  msgstr ""
1444
 
1445
- #: ../admin/views/repeater-templates.php:253
1446
  msgid ""
1447
  "Always open and close your templates with an HTML element. In some rare "
1448
  "cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;"
@@ -1457,19 +1578,40 @@ msgstr ""
1457
  msgid "Ajax Load More settings have been saved."
1458
  msgstr ""
1459
 
1460
- #: ../admin/views/settings.php:18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1461
  msgid "Global Settings"
1462
  msgstr ""
1463
 
1464
- #: ../admin/views/settings.php:19
1465
  msgid "Admin"
1466
  msgstr ""
1467
 
1468
- #: ../admin/views/settings.php:30
1469
  msgid "SEO"
1470
  msgstr ""
1471
 
1472
- #: ../admin/views/settings.php:60
1473
  msgid "Sorry, settings could not be saved."
1474
  msgstr ""
1475
 
@@ -1497,11 +1639,11 @@ msgstr ""
1497
  msgid "Clear all Shortcode Builder settings"
1498
  msgstr ""
1499
 
1500
- #: ../ajax-load-more.php:182
1501
  msgid "Settings"
1502
  msgstr ""
1503
 
1504
- #: ../core/functions.php:376
1505
  msgid "Pages:"
1506
  msgstr ""
1507
 
@@ -1568,8 +1710,5 @@ msgstr ""
1568
  #~ "Sélectionnez votre province et votre ville pour trouver un groupe de "
1569
  #~ "soutien"
1570
 
1571
- #~ msgid "-- Select Province --"
1572
- #~ msgstr "Sélectionnez province"
1573
-
1574
  #~ msgid "Filter"
1575
  #~ msgstr "Filtrer"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
+ "POT-Creation-Date: 2016-02-16 10:13-0500\n"
5
+ "PO-Revision-Date: 2016-02-16 10:13-0500\n"
6
  "Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
+ #: ../admin/admin.php:117 ../admin/admin.php:674 ../admin/admin.php:718
19
+ #: ../admin/admin.php:768
20
  msgid "You don't belong here."
21
  msgstr ""
22
 
23
+ #: ../admin/admin.php:147 ../admin/editor/editor-build.php:67
24
+ #: ../admin/views/licenses.php:51 ../admin/views/licenses.php:106
25
+ #: ../admin/views/licenses.php:160 ../admin/views/licenses.php:215
26
+ #: ../admin/views/licenses.php:271 ../admin/views/licenses.php:327
27
+ #: ../admin/views/licenses.php:381 ../admin/views/licenses.php:434
28
+ #: ../admin/views/licenses.php:489 ../admin/views/licenses.php:546
29
  msgid "Active"
30
  msgstr ""
31
 
32
+ #: ../admin/admin.php:148 ../admin/editor/editor-build.php:68
33
+ #: ../admin/views/licenses.php:55 ../admin/views/licenses.php:110
34
+ #: ../admin/views/licenses.php:164 ../admin/views/licenses.php:219
35
+ #: ../admin/views/licenses.php:275 ../admin/views/licenses.php:331
36
+ #: ../admin/views/licenses.php:385 ../admin/views/licenses.php:438
37
+ #: ../admin/views/licenses.php:493 ../admin/views/licenses.php:550
38
  msgid "Inactive"
39
  msgstr ""
40
 
41
+ #: ../admin/admin.php:149
42
+ msgid "Applying layout"
43
+ msgstr ""
44
+
45
+ #: ../admin/admin.php:150 ../admin/views/repeater-templates.php:220
46
+ msgid "Template Updated"
47
+ msgstr ""
48
+
49
+ #: ../admin/admin.php:259
50
  msgid ""
51
  "[Ajax Load More] Error opening default repeater template - Please check your "
52
  "file path and ensure your server is configured to allow Ajax Load More to "
53
  "read and write files within the /ajax-load-more/core/repeater directory"
54
  msgstr ""
55
 
56
+ #: ../admin/admin.php:263
57
  msgid ""
58
  "[Ajax Load More] Error updating default repeater template - Please check "
59
  "your file path and ensure your server is configured to allow Ajax Load More "
60
  "to read and write files within the /ajax-load-more/core/repeater directory."
61
  msgstr ""
62
 
63
+ #: ../admin/admin.php:632
64
  msgid "[Ajax Load More] Unable to open repeater template - "
65
  msgstr ""
66
 
67
+ #: ../admin/admin.php:636
68
  msgid "[Ajax Load More] Error saving repeater template - "
69
  msgstr ""
70
 
71
+ #: ../admin/admin.php:669
72
  msgid "Error Writing File"
73
  msgstr ""
74
 
75
+ #: ../admin/admin.php:854
76
+ #: ../admin/shortcode-builder/shortcode-builder.php:1229
77
  msgid "Container Type"
78
  msgstr ""
79
 
80
+ #: ../admin/admin.php:862
81
+ #: ../admin/shortcode-builder/shortcode-builder.php:1253
82
  msgid "Container Classes"
83
  msgstr ""
84
 
85
+ #: ../admin/admin.php:870
86
  msgid "Disable CSS"
87
  msgstr ""
88
 
89
+ #: ../admin/admin.php:878
90
  msgid "Button/Loading Style"
91
  msgstr ""
92
 
93
+ #: ../admin/admin.php:886
94
  msgid "Button Classes"
95
  msgstr ""
96
 
97
+ #: ../admin/admin.php:894
98
  msgid "Ajax Security"
99
  msgstr ""
100
 
101
+ #: ../admin/admin.php:902
102
  msgid "Top of Page"
103
  msgstr ""
104
 
105
+ #: ../admin/admin.php:910
106
  msgid "Dynamic Content"
107
  msgstr ""
108
 
109
+ #: ../admin/admin.php:918
110
  msgid "Editor Button"
111
  msgstr ""
112
 
113
+ #: ../admin/admin.php:926
114
  msgid "Error Notices"
115
  msgstr ""
116
 
117
+ #: ../admin/admin.php:991
118
  msgid ""
119
  "Customize the user experience of Ajax Load More by updating the fields below."
120
  msgstr ""
121
 
122
+ #: ../admin/admin.php:1004
123
  msgid "The following settings affect the WordPress admin area only."
124
  msgstr ""
125
 
126
+ #: ../admin/admin.php:1035
127
  msgid "I want to use my own CSS styles."
128
  msgstr ""
129
 
130
+ #: ../admin/admin.php:1035
131
  msgid "View Ajax Load More CSS"
132
  msgstr ""
133
 
134
+ #: ../admin/admin.php:1055
135
  msgid "Hide shortcode button in WYSIWYG editor."
136
  msgstr ""
137
 
138
+ #: ../admin/admin.php:1076
139
  msgid ""
140
  "Display error messaging regarding repeater template updates in the browser "
141
  "console."
142
  msgstr ""
143
 
144
+ #: ../admin/admin.php:1097
145
  msgid ""
146
  "Disable dynamic population of categories, tags and authors in the Shortcode "
147
  "Builder.<span style=\"display:block\">Recommended if you have an "
148
  "extraordinary number of categories, tags and/or authors."
149
  msgstr ""
150
 
151
+ #: ../admin/admin.php:1118 ../admin/admin.php:1121
152
  msgid "Ajax Posts Here"
153
  msgstr ""
154
 
155
+ #: ../admin/admin.php:1123
156
  msgid "You can modify the container type when building a shortcode."
157
  msgstr ""
158
 
159
+ #: ../admin/admin.php:1140
160
  msgid ""
161
  "Add classes to Ajax Load More container - classes are applied globally and "
162
  "will appear with every instance of Ajax Load More. <span style=\"display:"
163
  "block\">You can also add classes when building a shortcode.</span>"
164
  msgstr ""
165
 
166
+ #: ../admin/admin.php:1202
167
  msgid ""
168
  "Select an Ajax loading style - you can choose between a <strong>button</"
169
  "strong> or <strong>infinite scroll</strong>"
170
  msgstr ""
171
 
172
+ #: ../admin/admin.php:1225
173
  msgid "Preview"
174
  msgstr ""
175
 
176
+ #: ../admin/admin.php:1244
177
  msgid "Add classes to your <strong>Load More</strong> button"
178
  msgstr ""
179
 
180
+ #: ../admin/admin.php:1287
181
  msgid ""
182
  "On initial page load, move the user's browser window to the top of the "
183
  "screen.<span style=\"display:block\">This <u>may</u> help prevent the "
184
  "loading of unnecessary posts.</span>"
185
  msgstr ""
186
 
187
+ #: ../admin/admin.php:1308
188
  msgid ""
189
  "Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
190
  "\"_blank\">WP nonce</a> verification to help protect URLs against certain "
191
  "types of misuse, malicious or otherwise on each Ajax Load More query."
192
  msgstr ""
193
 
194
+ #: ../admin/editor/editor-build.php:42
195
  msgid "Jump to Option"
196
  msgstr ""
197
 
198
+ #: ../admin/editor/editor-build.php:46
199
  msgid ""
200
  "Create your own Ajax Load More shortcode by adjusting the parameters below:"
201
  msgstr ""
202
 
203
+ #: ../admin/editor/editor-build.php:53
204
  msgid "Insert Shortcode"
205
  msgstr ""
206
 
207
+ #: ../admin/editor/editor-build.php:56 ../admin/views/shortcode-builder.php:27
208
  msgid "Copy"
209
  msgstr ""
210
 
216
  msgid "Apply Layout"
217
  msgstr ""
218
 
219
+ #: ../admin/includes/components/layout-list.php:13
220
+ msgid "Default Layout"
 
221
  msgstr ""
222
 
223
+ #: ../admin/includes/components/layout-list.php:19
224
  msgid ""
225
  "Unlock additional layout templates with the <strong>Layouts add-on</strong>"
226
  msgstr ""
253
  msgid "Did you know?"
254
  msgstr ""
255
 
 
 
 
 
 
 
 
 
256
  #: ../admin/includes/cta/extend.php:1
257
  msgid ""
258
+ "Unlock additional templates with the <a href=\"https://connekthq.com/plugins/"
259
+ "ajax-load-more/add-ons/custom-repeaters/?utm_source=WP"
260
+ "%20Admin&utm_medium=CustomRepeaters%20Extend&utm_campaign=Custom%20Repeaters"
261
  "\" target=\"_parent\">Custom Repeaters add-on</a>"
262
  msgstr ""
263
 
266
  msgstr ""
267
 
268
  #: ../admin/includes/cta/mailinglist.php:3
269
+ msgid "Join our mailing list"
270
  msgstr ""
271
 
272
  #: ../admin/includes/cta/mailinglist.php:4
273
+ msgid "Get product updates delivered directly to your inbox."
 
 
274
  msgstr ""
275
 
276
  #: ../admin/includes/cta/mailinglist.php:10
319
  msgid "WordPress Repository"
320
  msgstr ""
321
 
322
+ #: ../admin/includes/cta/reviews.php:1
323
+ msgid "Leave a Review"
324
+ msgstr ""
325
+
326
+ #: ../admin/includes/cta/reviews.php:2
327
+ msgid ""
328
+ "Good <em>or</em> bad - all reviews will help the plugin push forward and "
329
+ "grow."
330
+ msgstr ""
331
+
332
+ #: ../admin/includes/cta/reviews.php:4
333
+ msgid "Write a Review"
334
+ msgstr ""
335
+
336
+ #: ../admin/includes/cta/sharing.php:1
337
+ msgid "Share Ajax Load More"
338
+ msgstr ""
339
+
340
+ #: ../admin/includes/cta/sharing.php:2
341
+ msgid "Use the links below to share with your friends on Twitter and Facebook."
342
+ msgstr ""
343
+
344
  #: ../admin/includes/cta/writeable.php:2
345
  msgid "Read/Write Access"
346
  msgstr ""
449
  #: ../admin/shortcode-builder/includes/tax-query-options.php:5
450
  #: ../admin/shortcode-builder/includes/tax-query-options.php:50
451
  #: ../admin/shortcode-builder/includes/tax-query-options.php:81
452
+ #: ../admin/shortcode-builder/shortcode-builder.php:384
453
  msgid "Select Taxonomy"
454
  msgstr ""
455
 
466
  msgstr ""
467
 
468
  #: ../admin/shortcode-builder/includes/tax-query-options.php:36
469
+ #: ../admin/shortcode-builder/shortcode-builder.php:815
470
  msgid "Relation:"
471
  msgstr ""
472
 
476
  msgstr ""
477
 
478
  #: ../admin/shortcode-builder/shortcode-builder.php:1
479
+ #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:14
480
  msgid "Collapse All"
481
  msgstr ""
482
 
483
  #: ../admin/shortcode-builder/shortcode-builder.php:1
484
+ #: ../admin/views/examples.php:9 ../admin/views/repeater-templates.php:15
485
  msgid "Expand All"
486
  msgstr ""
487
 
488
  #: ../admin/shortcode-builder/shortcode-builder.php:15
489
+ #: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:95
490
+ #: ../admin/views/settings.php:51
491
  msgid "Cache"
492
  msgstr ""
493
 
505
  #: ../admin/shortcode-builder/shortcode-builder.php:248
506
  #: ../admin/shortcode-builder/shortcode-builder.php:302
507
  #: ../admin/shortcode-builder/shortcode-builder.php:343
508
+ #: ../admin/shortcode-builder/shortcode-builder.php:421
509
+ #: ../admin/shortcode-builder/shortcode-builder.php:492
510
+ #: ../admin/shortcode-builder/shortcode-builder.php:1021
511
+ #: ../admin/shortcode-builder/shortcode-builder.php:1046
512
+ #: ../admin/shortcode-builder/shortcode-builder.php:1093
513
+ #: ../admin/shortcode-builder/shortcode-builder.php:1164
514
  msgid "True"
515
  msgstr ""
516
 
520
  #: ../admin/shortcode-builder/shortcode-builder.php:252
521
  #: ../admin/shortcode-builder/shortcode-builder.php:306
522
  #: ../admin/shortcode-builder/shortcode-builder.php:347
523
+ #: ../admin/shortcode-builder/shortcode-builder.php:425
524
+ #: ../admin/shortcode-builder/shortcode-builder.php:496
525
+ #: ../admin/shortcode-builder/shortcode-builder.php:1025
526
+ #: ../admin/shortcode-builder/shortcode-builder.php:1050
527
+ #: ../admin/shortcode-builder/shortcode-builder.php:1097
528
+ #: ../admin/shortcode-builder/shortcode-builder.php:1168
529
  msgid "False"
530
  msgstr ""
531
 
545
 
546
  #: ../admin/shortcode-builder/shortcode-builder.php:59
547
  #: ../admin/shortcode-builder/shortcode-builder.php:62
548
+ #: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:149
549
  msgid "Comments"
550
  msgstr ""
551
 
621
  msgstr ""
622
 
623
  #: ../admin/shortcode-builder/shortcode-builder.php:167
624
+ #: ../admin/shortcode-builder/shortcode-builder.php:1126
625
  msgid "None"
626
  msgstr ""
627
 
628
+ #: ../admin/shortcode-builder/shortcode-builder.php:168
629
+ msgid "Default"
630
+ msgstr ""
631
+
632
  #: ../admin/shortcode-builder/shortcode-builder.php:180
633
  msgid ""
634
  "<strong>Note</strong>: <span>None</span> will use the default WordPress "
663
  msgstr ""
664
 
665
  #: ../admin/shortcode-builder/shortcode-builder.php:215
666
+ #: ../admin/views/add-ons.php:124 ../admin/views/licenses.php:316
667
+ #: ../admin/views/settings.php:55
668
  msgid "Paging"
669
  msgstr ""
670
 
698
  msgstr ""
699
 
700
  #: ../admin/shortcode-builder/shortcode-builder.php:292
701
+ #: ../admin/views/add-ons.php:151 ../admin/views/licenses.php:370
702
  msgid "Preloaded"
703
  msgstr ""
704
 
715
  msgstr ""
716
 
717
  #: ../admin/shortcode-builder/shortcode-builder.php:333
718
+ #: ../admin/views/add-ons.php:177 ../admin/views/licenses.php:423
719
+ #: ../admin/views/settings.php:57
720
  msgid "Previous Post"
721
  msgstr ""
722
 
725
  msgstr ""
726
 
727
  #: ../admin/shortcode-builder/shortcode-builder.php:370
728
+ #: ../admin/shortcode-builder/shortcode-builder.php:755
729
  msgid "Taxonomy"
730
  msgstr ""
731
 
739
  msgid "Query previous posts from the same taxonomy."
740
  msgstr ""
741
 
742
+ #: ../admin/shortcode-builder/shortcode-builder.php:385
743
+ #: ../admin/shortcode-builder/shortcode-builder.php:637
744
  msgid "Category"
745
  msgstr ""
746
 
747
+ #: ../admin/shortcode-builder/shortcode-builder.php:386
748
+ #: ../admin/shortcode-builder/shortcode-builder.php:697
749
  msgid "Tag"
750
  msgstr ""
751
 
752
+ #: ../admin/shortcode-builder/shortcode-builder.php:400
753
  msgid ""
754
  "You must add the Previous Post shortcode directly to your single template "
755
  "file using the <a href=\"https://developer.wordpress.org/reference/functions/"
758
  "target=\"_blank\">View documentation</a>"
759
  msgstr ""
760
 
761
+ #: ../admin/shortcode-builder/shortcode-builder.php:411
762
  msgid "SEO (Search Engine Optimization)"
763
  msgstr ""
764
 
765
+ #: ../admin/shortcode-builder/shortcode-builder.php:414
766
  msgid ""
767
  "Enable address bar URL rewrites as users page through ajax loaded content."
768
  msgstr ""
769
 
770
+ #: ../admin/shortcode-builder/shortcode-builder.php:438
771
  msgid "Template"
772
  msgstr ""
773
 
774
+ #: ../admin/shortcode-builder/shortcode-builder.php:442
775
+ #: ../admin/shortcode-builder/shortcode-builder.php:543
776
  msgid "Repeater Template"
777
  msgstr ""
778
 
779
+ #: ../admin/shortcode-builder/shortcode-builder.php:444
780
  msgid ""
781
  "Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
782
  "\"_parent\">repeater template</a> you would like to use."
783
  msgstr ""
784
 
785
+ #: ../admin/shortcode-builder/shortcode-builder.php:481
786
+ #: ../admin/views/licenses.php:40
787
+ msgid "Alternating Templates"
788
+ msgstr ""
789
+
790
+ #: ../admin/shortcode-builder/shortcode-builder.php:485
791
+ msgid ""
792
+ "Select an alternate repeater template to be display every <em>x</em> number "
793
+ "of posts."
794
+ msgstr ""
795
+
796
+ #: ../admin/shortcode-builder/shortcode-builder.php:509
797
+ msgid "Template Sequencing"
798
+ msgstr ""
799
+
800
+ #: ../admin/shortcode-builder/shortcode-builder.php:510
801
+ msgid ""
802
+ "A comma separated list of post position values. Posts in these positions "
803
+ "will be replaced by the alternate template"
804
+ msgstr ""
805
+
806
+ #: ../admin/shortcode-builder/shortcode-builder.php:511
807
+ msgid "Pro-Tip"
808
+ msgstr ""
809
+
810
+ #: ../admin/shortcode-builder/shortcode-builder.php:512
811
+ msgid ""
812
+ "Use sequence \"even\" to use an alternate template for every even result"
813
+ msgstr ""
814
+
815
+ #: ../admin/shortcode-builder/shortcode-builder.php:525
816
+ msgid "Sequence Loop"
817
+ msgstr ""
818
+
819
+ #: ../admin/shortcode-builder/shortcode-builder.php:527
820
+ msgid ""
821
+ "Select the maximum number of loops to repeat alternate template sequence."
822
+ msgstr ""
823
+
824
+ #: ../admin/shortcode-builder/shortcode-builder.php:528
825
+ msgid "0 = no maximum"
826
+ msgstr ""
827
+
828
+ #: ../admin/shortcode-builder/shortcode-builder.php:545
829
+ msgid ""
830
+ "Select an alternate <a href=\"admin.php?page=ajax-load-more-repeaters\" "
831
+ "target=\"_parent\">repeater template</a>."
832
+ msgstr ""
833
+
834
+ #: ../admin/shortcode-builder/shortcode-builder.php:552
835
+ #, fuzzy
836
+ msgid "-- Select Repeater --"
837
+ msgstr "Sélectionnez province"
838
+
839
+ #: ../admin/shortcode-builder/shortcode-builder.php:586
840
  msgid "Post Types"
841
  msgstr ""
842
 
843
+ #: ../admin/shortcode-builder/shortcode-builder.php:589
844
  msgid "Select Post Types to query."
845
  msgstr ""
846
 
847
+ #: ../admin/shortcode-builder/shortcode-builder.php:610
848
  msgid "Post Format"
849
  msgstr ""
850
 
851
+ #: ../admin/shortcode-builder/shortcode-builder.php:613
852
  msgid ""
853
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
854
  "\">Post Format</a> to query."
855
  msgstr ""
856
 
857
+ #: ../admin/shortcode-builder/shortcode-builder.php:616
858
  msgid "Select Post Format"
859
  msgstr ""
860
 
861
+ #: ../admin/shortcode-builder/shortcode-builder.php:617
862
  msgid "Standard"
863
  msgstr ""
864
 
865
+ #: ../admin/shortcode-builder/shortcode-builder.php:641
866
  msgid ""
867
  "A comma separated list of categories to include by slug. (design, research "
868
  "etc...)"
869
  msgstr ""
870
 
871
+ #: ../admin/shortcode-builder/shortcode-builder.php:643
872
+ #: ../admin/shortcode-builder/shortcode-builder.php:914
873
  msgid "view example"
874
  msgstr ""
875
 
876
+ #: ../admin/shortcode-builder/shortcode-builder.php:665
877
+ #: ../admin/shortcode-builder/shortcode-builder.php:722
878
+ #: ../admin/shortcode-builder/shortcode-builder.php:913
879
  msgid "Exclude"
880
  msgstr ""
881
 
882
+ #: ../admin/shortcode-builder/shortcode-builder.php:666
883
  msgid ""
884
  "A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
885
  msgstr ""
886
 
887
+ #: ../admin/shortcode-builder/shortcode-builder.php:700
888
+ #: ../admin/shortcode-builder/shortcode-builder.php:902
889
  msgid "Include"
890
  msgstr ""
891
 
892
+ #: ../admin/shortcode-builder/shortcode-builder.php:701
893
  msgid ""
894
  "A comma separated list of tags to include by slug. (toronto, canada etc...)"
895
  msgstr ""
896
 
897
+ #: ../admin/shortcode-builder/shortcode-builder.php:723
898
  msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
899
  msgstr ""
900
 
901
+ #: ../admin/shortcode-builder/shortcode-builder.php:758
902
  msgid "Select a taxonomy then select the terms and an operator."
903
  msgstr ""
904
 
905
+ #: ../admin/shortcode-builder/shortcode-builder.php:773
906
  msgid "Date"
907
  msgstr ""
908
 
909
+ #: ../admin/shortcode-builder/shortcode-builder.php:776
910
  msgid ""
911
  "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
912
  "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
913
  msgstr ""
914
 
915
+ #: ../admin/shortcode-builder/shortcode-builder.php:782
916
  msgid "Year:"
917
  msgstr ""
918
 
919
+ #: ../admin/shortcode-builder/shortcode-builder.php:786
920
  msgid "Month:"
921
  msgstr ""
922
 
923
+ #: ../admin/shortcode-builder/shortcode-builder.php:790
924
  msgid "Day:"
925
  msgstr ""
926
 
927
+ #: ../admin/shortcode-builder/shortcode-builder.php:801
928
  msgid "Custom Fields (Meta_Query)"
929
  msgstr ""
930
 
931
+ #: ../admin/shortcode-builder/shortcode-builder.php:804
932
  msgid ""
933
  "Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
934
  "\" target=\"_blank\">custom field</a> by entering a custom field key, value "
935
  "and operator."
936
  msgstr ""
937
 
938
+ #: ../admin/shortcode-builder/shortcode-builder.php:815
939
  msgid ""
940
  "The logical relationship between each custom field when there is more than "
941
  "one."
942
  msgstr ""
943
 
944
+ #: ../admin/shortcode-builder/shortcode-builder.php:829
945
  msgid "Add Another"
946
  msgstr ""
947
 
948
+ #: ../admin/shortcode-builder/shortcode-builder.php:845
949
  msgid "Author"
950
  msgstr ""
951
 
952
+ #: ../admin/shortcode-builder/shortcode-builder.php:848
953
  msgid "Select an Author to query(by ID)."
954
  msgstr ""
955
 
956
+ #: ../admin/shortcode-builder/shortcode-builder.php:853
957
  msgid "Select Author"
958
  msgstr ""
959
 
960
+ #: ../admin/shortcode-builder/shortcode-builder.php:869
961
  msgid "Search Term"
962
  msgstr ""
963
 
964
+ #: ../admin/shortcode-builder/shortcode-builder.php:872
965
  msgid "Enter a search term to query."
966
  msgstr ""
967
 
968
+ #: ../admin/shortcode-builder/shortcode-builder.php:876
969
  msgid "Enter search term"
970
  msgstr ""
971
 
972
+ #: ../admin/shortcode-builder/shortcode-builder.php:884
973
  msgid "Custom Arguments"
974
  msgstr ""
975
 
976
+ #: ../admin/shortcode-builder/shortcode-builder.php:887
977
  msgid ""
978
  "A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
979
  "tag_slug__and:design,development; event_display:upcoming. Default"
980
  msgstr ""
981
 
982
+ #: ../admin/shortcode-builder/shortcode-builder.php:891
983
  msgid "event_display:upcoming"
984
  msgstr ""
985
 
986
+ #: ../admin/shortcode-builder/shortcode-builder.php:899
987
  msgid "Post Parameters"
988
  msgstr ""
989
 
990
+ #: ../admin/shortcode-builder/shortcode-builder.php:903
991
  msgid "A comma separated list of post ID's to query."
992
  msgstr ""
993
 
994
+ #: ../admin/shortcode-builder/shortcode-builder.php:907
995
  msgid "225, 340, 818, etc..."
996
  msgstr ""
997
 
998
+ #: ../admin/shortcode-builder/shortcode-builder.php:914
999
  msgid "A comma separated list of post ID's to exclude from query."
1000
  msgstr ""
1001
 
1002
+ #: ../admin/shortcode-builder/shortcode-builder.php:926
1003
  msgid "Post Status"
1004
  msgstr ""
1005
 
1006
+ #: ../admin/shortcode-builder/shortcode-builder.php:929
1007
  msgid "Select status of the post."
1008
  msgstr ""
1009
 
1010
+ #: ../admin/shortcode-builder/shortcode-builder.php:934
1011
  msgid "Published"
1012
  msgstr ""
1013
 
1014
+ #: ../admin/shortcode-builder/shortcode-builder.php:948
1015
  msgid "Ordering"
1016
  msgstr ""
1017
 
1018
+ #: ../admin/shortcode-builder/shortcode-builder.php:951
1019
  msgid "Sort posts by Order and Orderby parameters."
1020
  msgstr ""
1021
 
1022
+ #: ../admin/shortcode-builder/shortcode-builder.php:955
1023
  msgid "Order"
1024
  msgstr ""
1025
 
1026
+ #: ../admin/shortcode-builder/shortcode-builder.php:962
1027
  msgid "Order By"
1028
  msgstr ""
1029
 
1030
+ #: ../admin/shortcode-builder/shortcode-builder.php:981
1031
  msgid "Offset"
1032
  msgstr ""
1033
 
1034
+ #: ../admin/shortcode-builder/shortcode-builder.php:984
1035
  msgid "Offset the initial query by <em>'n'</em> number of posts"
1036
  msgstr ""
1037
 
1038
+ #: ../admin/shortcode-builder/shortcode-builder.php:996
1039
  msgid "Posts Per Page"
1040
  msgstr ""
1041
 
1042
+ #: ../admin/shortcode-builder/shortcode-builder.php:999
1043
  msgid "Select the number of posts to load with each request."
1044
  msgstr ""
1045
 
1046
+ #: ../admin/shortcode-builder/shortcode-builder.php:1011
1047
  msgid "Pause"
1048
  msgstr ""
1049
 
1050
+ #: ../admin/shortcode-builder/shortcode-builder.php:1014
1051
  msgid ""
1052
  "Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
1053
  msgstr ""
1054
 
1055
+ #: ../admin/shortcode-builder/shortcode-builder.php:1035
1056
  msgid "Scrolling"
1057
  msgstr ""
1058
 
1059
+ #: ../admin/shortcode-builder/shortcode-builder.php:1038
1060
  msgid "Enable Scrolling"
1061
  msgstr ""
1062
 
1063
+ #: ../admin/shortcode-builder/shortcode-builder.php:1039
1064
  msgid "Load more posts as the user scrolls the page."
1065
  msgstr ""
1066
 
1067
+ #: ../admin/shortcode-builder/shortcode-builder.php:1060
1068
  msgid "Scroll Distance"
1069
  msgstr ""
1070
 
1071
+ #: ../admin/shortcode-builder/shortcode-builder.php:1060
1072
  msgid ""
1073
  "Distance is based on the position of the loading button from the bottom of "
1074
  "the screen"
1075
  msgstr ""
1076
 
1077
+ #: ../admin/shortcode-builder/shortcode-builder.php:1061
1078
  msgid ""
1079
  "The distance from the bottom of the screen to trigger loading of posts. "
1080
  "(Default = 150)"
1081
  msgstr ""
1082
 
1083
+ #: ../admin/shortcode-builder/shortcode-builder.php:1073
1084
  msgid "Maximum Pages"
1085
  msgstr ""
1086
 
1087
+ #: ../admin/shortcode-builder/shortcode-builder.php:1073
1088
  msgid "If using an Infinite Scroll button style you should set this to 0"
1089
  msgstr ""
1090
 
1091
+ #: ../admin/shortcode-builder/shortcode-builder.php:1074
1092
  msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
1093
  msgstr ""
1094
 
1095
+ #: ../admin/shortcode-builder/shortcode-builder.php:1086
1096
  msgid "Pause Override"
1097
  msgstr ""
1098
 
1099
+ #: ../admin/shortcode-builder/shortcode-builder.php:1087
1100
  msgid ""
1101
  "Allow scrolling to override the Pause parameter and trigger the loading of "
1102
  "posts on scroll."
1103
  msgstr ""
1104
 
1105
+ #: ../admin/shortcode-builder/shortcode-builder.php:1107
1106
  msgid "Transition"
1107
  msgstr ""
1108
 
1109
+ #: ../admin/shortcode-builder/shortcode-builder.php:1110
1110
+ msgid "Transition Type"
1111
  msgstr ""
1112
 
1113
+ #: ../admin/shortcode-builder/shortcode-builder.php:1111
1114
+ msgid "Select a loading transition style."
1115
+ msgstr ""
1116
+
1117
+ #: ../admin/shortcode-builder/shortcode-builder.php:1118
1118
  msgid "Slide"
1119
  msgstr ""
1120
 
1121
+ #: ../admin/shortcode-builder/shortcode-builder.php:1122
1122
  msgid "Fade"
1123
  msgstr ""
1124
 
1125
+ #: ../admin/shortcode-builder/shortcode-builder.php:1134
1126
+ msgid "Transition Container"
1127
+ msgstr ""
1128
+
1129
+ #: ../admin/shortcode-builder/shortcode-builder.php:1134
1130
+ msgid ""
1131
+ "Removing the transition container may have undesired results and is not "
1132
+ "recommended."
1133
+ msgstr ""
1134
+
1135
+ #: ../admin/shortcode-builder/shortcode-builder.php:1135
1136
+ msgid "Remove the Ajax Load More (.alm-reveal) loading container."
1137
+ msgstr ""
1138
+
1139
+ #: ../admin/shortcode-builder/shortcode-builder.php:1152
1140
  msgid "Images Loaded"
1141
  msgstr ""
1142
 
1143
+ #: ../admin/shortcode-builder/shortcode-builder.php:1155
1144
  msgid "Wait for all images to load before displaying ajax loaded content"
1145
  msgstr ""
1146
 
1147
+ #: ../admin/shortcode-builder/shortcode-builder.php:1156
1148
  msgid "Background images are currently not supported"
1149
  msgstr ""
1150
 
1151
+ #: ../admin/shortcode-builder/shortcode-builder.php:1178
1152
  msgid "Destroy After"
1153
  msgstr ""
1154
 
1155
+ #: ../admin/shortcode-builder/shortcode-builder.php:1181
1156
  msgid ""
1157
  "Remove ajax load more functionality after '<em>n</em>' number of pages have "
1158
  "been loaded."
1159
  msgstr ""
1160
 
1161
+ #: ../admin/shortcode-builder/shortcode-builder.php:1193
1162
  msgid "Button Labels"
1163
  msgstr ""
1164
 
1165
+ #: ../admin/shortcode-builder/shortcode-builder.php:1198
1166
  msgid "Button Label"
1167
  msgstr ""
1168
 
1169
+ #: ../admin/shortcode-builder/shortcode-builder.php:1199
1170
  msgid "Customize the text of the <em>Load More</em> button."
1171
  msgstr ""
1172
 
1173
+ #: ../admin/shortcode-builder/shortcode-builder.php:1203
1174
+ #: ../ajax-load-more.php:363
1175
  msgid "Older Posts"
1176
  msgstr ""
1177
 
1178
+ #: ../admin/shortcode-builder/shortcode-builder.php:1211
1179
  msgid "Button Loading Label"
1180
  msgstr ""
1181
 
1182
+ #: ../admin/shortcode-builder/shortcode-builder.php:1211
1183
  msgid "Leave field empty to not update text while loading content"
1184
  msgstr ""
1185
 
1186
+ #: ../admin/shortcode-builder/shortcode-builder.php:1212
1187
  msgid ""
1188
  "Update the text of the <em>Load More</em> button while content is loading."
1189
  msgstr ""
1190
 
1191
+ #: ../admin/shortcode-builder/shortcode-builder.php:1216
1192
  msgid "Loading Posts..."
1193
  msgstr ""
1194
 
1195
+ #: ../admin/shortcode-builder/shortcode-builder.php:1225
1196
  msgid "Container Options"
1197
  msgstr ""
1198
 
1199
+ #: ../admin/shortcode-builder/shortcode-builder.php:1229
1200
  msgid ""
1201
  "You can define a global container type on the Ajax Load More settings screen"
1202
  msgstr ""
1203
 
1204
+ #: ../admin/shortcode-builder/shortcode-builder.php:1230
1205
  msgid ""
1206
  "Override the global Container Type that was set on <a href=\"admin.php?"
1207
  "page=ajax-load-more\">ALM Settings page</a>."
1208
  msgstr ""
1209
 
1210
+ #: ../admin/shortcode-builder/shortcode-builder.php:1253
1211
  msgid ""
1212
  "You can define global container classes on the Ajax Load More settings screen"
1213
  msgstr ""
1214
 
1215
+ #: ../admin/shortcode-builder/shortcode-builder.php:1254
1216
  msgid ""
1217
  "Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
1218
  "portfolio-listing large-12 etc"
1248
  "infinite scroll functionality."
1249
  msgstr ""
1250
 
1251
+ #: ../admin/views/add-ons.php:70 ../admin/views/licenses.php:204
1252
  msgid "Custom Repeaters"
1253
  msgstr ""
1254
 
1262
  "absolutely zero restrictions."
1263
  msgstr ""
1264
 
1265
+ #: ../admin/views/add-ons.php:98 ../admin/views/add-ons.php:257
1266
+ #: ../admin/views/licenses.php:260 ../admin/views/settings.php:53
1267
+ msgid "Layouts"
1268
+ msgstr ""
1269
+
1270
+ #: ../admin/views/add-ons.php:99
1271
+ msgid "Predefined layouts for your repeater templates."
1272
+ msgstr ""
1273
+
1274
+ #: ../admin/views/add-ons.php:100
1275
+ msgid ""
1276
+ "The Layouts add-on provides a collection of unique, well designed and fully "
1277
+ "responsive templates."
1278
+ msgstr ""
1279
+
1280
+ #: ../admin/views/add-ons.php:125
1281
  msgid "Extend Ajax Load More with a numbered navigation."
1282
  msgstr ""
1283
 
1284
+ #: ../admin/views/add-ons.php:126
1285
  msgid ""
1286
  "The Paging add-on will transform the default infinite scroll functionality "
1287
  "into a robust ajax powered navigation system."
1288
  msgstr ""
1289
 
1290
+ #: ../admin/views/add-ons.php:152
1291
  msgid "Load an initial set of posts before making Ajax requests to the server."
1292
  msgstr ""
1293
 
1294
+ #: ../admin/views/add-ons.php:153
1295
  msgid ""
1296
  "The Preloaded add-on will display content quicker and allow caching of the "
1297
  "initial query which can reduce stress on your server."
1298
  msgstr ""
1299
 
1300
+ #: ../admin/views/add-ons.php:178
1301
  msgid "An extension to enable infinite scrolling of single posts."
1302
  msgstr ""
1303
 
1304
+ #: ../admin/views/add-ons.php:179
1305
  msgid ""
1306
  "The Previous Post add-on will load single posts as you scroll and update the "
1307
  "browser URL to the current post."
1308
  msgstr ""
1309
 
1310
+ #: ../admin/views/add-ons.php:203 ../admin/views/licenses.php:478
1311
  msgid "Search Engine Optimization"
1312
  msgstr ""
1313
 
1314
+ #: ../admin/views/add-ons.php:204
1315
  msgid "Generate unique paging URLs with every Ajax Load More query."
1316
  msgstr ""
1317
 
1318
+ #: ../admin/views/add-ons.php:205
1319
  msgid ""
1320
  "The SEO add-on will optimize your ajax loaded content for search engines by "
1321
  "generating unique URLs with every query.</p>"
1322
  msgstr ""
1323
 
1324
+ #: ../admin/views/add-ons.php:229 ../admin/views/licenses.php:535
1325
+ #: ../admin/views/settings.php:61
1326
  msgid "Theme Repeaters"
1327
  msgstr ""
1328
 
1329
+ #: ../admin/views/add-ons.php:230
1330
  msgid "Manage repeater templates within your current theme directory."
1331
  msgstr ""
1332
 
1333
+ #: ../admin/views/add-ons.php:231
1334
  msgid ""
1335
  "The Theme Repeater add-on will allow you load, edit and maintain templates "
1336
  "from your current theme directory.</p>"
1337
  msgstr ""
1338
 
1339
+ #: ../admin/views/add-ons.php:258
 
 
 
 
1340
  msgid "Extend Ajax Load More with predefined responsive layouts."
1341
  msgstr ""
1342
 
1343
+ #: ../admin/views/add-ons.php:259
1344
  msgid "Boost the look of your theme with a library of mobile ready layouts."
1345
  msgstr ""
1346
 
1347
+ #: ../admin/views/add-ons.php:276
1348
  msgid ""
1349
  "All add-ons are installed as stand alone plugins and with a valid license "
1350
  "key will receive plugin update notifications directly within the <a href="
1411
  msgid "Back to Top"
1412
  msgstr ""
1413
 
1414
+ #: ../admin/views/help.php:4
1415
+ msgid "Help"
1416
+ msgstr ""
1417
+
1418
+ #: ../admin/views/help.php:5
1419
+ msgid "Get started with our four step guide to painless implementation!"
1420
+ msgstr ""
1421
+
1422
  #: ../admin/views/licenses.php:4
1423
  msgid "Licenses"
1424
  msgstr ""
1440
  "href=\"plugins.php\">WP Plugins dashboard</a>."
1441
  msgstr ""
1442
 
1443
+ #: ../admin/views/licenses.php:46 ../admin/views/licenses.php:48
1444
+ #: ../admin/views/licenses.php:101 ../admin/views/licenses.php:103
1445
+ #: ../admin/views/licenses.php:155 ../admin/views/licenses.php:157
1446
  #: ../admin/views/licenses.php:210 ../admin/views/licenses.php:212
1447
+ #: ../admin/views/licenses.php:266 ../admin/views/licenses.php:268
1448
+ #: ../admin/views/licenses.php:322 ../admin/views/licenses.php:324
1449
+ #: ../admin/views/licenses.php:376 ../admin/views/licenses.php:378
1450
  #: ../admin/views/licenses.php:429 ../admin/views/licenses.php:431
1451
+ #: ../admin/views/licenses.php:484 ../admin/views/licenses.php:486
1452
+ #: ../admin/views/licenses.php:541 ../admin/views/licenses.php:543
1453
  msgid "Enter License Key"
1454
  msgstr ""
1455
 
1456
+ #: ../admin/views/licenses.php:68 ../admin/views/licenses.php:123
1457
+ #: ../admin/views/licenses.php:177 ../admin/views/licenses.php:232
1458
+ #: ../admin/views/licenses.php:288 ../admin/views/licenses.php:344
1459
+ #: ../admin/views/licenses.php:397 ../admin/views/licenses.php:451
1460
+ #: ../admin/views/licenses.php:506 ../admin/views/licenses.php:564
1461
  msgid "Activate License"
1462
  msgstr ""
1463
 
1464
+ #: ../admin/views/licenses.php:72 ../admin/views/licenses.php:127
1465
+ #: ../admin/views/licenses.php:181 ../admin/views/licenses.php:236
1466
+ #: ../admin/views/licenses.php:292 ../admin/views/licenses.php:348
1467
+ #: ../admin/views/licenses.php:401 ../admin/views/licenses.php:455
1468
+ #: ../admin/views/licenses.php:510 ../admin/views/licenses.php:568
1469
  msgid "Deactivate License"
1470
  msgstr ""
1471
 
1472
+ #: ../admin/views/licenses.php:586
1473
  msgid "You do not have any Ajax Load More add-ons installed"
1474
  msgstr ""
1475
 
1476
+ #: ../admin/views/licenses.php:586
1477
  msgid "Browse Add-ons"
1478
  msgstr ""
1479
 
1480
+ #: ../admin/views/licenses.php:597
1481
  msgid "About Licenses"
1482
  msgstr ""
1483
 
1484
+ #: ../admin/views/licenses.php:600
1485
  msgid "Add-on licenses will enable updates directly in your WP dashboard."
1486
  msgstr ""
1487
 
1488
+ #: ../admin/views/licenses.php:601
1489
  msgid ""
1490
  "License keys are found in the purchase receipt email that was sent "
1491
  "immediately after your successful purchase."
1492
  msgstr ""
1493
 
1494
+ #: ../admin/views/licenses.php:602
1495
  msgid ""
1496
  "If you cannot locate your key please use the <a href=\"https://connekthq.com/"
1497
  "contact/\">contact form</a> on our website and reference the email address "
1498
  "used when you completed the purchase."
1499
  msgstr ""
1500
 
1501
+ #: ../admin/views/licenses.php:607
1502
  msgid "Legacy Users"
1503
  msgstr ""
1504
 
1510
  msgid "The library of editable templates for use within your theme"
1511
  msgstr ""
1512
 
1513
+ #: ../admin/views/repeater-templates.php:38
1514
  msgid "Default Template"
1515
  msgstr ""
1516
 
1517
+ #: ../admin/views/repeater-templates.php:42
1518
  msgid "Enter the HTML and PHP code for the default template"
1519
  msgstr ""
1520
 
1521
+ #: ../admin/views/repeater-templates.php:60
1522
  msgid "Save Template"
1523
  msgstr ""
1524
 
1525
+ #: ../admin/views/repeater-templates.php:128
1526
  msgid "Saving template..."
1527
  msgstr ""
1528
 
1529
+ #: ../admin/views/repeater-templates.php:161
1530
  msgid "Something went wrong and the data could not be saved."
1531
  msgstr ""
1532
 
1533
+ #: ../admin/views/repeater-templates.php:199
1534
  msgid "Updating template..."
1535
  msgstr ""
1536
 
1537
+ #: ../admin/views/repeater-templates.php:252
 
 
 
 
1538
  msgid "Templating Help"
1539
  msgstr ""
1540
 
1541
+ #: ../admin/views/repeater-templates.php:254
1542
  msgid "What is a repeater template?"
1543
  msgstr ""
1544
 
1545
+ #: ../admin/views/repeater-templates.php:255
1546
  msgid ""
1547
  "A repeater template is a snippet of code that will execute over and over "
1548
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
1549
  "\">WordPress loop</a>.</p>"
1550
  msgstr ""
1551
 
1552
+ #: ../admin/views/repeater-templates.php:258
1553
  msgid "Can I include PHP in the repeater template?"
1554
  msgstr ""
1555
 
1556
+ #: ../admin/views/repeater-templates.php:259
1557
  msgid ""
1558
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
1559
  "<code>the_permalink()</code> are required.</p>"
1560
  msgstr ""
1561
 
1562
+ #: ../admin/views/repeater-templates.php:262
1563
  msgid "Tips and Tricks"
1564
  msgstr ""
1565
 
1566
+ #: ../admin/views/repeater-templates.php:264
1567
  msgid ""
1568
  "Always open and close your templates with an HTML element. In some rare "
1569
  "cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;"
1578
  msgid "Ajax Load More settings have been saved."
1579
  msgstr ""
1580
 
1581
+ #: ../admin/views/settings.php:20
1582
+ msgid "A small favor to ask"
1583
+ msgstr ""
1584
+
1585
+ #: ../admin/views/settings.php:22
1586
+ msgid ""
1587
+ "If you're an Ajax Load More user, please consider helping <a href=\"https://"
1588
+ "twitter.com/KaptonKaos\" target=\"_blank\">me</a> spread the word by sharing "
1589
+ "with your networks and/or leaving a review on <a href=\"https://wordpress."
1590
+ "org/support/view/plugin-reviews/ajax-load-more\" target=\"_blank\">wordpress."
1591
+ "org</a> forums."
1592
+ msgstr ""
1593
+
1594
+ #: ../admin/views/settings.php:32
1595
+ msgid "Don't show me this again!"
1596
+ msgstr ""
1597
+
1598
+ #: ../admin/views/settings.php:43 ../admin/views/settings.php:46
1599
+ msgid "Jump to Setting"
1600
+ msgstr ""
1601
+
1602
+ #: ../admin/views/settings.php:47
1603
  msgid "Global Settings"
1604
  msgstr ""
1605
 
1606
+ #: ../admin/views/settings.php:48
1607
  msgid "Admin"
1608
  msgstr ""
1609
 
1610
+ #: ../admin/views/settings.php:59
1611
  msgid "SEO"
1612
  msgstr ""
1613
 
1614
+ #: ../admin/views/settings.php:90
1615
  msgid "Sorry, settings could not be saved."
1616
  msgstr ""
1617
 
1639
  msgid "Clear all Shortcode Builder settings"
1640
  msgstr ""
1641
 
1642
+ #: ../ajax-load-more.php:192
1643
  msgid "Settings"
1644
  msgstr ""
1645
 
1646
+ #: ../core/functions.php:388
1647
  msgid "Pages:"
1648
  msgstr ""
1649
 
1710
  #~ "Sélectionnez votre province et votre ville pour trouver un groupe de "
1711
  #~ "soutien"
1712
 
 
 
 
1713
  #~ msgid "Filter"
1714
  #~ msgstr "Filtrer"