WordPress Infinite Scroll – Ajax Load More - Version 2.4.1

Version Description

  • Adding query by Post Status(http://codex.wordpress.org/Class_Reference/WP_Query#Status_Parameters).
  • Adding 'load more' button class field to Ajax Load More settings page.
  • Fix for querying by custom taxonomy and category/tags/etc.
  • Fix for $alm_found_posts - now subtracting 'offset' value to get actual returned result total.
  • Fix for SEO add-on and pause="true". If SEO is true and page is greater 1, pause will be automatically set to false.
Download this release

Release Info

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

Code changes from version 2.4.0 to 2.4.1

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://connekthq.com/donate/
4
  Tags: ajax, query, loop, paging, filter, infinite scroll, infinite, dynamic, jquery, shortcode builder, shortcode, search, tags, category, post types, taxonomy, meta_query, post format, wmpl, archives, date
5
  Requires at least: 3.6
6
  Tested up to: 4.1
7
- Stable tag: 2.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -19,10 +19,10 @@ Build complex WordPress queries using our shortcode builder then add the shortco
19
 
20
  = Features =
21
 
22
- * **Multiple Instances** - One, two, three or ten - you can now include multiple instances of Ajax Load More on a single page.
23
  * **Shortcode Builder** - Easily create your own Ajax Load More shortcode by adjusting the various WordPress query parameters in our easy-to-use shortcode builder.(see Shortcode Parameters).
24
  * **Query Parameters** - Ajax Load More allows you to query WordPress by many different content types. Query by Post Type, Post Format, Date, Category, Tags, Custom Taxonomies, Search Term, Authors and more!!
25
  * **Customizable Repeater Templates** - Edit and extend the functionality of Ajax Load More by creating your own repeater template to match the look and feel of your website (see screenshots).
 
26
  * **Setting Panel** - Customize your version of Ajax Load More by updating various plugin settings (see screenshots).
27
 
28
  Check out the **[demo site](http://connekthq.com/plugins/ajax-load-more/)** for more information!
@@ -50,6 +50,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
50
  * **meta_compare** - Operator to compare meta_key and meta_value against (=/!=/>/>=/</<= etc.). Default = ‘=’
51
  * **author** - Query by author id. Default = null
52
  * **search** - Query search term (‘s’). Default = null
 
53
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
54
  * **orderby** - Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
55
  * **exclude** - Comma separated list of post ID’s to exclude from query. Default = null
@@ -65,19 +66,9 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
65
  ***
66
 
67
  = Example Shortcode =
68
-
69
- [ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"]
70
-
71
- ***
72
 
73
- = Variables =
74
 
75
- Ajax Load More passes the following PHP variables to each repeater template - these template variables can help you style and transform your repeater templates.
76
-
77
- * **$alm_page** - Returns the current page number. 'echo $alm_page;'
78
- * **$alm_item** - Returns the current item number within your loop. 'echo $alm_item;'
79
- * **$alm_found_posts** - Returns the total number of posts found within the entire WordPress query. 'echo $alm_found_posts;'
80
-
81
  ***
82
 
83
  = Demos =
@@ -91,37 +82,44 @@ Ajax Load More passes the following PHP variables to each repeater template - th
91
 
92
  *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*
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  ***
95
 
96
  = Callback Functions =
97
  The following functions are avaialble to be dispatched by Ajax Load More.
98
 
99
 
100
- **Ajax Complete**
101
-
102
- The almComplete() function is triggered after every *successful* ajax call made by Ajax Load More.
103
  To utilize the almComplete() function simply place the following code inside your sites javascript file.
104
 
105
  $.fn.almComplete = function(alm){
106
  // Your on complete code goes here
107
  }
108
 
109
- ***
110
-
111
- = Add-ons =
112
-
113
- The following Add-ons are available to increase the functionality of Ajax Load More.
114
-
115
- **Custom Repeaters**
116
-
117
- 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.
118
- [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters)
119
-
120
- **Search Engine Optimization**
121
-
122
- The **[SEO](http://connekthq.com/plugins/ajax-load-more/seo/)** add-on will optimize your ajax loaded content for search engines and site visitors by generating standard WordPress paging URLs with each Ajax Load More query.
123
- [Get More Information](http://connekthq.com/plugins/ajax-load-more/seo/)
124
 
 
 
 
 
 
 
125
  ***
126
 
127
  = Tested Browsers =
@@ -163,7 +161,7 @@ Your server must be able to read/write/create files. Ajax Load More creates the
163
 
164
  Yes, Ajax Load more uses admin-ajax and nonces in order to protect URLs and forms from being misused.
165
 
166
- = Can I make modifications to the plugin code? =
167
 
168
  Sure, but please be aware that if modifications are made it may affect future updates of the plugin.
169
 
@@ -221,6 +219,13 @@ How to install Ajax Load More.
221
  == Changelog ==
222
 
223
 
 
 
 
 
 
 
 
224
  = 2.4.0 =
225
  * Adding date query parameters - users can now query by day, month and year.
226
  * Admin UX improvements including sticky navigation in shortcode builder.
4
  Tags: ajax, query, loop, paging, filter, infinite scroll, infinite, dynamic, jquery, shortcode builder, shortcode, search, tags, category, post types, taxonomy, meta_query, post format, wmpl, archives, date
5
  Requires at least: 3.6
6
  Tested up to: 4.1
7
+ Stable tag: 2.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
19
 
20
  = Features =
21
 
 
22
  * **Shortcode Builder** - Easily create your own Ajax Load More shortcode by adjusting the various WordPress query parameters in our easy-to-use shortcode builder.(see Shortcode Parameters).
23
  * **Query Parameters** - Ajax Load More allows you to query WordPress by many different content types. Query by Post Type, Post Format, Date, Category, Tags, Custom Taxonomies, Search Term, Authors and more!!
24
  * **Customizable Repeater Templates** - Edit and extend the functionality of Ajax Load More by creating your own repeater template to match the look and feel of your website (see screenshots).
25
+ * **Multiple Instances** - One, two, three or ten - you can now include multiple instances of Ajax Load More on a single page.
26
  * **Setting Panel** - Customize your version of Ajax Load More by updating various plugin settings (see screenshots).
27
 
28
  Check out the **[demo site](http://connekthq.com/plugins/ajax-load-more/)** for more information!
50
  * **meta_compare** - Operator to compare meta_key and meta_value against (=/!=/>/>=/</<= etc.). Default = ‘=’
51
  * **author** - Query by author id. Default = null
52
  * **search** - Query search term (‘s’). Default = null
53
+ * **post_status** - Display posts by their current status (publish, future, draft, pending, private, trash). Default = ‘publish’
54
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
55
  * **orderby** - Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
56
  * **exclude** - Comma separated list of post ID’s to exclude from query. Default = null
66
  ***
67
 
68
  = Example Shortcode =
69
+ `[ajax_load_more post_type="post, portfolio" repeater="default" posts_per_page="5" transition="fade" button_label="Older Posts"]`
 
 
 
70
 
 
71
 
 
 
 
 
 
 
72
  ***
73
 
74
  = Demos =
82
 
83
  *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*
84
 
85
+ [youtube https://www.youtube.com/watch?v=EQ57i6dkOew]
86
+
87
+ ***
88
+
89
+ = Add-ons =
90
+ The following Add-ons are available to increase the functionality of Ajax Load More.
91
+
92
+ > #### Custom Repeaters
93
+ > 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 />
94
+ > [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters)
95
+ >
96
+ > #### Search Engine Optimization
97
+ > The **[SEO](http://connekthq.com/plugins/ajax-load-more/seo/)** add-on will optimize your ajax loaded content for search engines and site visitors by generating standard WordPress paging URLs with each Ajax Load More query.<br />
98
+ > [Get More Information](http://connekthq.com/plugins/ajax-load-more/seo/)
99
+
100
  ***
101
 
102
  = Callback Functions =
103
  The following functions are avaialble to be dispatched by Ajax Load More.
104
 
105
 
106
+ **Ajax Complete** - The almComplete() function is triggered after every *successful* ajax call made by Ajax Load More.
 
 
107
  To utilize the almComplete() function simply place the following code inside your sites javascript file.
108
 
109
  $.fn.almComplete = function(alm){
110
  // Your on complete code goes here
111
  }
112
 
113
+ ***
114
+
115
+ = Variables =
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
+ Ajax Load More passes the following PHP variables to each repeater template - these template variables can help you style and transform your repeater templates.
118
+
119
+ * **$alm_page** - Returns the current page number. 'echo $alm_page;'
120
+ * **$alm_item** - Returns the current item number within your loop. 'echo $alm_item;'
121
+ * **$alm_found_posts** - Returns the total number of posts found within the entire WordPress query. 'echo $alm_found_posts;'
122
+
123
  ***
124
 
125
  = Tested Browsers =
161
 
162
  Yes, Ajax Load more uses admin-ajax and nonces in order to protect URLs and forms from being misused.
163
 
164
+ = Can I make modifications to the plugin code? =
165
 
166
  Sure, but please be aware that if modifications are made it may affect future updates of the plugin.
167
 
219
  == Changelog ==
220
 
221
 
222
+ = 2.4.1 =
223
+ * Adding query by Post Status(http://codex.wordpress.org/Class_Reference/WP_Query#Status_Parameters).
224
+ * Adding 'load more' button class field to Ajax Load More settings page.
225
+ * Fix for querying by custom taxonomy and category/tags/etc.
226
+ * Fix for $alm_found_posts - now subtracting 'offset' value to get actual returned result total.
227
+ * Fix for SEO add-on and pause="true". If SEO is true and page is greater 1, pause will be automatically set to false.
228
+
229
  = 2.4.0 =
230
  * Adding date query parameters - users can now query by day, month and year.
231
  * Admin UX improvements including sticky navigation in shortcode builder.
admin/admin.php CHANGED
@@ -156,33 +156,33 @@ function alm_load_admin_js(){
156
  function alm_enqueue_admin_scripts(){
157
 
158
  //Load Admin CSS
159
- wp_enqueue_style( 'admin-css', ALM_ADMIN_URL. 'css/admin.css');
160
- wp_enqueue_style( 'core-css', ALM_URL. '/core/css/ajax-load-more.css');
161
- wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
162
 
163
  //Load CodeMirror Syntax Highlighting if on Repater Template page
164
  $screen = get_current_screen();
165
  if ( in_array( $screen->id, array( 'ajax-load-more_page_ajax-load-more-repeaters') ) ){
166
 
167
  //CodeMirror CSS
168
- wp_enqueue_style( 'codemirror-css', ALM_ADMIN_URL. 'codemirror/lib/codemirror.css' );
169
 
170
  //CodeMirror JS
171
- wp_enqueue_script( 'codemirror', ALM_ADMIN_URL. 'codemirror/lib/codemirror.js');
172
- wp_enqueue_script( 'codemirror-matchbrackets', ALM_ADMIN_URL. 'codemirror/addon/edit/matchbrackets.js' );
173
- wp_enqueue_script( 'codemirror-htmlmixed', ALM_ADMIN_URL. 'codemirror/mode/htmlmixed/htmlmixed.js' );
174
- wp_enqueue_script( 'codemirror-xml', ALM_ADMIN_URL. 'codemirror/mode/xml/xml.js' );
175
- wp_enqueue_script( 'codemirror-javascript', ALM_ADMIN_URL. 'codemirror/mode/javascript/javascript.js' );
176
- wp_enqueue_script( 'codemirror-mode-css', ALM_ADMIN_URL. 'codemirror/mode/css/css.js' );
177
- wp_enqueue_script( 'codemirror-clike', ALM_ADMIN_URL. 'codemirror/mode/clike/clike.js' );
178
- wp_enqueue_script( 'codemirror-php', ALM_ADMIN_URL. 'codemirror/mode/php/php.js' );
179
 
180
  }
181
 
182
  //Load JS
183
  wp_enqueue_script( 'jquery-form' );
184
- wp_enqueue_script( 'select2', ALM_ADMIN_URL. 'js/libs/select2.min.js', array( 'jquery' ));
185
- wp_enqueue_script( 'shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
186
  }
187
 
188
 
@@ -961,8 +961,18 @@ function alm_admin_init(){
961
  'alm_btn_color_callback',
962
  'ajax-load-more',
963
  'alm_general_settings'
 
 
 
 
 
 
 
 
964
  );
965
 
 
 
966
  if(has_action('alm_seo_installed')){
967
 
968
  add_settings_section(
@@ -1177,8 +1187,10 @@ function alm_btn_color_callback() {
1177
  var el = jQuery(this);
1178
  if(el.is(":checked")) {
1179
  el.parent().parent().parent('tr').next('tr').hide();
 
1180
  }else{
1181
  el.parent().parent().parent('tr').next('tr').show();
 
1182
  }
1183
  });
1184
 
@@ -1187,6 +1199,25 @@ function alm_btn_color_callback() {
1187
  }
1188
 
1189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1190
  /*
1191
  * alm_seo_settings_callback
1192
  * SEO Setting Heading
156
  function alm_enqueue_admin_scripts(){
157
 
158
  //Load Admin CSS
159
+ wp_enqueue_style( 'alm-admin-css', ALM_ADMIN_URL. 'css/admin.css');
160
+ wp_enqueue_style( 'alm-core-css', ALM_URL. '/core/css/ajax-load-more.css');
161
+ wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
162
 
163
  //Load CodeMirror Syntax Highlighting if on Repater Template page
164
  $screen = get_current_screen();
165
  if ( in_array( $screen->id, array( 'ajax-load-more_page_ajax-load-more-repeaters') ) ){
166
 
167
  //CodeMirror CSS
168
+ wp_enqueue_style( 'alm-codemirror-css', ALM_ADMIN_URL. 'codemirror/lib/codemirror.css' );
169
 
170
  //CodeMirror JS
171
+ wp_enqueue_script( 'alm-codemirror', ALM_ADMIN_URL. 'codemirror/lib/codemirror.js');
172
+ wp_enqueue_script( 'alm-codemirror-matchbrackets', ALM_ADMIN_URL. 'codemirror/addon/edit/matchbrackets.js' );
173
+ wp_enqueue_script( 'alm-codemirror-htmlmixed', ALM_ADMIN_URL. 'codemirror/mode/htmlmixed/htmlmixed.js' );
174
+ wp_enqueue_script( 'alm-codemirror-xml', ALM_ADMIN_URL. 'codemirror/mode/xml/xml.js' );
175
+ wp_enqueue_script( 'alm-codemirror-javascript', ALM_ADMIN_URL. 'codemirror/mode/javascript/javascript.js' );
176
+ wp_enqueue_script( 'alm-codemirror-mode-css', ALM_ADMIN_URL. 'codemirror/mode/css/css.js' );
177
+ wp_enqueue_script( 'alm-codemirror-clike', ALM_ADMIN_URL. 'codemirror/mode/clike/clike.js' );
178
+ wp_enqueue_script( 'alm-codemirror-php', ALM_ADMIN_URL. 'codemirror/mode/php/php.js' );
179
 
180
  }
181
 
182
  //Load JS
183
  wp_enqueue_script( 'jquery-form' );
184
+ wp_enqueue_script( 'alm-select2', ALM_ADMIN_URL. 'js/libs/select2.min.js', array( 'jquery' ));
185
+ wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
186
  }
187
 
188
 
961
  'alm_btn_color_callback',
962
  'ajax-load-more',
963
  'alm_general_settings'
964
+ );
965
+
966
+ add_settings_field(
967
+ '_alm_btn_classname',
968
+ __('Button Classes', ALM_NAME ),
969
+ 'alm_btn_class_callback',
970
+ 'ajax-load-more',
971
+ 'alm_general_settings'
972
  );
973
 
974
+
975
+
976
  if(has_action('alm_seo_installed')){
977
 
978
  add_settings_section(
1187
  var el = jQuery(this);
1188
  if(el.is(":checked")) {
1189
  el.parent().parent().parent('tr').next('tr').hide();
1190
+ el.parent().parent().parent('tr').next('tr').next('tr').hide();
1191
  }else{
1192
  el.parent().parent().parent('tr').next('tr').show();
1193
+ el.parent().parent().parent('tr').next('tr').next('tr').show();
1194
  }
1195
  });
1196
 
1199
  }
1200
 
1201
 
1202
+
1203
+ /*
1204
+ * alm_btn_class_callback
1205
+ * Add classes to the Ajax Load More button
1206
+ *
1207
+ * @since 2.4.1
1208
+ */
1209
+
1210
+ function alm_btn_class_callback(){
1211
+ $options = get_option( 'alm_settings' );
1212
+
1213
+ if(!isset($options['_alm_btn_classname']))
1214
+ $options['_alm_btn_classname'] = '';
1215
+
1216
+ echo '<label for="alm_settings[_alm_btn_classname]">'.__('Add classes to the <em>Load More</em> button', ALM_NAME).'</label><br/><input type="text" id="alm_settings[_alm_btn_classname]" name="alm_settings[_alm_btn_classname]" value="'.$options['_alm_btn_classname'].'" placeholder="button rounded etc..." /> ';
1217
+ }
1218
+
1219
+
1220
+
1221
  /*
1222
  * alm_seo_settings_callback
1223
  * SEO Setting Heading
admin/css/admin.css CHANGED
@@ -1,6 +1,5 @@
1
  @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,600);
2
 
3
-
4
  /*
5
  * Admin - Popup Generator
6
  *
@@ -442,14 +441,16 @@
442
  padding: 10px 10px 0;
443
  }
444
 
445
- .ajax-load-more .section-title{
446
- width: 40%;
447
- padding-top: 15px;
448
- float: left;
 
 
449
  }
450
  .ajax-load-more .section-title p{
451
  font-size: 13px !important;
452
- padding-left: 10px !important;
453
  color: #999;
454
  }
455
 
@@ -480,7 +481,7 @@
480
  padding: 20px 0 0 3%;
481
  margin: 0;
482
  border: none;
483
- width: 60%;
484
  float: left;
485
  position: relative;
486
  }
@@ -1701,7 +1702,8 @@ box-shadow: 0 0 0 3px #efefef;
1701
  margin: 0;
1702
  cursor: pointer;
1703
  min-height: 1em;
1704
- padding: 10px;
 
1705
  -webkit-touch-callout: none;
1706
  -webkit-user-select: none;
1707
  -khtml-user-select: none;
@@ -1710,10 +1712,11 @@ box-shadow: 0 0 0 3px #efefef;
1710
  user-select: none;
1711
  }
1712
 
1713
- .select2-results .select2-highlighted {
1714
- background: #efefef;
1715
- color: #ff5a58;
1716
- }
 
1717
 
1718
  .select2-results .select2-highlighted:active {
1719
  background: #fff;
1
  @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,600);
2
 
 
3
  /*
4
  * Admin - Popup Generator
5
  *
441
  padding: 10px 10px 0;
442
  }
443
 
444
+ .ajax-load-more .section-title {
445
+ float: left;
446
+ padding-right: 15px;
447
+ padding-top: 18px;
448
+ padding-left: 15px;
449
+ width: 45%;
450
  }
451
  .ajax-load-more .section-title p{
452
  font-size: 13px !important;
453
+ padding-left: 21px !important;
454
  color: #999;
455
  }
456
 
481
  padding: 20px 0 0 3%;
482
  margin: 0;
483
  border: none;
484
+ width: 55%;
485
  float: left;
486
  position: relative;
487
  }
1702
  margin: 0;
1703
  cursor: pointer;
1704
  min-height: 1em;
1705
+ padding: 10px 7px;
1706
+ border-left: 4px solid transparent;
1707
  -webkit-touch-callout: none;
1708
  -webkit-user-select: none;
1709
  -khtml-user-select: none;
1712
  user-select: none;
1713
  }
1714
 
1715
+ .select2-results .select2-highlighted .select2-result-label{ /* Hover */
1716
+ background: #f7f7f7;
1717
+ color: #ca5252;
1718
+ border-color: #efefef;
1719
+ }
1720
 
1721
  .select2-results .select2-highlighted:active {
1722
  background: #fff;
admin/editor-build.php CHANGED
@@ -34,7 +34,7 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
34
  <body>
35
  <div id="alm-container" class="ajax-load-more shortcode-builder">
36
  <select class="jump-menu">
37
- <option value="null" selected="selected">-- <?php _e('Jump to section', ALM_NAME); ?> --</option>
38
  </select>
39
  <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the values below:', ALM_NAME); ?></p>
40
  <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
34
  <body>
35
  <div id="alm-container" class="ajax-load-more shortcode-builder">
36
  <select class="jump-menu">
37
+ <option value="null" selected="selected">-- <?php _e('Jump to Option', ALM_NAME); ?> --</option>
38
  </select>
39
  <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the values below:', ALM_NAME); ?></p>
40
  <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -196,6 +196,14 @@ jQuery(document).ready(function($) {
196
  if(orderby !== 'date')
197
  output += ' orderby="'+orderby+'"';
198
 
 
 
 
 
 
 
 
 
199
 
200
  // ---------------------------
201
  // - Exclude posts
@@ -361,7 +369,7 @@ jQuery(document).ready(function($) {
361
 
362
 
363
  /* Table of Contents */
364
- $('.table-of-contents .toc').append('<option value="#">-- Jump to Section --</option>');
365
  $('.table-of-contents .toc').append(jumpOptions).select2();
366
 
367
  $('.table-of-contents .toc').change(function() {
@@ -380,10 +388,14 @@ jQuery(document).ready(function($) {
380
  almResizeTOC();
381
 
382
  $(window).resize(function() {
383
- almResizeTOC()
384
  });
385
 
386
  $(window).scroll(function(){
 
 
 
 
387
  var scrollT = $(window).scrollTop(),
388
  target = 60;
389
 
@@ -391,7 +403,8 @@ jQuery(document).ready(function($) {
391
  $('.table-of-contents').addClass('attached');
392
  else
393
  $('.table-of-contents').removeClass('attached');
394
- });
 
395
 
396
  /*
397
  * Expand/Collapse shortcode headings
196
  if(orderby !== 'date')
197
  output += ' orderby="'+orderby+'"';
198
 
199
+
200
+ // ---------------------------
201
+ // - Post Status
202
+ // ---------------------------
203
+ var post_status = $('select#post-status').val();
204
+ if(post_status !== 'publish')
205
+ output += ' post_status="'+post_status+'"';
206
+
207
 
208
  // ---------------------------
209
  // - Exclude posts
369
 
370
 
371
  /* Table of Contents */
372
+ $('.table-of-contents .toc').append('<option value="#">-- Jump to Option --</option>');
373
  $('.table-of-contents .toc').append(jumpOptions).select2();
374
 
375
  $('.table-of-contents .toc').change(function() {
388
  almResizeTOC();
389
 
390
  $(window).resize(function() {
391
+ almResizeTOC();
392
  });
393
 
394
  $(window).scroll(function(){
395
+ almSidebarAttach();
396
+ });
397
+
398
+ function almSidebarAttach(){
399
  var scrollT = $(window).scrollTop(),
400
  target = 60;
401
 
403
  $('.table-of-contents').addClass('attached');
404
  else
405
  $('.table-of-contents').removeClass('attached');
406
+ }
407
+ almSidebarAttach();
408
 
409
  /*
410
  * Expand/Collapse shortcode headings
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -307,7 +307,29 @@
307
  </div>
308
  </div>
309
  </div>
310
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
 
312
  <!-- Ordering -->
313
  <div class="row ordering" id="alm-order">
307
  </div>
308
  </div>
309
  </div>
310
+ </div>
311
+
312
+ <!-- Post Status -->
313
+ <div class="row input post-status" id="alm-post-status">
314
+ <h3 class="heading"><?php _e('Post Status', ALM_NAME); ?></h3>
315
+ <div class="expand-wrap">
316
+ <div class="section-title">
317
+ <p><?php _e('Query by post status.', ALM_NAME); ?></p>
318
+ </div>
319
+ <div class="wrap">
320
+ <div class="inner">
321
+ <select class="alm_element" name="post-status" id="post-status">
322
+ <option value="publish" selected="selected">Published</option>
323
+ <option value="future">Future</option>
324
+ <option value="draft">Draft</option>
325
+ <option value="pending">Pending</option>
326
+ <option value="private">Private</option>
327
+ <option value="trash">Trash</option>
328
+ </select>
329
+ </div>
330
+ </div>
331
+ </div>
332
+ </div>
333
 
334
  <!-- Ordering -->
335
  <div class="row ordering" id="alm-order">
ajax-load-more.php CHANGED
@@ -6,12 +6,12 @@ Description: A simple solution for lazy loading WordPress posts and pages with A
6
  Author: Darren Cooney
7
  Twitter: @KaptonKaos
8
  Author URI: http://connekthq.com
9
- Version: 2.4.0
10
  License: GPL
11
  Copyright: Darren Cooney & Connekt Media
12
  */
13
- define('ALM_VERSION', '2.4.0');
14
- define('ALM_RELEASE', 'January 5, 2015');
15
  /*
16
  * alm_install
17
  * Create table for storing repeater
@@ -68,7 +68,10 @@ if( !class_exists('AjaxLoadMore') ):
68
  load_plugin_textdomain( 'ajax-load-more', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
69
 
70
  // includes Admin core
71
- $this->alm_before_theme();
 
 
 
72
  }
73
 
74
 
@@ -137,7 +140,7 @@ if( !class_exists('AjaxLoadMore') ):
137
  function alm_shortcode( $atts, $content = null ) {
138
  $options = get_option( 'alm_settings' ); //Get plugin options
139
  extract(shortcode_atts(array(
140
- 'seo' => false,
141
  'repeater' => 'default',
142
  'post_type' => 'post',
143
  'post_format' => '',
@@ -154,6 +157,7 @@ if( !class_exists('AjaxLoadMore') ):
154
  'day' => '',
155
  'author' => '',
156
  'search' => '',
 
157
  'order' => '',
158
  'orderby' => '',
159
  'exclude' => '',
@@ -182,6 +186,11 @@ if( !class_exists('AjaxLoadMore') ):
182
  if(isset($options['_alm_btn_color'])){
183
  $btn_color = ' '.$options['_alm_btn_color'];
184
  }
 
 
 
 
 
185
 
186
  // Language support
187
 
@@ -198,7 +207,7 @@ if( !class_exists('AjaxLoadMore') ):
198
 
199
 
200
  $ajaxloadmore = '<div id="ajax-load-more" class="ajax-load-more-wrap '. $btn_color .'">';
201
- $ajaxloadmore .= '<'.$container_element.' class="alm-listing'. $classname . '"';
202
  $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
203
  $ajaxloadmore .= ' data-post-type="'.$post_type.'"';
204
  $ajaxloadmore .= ' data-post-format="'.$post_format.'"';
@@ -215,6 +224,7 @@ if( !class_exists('AjaxLoadMore') ):
215
  $ajaxloadmore .= ' data-day="'.$day.'"';
216
  $ajaxloadmore .= ' data-author="'.$author.'"';
217
  $ajaxloadmore .= ' data-search="'.$search.'"';
 
218
  $ajaxloadmore .= ' data-order="'.$order.'"';
219
  $ajaxloadmore .= ' data-orderby="'.$orderby.'"';
220
  $ajaxloadmore .= ' data-exclude="'.$exclude.'"';
@@ -227,7 +237,7 @@ if( !class_exists('AjaxLoadMore') ):
227
  & the SEO add-on is installed.
228
  Set $posts_per_page to be new value
229
  */
230
- if($wp_posts_per_page > $posts_per_page && has_action('alm_seo_installed') && $seo)
231
  $posts_per_page = $wp_posts_per_page;
232
 
233
  $ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
@@ -237,9 +247,10 @@ if( !class_exists('AjaxLoadMore') ):
237
  $ajaxloadmore .= ' data-max-pages="'.$max_pages.'"';
238
  $ajaxloadmore .= ' data-pause="'.$pause.'"';
239
  $ajaxloadmore .= ' data-button-label="'.$button_label.'"';
 
240
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
241
 
242
- if(has_action('alm_seo_installed') && $seo){
243
 
244
  // Get scroll speed
245
  $seo_scroll_speed = '1000';
@@ -331,10 +342,11 @@ if( !class_exists('AjaxLoadMore') ):
331
  $month = (isset($_GET['month'])) ? $_GET['month'] : '';
332
  $day = (isset($_GET['day'])) ? $_GET['day'] : '';
333
 
 
334
  $order = (isset($_GET['order'])) ? $_GET['order'] : 'DESC';
335
  $orderby = (isset($_GET['orderby'])) ? $_GET['orderby'] : 'date';
336
  $exclude = (isset($_GET['exclude'])) ? $_GET['exclude'] : '';
337
- $numPosts = (isset($_GET['numPosts'])) ? $_GET['numPosts'] : 6;
338
  $page = (isset($_GET['pageNumber'])) ? $_GET['pageNumber'] : 0;
339
  $offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
340
  $lang = (isset($_GET['lang'])) ? $_GET['lang'] : '';
@@ -347,7 +359,7 @@ if( !class_exists('AjaxLoadMore') ):
347
  'offset' => $offset + ($numPosts*$page),
348
  'order' => $order,
349
  'orderby' => $orderby,
350
- 'post_status' => 'publish',
351
  'ignore_sticky_posts' => false,
352
  'paged' => $paged,
353
  );
@@ -379,6 +391,7 @@ if( !class_exists('AjaxLoadMore') ):
379
 
380
  // Exclude posts
381
  // - Please see plugin examples for more info on excluding posts
 
382
  if(!empty($exclude)){
383
  $exclude = explode(",",$exclude);
384
  $args['post__not_in'] = $exclude;
@@ -418,7 +431,6 @@ if( !class_exists('AjaxLoadMore') ):
418
  if(!empty($taxonomy)){
419
  $the_terms = explode(", ", $taxonomy_terms);
420
  $args['tax_query'] = array(
421
- 'relation' => 'OR',
422
  array(
423
  'taxonomy' => $taxonomy,
424
  'field' => 'slug',
@@ -467,7 +479,7 @@ if( !class_exists('AjaxLoadMore') ):
467
 
468
  // WP_Query()
469
  $alm_query = new WP_Query( $args );
470
-
471
  // Run the loop
472
  if ($alm_query->have_posts()) :
473
 
@@ -508,9 +520,8 @@ if( !class_exists('AjaxLoadMore') ):
508
  // Get page number and current item in overall loop
509
  $alm_loop_count++;
510
  $alm_page = $alm_page_count;
511
- $alm_total = ($alm_page_count * $numPosts) - $numPosts + $alm_loop_count;
512
- $alm_item = $alm_total;
513
- $alm_found_posts = $alm_query->found_posts;
514
 
515
  //Include repeater template
516
  include( $include );
6
  Author: Darren Cooney
7
  Twitter: @KaptonKaos
8
  Author URI: http://connekthq.com
9
+ Version: 2.4.1
10
  License: GPL
11
  Copyright: Darren Cooney & Connekt Media
12
  */
13
+ define('ALM_VERSION', '2.4.1');
14
+ define('ALM_RELEASE', 'January 13, 2015');
15
  /*
16
  * alm_install
17
  * Create table for storing repeater
68
  load_plugin_textdomain( 'ajax-load-more', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
69
 
70
  // includes Admin core
71
+ $this->alm_before_theme();
72
+
73
+ // set up variables
74
+ $total = 0;
75
  }
76
 
77
 
140
  function alm_shortcode( $atts, $content = null ) {
141
  $options = get_option( 'alm_settings' ); //Get plugin options
142
  extract(shortcode_atts(array(
143
+ 'seo' => 'false',
144
  'repeater' => 'default',
145
  'post_type' => 'post',
146
  'post_format' => '',
157
  'day' => '',
158
  'author' => '',
159
  'search' => '',
160
+ 'post_status' => 'publish',
161
  'order' => '',
162
  'orderby' => '',
163
  'exclude' => '',
186
  if(isset($options['_alm_btn_color'])){
187
  $btn_color = ' '.$options['_alm_btn_color'];
188
  }
189
+ // Get btn classnames
190
+ $button_classname = '';
191
+ if(isset($options['_alm_btn_classname'])){
192
+ $button_classname = $options['_alm_btn_classname'];
193
+ }
194
 
195
  // Language support
196
 
207
 
208
 
209
  $ajaxloadmore = '<div id="ajax-load-more" class="ajax-load-more-wrap '. $btn_color .'">';
210
+ $ajaxloadmore .= '<'.$container_element.' class="alm-listing alm-ajax'. $classname . '"';
211
  $ajaxloadmore .= ' data-repeater="'.$repeater.'"';
212
  $ajaxloadmore .= ' data-post-type="'.$post_type.'"';
213
  $ajaxloadmore .= ' data-post-format="'.$post_format.'"';
224
  $ajaxloadmore .= ' data-day="'.$day.'"';
225
  $ajaxloadmore .= ' data-author="'.$author.'"';
226
  $ajaxloadmore .= ' data-search="'.$search.'"';
227
+ $ajaxloadmore .= ' data-post-status="'.$post_status.'"';
228
  $ajaxloadmore .= ' data-order="'.$order.'"';
229
  $ajaxloadmore .= ' data-orderby="'.$orderby.'"';
230
  $ajaxloadmore .= ' data-exclude="'.$exclude.'"';
237
  & the SEO add-on is installed.
238
  Set $posts_per_page to be new value
239
  */
240
+ if($wp_posts_per_page > $posts_per_page && has_action('alm_seo_installed') && $seo === 'true')
241
  $posts_per_page = $wp_posts_per_page;
242
 
243
  $ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
247
  $ajaxloadmore .= ' data-max-pages="'.$max_pages.'"';
248
  $ajaxloadmore .= ' data-pause="'.$pause.'"';
249
  $ajaxloadmore .= ' data-button-label="'.$button_label.'"';
250
+ $ajaxloadmore .= ' data-button-class="'.$button_classname.'"';
251
  $ajaxloadmore .= ' data-transition="'.$transition.'"';
252
 
253
+ if(has_action('alm_seo_installed') && $seo === 'true'){
254
 
255
  // Get scroll speed
256
  $seo_scroll_speed = '1000';
342
  $month = (isset($_GET['month'])) ? $_GET['month'] : '';
343
  $day = (isset($_GET['day'])) ? $_GET['day'] : '';
344
 
345
+ $post_status = (isset($_GET['post_status'])) ? $_GET['post_status'] : 'publish';
346
  $order = (isset($_GET['order'])) ? $_GET['order'] : 'DESC';
347
  $orderby = (isset($_GET['orderby'])) ? $_GET['orderby'] : 'date';
348
  $exclude = (isset($_GET['exclude'])) ? $_GET['exclude'] : '';
349
+ $numPosts = (isset($_GET['numPosts'])) ? $_GET['numPosts'] : 5;
350
  $page = (isset($_GET['pageNumber'])) ? $_GET['pageNumber'] : 0;
351
  $offset = (isset($_GET['offset'])) ? $_GET['offset'] : 0;
352
  $lang = (isset($_GET['lang'])) ? $_GET['lang'] : '';
359
  'offset' => $offset + ($numPosts*$page),
360
  'order' => $order,
361
  'orderby' => $orderby,
362
+ 'post_status' => $post_status,
363
  'ignore_sticky_posts' => false,
364
  'paged' => $paged,
365
  );
391
 
392
  // Exclude posts
393
  // - Please see plugin examples for more info on excluding posts
394
+
395
  if(!empty($exclude)){
396
  $exclude = explode(",",$exclude);
397
  $args['post__not_in'] = $exclude;
431
  if(!empty($taxonomy)){
432
  $the_terms = explode(", ", $taxonomy_terms);
433
  $args['tax_query'] = array(
 
434
  array(
435
  'taxonomy' => $taxonomy,
436
  'field' => 'slug',
479
 
480
  // WP_Query()
481
  $alm_query = new WP_Query( $args );
482
+ $total = $alm_query->found_posts - $offset;
483
  // Run the loop
484
  if ($alm_query->have_posts()) :
485
 
520
  // Get page number and current item in overall loop
521
  $alm_loop_count++;
522
  $alm_page = $alm_page_count;
523
+ $alm_item = ($alm_page_count * $numPosts) - $numPosts + $alm_loop_count;
524
+ $alm_found_posts = $total;
 
525
 
526
  //Include repeater template
527
  include( $include );
core/css/ajax-load-more.css CHANGED
@@ -187,7 +187,10 @@ button.alm-load-more-btn{
187
  overflow: hidden;
188
  position: relative;
189
  list-style: none;
190
- }
 
 
 
191
  .alm-listing li a{
192
  color: #34383D;
193
  }
187
  overflow: hidden;
188
  position: relative;
189
  list-style: none;
190
+ }
191
+ .alm-listing li.no-img{
192
+ padding: 0;
193
+ }
194
  .alm-listing li a{
195
  color: #34383D;
196
  }
core/js/ajax-load-more.js CHANGED
@@ -3,7 +3,7 @@
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  * https://github.com/dcooney/wordpress-ajax-load-more
5
  *
6
- * Copyright 2014 Connekt Media - http://connekthq.com
7
  * Free to use under the GPLv2 license.
8
  * http://www.gnu.org/licenses/gpl-2.0.html
9
  *
@@ -13,6 +13,7 @@
13
 
14
  (function ($) {
15
  "use strict";
 
16
  $.ajaxloadmore = function (el) {
17
 
18
  //Set variables
@@ -67,23 +68,18 @@
67
  /* END SEO Add-on */
68
 
69
 
70
- //Prevent loading of unnessasry posts - move user to top of page
71
- // Removed v2.3.0
72
- $(window).scrollTop(0);
73
-
74
-
75
- // Check for pause on init
76
- // Pause could be used to hold the loading of posts for a button click.
77
- if (alm.pause === undefined) {
78
  alm.pause = false;
79
  }
80
 
81
- // Select the repeater template
82
  if (alm.repeater === undefined) {
83
  alm.repeater = 'default';
84
  }
85
 
86
- // Max number of pages to load while scrolling
87
  if (alm.max_pages === undefined) {
88
  alm.max_pages = 5;
89
  }
@@ -91,7 +87,7 @@
91
  alm.max_pages = 1000000;
92
  }
93
 
94
- // select the transition
95
  if (alm.transition === undefined) {
96
  alm.transition = 'slide';
97
  } else if (alm.transition === "fade") {
@@ -100,21 +96,26 @@
100
  alm.transition = 'slide';
101
  }
102
 
103
- // Define offset
104
- if (alm.content.data('offset') === undefined) {
105
  alm.offset = 0;
106
  } else {
107
  alm.offset = alm.content.data('offset');
108
  }
109
 
110
- // Define button text
111
  if (alm.content.data('button-label') === undefined) {
112
  alm.button_label = 'Older Posts';
113
  } else {
114
  alm.button_label = alm.content.data('button-label');
115
- }
 
 
 
 
 
116
 
117
- // Define on Scroll event
118
  if (alm.content.data('scroll') === undefined) {
119
  alm.scroll = true;
120
  } else if (alm.content.data('scroll') === false) {
@@ -123,12 +124,12 @@
123
  alm.scroll = true;
124
  }
125
 
126
- // Parse multiple Post Types
127
  alm.post_type = alm.content.data('post-type');
128
  alm.post_type = alm.post_type.split(",");
129
 
130
  // Append 'load More' button to .ajax-load-more-wrap
131
- alm.el.append('<div class="' + alm.prefix + 'btn-wrap"><button id="load-more" class="' + alm.prefix + 'load-more-btn more">' + alm.button_label + '</button></div>');
132
  alm.button = $('.alm-load-more-btn', alm.el);
133
 
134
 
@@ -161,6 +162,7 @@
161
  month: alm.content.data('month'),
162
  day: alm.content.data('day'),
163
  tag: alm.content.data('tag'),
 
164
  order: alm.content.data('order'),
165
  orderby: alm.content.data('orderby'),
166
  search: alm.content.data('search'),
@@ -327,11 +329,17 @@
327
  $(this).data('alm', new $.ajaxloadmore($(this)));
328
  });
329
  }
330
-
 
 
 
 
331
  /*
332
  * Initiate Ajax load More if div is present on screen
333
  * @since 2.1.2
334
  */
335
- if ($(".ajax-load-more-wrap").length) $(".ajax-load-more-wrap").ajaxloadmore();
 
 
336
 
337
  })(jQuery);
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  * https://github.com/dcooney/wordpress-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
  *
13
 
14
  (function ($) {
15
  "use strict";
16
+
17
  $.ajaxloadmore = function (el) {
18
 
19
  //Set variables
68
  /* END SEO Add-on */
69
 
70
 
71
+ // Pause
72
+ // - Cound be used to hold the loading of posts for a button click.
73
+ if (alm.pause === undefined || (alm.seo && alm.start_page > 1)) {
 
 
 
 
 
74
  alm.pause = false;
75
  }
76
 
77
+ // Repeater Template
78
  if (alm.repeater === undefined) {
79
  alm.repeater = 'default';
80
  }
81
 
82
+ // Max Pages to load while scrolling
83
  if (alm.max_pages === undefined) {
84
  alm.max_pages = 5;
85
  }
87
  alm.max_pages = 1000000;
88
  }
89
 
90
+ // Transition
91
  if (alm.transition === undefined) {
92
  alm.transition = 'slide';
93
  } else if (alm.transition === "fade") {
96
  alm.transition = 'slide';
97
  }
98
 
99
+ // Offset
100
+ if (alm.offset === undefined) {
101
  alm.offset = 0;
102
  } else {
103
  alm.offset = alm.content.data('offset');
104
  }
105
 
106
+ // Button Label & classes
107
  if (alm.content.data('button-label') === undefined) {
108
  alm.button_label = 'Older Posts';
109
  } else {
110
  alm.button_label = alm.content.data('button-label');
111
+ }
112
+ if (alm.content.data('button-class') === undefined) {
113
+ alm.button_class = '';
114
+ } else {
115
+ alm.button_class = ' ' + alm.content.data('button-class');
116
+ }
117
 
118
+ // Scroll (true/false)
119
  if (alm.content.data('scroll') === undefined) {
120
  alm.scroll = true;
121
  } else if (alm.content.data('scroll') === false) {
124
  alm.scroll = true;
125
  }
126
 
127
+ // Post Types (split mulitples into array)
128
  alm.post_type = alm.content.data('post-type');
129
  alm.post_type = alm.post_type.split(",");
130
 
131
  // Append 'load More' button to .ajax-load-more-wrap
132
+ alm.el.append('<div class="' + alm.prefix + 'btn-wrap"><button id="load-more" class="' + alm.prefix + 'load-more-btn more'+ alm.button_class +'">' + alm.button_label + '</button></div>');
133
  alm.button = $('.alm-load-more-btn', alm.el);
134
 
135
 
162
  month: alm.content.data('month'),
163
  day: alm.content.data('day'),
164
  tag: alm.content.data('tag'),
165
+ post_status: alm.content.data('post-status'),
166
  order: alm.content.data('order'),
167
  orderby: alm.content.data('orderby'),
168
  search: alm.content.data('search'),
329
  $(this).data('alm', new $.ajaxloadmore($(this)));
330
  });
331
  }
332
+
333
+
334
+ $(window).scrollTop(0); //Prevent loading of unnessasry posts - move user to top of page
335
+
336
+
337
  /*
338
  * Initiate Ajax load More if div is present on screen
339
  * @since 2.1.2
340
  */
341
+
342
+ if ($(".ajax-load-more-wrap").length)
343
+ $(".ajax-load-more-wrap").ajaxloadmore();
344
 
345
  })(jQuery);
core/js/ajax-load-more.min.js CHANGED
@@ -3,26 +3,26 @@
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  * https://github.com/dcooney/wordpress-ajax-load-more
5
  *
6
- * Copyright 2014 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){var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.speed=300;alm.proceed=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.content=$('.alm-listing',alm.el);alm.scroll=true;alm.prefix='alm-';alm.repeater=alm.content.data('repeater');alm.max_pages=alm.content.data('max-pages');alm.pause=alm.content.data('pause');alm.offset=alm.content.data('offset');alm.transition=alm.content.data('transition');alm.lang=alm.content.data('lang');alm.posts_per_page=alm.content.data('posts-per-page');alm.seo=alm.content.data('seo');if(alm.seo===undefined)
16
  alm.seo=false;alm.permalink=alm.content.data('seo-permalink');alm.start_page=alm.content.data('seo-start-page');if(alm.start_page){alm.seo_scroll=alm.content.data('seo-scroll');alm.seo_scroll_speed=alm.content.data('seo-scroll-speed');alm.isPaged=false;if(alm.start_page>1){alm.isPaged=true;alm.posts_per_page=alm.start_page*alm.posts_per_page;}}
17
- $(window).scrollTop(0);if(alm.pause===undefined){alm.pause=false;}
18
  if(alm.repeater===undefined){alm.repeater='default';}
19
  if(alm.max_pages===undefined){alm.max_pages=5;}
20
  if(alm.max_pages==='none'){alm.max_pages=1000000;}
21
  if(alm.transition===undefined){alm.transition='slide';}else if(alm.transition==="fade"){alm.transition='fade';}else{alm.transition='slide';}
22
- if(alm.content.data('offset')===undefined){alm.offset=0;}else{alm.offset=alm.content.data('offset');}
23
  if(alm.content.data('button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.data('button-label');}
 
24
  if(alm.content.data('scroll')===undefined){alm.scroll=true;}else if(alm.content.data('scroll')===false){alm.scroll=false;}else{alm.scroll=true;}
25
- alm.post_type=alm.content.data('post-type');alm.post_type=alm.post_type.split(",");alm.el.append('<div class="'+alm.prefix+'btn-wrap"><button id="load-more" class="'+alm.prefix+'load-more-btn more">'+alm.button_label+'</button></div>');alm.button=$('.alm-load-more-btn',alm.el);alm.AjaxLoadMore.loadPosts=function(){alm.button.addClass('loading');alm.loading=true;$.ajax({type:"GET",url:alm_localize.ajaxurl,data:{action:'ajax_load_more_init',nonce:alm_localize.alm_nonce,repeater:alm.repeater,postType:alm.post_type,postFormat:alm.content.data('post-format'),category:alm.content.data('category'),author:alm.content.data('author'),taxonomy:alm.content.data('taxonomy'),taxonomy_terms:alm.content.data('taxonomy-terms'),taxonomy_operator:alm.content.data('taxonomy-operator'),meta_key:alm.content.data('meta-key'),meta_value:alm.content.data('meta-value'),meta_compare:alm.content.data('meta-compare'),year:alm.content.data('year'),month:alm.content.data('month'),day:alm.content.data('day'),tag:alm.content.data('tag'),order:alm.content.data('order'),orderby:alm.content.data('orderby'),search:alm.content.data('search'),exclude:alm.content.data('exclude'),numPosts:alm.posts_per_page,pageNumber:alm.page,offset:alm.offset,lang:alm.lang},dataType:"html",beforeSend:function(){if(alm.page!=1){alm.button.addClass('loading');}},success:function(data){alm.data=$(data);if(alm.init){alm.button.text(alm.button_label);alm.init=false;if(alm.isPaged){alm.posts_per_page=alm.content.data('posts-per-page');alm.page=alm.start_page-1;}}
26
  if(alm.data.length>0){alm.el=$('<div class="'+alm.prefix+'reveal"/>');alm.el.append(alm.data);alm.el.hide();alm.content.append(alm.el);if(alm.transition==='fade'){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;alm.button.delay(alm.speed).removeClass('loading');if(alm.data.length<alm.posts_per_page){alm.finished=true;alm.button.addClass('done');}});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;alm.button.delay(alm.speed).removeClass('loading');if(alm.data.length<alm.posts_per_page){alm.finished=true;alm.button.addClass('done');}});}
27
  if($.isFunction($.fn.almComplete)){$.fn.almComplete(alm);}
28
  if($(".ajax-load-more-wrap").length===1){if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}}}else{alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.loading=false;alm.finished=true;}},error:function(jqXHR,textStatus,errorThrown){alm.loading=false;alm.button.removeClass('loading');}});};alm.button.on('click',function(){if(alm.pause===true){alm.pause=false;alm.AjaxLoadMore.loadPosts();}
@@ -30,4 +30,5 @@ if(!alm.loading&&!alm.finished&&!$(this).hasClass('done')){alm.loading=true;alm.
30
  return alm.visible;};if(alm.scroll){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()){var content_offset=alm.button.offset();if(!alm.loading&&!alm.finished&&alm.window.scrollTop()>=Math.round(content_offset.top-(alm.window.height()-150))&&alm.page<(alm.max_pages-1)&&alm.proceed&&!alm.pause){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}}});}
31
  if(alm.pause===true){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}
32
  setTimeout(function(){alm.proceed=true;},1000);$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;};};$.fn.ajaxloadmore=function(){return this.each(function(){$(this).data('alm',new $.ajaxloadmore($(this)));});}
33
- if($(".ajax-load-more-wrap").length)$(".ajax-load-more-wrap").ajaxloadmore();})(jQuery);
 
3
  * http://wordpress.org/plugins/ajax-load-more/
4
  * https://github.com/dcooney/wordpress-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
  (function($){"use strict";$.ajaxloadmore=function(el){var alm=this;alm.AjaxLoadMore={};alm.page=0;alm.speed=300;alm.proceed=false;alm.init=true;alm.loading=true;alm.finished=false;alm.window=$(window);alm.button_label='';alm.data;alm.el=el;alm.content=$('.alm-listing',alm.el);alm.scroll=true;alm.prefix='alm-';alm.repeater=alm.content.data('repeater');alm.max_pages=alm.content.data('max-pages');alm.pause=alm.content.data('pause');alm.offset=alm.content.data('offset');alm.transition=alm.content.data('transition');alm.lang=alm.content.data('lang');alm.posts_per_page=alm.content.data('posts-per-page');alm.seo=alm.content.data('seo');if(alm.seo===undefined)
15
  alm.seo=false;alm.permalink=alm.content.data('seo-permalink');alm.start_page=alm.content.data('seo-start-page');if(alm.start_page){alm.seo_scroll=alm.content.data('seo-scroll');alm.seo_scroll_speed=alm.content.data('seo-scroll-speed');alm.isPaged=false;if(alm.start_page>1){alm.isPaged=true;alm.posts_per_page=alm.start_page*alm.posts_per_page;}}
16
+ if(alm.pause===undefined||(alm.seo&&alm.start_page>1)){alm.pause=false;}
17
  if(alm.repeater===undefined){alm.repeater='default';}
18
  if(alm.max_pages===undefined){alm.max_pages=5;}
19
  if(alm.max_pages==='none'){alm.max_pages=1000000;}
20
  if(alm.transition===undefined){alm.transition='slide';}else if(alm.transition==="fade"){alm.transition='fade';}else{alm.transition='slide';}
21
+ if(alm.offset===undefined){alm.offset=0;}else{alm.offset=alm.content.data('offset');}
22
  if(alm.content.data('button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.data('button-label');}
23
+ if(alm.content.data('button-class')===undefined){alm.button_class='';}else{alm.button_class=' '+alm.content.data('button-class');}
24
  if(alm.content.data('scroll')===undefined){alm.scroll=true;}else if(alm.content.data('scroll')===false){alm.scroll=false;}else{alm.scroll=true;}
25
+ alm.post_type=alm.content.data('post-type');alm.post_type=alm.post_type.split(",");alm.el.append('<div class="'+alm.prefix+'btn-wrap"><button id="load-more" class="'+alm.prefix+'load-more-btn more'+alm.button_class+'">'+alm.button_label+'</button></div>');alm.button=$('.alm-load-more-btn',alm.el);alm.AjaxLoadMore.loadPosts=function(){alm.button.addClass('loading');alm.loading=true;$.ajax({type:"GET",url:alm_localize.ajaxurl,data:{action:'ajax_load_more_init',nonce:alm_localize.alm_nonce,repeater:alm.repeater,postType:alm.post_type,postFormat:alm.content.data('post-format'),category:alm.content.data('category'),author:alm.content.data('author'),taxonomy:alm.content.data('taxonomy'),taxonomy_terms:alm.content.data('taxonomy-terms'),taxonomy_operator:alm.content.data('taxonomy-operator'),meta_key:alm.content.data('meta-key'),meta_value:alm.content.data('meta-value'),meta_compare:alm.content.data('meta-compare'),year:alm.content.data('year'),month:alm.content.data('month'),day:alm.content.data('day'),tag:alm.content.data('tag'),post_status:alm.content.data('post-status'),order:alm.content.data('order'),orderby:alm.content.data('orderby'),search:alm.content.data('search'),exclude:alm.content.data('exclude'),numPosts:alm.posts_per_page,pageNumber:alm.page,offset:alm.offset,lang:alm.lang},dataType:"html",beforeSend:function(){if(alm.page!=1){alm.button.addClass('loading');}},success:function(data){alm.data=$(data);if(alm.init){alm.button.text(alm.button_label);alm.init=false;if(alm.isPaged){alm.posts_per_page=alm.content.data('posts-per-page');alm.page=alm.start_page-1;}}
26
  if(alm.data.length>0){alm.el=$('<div class="'+alm.prefix+'reveal"/>');alm.el.append(alm.data);alm.el.hide();alm.content.append(alm.el);if(alm.transition==='fade'){alm.el.fadeIn(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;alm.button.delay(alm.speed).removeClass('loading');if(alm.data.length<alm.posts_per_page){alm.finished=true;alm.button.addClass('done');}});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;alm.button.delay(alm.speed).removeClass('loading');if(alm.data.length<alm.posts_per_page){alm.finished=true;alm.button.addClass('done');}});}
27
  if($.isFunction($.fn.almComplete)){$.fn.almComplete(alm);}
28
  if($(".ajax-load-more-wrap").length===1){if($.isFunction($.fn.almSEO)&&alm.seo){$.fn.almSEO(alm);}}}else{alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.loading=false;alm.finished=true;}},error:function(jqXHR,textStatus,errorThrown){alm.loading=false;alm.button.removeClass('loading');}});};alm.button.on('click',function(){if(alm.pause===true){alm.pause=false;alm.AjaxLoadMore.loadPosts();}
30
  return alm.visible;};if(alm.scroll){alm.window.bind("scroll touchstart",function(){if(alm.AjaxLoadMore.isVisible()){var content_offset=alm.button.offset();if(!alm.loading&&!alm.finished&&alm.window.scrollTop()>=Math.round(content_offset.top-(alm.window.height()-150))&&alm.page<(alm.max_pages-1)&&alm.proceed&&!alm.pause){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}}});}
31
  if(alm.pause===true){alm.button.text(alm.button_label);alm.loading=false;}else{alm.AjaxLoadMore.loadPosts();}
32
  setTimeout(function(){alm.proceed=true;},1000);$.easing.alm_easeInOutQuad=function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;};};$.fn.ajaxloadmore=function(){return this.each(function(){$(this).data('alm',new $.ajaxloadmore($(this)));});}
33
+ $(window).scrollTop(0);if($(".ajax-load-more-wrap").length)
34
+ $(".ajax-load-more-wrap").ajaxloadmore();})(jQuery);
core/repeater/default.php CHANGED
@@ -1,5 +1,5 @@
1
- <li>
2
- <?php if ( has_post_thumbnail() ) { the_post_thumbnail(array(100,100));
3
  }?>
4
  <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
5
  <p class="entry-meta">
1
+ <li<?php if (! has_post_thumbnail() ) { echo ' class="no-img"'; } ?>>
2
+ <?php if ( has_post_thumbnail() ) { the_post_thumbnail(array(150,150));
3
  }?>
4
  <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
5
  <p class="entry-meta">
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: 2014-11-21 10:23-0500\n"
5
- "PO-Revision-Date: 2014-11-21 10:23-0500\n"
6
  "Last-Translator: Darren Cooney <darren.cooney@gmail.com>\n"
7
  "Language-Team: \n"
8
  "Language: en_CA\n"
@@ -15,294 +15,367 @@ msgstr ""
15
  "X-Poedit-KeywordsList: __;_e\n"
16
  "X-Poedit-SearchPath-0: ..\n"
17
 
18
- #: ../admin/admin.php:200
19
  msgid "A WordPress plugin for lazy loading posts with Ajax"
20
  msgstr ""
21
 
22
- #: ../admin/admin.php:204
23
  msgid "Ajax Load More settings have been saved."
24
  msgstr ""
25
 
26
- #: ../admin/admin.php:231
27
  msgid "Sorry, settings could not be saved."
28
  msgstr ""
29
 
30
- #: ../admin/admin.php:262
31
  msgid "Ajax Load More: Repeater Templates"
32
  msgstr ""
33
 
34
- #: ../admin/admin.php:263
35
- msgid "The library of available templates to use throughout your theme"
36
  msgstr ""
37
 
38
- #: ../admin/admin.php:271 ../admin/shortcode-builder/shortcode-builder.php:1
 
39
  msgid "Collapse All"
40
  msgstr ""
41
 
42
- #: ../admin/admin.php:271 ../admin/shortcode-builder/shortcode-builder.php:1
 
43
  msgid "Expand All"
44
  msgstr ""
45
 
46
- #: ../admin/admin.php:285
47
  msgid "Default Template"
48
  msgstr ""
49
 
50
- #: ../admin/admin.php:288
51
  msgid "Enter the HTML and PHP code for the default template"
52
  msgstr ""
53
 
54
- #: ../admin/admin.php:302
55
  msgid "Save Template"
56
  msgstr ""
57
 
58
- #: ../admin/admin.php:358
59
  msgid "Saving template..."
60
  msgstr ""
61
 
62
- #: ../admin/admin.php:386
63
  msgid "Something went wrong and the data could not be saved."
64
  msgstr ""
65
 
66
- #: ../admin/admin.php:409
 
 
 
 
 
 
 
 
67
  msgid "Templating Help"
68
  msgstr ""
69
 
70
- #: ../admin/admin.php:411
71
  msgid "What is a repeater template?"
72
  msgstr ""
73
 
74
- #: ../admin/admin.php:412
75
  msgid ""
76
  "A repeater template is a snippet of code that will execute over and over "
77
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
78
  "\">WordPress loop</a>.</p>"
79
  msgstr ""
80
 
81
- #: ../admin/admin.php:415
82
  msgid "Can I include PHP in the repeater template?"
83
  msgstr ""
84
 
85
- #: ../admin/admin.php:416
86
  msgid ""
87
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
88
  "<code>the_permalink()</code> are required.</p>"
89
  msgstr ""
90
 
91
- #: ../admin/admin.php:419
92
  msgid "Tips and Tricks"
93
  msgstr ""
94
 
95
- #: ../admin/admin.php:421
96
  msgid ""
97
  "Always open and close your templates with an HTML element. In some rare "
98
  "cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;"
99
  "li> &lt;/li></code> or <code>&lt;div> &lt;/div></code>"
100
  msgstr ""
101
 
102
- #: ../admin/admin.php:457
103
  msgid "Error Opening File"
104
  msgstr ""
105
 
106
- #: ../admin/admin.php:459 ../admin/admin.php:463
107
  msgid ""
108
  "Please check your file path and ensure your server is configured to allow "
109
  "Ajax Load More to read and write files within the /ajax-load-more/ plugin "
110
  "directory"
111
  msgstr ""
112
 
113
- #: ../admin/admin.php:461
114
  msgid "Error Saving File"
115
  msgstr ""
116
 
117
- #: ../admin/admin.php:489
118
  msgid "Error Writing File"
119
  msgstr ""
120
 
121
- #: ../admin/admin.php:506
122
  msgid "Ajax Load More: Shortcode Builder"
123
  msgstr ""
124
 
125
- #: ../admin/admin.php:507
126
  msgid ""
127
  "Create your own Ajax Load More <a href=\"http://en.support.wordpress.com/"
128
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
129
  msgstr ""
130
 
131
- #: ../admin/admin.php:513 ../admin/admin.php:626
132
  msgid "Back to Top"
133
  msgstr ""
134
 
135
- #: ../admin/admin.php:519
136
  msgid "Shortcode Output"
137
  msgstr ""
138
 
139
- #: ../admin/admin.php:520
140
  msgid ""
141
- "Copy and paste the following shortcode into the content editor or widget "
142
- "area of your theme."
143
  msgstr ""
144
 
145
- #: ../admin/admin.php:523 ../admin/editor-build.php:45
146
  msgid "Copy"
147
  msgstr ""
148
 
149
- #: ../admin/admin.php:527
150
- msgid "Did you know?"
151
  msgstr ""
152
 
153
- #: ../admin/admin.php:529
154
- msgid ""
155
- "<p class=\"addon-intro\">You can generate shortcodes while editing pages!</"
156
- "p><p>Click the Ajax Load More icon in the content editor toolbar and the <a "
157
- "href=\"?page=ajax-load-more-shortcode-builder\">shortcode builder</a> will "
158
- "open in an overlay window."
159
  msgstr ""
160
 
161
- #: ../admin/admin.php:585
162
- msgid "Ajax Load More: Examples"
163
  msgstr ""
164
 
165
- #: ../admin/admin.php:586
166
- msgid "A collection of everyday shortcode usages and implementation examples"
167
  msgstr ""
168
 
169
- #: ../admin/admin.php:591
170
  msgid "Author.php"
171
  msgstr ""
172
 
173
- #: ../admin/admin.php:593
174
  msgid "Shortcode for use on author archive pages."
175
  msgstr ""
176
 
177
- #: ../admin/admin.php:600
178
  msgid "Category.php"
179
  msgstr ""
180
 
181
- #: ../admin/admin.php:602
182
  msgid "Shortcode for use on category archive pages."
183
  msgstr ""
184
 
185
- #: ../admin/admin.php:609
 
 
 
 
 
 
 
 
186
  msgid "Excluding Posts"
187
  msgstr ""
188
 
189
- #: ../admin/admin.php:611
190
  msgid "Shortcode for excluding an array of posts."
191
  msgstr ""
192
 
193
- #: ../admin/admin.php:617
194
  msgid "Tag.php"
195
  msgstr ""
196
 
197
- #: ../admin/admin.php:619
198
  msgid "Shortcode for use on tag archive pages."
199
  msgstr ""
200
 
201
- #: ../admin/admin.php:632
202
- msgid "Request Examples"
203
  msgstr ""
204
 
205
- #: ../admin/admin.php:633
206
  msgid ""
207
- "If you're having issue's with functionality, please submit example requests "
208
- "through the <a href=\"https://github.com/dcooney/wordpress-ajax-load-more\" "
209
- "target=\"_blank\">GitHub repository</a>. "
 
210
  msgstr ""
211
 
212
- #: ../admin/admin.php:657
213
  msgid "Ajax Load More: Add-ons"
214
  msgstr ""
215
 
216
- #: ../admin/admin.php:658
217
  msgid ""
218
- "The following Add-ons are available to increase the functionality of Ajax "
219
  "Load More."
220
  msgstr ""
221
 
222
- #: ../admin/admin.php:664
223
  msgid "Custom Repeaters"
224
  msgstr ""
225
 
226
- #: ../admin/admin.php:670
 
 
 
 
227
  msgid ""
228
- "Unlock additional repeater templates and keep your WordPress theme looking "
229
- "and feeling fresh."
 
230
  msgstr ""
231
 
232
- #: ../admin/admin.php:671
 
 
 
 
 
 
 
 
233
  msgid ""
234
- "The Custom Repeaters add-on will add <strong>five</strong> additional <a "
235
- "href=\"?page=ajax-load-more-repeaters\">repeaters</a> and allow you to "
236
- "select unique repeaters for different content types throughout your theme.</"
237
- "p>"
238
  msgstr ""
239
 
240
- #: ../admin/admin.php:688 ../admin/admin.php:692
241
- msgid "About Add-ons"
242
  msgstr ""
243
 
244
- #: ../admin/admin.php:689 ../admin/admin.php:693
245
  msgid ""
246
- "Add-ons are installed as a separate plugin and will receive plug-in update "
247
- "notifications. "
248
  msgstr ""
249
 
250
- #: ../admin/admin.php:728
251
  msgid "Container Type"
252
  msgstr ""
253
 
254
- #: ../admin/admin.php:736
255
  msgid "Container Classes"
256
  msgstr ""
257
 
258
- #: ../admin/admin.php:744
259
  msgid "Editor Button"
260
  msgstr ""
261
 
262
- #: ../admin/admin.php:752
263
  msgid "Disable CSS"
264
  msgstr ""
265
 
266
- #: ../admin/admin.php:760
267
  msgid "Button Color"
268
  msgstr ""
269
 
270
- #: ../admin/admin.php:777
271
- msgid ""
272
- "Customize your version of Ajax Load More by updating the fields below.</p><p "
273
- "class=\"small\">All changes will be applied globally throughout your theme."
274
  msgstr ""
275
 
276
- #: ../admin/admin.php:806
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  msgid "I want to use my own CSS styles"
278
  msgstr ""
279
 
280
- #: ../admin/admin.php:807
281
  msgid "View Ajax Load More CSS"
282
  msgstr ""
283
 
284
- #: ../admin/admin.php:826
285
  msgid "Hide shortcode button in WYSIWYG editor"
286
  msgstr ""
287
 
288
- #: ../admin/admin.php:840
289
  msgid "Add classes to Ajax Load More container"
290
  msgstr ""
291
 
292
- #: ../admin/admin.php:859 ../admin/admin.php:862
293
  msgid "Ajax Posts Here"
294
  msgstr ""
295
 
296
- #: ../admin/admin.php:913
297
  msgid "Choose your load more button color"
298
  msgstr ""
299
 
300
- #: ../admin/admin.php:924
301
  msgid "Preview"
302
  msgstr ""
303
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  #: ../admin/editor-build.php:37
305
- msgid "Jump to section"
306
  msgstr ""
307
 
308
  #: ../admin/editor-build.php:39
@@ -354,244 +427,342 @@ msgstr ""
354
  msgid "Read/Write Access"
355
  msgstr ""
356
 
357
- #: ../admin/includes/cta/writeable.php:9
358
- msgid "Read/Write Access Enabled"
 
 
 
359
  msgstr ""
360
 
361
- #: ../admin/includes/cta/writeable.php:11
362
- msgid "Access Denied"
 
 
 
 
 
363
  msgstr ""
364
 
365
- #: ../admin/shortcode-builder/shortcode-builder.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  msgid "Template"
367
  msgstr ""
368
 
369
- #: ../admin/shortcode-builder/shortcode-builder.php:11
370
  msgid ""
371
- "Select your <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
372
- "\"_parent\">repeater template</a>."
373
  msgstr ""
374
 
375
- #: ../admin/shortcode-builder/shortcode-builder.php:36
376
  msgid "Post Types"
377
  msgstr ""
378
 
379
- #: ../admin/shortcode-builder/shortcode-builder.php:39
380
  msgid "Select Post Types to query."
381
  msgstr ""
382
 
383
- #: ../admin/shortcode-builder/shortcode-builder.php:59
384
  msgid "Post Format"
385
  msgstr ""
386
 
387
- #: ../admin/shortcode-builder/shortcode-builder.php:62
388
  msgid ""
389
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
390
  "\">Post Format</a> to query."
391
  msgstr ""
392
 
393
- #: ../admin/shortcode-builder/shortcode-builder.php:65
394
  msgid "Select Post Format"
395
  msgstr ""
396
 
397
- #: ../admin/shortcode-builder/shortcode-builder.php:66
398
  msgid "Standard"
399
  msgstr ""
400
 
401
- #: ../admin/shortcode-builder/shortcode-builder.php:81
402
  msgid "Category"
403
  msgstr ""
404
 
405
- #: ../admin/shortcode-builder/shortcode-builder.php:84
406
  msgid "Select a Category to query(by slug)."
407
  msgstr ""
408
 
409
- #: ../admin/shortcode-builder/shortcode-builder.php:87
410
  msgid "Select Category"
411
  msgstr ""
412
 
413
- #: ../admin/shortcode-builder/shortcode-builder.php:100
414
  msgid "Tag"
415
  msgstr ""
416
 
417
- #: ../admin/shortcode-builder/shortcode-builder.php:103
418
  msgid "Select a Tag to query(by slug)."
419
  msgstr ""
420
 
421
- #: ../admin/shortcode-builder/shortcode-builder.php:106
422
  msgid "Select Tag"
423
  msgstr ""
424
 
425
- #: ../admin/shortcode-builder/shortcode-builder.php:125
426
  msgid "Taxonomy"
427
  msgstr ""
428
 
429
- #: ../admin/shortcode-builder/shortcode-builder.php:128
430
  msgid "Select your custom taxonomy then select the terms and operator."
431
  msgstr ""
432
 
433
- #: ../admin/shortcode-builder/shortcode-builder.php:135
434
  msgid "Select Taxonomy"
435
  msgstr ""
436
 
437
- #: ../admin/shortcode-builder/shortcode-builder.php:144
438
  msgid "Taxonomy Terms:"
439
  msgstr ""
440
 
441
- #: ../admin/shortcode-builder/shortcode-builder.php:149
442
  msgid "Taxonomy Operator:"
443
  msgstr ""
444
 
445
- #: ../admin/shortcode-builder/shortcode-builder.php:164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446
  msgid "Custom Fields (Meta)"
447
  msgstr ""
448
 
449
- #: ../admin/shortcode-builder/shortcode-builder.php:167
450
  msgid ""
451
  "Query by <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
452
  "\" target=\"_blank\">custom fields</a>. Enter your key(name) and value, "
453
  "then select your operator."
454
  msgstr ""
455
 
456
- #: ../admin/shortcode-builder/shortcode-builder.php:172
457
  msgid "Field Key (Name):"
458
  msgstr ""
459
 
460
- #: ../admin/shortcode-builder/shortcode-builder.php:173
461
  msgid "Enter custom field key(name)"
462
  msgstr ""
463
 
464
- #: ../admin/shortcode-builder/shortcode-builder.php:179
465
  msgid "Field Value:"
466
  msgstr ""
467
 
468
- #: ../admin/shortcode-builder/shortcode-builder.php:180
469
  msgid "Enter custom field value"
470
  msgstr ""
471
 
472
- #: ../admin/shortcode-builder/shortcode-builder.php:184
473
  msgid "Field Operator:"
474
  msgstr ""
475
 
476
- #: ../admin/shortcode-builder/shortcode-builder.php:212
477
  msgid "Author"
478
  msgstr ""
479
 
480
- #: ../admin/shortcode-builder/shortcode-builder.php:215
481
  msgid "Select an Author to query(by ID)."
482
  msgstr ""
483
 
484
- #: ../admin/shortcode-builder/shortcode-builder.php:218
485
  msgid "Select Author"
486
  msgstr ""
487
 
488
- #: ../admin/shortcode-builder/shortcode-builder.php:230
489
  msgid "Search Term"
490
  msgstr ""
491
 
492
- #: ../admin/shortcode-builder/shortcode-builder.php:233
493
  msgid "Enter a search term to query."
494
  msgstr ""
495
 
496
- #: ../admin/shortcode-builder/shortcode-builder.php:237
497
  msgid "Enter search term"
498
  msgstr ""
499
 
500
- #: ../admin/shortcode-builder/shortcode-builder.php:245
 
 
 
 
 
 
 
 
501
  msgid "Ordering"
502
  msgstr ""
503
 
504
- #: ../admin/shortcode-builder/shortcode-builder.php:248
505
  msgid "Sort retrieved posts by Order and Orderby parameters."
506
  msgstr ""
507
 
508
- #: ../admin/shortcode-builder/shortcode-builder.php:277
509
  msgid "Exclude"
510
  msgstr ""
511
 
512
- #: ../admin/shortcode-builder/shortcode-builder.php:280
513
  msgid "A comma separated list of post ID's to exclude from query."
514
  msgstr ""
515
 
516
- #: ../admin/shortcode-builder/shortcode-builder.php:292
517
  msgid "Offset"
518
  msgstr ""
519
 
520
- #: ../admin/shortcode-builder/shortcode-builder.php:295
521
  msgid "Offset the initial WordPress query by <em>'n'</em> number of posts"
522
  msgstr ""
523
 
524
- #: ../admin/shortcode-builder/shortcode-builder.php:316
525
  msgid "Posts Per Page"
526
  msgstr ""
527
 
528
- #: ../admin/shortcode-builder/shortcode-builder.php:319
529
  msgid "Select the number of posts to load with each request."
530
  msgstr ""
531
 
532
- #: ../admin/shortcode-builder/shortcode-builder.php:345
533
  msgid "Load Posts on Scroll"
534
  msgstr ""
535
 
536
- #: ../admin/shortcode-builder/shortcode-builder.php:348
537
  msgid "Load more posts as the user scrolls the page."
538
  msgstr ""
539
 
540
- #: ../admin/shortcode-builder/shortcode-builder.php:355
541
- #: ../admin/shortcode-builder/shortcode-builder.php:410
542
- msgid "True"
543
- msgstr ""
544
-
545
- #: ../admin/shortcode-builder/shortcode-builder.php:359
546
- #: ../admin/shortcode-builder/shortcode-builder.php:414
547
- msgid "False"
548
- msgstr ""
549
-
550
- #: ../admin/shortcode-builder/shortcode-builder.php:370
551
  msgid "Max Pages"
552
  msgstr ""
553
 
554
- #: ../admin/shortcode-builder/shortcode-builder.php:373
555
  msgid "Maximum number of pages to load while scrolling."
556
  msgstr ""
557
 
558
- #: ../admin/shortcode-builder/shortcode-builder.php:388
559
- msgid "Unlimited"
560
- msgstr ""
561
-
562
- #: ../admin/shortcode-builder/shortcode-builder.php:400
563
  msgid "Pause Loading of Posts"
564
  msgstr ""
565
 
566
- #: ../admin/shortcode-builder/shortcode-builder.php:403
567
  msgid "Do not load posts until user clicks <em>load</em> button."
568
  msgstr ""
569
 
570
- #: ../admin/shortcode-builder/shortcode-builder.php:425
571
  msgid "Transition"
572
  msgstr ""
573
 
574
- #: ../admin/shortcode-builder/shortcode-builder.php:428
575
  msgid "Select a loading transition."
576
  msgstr ""
577
 
578
- #: ../admin/shortcode-builder/shortcode-builder.php:435
579
  msgid "Slide"
580
  msgstr ""
581
 
582
- #: ../admin/shortcode-builder/shortcode-builder.php:439
583
  msgid "Fade"
584
  msgstr ""
585
 
586
- #: ../admin/shortcode-builder/shortcode-builder.php:450
587
  msgid "Button Label"
588
  msgstr ""
589
 
590
- #: ../admin/shortcode-builder/shortcode-builder.php:453
591
  msgid "Customize the <em>Load More</em> button label."
592
  msgstr ""
593
 
594
- #: ../admin/shortcode-builder/shortcode-builder.php:457
595
  msgid "Older Posts"
596
  msgstr ""
597
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Ajax Load More\n"
4
+ "POT-Creation-Date: 2015-01-12 23:23-0500\n"
5
+ "PO-Revision-Date: 2015-01-12 23:23-0500\n"
6
  "Last-Translator: Darren Cooney <darren.cooney@gmail.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:202
19
  msgid "A WordPress plugin for lazy loading posts with Ajax"
20
  msgstr ""
21
 
22
+ #: ../admin/admin.php:206
23
  msgid "Ajax Load More settings have been saved."
24
  msgstr ""
25
 
26
+ #: ../admin/admin.php:233
27
  msgid "Sorry, settings could not be saved."
28
  msgstr ""
29
 
30
+ #: ../admin/admin.php:263
31
  msgid "Ajax Load More: Repeater Templates"
32
  msgstr ""
33
 
34
+ #: ../admin/admin.php:264
35
+ msgid "The library of available templates to use within your theme"
36
  msgstr ""
37
 
38
+ #: ../admin/admin.php:272 ../admin/admin.php:738
39
+ #: ../admin/shortcode-builder/shortcode-builder.php:1
40
  msgid "Collapse All"
41
  msgstr ""
42
 
43
+ #: ../admin/admin.php:272 ../admin/admin.php:738
44
+ #: ../admin/shortcode-builder/shortcode-builder.php:1
45
  msgid "Expand All"
46
  msgstr ""
47
 
48
+ #: ../admin/admin.php:286
49
  msgid "Default Template"
50
  msgstr ""
51
 
52
+ #: ../admin/admin.php:289
53
  msgid "Enter the HTML and PHP code for the default template"
54
  msgstr ""
55
 
56
+ #: ../admin/admin.php:304
57
  msgid "Save Template"
58
  msgstr ""
59
 
60
+ #: ../admin/admin.php:379
61
  msgid "Saving template..."
62
  msgstr ""
63
 
64
+ #: ../admin/admin.php:409
65
  msgid "Something went wrong and the data could not be saved."
66
  msgstr ""
67
 
68
+ #: ../admin/admin.php:447
69
+ msgid "Updating template..."
70
+ msgstr ""
71
+
72
+ #: ../admin/admin.php:476
73
+ msgid "Something went wrong and the data could not be updated."
74
+ msgstr ""
75
+
76
+ #: ../admin/admin.php:500
77
  msgid "Templating Help"
78
  msgstr ""
79
 
80
+ #: ../admin/admin.php:502
81
  msgid "What is a repeater template?"
82
  msgstr ""
83
 
84
+ #: ../admin/admin.php:503
85
  msgid ""
86
  "A repeater template is a snippet of code that will execute over and over "
87
  "within a <a href=\"http://codex.wordpress.org/The_Loop\" target=\"_blank"
88
  "\">WordPress loop</a>.</p>"
89
  msgstr ""
90
 
91
+ #: ../admin/admin.php:506
92
  msgid "Can I include PHP in the repeater template?"
93
  msgstr ""
94
 
95
+ #: ../admin/admin.php:507
96
  msgid ""
97
  "Yes, PHP and core WordPress functions such as, <code>the_title()</code> and "
98
  "<code>the_permalink()</code> are required.</p>"
99
  msgstr ""
100
 
101
+ #: ../admin/admin.php:510
102
  msgid "Tips and Tricks"
103
  msgstr ""
104
 
105
+ #: ../admin/admin.php:512
106
  msgid ""
107
  "Always open and close your templates with an HTML element. In some rare "
108
  "cases data may not be displayed if not wrapped in HTML.<br/>e.g. <code>&lt;"
109
  "li> &lt;/li></code> or <code>&lt;div> &lt;/div></code>"
110
  msgstr ""
111
 
112
+ #: ../admin/admin.php:555
113
  msgid "Error Opening File"
114
  msgstr ""
115
 
116
+ #: ../admin/admin.php:557 ../admin/admin.php:561
117
  msgid ""
118
  "Please check your file path and ensure your server is configured to allow "
119
  "Ajax Load More to read and write files within the /ajax-load-more/ plugin "
120
  "directory"
121
  msgstr ""
122
 
123
+ #: ../admin/admin.php:559
124
  msgid "Error Saving File"
125
  msgstr ""
126
 
127
+ #: ../admin/admin.php:596
128
  msgid "Error Writing File"
129
  msgstr ""
130
 
131
+ #: ../admin/admin.php:653
132
  msgid "Ajax Load More: Shortcode Builder"
133
  msgstr ""
134
 
135
+ #: ../admin/admin.php:654
136
  msgid ""
137
  "Create your own Ajax Load More <a href=\"http://en.support.wordpress.com/"
138
  "shortcodes/\" target=\"_blank\">shortcode</a> by adjusting the values below"
139
  msgstr ""
140
 
141
+ #: ../admin/admin.php:660 ../admin/admin.php:796
142
  msgid "Back to Top"
143
  msgstr ""
144
 
145
+ #: ../admin/admin.php:670
146
  msgid "Shortcode Output"
147
  msgstr ""
148
 
149
+ #: ../admin/admin.php:671
150
  msgid ""
151
+ "Place the following shortcode into the content editor or widget area of your "
152
+ "theme."
153
  msgstr ""
154
 
155
+ #: ../admin/admin.php:674 ../admin/editor-build.php:45
156
  msgid "Copy"
157
  msgstr ""
158
 
159
+ #: ../admin/admin.php:733
160
+ msgid "Ajax Load More: Examples"
161
  msgstr ""
162
 
163
+ #: ../admin/admin.php:734
164
+ msgid "A collection of everyday shortcode usages and implementation examples"
 
 
 
 
165
  msgstr ""
166
 
167
+ #: ../admin/admin.php:741
168
+ msgid "Archive.php"
169
  msgstr ""
170
 
171
+ #: ../admin/admin.php:743
172
+ msgid "Shortcode for use on generic archive page."
173
  msgstr ""
174
 
175
+ #: ../admin/admin.php:751
176
  msgid "Author.php"
177
  msgstr ""
178
 
179
+ #: ../admin/admin.php:753
180
  msgid "Shortcode for use on author archive pages."
181
  msgstr ""
182
 
183
+ #: ../admin/admin.php:760
184
  msgid "Category.php"
185
  msgstr ""
186
 
187
+ #: ../admin/admin.php:762
188
  msgid "Shortcode for use on category archive pages."
189
  msgstr ""
190
 
191
+ #: ../admin/admin.php:769
192
+ msgid "Date Archives"
193
+ msgstr ""
194
+
195
+ #: ../admin/admin.php:771
196
+ msgid "Shortcode for use for archiving by date."
197
+ msgstr ""
198
+
199
+ #: ../admin/admin.php:778
200
  msgid "Excluding Posts"
201
  msgstr ""
202
 
203
+ #: ../admin/admin.php:780
204
  msgid "Shortcode for excluding an array of posts."
205
  msgstr ""
206
 
207
+ #: ../admin/admin.php:786
208
  msgid "Tag.php"
209
  msgstr ""
210
 
211
+ #: ../admin/admin.php:788
212
  msgid "Shortcode for use on tag archive pages."
213
  msgstr ""
214
 
215
+ #: ../admin/admin.php:804
216
+ msgid "Did you know?"
217
  msgstr ""
218
 
219
+ #: ../admin/admin.php:806
220
  msgid ""
221
+ "<p class=\"addon-intro\">You can generate shortcodes while editing pages!</"
222
+ "p><p>Click the Ajax Load More icon in the content editor toolbar and the <a "
223
+ "href=\"?page=ajax-load-more-shortcode-builder\">shortcode builder</a> will "
224
+ "open in an overlay window."
225
  msgstr ""
226
 
227
+ #: ../admin/admin.php:832
228
  msgid "Ajax Load More: Add-ons"
229
  msgstr ""
230
 
231
+ #: ../admin/admin.php:833
232
  msgid ""
233
+ "Add-ons are available to extend and enhance the core functionality of Ajax "
234
  "Load More."
235
  msgstr ""
236
 
237
+ #: ../admin/admin.php:845
238
  msgid "Custom Repeaters"
239
  msgstr ""
240
 
241
+ #: ../admin/admin.php:846
242
+ msgid "Extend Ajax Load More with unlimited repeater templates."
243
+ msgstr ""
244
+
245
+ #: ../admin/admin.php:847
246
  msgid ""
247
+ "Create, delete and modify <a href=\"?page=ajax-load-more-repeaters"
248
+ "\">repeater templates</a> as you need them with absolutely zero restrictions."
249
+ "</p>"
250
  msgstr ""
251
 
252
+ #: ../admin/admin.php:870
253
+ msgid "Search Engine Optimization"
254
+ msgstr ""
255
+
256
+ #: ../admin/admin.php:871
257
+ msgid "Generate unique paging URLs with every Ajax Load More query."
258
+ msgstr ""
259
+
260
+ #: ../admin/admin.php:872
261
  msgid ""
262
+ "The SEO add-on will optimize your ajax loaded content for search engines and "
263
+ "site visitors by generating unique paging URLs with every query.</p>"
 
 
264
  msgstr ""
265
 
266
+ #: ../admin/admin.php:891
267
+ msgid "Add-on Updates"
268
  msgstr ""
269
 
270
+ #: ../admin/admin.php:892
271
  msgid ""
272
+ "All add-ons are installed as stand alone plugins and will receive plugin "
273
+ "update notifications."
274
  msgstr ""
275
 
276
+ #: ../admin/admin.php:928
277
  msgid "Container Type"
278
  msgstr ""
279
 
280
+ #: ../admin/admin.php:936
281
  msgid "Container Classes"
282
  msgstr ""
283
 
284
+ #: ../admin/admin.php:944
285
  msgid "Editor Button"
286
  msgstr ""
287
 
288
+ #: ../admin/admin.php:952
289
  msgid "Disable CSS"
290
  msgstr ""
291
 
292
+ #: ../admin/admin.php:960
293
  msgid "Button Color"
294
  msgstr ""
295
 
296
+ #: ../admin/admin.php:968
297
+ msgid "Button Classes"
 
 
298
  msgstr ""
299
 
300
+ #: ../admin/admin.php:986
301
+ msgid "SEO Permalinks"
302
+ msgstr ""
303
+
304
+ #: ../admin/admin.php:993
305
+ msgid "Scroll to Page"
306
+ msgstr ""
307
+
308
+ #: ../admin/admin.php:1000
309
+ msgid "Scroll Speed"
310
+ msgstr ""
311
+
312
+ #: ../admin/admin.php:1019
313
+ msgid "Customize your version of Ajax Load More by updating the fields below."
314
+ msgstr ""
315
+
316
+ #: ../admin/admin.php:1048
317
  msgid "I want to use my own CSS styles"
318
  msgstr ""
319
 
320
+ #: ../admin/admin.php:1049
321
  msgid "View Ajax Load More CSS"
322
  msgstr ""
323
 
324
+ #: ../admin/admin.php:1068
325
  msgid "Hide shortcode button in WYSIWYG editor"
326
  msgstr ""
327
 
328
+ #: ../admin/admin.php:1082
329
  msgid "Add classes to Ajax Load More container"
330
  msgstr ""
331
 
332
+ #: ../admin/admin.php:1101 ../admin/admin.php:1104
333
  msgid "Ajax Posts Here"
334
  msgstr ""
335
 
336
+ #: ../admin/admin.php:1155
337
  msgid "Choose your load more button color"
338
  msgstr ""
339
 
340
+ #: ../admin/admin.php:1166
341
  msgid "Preview"
342
  msgstr ""
343
 
344
+ #: ../admin/admin.php:1216
345
+ msgid "Add classes to the <em>Load More</em> button"
346
+ msgstr ""
347
+
348
+ #: ../admin/admin.php:1229
349
+ msgid ""
350
+ "Customize your installation of the <a href=\"http://connekthq.com/plugins/"
351
+ "ajax-load-more/seo/\">Search Engine Optimization</a> add-on."
352
+ msgstr ""
353
+
354
+ #: ../admin/admin.php:1253
355
+ msgid ""
356
+ "Pretty Permalinks (mod_rewrite) <br/><span>http://example.com/2012/post-name/"
357
+ "</span>"
358
+ msgstr ""
359
+
360
+ #: ../admin/admin.php:1256
361
+ msgid "Default (Ugly) <br/><span>http://example.com/?p=N</span>"
362
+ msgstr ""
363
+
364
+ #: ../admin/admin.php:1280
365
+ msgid ""
366
+ "Enable window scrolling.<br/><span>If scrolling is enabled, the users window "
367
+ "will scroll to the current page on 'Load More' button click and while "
368
+ "interacting with the forward and back browser buttons.</span>"
369
+ msgstr ""
370
+
371
+ #: ../admin/admin.php:1302
372
+ msgid ""
373
+ "Set the scrolling speed of the page in milliseconds. <br/><span>e.g. 1 "
374
+ "second = 1000</span>"
375
+ msgstr ""
376
+
377
  #: ../admin/editor-build.php:37
378
+ msgid "Jump to Option"
379
  msgstr ""
380
 
381
  #: ../admin/editor-build.php:39
427
  msgid "Read/Write Access"
428
  msgstr ""
429
 
430
+ #: ../admin/includes/cta/writeable.php:10
431
+ msgid ""
432
+ "<p><i class=\"fa fa-check\"></i><strong>Ajax Load More</strong></p><p class="
433
+ "\"desc\">Yay! Read/Write access is enabled within the /ajax-load-more/ "
434
+ "directory."
435
  msgstr ""
436
 
437
+ #: ../admin/includes/cta/writeable.php:12
438
+ msgid ""
439
+ "<p><i class=\"fa fa-exclamation\"></i><strong>Ajax Load More</strong></"
440
+ "p>Access Denied! You must enable read and write access for Ajax Load More "
441
+ "directory (/ajax-load-more/core/repeater/) in order to save repeater "
442
+ "template data.<br/><br/>Please contact your hosting provider or site "
443
+ "administrator for more information."
444
  msgstr ""
445
 
446
+ #: ../admin/includes/cta/writeable.php:14
447
+ msgid ""
448
+ "<p><i class=\"fa fa-exclamation\"></i><strong>Ajax Load More</strong></p><p "
449
+ "class=\"desc\">Unable to locate configuration file. Directory access may not "
450
+ "be granted."
451
+ msgstr ""
452
+
453
+ #: ../admin/includes/cta/writeable.php:25
454
+ msgid ""
455
+ "<p><i class=\"fa fa-check\"></i><strong>ALM - Custom Repeaters</strong></"
456
+ "p><p class=\"desc\">Nice! Read/Write access is enabled within the /ajax-load-"
457
+ "more-repeaters/repeaters/ directory."
458
+ msgstr ""
459
+
460
+ #: ../admin/includes/cta/writeable.php:27
461
+ msgid ""
462
+ "<p><i class=\"fa fa-exclamation\"></i><strong>ALM Custom Repeaters</strong></"
463
+ "p><p class=\"desc\">Access Denied! You must enable read and write access for "
464
+ "Ajax Load More Custom Repeaters directory (/ajax-load-more-repeaters/"
465
+ "repeaters/) in order to save repeater template data.<br/><br/>Please contact "
466
+ "your hosting provider or site administrator for more information."
467
+ msgstr ""
468
+
469
+ #: ../admin/includes/cta/writeable.php:29
470
+ msgid ""
471
+ "<p><i class=\"fa fa-exclamation\"></i><strong>ALM Custom Repeaters</strong></"
472
+ "p><p class=\"desc\">Unable to locate configuration file. Directory access "
473
+ "may not be granted."
474
+ msgstr ""
475
+
476
+ #: ../admin/includes/cta/writeable.php:41
477
+ msgid ""
478
+ "<p><i class=\"fa fa-check\"></i><strong>ALM - Custom Repeaters v2</strong></"
479
+ "p><p class=\"desc\">Oh Ya! Read/Write access is enabled within the /ajax-"
480
+ "load-more-repeaters-v2/repeaters/ directory."
481
+ msgstr ""
482
+
483
+ #: ../admin/includes/cta/writeable.php:43
484
+ msgid ""
485
+ "<p><i class=\"fa fa-exclamation\"></i><strong>ALM - Custom Repeaters v2</"
486
+ "strong></p><p class=\"desc\">Access Denied! You must enable read and write "
487
+ "access for Ajax Load More Unlimited directory (/ajax-load-more-repeaters-v2/"
488
+ "repeaters/) in order to save repeater template data.<br/><br/>Please contact "
489
+ "your hosting provider or site administrator for more information."
490
+ msgstr ""
491
+
492
+ #: ../admin/includes/cta/writeable.php:45
493
+ msgid ""
494
+ "<p><i class=\"fa fa-exclamation\"></i><strong>ALM Unlimited</strong></p><p "
495
+ "class=\"desc\">Unable to locate configuration file. Directory access may not "
496
+ "be granted."
497
+ msgstr ""
498
+
499
+ #: ../admin/shortcode-builder/shortcode-builder.php:7
500
+ msgid "SEO (Search Engine Optimization)"
501
+ msgstr ""
502
+
503
+ #: ../admin/shortcode-builder/shortcode-builder.php:10
504
+ msgid ""
505
+ "Enable address bar URL rewrites as users page through ajax loaded content."
506
+ msgstr ""
507
+
508
+ #: ../admin/shortcode-builder/shortcode-builder.php:17
509
+ #: ../admin/shortcode-builder/shortcode-builder.php:424
510
+ #: ../admin/shortcode-builder/shortcode-builder.php:466
511
+ msgid "True"
512
+ msgstr ""
513
+
514
+ #: ../admin/shortcode-builder/shortcode-builder.php:21
515
+ #: ../admin/shortcode-builder/shortcode-builder.php:428
516
+ #: ../admin/shortcode-builder/shortcode-builder.php:470
517
+ msgid "False"
518
+ msgstr ""
519
+
520
+ #: ../admin/shortcode-builder/shortcode-builder.php:34
521
  msgid "Template"
522
  msgstr ""
523
 
524
+ #: ../admin/shortcode-builder/shortcode-builder.php:37
525
  msgid ""
526
+ "Select a <a href=\"admin.php?page=ajax-load-more-repeaters\" target=\"_parent"
527
+ "\">repeater template</a>."
528
  msgstr ""
529
 
530
+ #: ../admin/shortcode-builder/shortcode-builder.php:76
531
  msgid "Post Types"
532
  msgstr ""
533
 
534
+ #: ../admin/shortcode-builder/shortcode-builder.php:79
535
  msgid "Select Post Types to query."
536
  msgstr ""
537
 
538
+ #: ../admin/shortcode-builder/shortcode-builder.php:100
539
  msgid "Post Format"
540
  msgstr ""
541
 
542
+ #: ../admin/shortcode-builder/shortcode-builder.php:103
543
  msgid ""
544
  "Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
545
  "\">Post Format</a> to query."
546
  msgstr ""
547
 
548
+ #: ../admin/shortcode-builder/shortcode-builder.php:106
549
  msgid "Select Post Format"
550
  msgstr ""
551
 
552
+ #: ../admin/shortcode-builder/shortcode-builder.php:107
553
  msgid "Standard"
554
  msgstr ""
555
 
556
+ #: ../admin/shortcode-builder/shortcode-builder.php:122
557
  msgid "Category"
558
  msgstr ""
559
 
560
+ #: ../admin/shortcode-builder/shortcode-builder.php:125
561
  msgid "Select a Category to query(by slug)."
562
  msgstr ""
563
 
564
+ #: ../admin/shortcode-builder/shortcode-builder.php:128
565
  msgid "Select Category"
566
  msgstr ""
567
 
568
+ #: ../admin/shortcode-builder/shortcode-builder.php:141
569
  msgid "Tag"
570
  msgstr ""
571
 
572
+ #: ../admin/shortcode-builder/shortcode-builder.php:144
573
  msgid "Select a Tag to query(by slug)."
574
  msgstr ""
575
 
576
+ #: ../admin/shortcode-builder/shortcode-builder.php:147
577
  msgid "Select Tag"
578
  msgstr ""
579
 
580
+ #: ../admin/shortcode-builder/shortcode-builder.php:166
581
  msgid "Taxonomy"
582
  msgstr ""
583
 
584
+ #: ../admin/shortcode-builder/shortcode-builder.php:169
585
  msgid "Select your custom taxonomy then select the terms and operator."
586
  msgstr ""
587
 
588
+ #: ../admin/shortcode-builder/shortcode-builder.php:176
589
  msgid "Select Taxonomy"
590
  msgstr ""
591
 
592
+ #: ../admin/shortcode-builder/shortcode-builder.php:185
593
  msgid "Taxonomy Terms:"
594
  msgstr ""
595
 
596
+ #: ../admin/shortcode-builder/shortcode-builder.php:190
597
  msgid "Taxonomy Operator:"
598
  msgstr ""
599
 
600
+ #: ../admin/shortcode-builder/shortcode-builder.php:206
601
+ msgid "Date"
602
+ msgstr ""
603
+
604
+ #: ../admin/shortcode-builder/shortcode-builder.php:209
605
+ msgid ""
606
+ "Enter a year, month(number) and day to query by date archive.<br/>&raquo; <a "
607
+ "href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
608
+ msgstr ""
609
+
610
+ #: ../admin/shortcode-builder/shortcode-builder.php:215
611
+ msgid "Year:"
612
+ msgstr ""
613
+
614
+ #: ../admin/shortcode-builder/shortcode-builder.php:219
615
+ msgid "Month:"
616
+ msgstr ""
617
+
618
+ #: ../admin/shortcode-builder/shortcode-builder.php:223
619
+ msgid "Day:"
620
+ msgstr ""
621
+
622
+ #: ../admin/shortcode-builder/shortcode-builder.php:234
623
  msgid "Custom Fields (Meta)"
624
  msgstr ""
625
 
626
+ #: ../admin/shortcode-builder/shortcode-builder.php:237
627
  msgid ""
628
  "Query by <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
629
  "\" target=\"_blank\">custom fields</a>. Enter your key(name) and value, "
630
  "then select your operator."
631
  msgstr ""
632
 
633
+ #: ../admin/shortcode-builder/shortcode-builder.php:241
634
  msgid "Field Key (Name):"
635
  msgstr ""
636
 
637
+ #: ../admin/shortcode-builder/shortcode-builder.php:242
638
  msgid "Enter custom field key(name)"
639
  msgstr ""
640
 
641
+ #: ../admin/shortcode-builder/shortcode-builder.php:247
642
  msgid "Field Value:"
643
  msgstr ""
644
 
645
+ #: ../admin/shortcode-builder/shortcode-builder.php:248
646
  msgid "Enter custom field value"
647
  msgstr ""
648
 
649
+ #: ../admin/shortcode-builder/shortcode-builder.php:252
650
  msgid "Field Operator:"
651
  msgstr ""
652
 
653
+ #: ../admin/shortcode-builder/shortcode-builder.php:280
654
  msgid "Author"
655
  msgstr ""
656
 
657
+ #: ../admin/shortcode-builder/shortcode-builder.php:283
658
  msgid "Select an Author to query(by ID)."
659
  msgstr ""
660
 
661
+ #: ../admin/shortcode-builder/shortcode-builder.php:286
662
  msgid "Select Author"
663
  msgstr ""
664
 
665
+ #: ../admin/shortcode-builder/shortcode-builder.php:299
666
  msgid "Search Term"
667
  msgstr ""
668
 
669
+ #: ../admin/shortcode-builder/shortcode-builder.php:302
670
  msgid "Enter a search term to query."
671
  msgstr ""
672
 
673
+ #: ../admin/shortcode-builder/shortcode-builder.php:306
674
  msgid "Enter search term"
675
  msgstr ""
676
 
677
+ #: ../admin/shortcode-builder/shortcode-builder.php:314
678
+ msgid "Post Status"
679
+ msgstr ""
680
+
681
+ #: ../admin/shortcode-builder/shortcode-builder.php:317
682
+ msgid "Query by post status."
683
+ msgstr ""
684
+
685
+ #: ../admin/shortcode-builder/shortcode-builder.php:336
686
  msgid "Ordering"
687
  msgstr ""
688
 
689
+ #: ../admin/shortcode-builder/shortcode-builder.php:339
690
  msgid "Sort retrieved posts by Order and Orderby parameters."
691
  msgstr ""
692
 
693
+ #: ../admin/shortcode-builder/shortcode-builder.php:368
694
  msgid "Exclude"
695
  msgstr ""
696
 
697
+ #: ../admin/shortcode-builder/shortcode-builder.php:371
698
  msgid "A comma separated list of post ID's to exclude from query."
699
  msgstr ""
700
 
701
+ #: ../admin/shortcode-builder/shortcode-builder.php:383
702
  msgid "Offset"
703
  msgstr ""
704
 
705
+ #: ../admin/shortcode-builder/shortcode-builder.php:386
706
  msgid "Offset the initial WordPress query by <em>'n'</em> number of posts"
707
  msgstr ""
708
 
709
+ #: ../admin/shortcode-builder/shortcode-builder.php:398
710
  msgid "Posts Per Page"
711
  msgstr ""
712
 
713
+ #: ../admin/shortcode-builder/shortcode-builder.php:401
714
  msgid "Select the number of posts to load with each request."
715
  msgstr ""
716
 
717
+ #: ../admin/shortcode-builder/shortcode-builder.php:414
718
  msgid "Load Posts on Scroll"
719
  msgstr ""
720
 
721
+ #: ../admin/shortcode-builder/shortcode-builder.php:417
722
  msgid "Load more posts as the user scrolls the page."
723
  msgstr ""
724
 
725
+ #: ../admin/shortcode-builder/shortcode-builder.php:439
 
 
 
 
 
 
 
 
 
 
726
  msgid "Max Pages"
727
  msgstr ""
728
 
729
+ #: ../admin/shortcode-builder/shortcode-builder.php:442
730
  msgid "Maximum number of pages to load while scrolling."
731
  msgstr ""
732
 
733
+ #: ../admin/shortcode-builder/shortcode-builder.php:456
 
 
 
 
734
  msgid "Pause Loading of Posts"
735
  msgstr ""
736
 
737
+ #: ../admin/shortcode-builder/shortcode-builder.php:459
738
  msgid "Do not load posts until user clicks <em>load</em> button."
739
  msgstr ""
740
 
741
+ #: ../admin/shortcode-builder/shortcode-builder.php:481
742
  msgid "Transition"
743
  msgstr ""
744
 
745
+ #: ../admin/shortcode-builder/shortcode-builder.php:484
746
  msgid "Select a loading transition."
747
  msgstr ""
748
 
749
+ #: ../admin/shortcode-builder/shortcode-builder.php:491
750
  msgid "Slide"
751
  msgstr ""
752
 
753
+ #: ../admin/shortcode-builder/shortcode-builder.php:495
754
  msgid "Fade"
755
  msgstr ""
756
 
757
+ #: ../admin/shortcode-builder/shortcode-builder.php:506
758
  msgid "Button Label"
759
  msgstr ""
760
 
761
+ #: ../admin/shortcode-builder/shortcode-builder.php:509
762
  msgid "Customize the <em>Load More</em> button label."
763
  msgstr ""
764
 
765
+ #: ../admin/shortcode-builder/shortcode-builder.php:513
766
  msgid "Older Posts"
767
  msgstr ""
768