Version Description
- NEW - Adding new loading styles and button types.
- NEW - Adding new 'button_loading_label' parameter allowing users to change button text while loading content.
- NEW - Adding required support and functionality for new Comments add-on - https://connekthq.com/plugins/ajax-load-more/add-ons/comments/
- UPDATE - Updating JS functions for release of Previous Post v1.1.
- UPDATE - Various admin enhancements and removing deprecated code.
- UPDATE - removing default link color in ajax-load-more.css.
Download this release
Release Info
Developer | dcooney |
Plugin | WordPress Infinite Scroll – Ajax Load More |
Version | 2.8.4 |
Comparing to | |
See all releases |
Code changes from version 2.8.3 to 2.8.4
- README.txt +43 -7
- admin/admin.php +51 -36
- admin/css/admin.css +115 -14
- admin/css/select2.css +10 -5
- admin/css/tooltipster/themes/tooltipster-light.css +12 -0
- admin/css/tooltipster/themes/tooltipster-noir.css +12 -0
- admin/css/tooltipster/themes/tooltipster-punk.css +12 -0
- admin/css/tooltipster/themes/tooltipster-shadow.css +12 -0
- admin/css/tooltipster/tooltipster.css +277 -0
- admin/img/add-ons/comments-add-on.jpg +0 -0
- admin/js/admin.js +55 -5
- admin/js/libs/jquery.tooltipster.min.js +1 -0
- admin/shortcode-builder/js/shortcode-builder.js +85 -21
- admin/shortcode-builder/shortcode-builder.php +218 -13
- admin/views/add-ons.php +35 -8
- admin/views/licenses.php +56 -1
- admin/views/settings.php +3 -3
- ajax-load-more.php +84 -13
- core/css/ajax-load-more.css +73 -21
- core/img/loader-fading-blocks.gif +0 -0
- core/img/loader-fading-circles.gif +0 -0
- core/img/spinner-chasing-arrows.gif +0 -0
- core/img/spinner-ring.gif +0 -0
- core/img/spinner-skype.gif +0 -0
- core/img/spinner.gif +0 -0
- core/js/ajax-load-more.js +89 -11
- core/js/ajax-load-more.min.js +18 -13
- lang/ajax-load-more.pot +429 -247
README.txt
CHANGED
@@ -3,8 +3,8 @@ 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
|
5 |
Requires at least: 3.6
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -12,7 +12,7 @@ A powerful solution to add infinite scroll functionality to your website
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Ajax Load More is the ultimate solution for infinite scrolling and lazy loading posts, custom post types
|
16 |
|
17 |
Build complex WordPress queries using the Ajax Load More custom shortcode builder then add the shortcode to your pages via the content editor or directly into your template files.
|
18 |
|
@@ -31,6 +31,18 @@ Check out the **[demo site](http://connekthq.com/plugins/ajax-load-more/)** for
|
|
31 |
|
32 |
***
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
= Shortcode Parameters =
|
35 |
|
36 |
Ajax Load More accepts a number of parameters that are passed to the WordPress query. These parameters are transferred via shortcode - don't worry, creating your shortcode is simple with our intuitive Shortcode Builder.
|
@@ -74,6 +86,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
|
|
74 |
* **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
|
75 |
* **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
|
76 |
* **button_label** - The label text for Load More button. Default = 'Older Posts'
|
|
|
77 |
* **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
|
78 |
* **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
|
79 |
* **cache** - Turn on content caching for the specific Ajax Load More query. <a href="http://connekthq.com/plugins/ajax-load-more/cache/">add-on only</a> - (true/false). Default = ‘false’
|
@@ -100,6 +113,8 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
|
|
100 |
* **[Destroy After](http://connekthq.com/plugins/ajax-load-more/examples/destroy-after/)** - Remove Ajax Load More functionality after 'n' number of pages
|
101 |
* **[Fade Transition](http://connekthq.com/plugins/ajax-load-more/examples/fade-transition/)** - Elements fade in as posts are loaded
|
102 |
* **[Filtering](http://connekthq.com/plugins/ajax-load-more/examples/filtering/)** - Reset and filter an Ajax Load More instance
|
|
|
|
|
103 |
* **[Masonry](http://connekthq.com/plugins/ajax-load-more/examples/masonry/)** - Creating a flexible grid layout with Masonry JS
|
104 |
* **[Multiple Instances](http://connekthq.com/plugins/ajax-load-more/examples/multiple-instances/)** - Include multiple Ajax Load More' on a single page
|
105 |
* **[Paging URLs](http://connekthq.com/plugins/ajax-load-more/examples/paging-urls/)** - Generate unique paging URLs for every Ajax Load More query with the SEO add-on
|
@@ -118,14 +133,18 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
|
|
118 |
= Add-ons =
|
119 |
The following Add-ons are available to increase the functionality of Ajax Load More.
|
120 |
|
121 |
-
> #### Custom Repeaters
|
122 |
-
> 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 />
|
123 |
-
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)
|
124 |
-
>
|
125 |
> #### Cache
|
126 |
> The **[Cache](http://connekthq.com/plugins/ajax-load-more/cache/)** add-oncreates static HTML files of Ajax Load More requests then serves those static pages to your visitors without querying the database.<br />
|
127 |
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/cache/)
|
128 |
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
> #### Paging
|
130 |
> 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 />
|
131 |
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/paging/)
|
@@ -177,6 +196,13 @@ The following [functions](https://connekthq.com/plugins/ajax-load-more/docs/call
|
|
177 |
console.log('Ajax Load More filter has completed!');
|
178 |
};
|
179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
***
|
181 |
|
182 |
= Variables =
|
@@ -287,6 +313,16 @@ How to install Ajax Load More.
|
|
287 |
== Changelog ==
|
288 |
|
289 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
= 2.8.3 =
|
291 |
* PERFORMANCE - Updating ALM core to enqueue Ajax Load More js only when shortcode is present on screen.
|
292 |
* NEW - Adding 'canonical-url' data attribute to ALM plugin wrapper - this will be used by various functions throughout the core plugin and add-ons.
|
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
|
5 |
Requires at least: 3.6
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 2.8.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Ajax Load More is the ultimate solution for infinite scrolling and lazy loading posts, custom post types, single posts, pages and comments with Ajax powered queries.
|
16 |
|
17 |
Build complex WordPress queries using the Ajax Load More custom shortcode builder then add the shortcode to your pages via the content editor or directly into your template files.
|
18 |
|
31 |
|
32 |
***
|
33 |
|
34 |
+
= Content Types =
|
35 |
+
Ajax Load More will allow for infinite scrolling of pretty much any content type WordPress offers.
|
36 |
+
|
37 |
+
* [Posts](https://connekthq.com/plugins/ajax-load-more/examples/default/)
|
38 |
+
* [Custom Post Types](https://connekthq.com/plugins/ajax-load-more/examples/masonry/)
|
39 |
+
* [Pages](https://connekthq.com/plugins/ajax-load-more/examples/search-results/)
|
40 |
+
* [Single Posts](https://connekthq.com/ajax-load-more-posts/alm-post-example/) **
|
41 |
+
* [Comments](http://comments.connekthq.com/example-post/) **
|
42 |
+
|
43 |
+
** Add-on required
|
44 |
+
|
45 |
+
|
46 |
= Shortcode Parameters =
|
47 |
|
48 |
Ajax Load More accepts a number of parameters that are passed to the WordPress query. These parameters are transferred via shortcode - don't worry, creating your shortcode is simple with our intuitive Shortcode Builder.
|
86 |
* **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
|
87 |
* **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
|
88 |
* **button_label** - The label text for Load More button. Default = 'Older Posts'
|
89 |
+
* **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
|
90 |
* **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
|
91 |
* **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
|
92 |
* **cache** - Turn on content caching for the specific Ajax Load More query. <a href="http://connekthq.com/plugins/ajax-load-more/cache/">add-on only</a> - (true/false). Default = ‘false’
|
113 |
* **[Destroy After](http://connekthq.com/plugins/ajax-load-more/examples/destroy-after/)** - Remove Ajax Load More functionality after 'n' number of pages
|
114 |
* **[Fade Transition](http://connekthq.com/plugins/ajax-load-more/examples/fade-transition/)** - Elements fade in as posts are loaded
|
115 |
* **[Filtering](http://connekthq.com/plugins/ajax-load-more/examples/filtering/)** - Reset and filter an Ajax Load More instance
|
116 |
+
* **[Infinite Scroll](http://connekthq.com/plugins/ajax-load-more/examples/infinite-scroll/)** - A look at the new loading functionality and style
|
117 |
+
* **[Images Loaded](http://connekthq.com/plugins/ajax-load-more/examples/images-loaded/)** - Download images before displaying ajax loaded content
|
118 |
* **[Masonry](http://connekthq.com/plugins/ajax-load-more/examples/masonry/)** - Creating a flexible grid layout with Masonry JS
|
119 |
* **[Multiple Instances](http://connekthq.com/plugins/ajax-load-more/examples/multiple-instances/)** - Include multiple Ajax Load More' on a single page
|
120 |
* **[Paging URLs](http://connekthq.com/plugins/ajax-load-more/examples/paging-urls/)** - Generate unique paging URLs for every Ajax Load More query with the SEO add-on
|
133 |
= Add-ons =
|
134 |
The following Add-ons are available to increase the functionality of Ajax Load More.
|
135 |
|
|
|
|
|
|
|
|
|
136 |
> #### Cache
|
137 |
> The **[Cache](http://connekthq.com/plugins/ajax-load-more/cache/)** add-oncreates static HTML files of Ajax Load More requests then serves those static pages to your visitors without querying the database.<br />
|
138 |
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/cache/)
|
139 |
>
|
140 |
+
> #### Comments
|
141 |
+
> The **[Comments](http://connekthq.com/plugins/ajax-load-more/add-ons/comments/)** add-on will load and display blog comments using the core Ajax Load More infinite scroll functionality.<br />
|
142 |
+
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/add-ons/comments/)
|
143 |
+
>
|
144 |
+
> #### Custom Repeaters
|
145 |
+
> 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 />
|
146 |
+
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/custom-repeaters/)
|
147 |
+
>
|
148 |
> #### Paging
|
149 |
> 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 />
|
150 |
> [Get More Information](http://connekthq.com/plugins/ajax-load-more/paging/)
|
196 |
console.log('Ajax Load More filter has completed!');
|
197 |
};
|
198 |
|
199 |
+
|
200 |
+
**ALM URL Update** - The almUrlUpdate() function is triggered after a successful URL update (pushState) from the Previous Post or the Search Engine Optimization add-on
|
201 |
+
|
202 |
+
$.fn.almUrlUpdate = function(permalink, type){
|
203 |
+
console.log("URL updated to " + permalink + '- dispatched from the '+ type + ' add-on.');
|
204 |
+
};
|
205 |
+
|
206 |
***
|
207 |
|
208 |
= Variables =
|
313 |
== Changelog ==
|
314 |
|
315 |
|
316 |
+
= 2.8.4 =
|
317 |
+
* NEW - Adding new loading styles and button types.
|
318 |
+
* NEW - Adding new 'button_loading_label' parameter allowing users to change button text while loading content.
|
319 |
+
* NEW - Adding required support and functionality for new Comments add-on - https://connekthq.com/plugins/ajax-load-more/add-ons/comments/
|
320 |
+
* UPDATE - Updating JS functions for release of Previous Post v1.1.
|
321 |
+
* UPDATE - Various admin enhancements and removing deprecated code.
|
322 |
+
* UPDATE - removing default link color in ajax-load-more.css.
|
323 |
+
|
324 |
+
|
325 |
+
|
326 |
= 2.8.3 =
|
327 |
* PERFORMANCE - Updating ALM core to enqueue Ajax Load More js only when shortcode is present on screen.
|
328 |
* NEW - Adding 'canonical-url' data attribute to ALM plugin wrapper - this will be used by various functions throughout the core plugin and add-ons.
|
admin/admin.php
CHANGED
@@ -410,6 +410,7 @@ function alm_enqueue_admin_scripts(){
|
|
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-core-css', ALM_URL. '/core/css/ajax-load-more.css');
|
414 |
wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
|
415 |
|
@@ -436,6 +437,7 @@ function alm_enqueue_admin_scripts(){
|
|
436 |
wp_enqueue_script( 'jquery-form' );
|
437 |
wp_enqueue_script( 'alm-select2', ALM_ADMIN_URL. 'js/libs/select2.min.js', array( 'jquery' ));
|
438 |
wp_enqueue_script( 'alm-drops', ALM_ADMIN_URL. 'js/libs/jquery.drops.js', array( 'jquery' ));
|
|
|
439 |
wp_enqueue_script( 'alm-admin', ALM_ADMIN_URL. 'js/admin.js', array( 'jquery' ));
|
440 |
wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
|
441 |
}
|
@@ -822,7 +824,7 @@ function alm_admin_init(){
|
|
822 |
|
823 |
add_settings_field( // Btn color
|
824 |
'_alm_btn_color',
|
825 |
-
__('Button
|
826 |
'alm_btn_color_callback',
|
827 |
'ajax-load-more',
|
828 |
'alm_general_settings'
|
@@ -1102,44 +1104,74 @@ function alm_class_callback(){
|
|
1102 |
function alm_btn_color_callback() {
|
1103 |
|
1104 |
$options = get_option( 'alm_settings' );
|
1105 |
-
$
|
1106 |
|
1107 |
-
if(!isset($
|
1108 |
$options['_alm_btn_color'] = '0';
|
1109 |
|
1110 |
$selected0 = '';
|
1111 |
-
if($
|
1112 |
|
1113 |
$selected1 = '';
|
1114 |
-
if($
|
1115 |
|
1116 |
$selected2 = '';
|
1117 |
-
if($
|
1118 |
|
1119 |
$selected3 = '';
|
1120 |
-
if($
|
1121 |
|
1122 |
$selected4 = '';
|
1123 |
-
if($
|
1124 |
|
1125 |
$selected5 = '';
|
1126 |
-
if($
|
1127 |
|
1128 |
$selected6 = '';
|
1129 |
-
if($
|
1130 |
|
1131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1132 |
$html .= '<select id="alm_settings_btn_color" name="alm_settings[_alm_btn_color]">';
|
1133 |
-
$html .= '<
|
1134 |
-
$html .= '<option value="
|
1135 |
-
$html .= '<option value="
|
1136 |
-
$html .= '<option value="
|
1137 |
-
|
1138 |
-
$html .= '<option value="
|
1139 |
-
$html .= '<option value="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1140 |
$html .= '</select>';
|
1141 |
|
1142 |
-
$html .= '<div class="clear"></div><div class="ajax-load-more-wrap core '.$
|
1143 |
echo $html;
|
1144 |
}
|
1145 |
|
@@ -1164,23 +1196,6 @@ function alm_btn_class_callback(){
|
|
1164 |
echo $html;
|
1165 |
?>
|
1166 |
<script>
|
1167 |
-
//Button preview
|
1168 |
-
var colorArray = "default grey purple green red blue white";
|
1169 |
-
jQuery("select#alm_settings_btn_color").change(function() {
|
1170 |
-
var color = jQuery(this).val();
|
1171 |
-
// Remove other colors
|
1172 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('default');
|
1173 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('grey');
|
1174 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('purple');
|
1175 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('green');
|
1176 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('red');
|
1177 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('blue');
|
1178 |
-
jQuery('.ajax-load-more-wrap.core').removeClass('white');
|
1179 |
-
jQuery('.ajax-load-more-wrap.core').addClass(color);
|
1180 |
-
});
|
1181 |
-
jQuery("select#alm_settings_btn_color").click(function(e){
|
1182 |
-
e.preventDefault();
|
1183 |
-
});
|
1184 |
|
1185 |
// Check if Disable CSS === true
|
1186 |
if(jQuery('input#alm_disable_css_input').is(":checked")){
|
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 |
|
437 |
wp_enqueue_script( 'jquery-form' );
|
438 |
wp_enqueue_script( 'alm-select2', ALM_ADMIN_URL. 'js/libs/select2.min.js', array( 'jquery' ));
|
439 |
wp_enqueue_script( 'alm-drops', ALM_ADMIN_URL. 'js/libs/jquery.drops.js', array( 'jquery' ));
|
440 |
+
wp_enqueue_script( 'alm-tipster', ALM_ADMIN_URL. 'js/libs/jquery.tooltipster.min.js', array( 'jquery' ));
|
441 |
wp_enqueue_script( 'alm-admin', ALM_ADMIN_URL. 'js/admin.js', array( 'jquery' ));
|
442 |
wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
|
443 |
}
|
824 |
|
825 |
add_settings_field( // Btn color
|
826 |
'_alm_btn_color',
|
827 |
+
__('Button/Loading Style', 'ajax-load-more' ),
|
828 |
'alm_btn_color_callback',
|
829 |
'ajax-load-more',
|
830 |
'alm_general_settings'
|
1104 |
function alm_btn_color_callback() {
|
1105 |
|
1106 |
$options = get_option( 'alm_settings' );
|
1107 |
+
$type = $options['_alm_btn_color'];
|
1108 |
|
1109 |
+
if(!isset($type))
|
1110 |
$options['_alm_btn_color'] = '0';
|
1111 |
|
1112 |
$selected0 = '';
|
1113 |
+
if($type == 'default') $selected0 = 'selected="selected"';
|
1114 |
|
1115 |
$selected1 = '';
|
1116 |
+
if($type == 'blue') $selected1 = 'selected="selected"';
|
1117 |
|
1118 |
$selected2 = '';
|
1119 |
+
if($type == 'green') $selected2 = 'selected="selected"';
|
1120 |
|
1121 |
$selected3 = '';
|
1122 |
+
if($type == 'red') $selected3 = 'selected="selected"';
|
1123 |
|
1124 |
$selected4 = '';
|
1125 |
+
if($type == 'purple') $selected4 = 'selected="selected"';
|
1126 |
|
1127 |
$selected5 = '';
|
1128 |
+
if($type == 'grey') $selected5 = 'selected="selected"';
|
1129 |
|
1130 |
$selected6 = '';
|
1131 |
+
if($type == 'white') $selected6 = 'selected="selected"';
|
1132 |
|
1133 |
+
$selected7 = '';
|
1134 |
+
if($type == 'infinite classic') $selected7 = 'selected="selected"';
|
1135 |
+
|
1136 |
+
$selected8 = '';
|
1137 |
+
if($type == 'infinite skype') $selected8 = 'selected="selected"';
|
1138 |
+
|
1139 |
+
$selected9 = '';
|
1140 |
+
if($type == 'infinite ring') $selected9 = 'selected="selected"';
|
1141 |
+
|
1142 |
+
$selected10 = '';
|
1143 |
+
if($type == 'infinite fading-blocks') $selected10 = 'selected="selected"';
|
1144 |
+
|
1145 |
+
$selected11 = '';
|
1146 |
+
if($type == 'infinite fading-circles') $selected11 = 'selected="selected"';
|
1147 |
+
|
1148 |
+
$selected12 = '';
|
1149 |
+
if($type == 'infinite chasing-arrows') $selected12 = 'selected="selected"';
|
1150 |
+
|
1151 |
+
$html = '<label for="alm_settings_btn_color">'.__('Select an Ajax loading style - you can choose between a <strong>button</strong> or <strong>infinite scroll</strong>', 'ajax-load-more');
|
1152 |
+
$html .= '.<br/><span style="display:block">Selecting an Infinite Scroll button style will remove the click interaction and load content on scroll only.</span>';
|
1153 |
+
$html .= '</label>';
|
1154 |
$html .= '<select id="alm_settings_btn_color" name="alm_settings[_alm_btn_color]">';
|
1155 |
+
$html .= '<optgroup label="Buttons">';
|
1156 |
+
$html .= '<option value="default" class="alm-color default" ' . $selected0 .'>Default</option>';
|
1157 |
+
$html .= '<option value="blue" class="alm-color blue" ' . $selected1 .'>Blue</option>';
|
1158 |
+
$html .= '<option value="green" class="alm-color green" ' . $selected2 .'>Green</option>';
|
1159 |
+
//$html .= '<option value="red" ' . $selected3 .'>Red</option>';
|
1160 |
+
$html .= '<option value="purple" class="alm-color purple" ' . $selected4 .'>Purple</option>';
|
1161 |
+
$html .= '<option value="grey" class="alm-color grey" ' . $selected5 .'>Grey</option>';
|
1162 |
+
//$html .= '<option value="white" ' . $selected6 .'>White (Button)</option>';
|
1163 |
+
$html .= '</optgroup>';
|
1164 |
+
$html .= '<optgroup label="Infinite Scroll (no button)">';
|
1165 |
+
$html .= '<option value="infinite classic" class="infinite classic" ' . $selected7 .'>Classic</option>';
|
1166 |
+
$html .= '<option value="infinite skype" class="infinite skype" ' . $selected8 .'>Skype</option>';
|
1167 |
+
$html .= '<option value="infinite ring" class="infinite ring" ' . $selected9 .'>Circle Fill</option>';
|
1168 |
+
$html .= '<option value="infinite fading-blocks" class="infinite fading-blocks" ' . $selected10 .'>Fading Blocks</option>';
|
1169 |
+
$html .= '<option value="infinite fading-circles" class="infinite fading-circles" ' . $selected11 .'>Fading Circles</option>';
|
1170 |
+
$html .= '<option value="infinite chasing-arrows" class="infinite chasing-arrows" ' . $selected12 .'>Chasing Arrows</option>';
|
1171 |
+
$html .= '</optgroup>';
|
1172 |
$html .= '</select>';
|
1173 |
|
1174 |
+
$html .= '<div class="clear"></div><div class="ajax-load-more-wrap core '.$type.'"><span>'.__('Preview', 'ajax-load-more') .'</span><button class="alm-load-more-btn loading" disabled="disabled">Load More</button></div>';
|
1175 |
echo $html;
|
1176 |
}
|
1177 |
|
1196 |
echo $html;
|
1197 |
?>
|
1198 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1199 |
|
1200 |
// Check if Disable CSS === true
|
1201 |
if(jQuery('input#alm_disable_css_input').is(":checked")){
|
admin/css/admin.css
CHANGED
@@ -1,5 +1,74 @@
|
|
1 |
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,600);
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
/*
|
5 |
* Admin - Popup Generator
|
@@ -38,12 +107,12 @@
|
|
38 |
padding: 15px 10px 140px !important;
|
39 |
}
|
40 |
|
41 |
-
#alm-settings form
|
42 |
padding: 2px 0 6px 12px;
|
43 |
border-left: 5px solid #ff5a58;
|
44 |
margin: 0;
|
45 |
}
|
46 |
-
#alm-settings form
|
47 |
color: #999;
|
48 |
padding: 0 0 0 12px;
|
49 |
border-left: 5px solid #ff5a58;
|
@@ -341,7 +410,8 @@
|
|
341 |
.ajax-load-more #taxonomy-extended,
|
342 |
.ajax-load-more #nav-controls,
|
343 |
.ajax-load-more #seo-extended,
|
344 |
-
.ajax-load-more #meta-query-relation
|
|
|
345 |
display: none;
|
346 |
overflow: hidden;
|
347 |
}
|
@@ -643,6 +713,24 @@
|
|
643 |
padding-left: 21px !important;
|
644 |
color: #999;
|
645 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
646 |
|
647 |
.ajax-load-more .section-title p span,
|
648 |
.admin.ajax-load-more.settings .form-table p.notify span{
|
@@ -876,6 +964,7 @@
|
|
876 |
padding: 0 0 10px;
|
877 |
max-width: 90%;
|
878 |
cursor: pointer !important;
|
|
|
879 |
}
|
880 |
.form-table input[type=radio],
|
881 |
.form-table input[type=checkbox]{
|
@@ -950,7 +1039,7 @@
|
|
950 |
.admin.ajax-load-more.settings .select2-container{
|
951 |
margin-top:10px;
|
952 |
}
|
953 |
-
.admin.ajax-load-more
|
954 |
position: relative;
|
955 |
top: 10px;
|
956 |
padding: 10px;
|
@@ -959,19 +1048,20 @@
|
|
959 |
margin-top:10px;
|
960 |
margin-bottom: 10px;
|
961 |
}
|
962 |
-
|
|
|
|
|
|
|
|
|
963 |
margin: 0 !important;
|
964 |
}
|
965 |
-
.admin.ajax-load-more
|
966 |
display: block;
|
967 |
font-size: 11px;
|
968 |
opacity: 0.7;
|
969 |
padding: 0 0 8px;
|
970 |
text-transform: uppercase;
|
971 |
}
|
972 |
-
.admin.ajax-load-more.settings button.alm-load-more-btn.loading:before {
|
973 |
-
margin: 5px 6px 6px;
|
974 |
-
}
|
975 |
|
976 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages{}
|
977 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li{
|
@@ -986,6 +1076,7 @@
|
|
986 |
.admin.ajax-load-more.settings .form-table td,
|
987 |
.admin.ajax-load-more.settings .form-table th{
|
988 |
padding: 20px 0 16px;
|
|
|
989 |
}
|
990 |
.admin.ajax-load-more.settings .form-table th{
|
991 |
padding-left: 17px;
|
@@ -1141,15 +1232,13 @@ input.save-repeater{
|
|
1141 |
.alm-save-settings{}
|
1142 |
.alm-save-settings p.submit{
|
1143 |
float: left;
|
1144 |
-
margin: 0
|
1145 |
width: auto;
|
1146 |
}
|
1147 |
-
.alm-save-settings .
|
1148 |
-
width: 50px;
|
1149 |
-
height: 26px;
|
1150 |
display: none;
|
1151 |
float: left;
|
1152 |
-
|
1153 |
}
|
1154 |
|
1155 |
|
@@ -1173,6 +1262,7 @@ table.highlight{
|
|
1173 |
display: block;
|
1174 |
clear: both;
|
1175 |
}
|
|
|
1176 |
.ajax-load-more .cnkt-main .group,
|
1177 |
.ajax-load-more .cnkt-sidebar .cta,
|
1178 |
.call-out.light{
|
@@ -1258,6 +1348,8 @@ table.highlight{
|
|
1258 |
font-size: 14px;
|
1259 |
padding: 8px 14px;
|
1260 |
}
|
|
|
|
|
1261 |
#alm-add-ons .group img{
|
1262 |
padding: 12px 18px 12px;
|
1263 |
}
|
@@ -1272,9 +1364,18 @@ table.highlight{
|
|
1272 |
-moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
|
1273 |
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
|
1274 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1275 |
#alm-add-ons .group a:hover h2{
|
1276 |
color: #ff5a58 !important;
|
1277 |
}
|
|
|
|
|
|
|
1278 |
|
1279 |
/* Add-on Callout! */
|
1280 |
.call-out{
|
1 |
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,600);
|
2 |
|
3 |
+
/* Custom buttom/loading styles */
|
4 |
+
.select2-results .select2-result.alm-color .select2-result-label{
|
5 |
+
position: relative;
|
6 |
+
}
|
7 |
+
.select2-results .select2-result.alm-color .select2-result-label:after{
|
8 |
+
width: 10px;
|
9 |
+
height: 10px;
|
10 |
+
border-radius: 100%;
|
11 |
+
content: '';
|
12 |
+
display: block;
|
13 |
+
position: absolute;
|
14 |
+
right: 20px;
|
15 |
+
top: 50%;
|
16 |
+
margin-top: -5px;
|
17 |
+
z-index: 1;
|
18 |
+
}
|
19 |
+
.select2-results .select2-result.alm-color.default .select2-result-label:after{
|
20 |
+
background-color: #ed7070;
|
21 |
+
}
|
22 |
+
.select2-results .select2-result.alm-color.blue .select2-result-label:after{
|
23 |
+
background-color: #0081bf;
|
24 |
+
}
|
25 |
+
.select2-results .select2-result.alm-color.green .select2-result-label:after{
|
26 |
+
background-color: #6fca68;
|
27 |
+
}
|
28 |
+
.select2-results .select2-result.alm-color.purple .select2-result-label:after{
|
29 |
+
background-color: #a86bb9;
|
30 |
+
}
|
31 |
+
.select2-results .select2-result.alm-color.grey .select2-result-label:after{
|
32 |
+
background-color: #888;
|
33 |
+
}
|
34 |
+
|
35 |
+
.select2-results .select2-result.infinite .select2-result-label:after{
|
36 |
+
display: none;
|
37 |
+
}
|
38 |
+
.select2-results .select2-result.infinite .select2-result-label{
|
39 |
+
-webkit-background-size: 20px 20px;
|
40 |
+
-moz-background-size: 20px 20px;
|
41 |
+
background-size: 20px 20px;
|
42 |
+
background-repeat: no-repeat;
|
43 |
+
background-position: 93% center;
|
44 |
+
}
|
45 |
+
.select2-results .select2-result.classic .select2-result-label{
|
46 |
+
background-image: url("../../core/img/spinner.gif");
|
47 |
+
}
|
48 |
+
.select2-results .select2-result.skype .select2-result-label{
|
49 |
+
background-image: url("../../core/img/spinner-skype.gif");
|
50 |
+
}
|
51 |
+
.select2-results .select2-result.ring .select2-result-label{
|
52 |
+
background-image: url("../../core/img/spinner-ring.gif");
|
53 |
+
}
|
54 |
+
.select2-results .select2-result.chasing-arrows .select2-result-label{
|
55 |
+
background-image: url("../../core/img/spinner-chasing-arrows.gif");
|
56 |
+
}
|
57 |
+
.select2-results .select2-result.fading-blocks .select2-result-label{
|
58 |
+
background-image: url("../../core/img/loader-fading-blocks.gif");
|
59 |
+
-webkit-background-size: 20px 16px;
|
60 |
+
-moz-background-size: 20px 16px;
|
61 |
+
background-size: 20px 16px;
|
62 |
+
}
|
63 |
+
.select2-results .select2-result.fading-circles .select2-result-label{
|
64 |
+
background-image: url("../../core/img/loader-fading-circles.gif");
|
65 |
+
-webkit-background-size: 30px 10px;
|
66 |
+
-moz-background-size: 30px 10px;
|
67 |
+
background-size: 30px 10px;
|
68 |
+
background-position: 95% center;
|
69 |
+
}
|
70 |
+
|
71 |
+
|
72 |
|
73 |
/*
|
74 |
* Admin - Popup Generator
|
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;
|
113 |
margin: 0;
|
114 |
}
|
115 |
+
#alm-settings form h2 + p{
|
116 |
color: #999;
|
117 |
padding: 0 0 0 12px;
|
118 |
border-left: 5px solid #ff5a58;
|
410 |
.ajax-load-more #taxonomy-extended,
|
411 |
.ajax-load-more #nav-controls,
|
412 |
.ajax-load-more #seo-extended,
|
413 |
+
.ajax-load-more #meta-query-relation,
|
414 |
+
.ajax-load-more .comments_extras{
|
415 |
display: none;
|
416 |
overflow: hidden;
|
417 |
}
|
713 |
padding-left: 21px !important;
|
714 |
color: #999;
|
715 |
}
|
716 |
+
.ajax-load-more .section-title p .fa.tooltip,
|
717 |
+
.form-table label .fa.tooltip{
|
718 |
+
margin: 0 2px;
|
719 |
+
display: inline-block;
|
720 |
+
font-size: 16px;
|
721 |
+
opacity: 0.9;
|
722 |
+
top: 0;
|
723 |
+
}
|
724 |
+
.ajax-load-more .section-title p .fa.tooltip:hover,
|
725 |
+
.form-table label .fa.tooltip:hover{
|
726 |
+
opacity: 1;
|
727 |
+
}
|
728 |
+
.fa.tooltip{
|
729 |
+
text-decoration: none;
|
730 |
+
cursor: help;
|
731 |
+
position: relative;
|
732 |
+
top: -1px;
|
733 |
+
}
|
734 |
|
735 |
.ajax-load-more .section-title p span,
|
736 |
.admin.ajax-load-more.settings .form-table p.notify span{
|
964 |
padding: 0 0 10px;
|
965 |
max-width: 90%;
|
966 |
cursor: pointer !important;
|
967 |
+
line-height: 1.5;
|
968 |
}
|
969 |
.form-table input[type=radio],
|
970 |
.form-table input[type=checkbox]{
|
1039 |
.admin.ajax-load-more.settings .select2-container{
|
1040 |
margin-top:10px;
|
1041 |
}
|
1042 |
+
.admin.ajax-load-more .ajax-load-more-wrap {
|
1043 |
position: relative;
|
1044 |
top: 10px;
|
1045 |
padding: 10px;
|
1048 |
margin-top:10px;
|
1049 |
margin-bottom: 10px;
|
1050 |
}
|
1051 |
+
|
1052 |
+
.admin.ajax-load-more .ajax-load-more-wrap.preview-pane.none{
|
1053 |
+
display: none;
|
1054 |
+
}
|
1055 |
+
.admin.ajax-load-more .ajax-load-more-wrap button{
|
1056 |
margin: 0 !important;
|
1057 |
}
|
1058 |
+
.admin.ajax-load-more .ajax-load-more-wrap > span{
|
1059 |
display: block;
|
1060 |
font-size: 11px;
|
1061 |
opacity: 0.7;
|
1062 |
padding: 0 0 8px;
|
1063 |
text-transform: uppercase;
|
1064 |
}
|
|
|
|
|
|
|
1065 |
|
1066 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages{}
|
1067 |
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li{
|
1076 |
.admin.ajax-load-more.settings .form-table td,
|
1077 |
.admin.ajax-load-more.settings .form-table th{
|
1078 |
padding: 20px 0 16px;
|
1079 |
+
line-height: 1.5;
|
1080 |
}
|
1081 |
.admin.ajax-load-more.settings .form-table th{
|
1082 |
padding-left: 17px;
|
1232 |
.alm-save-settings{}
|
1233 |
.alm-save-settings p.submit{
|
1234 |
float: left;
|
1235 |
+
margin: 0 5px 0 0;
|
1236 |
width: auto;
|
1237 |
}
|
1238 |
+
.alm-save-settings .spinner{
|
|
|
|
|
1239 |
display: none;
|
1240 |
float: left;
|
1241 |
+
visibility: visible !important;
|
1242 |
}
|
1243 |
|
1244 |
|
1262 |
display: block;
|
1263 |
clear: both;
|
1264 |
}
|
1265 |
+
|
1266 |
.ajax-load-more .cnkt-main .group,
|
1267 |
.ajax-load-more .cnkt-sidebar .cta,
|
1268 |
.call-out.light{
|
1348 |
font-size: 14px;
|
1349 |
padding: 8px 14px;
|
1350 |
}
|
1351 |
+
.ajax-load-more .cnkt-main .group.installed{ }
|
1352 |
+
|
1353 |
#alm-add-ons .group img{
|
1354 |
padding: 12px 18px 12px;
|
1355 |
}
|
1364 |
-moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
|
1365 |
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
|
1366 |
}
|
1367 |
+
#alm-add-ons .group.installed:hover{
|
1368 |
+
border-color: #ccc;
|
1369 |
+
-webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
|
1370 |
+
-moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
|
1371 |
+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
|
1372 |
+
}
|
1373 |
#alm-add-ons .group a:hover h2{
|
1374 |
color: #ff5a58 !important;
|
1375 |
}
|
1376 |
+
#alm-add-ons .group.installed a:hover h2{
|
1377 |
+
color: #444 !important;
|
1378 |
+
}
|
1379 |
|
1380 |
/* Add-on Callout! */
|
1381 |
.call-out{
|
admin/css/select2.css
CHANGED
@@ -220,13 +220,17 @@
|
|
220 |
overflow-y: auto;
|
221 |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
222 |
}
|
|
|
|
|
|
|
|
|
223 |
|
224 |
.select2-results li {
|
225 |
list-style: none;
|
226 |
display: block;
|
227 |
background-image: none;
|
228 |
padding: 0;
|
229 |
-
margin: 0;
|
230 |
border-top: 1px solid #efefef;
|
231 |
color: #666;
|
232 |
width: auto;
|
@@ -234,15 +238,17 @@
|
|
234 |
}
|
235 |
|
236 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
237 |
-
font-weight:
|
|
|
|
|
|
|
238 |
}
|
239 |
|
240 |
.select2-results .select2-result-label {
|
241 |
margin: 0;
|
242 |
cursor: pointer;
|
243 |
min-height: 1em;
|
244 |
-
padding: 10px
|
245 |
-
border-left: 4px solid transparent;
|
246 |
-webkit-touch-callout: none;
|
247 |
-webkit-user-select: none;
|
248 |
-khtml-user-select: none;
|
@@ -254,7 +260,6 @@
|
|
254 |
.select2-results .select2-highlighted .select2-result-label{ /* Hover */
|
255 |
background: #f7f7f7;
|
256 |
color: #ca5252;
|
257 |
-
border-color: #efefef;
|
258 |
}
|
259 |
|
260 |
.select2-results .select2-highlighted:active {
|
220 |
overflow-y: auto;
|
221 |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
222 |
}
|
223 |
+
.select2-result-sub{
|
224 |
+
margin: 0;
|
225 |
+
padding: 0;
|
226 |
+
}
|
227 |
|
228 |
.select2-results li {
|
229 |
list-style: none;
|
230 |
display: block;
|
231 |
background-image: none;
|
232 |
padding: 0;
|
233 |
+
margin: 0 !important;
|
234 |
border-top: 1px solid #efefef;
|
235 |
color: #666;
|
236 |
width: auto;
|
238 |
}
|
239 |
|
240 |
.select2-results li.select2-result-with-children > .select2-result-label {
|
241 |
+
font-weight: 600;
|
242 |
+
font-size: 15px;
|
243 |
+
cursor: default;
|
244 |
+
color: #222;
|
245 |
}
|
246 |
|
247 |
.select2-results .select2-result-label {
|
248 |
margin: 0;
|
249 |
cursor: pointer;
|
250 |
min-height: 1em;
|
251 |
+
padding: 10px 8px;
|
|
|
252 |
-webkit-touch-callout: none;
|
253 |
-webkit-user-select: none;
|
254 |
-khtml-user-select: none;
|
260 |
.select2-results .select2-highlighted .select2-result-label{ /* Hover */
|
261 |
background: #f7f7f7;
|
262 |
color: #ca5252;
|
|
|
263 |
}
|
264 |
|
265 |
.select2-results .select2-highlighted:active {
|
admin/css/tooltipster/themes/tooltipster-light.css
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tooltipster-light {
|
2 |
+
border-radius: 5px;
|
3 |
+
border: 1px solid #cccccc;
|
4 |
+
background: #ededed;
|
5 |
+
color: #666666;
|
6 |
+
}
|
7 |
+
.tooltipster-light .tooltipster-content {
|
8 |
+
font-family: Arial, sans-serif;
|
9 |
+
font-size: 14px;
|
10 |
+
line-height: 16px;
|
11 |
+
padding: 8px 10px;
|
12 |
+
}
|
admin/css/tooltipster/themes/tooltipster-noir.css
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tooltipster-noir {
|
2 |
+
border-radius: 0px;
|
3 |
+
border: 3px solid #2c2c2c;
|
4 |
+
background: #fff;
|
5 |
+
color: #2c2c2c;
|
6 |
+
}
|
7 |
+
.tooltipster-noir .tooltipster-content {
|
8 |
+
font-family: 'Georgia', serif;
|
9 |
+
font-size: 14px;
|
10 |
+
line-height: 16px;
|
11 |
+
padding: 8px 10px;
|
12 |
+
}
|
admin/css/tooltipster/themes/tooltipster-punk.css
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tooltipster-punk {
|
2 |
+
border-radius: 5px;
|
3 |
+
border-bottom: 3px solid #f71169;
|
4 |
+
background: #2a2a2a;
|
5 |
+
color: #fff;
|
6 |
+
}
|
7 |
+
.tooltipster-punk .tooltipster-content {
|
8 |
+
font-family: 'Courier', monospace;
|
9 |
+
font-size: 14px;
|
10 |
+
line-height: 16px;
|
11 |
+
padding: 8px 10px;
|
12 |
+
}
|
admin/css/tooltipster/themes/tooltipster-shadow.css
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tooltipster-shadow {
|
2 |
+
border-radius: 5px;
|
3 |
+
background: #fff;
|
4 |
+
box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
|
5 |
+
color: #2c2c2c;
|
6 |
+
}
|
7 |
+
.tooltipster-shadow .tooltipster-content {
|
8 |
+
font-family: 'Arial', sans-serif;
|
9 |
+
font-size: 14px;
|
10 |
+
line-height: 16px;
|
11 |
+
padding: 8px 10px;
|
12 |
+
}
|
admin/css/tooltipster/tooltipster.css
ADDED
@@ -0,0 +1,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
|
2 |
+
.tooltipster-default {
|
3 |
+
border-radius: 3px;
|
4 |
+
border: 2px solid #222;
|
5 |
+
border: none;
|
6 |
+
background: #0073aa;
|
7 |
+
background: rgba(33, 149, 204, 0.95);
|
8 |
+
color: #e7f3f8;
|
9 |
+
}
|
10 |
+
|
11 |
+
/* Use this next selector to style things like font-size and line-height: */
|
12 |
+
.tooltipster-default .tooltipster-content {
|
13 |
+
font-family: 'Open Sans', sans-serif;
|
14 |
+
font-size: 13px;
|
15 |
+
line-height: 20px;
|
16 |
+
padding: 12px 16px;
|
17 |
+
overflow: hidden;
|
18 |
+
text-align: center;
|
19 |
+
}
|
20 |
+
|
21 |
+
/* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */
|
22 |
+
.tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {
|
23 |
+
/* border-color: ... !important; */
|
24 |
+
}
|
25 |
+
|
26 |
+
|
27 |
+
/* If you're using the icon option, use this next selector to style them */
|
28 |
+
.tooltipster-icon {
|
29 |
+
cursor: help;
|
30 |
+
margin-left: 4px;
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
/* This is the base styling required to make all Tooltipsters work */
|
41 |
+
.tooltipster-base {
|
42 |
+
padding: 0;
|
43 |
+
font-size: 0;
|
44 |
+
line-height: 0;
|
45 |
+
position: absolute;
|
46 |
+
left: 0;
|
47 |
+
top: 0;
|
48 |
+
z-index: 9999999;
|
49 |
+
pointer-events: none;
|
50 |
+
width: auto;
|
51 |
+
overflow: visible;
|
52 |
+
}
|
53 |
+
.tooltipster-base .tooltipster-content {
|
54 |
+
overflow: hidden;
|
55 |
+
}
|
56 |
+
|
57 |
+
|
58 |
+
/* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */
|
59 |
+
.tooltipster-arrow {
|
60 |
+
display: block;
|
61 |
+
text-align: center;
|
62 |
+
width: 100%;
|
63 |
+
height: 100%;
|
64 |
+
position: absolute;
|
65 |
+
top: 0;
|
66 |
+
left: 0;
|
67 |
+
z-index: -1;
|
68 |
+
}
|
69 |
+
.tooltipster-arrow span, .tooltipster-arrow-border {
|
70 |
+
display: block;
|
71 |
+
width: 0;
|
72 |
+
height: 0;
|
73 |
+
position: absolute;
|
74 |
+
}
|
75 |
+
.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
|
76 |
+
border-left: 8px solid transparent !important;
|
77 |
+
border-right: 8px solid transparent !important;
|
78 |
+
border-top: 8px solid;
|
79 |
+
bottom: -7px;
|
80 |
+
}
|
81 |
+
.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
|
82 |
+
border-left: 9px solid transparent !important;
|
83 |
+
border-right: 9px solid transparent !important;
|
84 |
+
border-top: 9px solid;
|
85 |
+
bottom: -7px;
|
86 |
+
}
|
87 |
+
|
88 |
+
.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
|
89 |
+
border-left: 8px solid transparent !important;
|
90 |
+
border-right: 8px solid transparent !important;
|
91 |
+
border-bottom: 8px solid;
|
92 |
+
top: -7px;
|
93 |
+
}
|
94 |
+
.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
|
95 |
+
border-left: 9px solid transparent !important;
|
96 |
+
border-right: 9px solid transparent !important;
|
97 |
+
border-bottom: 9px solid;
|
98 |
+
top: -7px;
|
99 |
+
}
|
100 |
+
.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
|
101 |
+
left: 0;
|
102 |
+
right: 0;
|
103 |
+
margin: 0 auto;
|
104 |
+
}
|
105 |
+
.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
|
106 |
+
left: 6px;
|
107 |
+
}
|
108 |
+
.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
|
109 |
+
left: 5px;
|
110 |
+
}
|
111 |
+
.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {
|
112 |
+
right: 6px;
|
113 |
+
}
|
114 |
+
.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
|
115 |
+
right: 5px;
|
116 |
+
}
|
117 |
+
.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
|
118 |
+
border-top: 8px solid transparent !important;
|
119 |
+
border-bottom: 8px solid transparent !important;
|
120 |
+
border-left: 8px solid;
|
121 |
+
top: 50%;
|
122 |
+
margin-top: -7px;
|
123 |
+
right: -7px;
|
124 |
+
}
|
125 |
+
.tooltipster-arrow-left .tooltipster-arrow-border {
|
126 |
+
border-top: 9px solid transparent !important;
|
127 |
+
border-bottom: 9px solid transparent !important;
|
128 |
+
border-left: 9px solid;
|
129 |
+
margin-top: -8px;
|
130 |
+
}
|
131 |
+
.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
|
132 |
+
border-top: 8px solid transparent !important;
|
133 |
+
border-bottom: 8px solid transparent !important;
|
134 |
+
border-right: 8px solid;
|
135 |
+
top: 50%;
|
136 |
+
margin-top: -7px;
|
137 |
+
left: -7px;
|
138 |
+
}
|
139 |
+
.tooltipster-arrow-right .tooltipster-arrow-border {
|
140 |
+
border-top: 9px solid transparent !important;
|
141 |
+
border-bottom: 9px solid transparent !important;
|
142 |
+
border-right: 9px solid;
|
143 |
+
margin-top: -8px;
|
144 |
+
}
|
145 |
+
|
146 |
+
|
147 |
+
/* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */
|
148 |
+
|
149 |
+
.tooltipster-fade {
|
150 |
+
opacity: 0;
|
151 |
+
-webkit-transition-property: opacity;
|
152 |
+
-moz-transition-property: opacity;
|
153 |
+
-o-transition-property: opacity;
|
154 |
+
-ms-transition-property: opacity;
|
155 |
+
transition-property: opacity;
|
156 |
+
}
|
157 |
+
.tooltipster-fade-show {
|
158 |
+
opacity: 1;
|
159 |
+
}
|
160 |
+
|
161 |
+
.tooltipster-grow {
|
162 |
+
-webkit-transform: scale(0,0);
|
163 |
+
-moz-transform: scale(0,0);
|
164 |
+
-o-transform: scale(0,0);
|
165 |
+
-ms-transform: scale(0,0);
|
166 |
+
transform: scale(0,0);
|
167 |
+
-webkit-transition-property: -webkit-transform;
|
168 |
+
-moz-transition-property: -moz-transform;
|
169 |
+
-o-transition-property: -o-transform;
|
170 |
+
-ms-transition-property: -ms-transform;
|
171 |
+
transition-property: transform;
|
172 |
+
-webkit-backface-visibility: hidden;
|
173 |
+
}
|
174 |
+
.tooltipster-grow-show {
|
175 |
+
-webkit-transform: scale(1,1);
|
176 |
+
-moz-transform: scale(1,1);
|
177 |
+
-o-transform: scale(1,1);
|
178 |
+
-ms-transform: scale(1,1);
|
179 |
+
transform: scale(1,1);
|
180 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
181 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
182 |
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
183 |
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
184 |
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
185 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
186 |
+
}
|
187 |
+
|
188 |
+
.tooltipster-swing {
|
189 |
+
opacity: 0;
|
190 |
+
-webkit-transform: rotateZ(4deg);
|
191 |
+
-moz-transform: rotateZ(4deg);
|
192 |
+
-o-transform: rotateZ(4deg);
|
193 |
+
-ms-transform: rotateZ(4deg);
|
194 |
+
transform: rotateZ(4deg);
|
195 |
+
-webkit-transition-property: -webkit-transform, opacity;
|
196 |
+
-moz-transition-property: -moz-transform;
|
197 |
+
-o-transition-property: -o-transform;
|
198 |
+
-ms-transition-property: -ms-transform;
|
199 |
+
transition-property: transform;
|
200 |
+
}
|
201 |
+
.tooltipster-swing-show {
|
202 |
+
opacity: 1;
|
203 |
+
-webkit-transform: rotateZ(0deg);
|
204 |
+
-moz-transform: rotateZ(0deg);
|
205 |
+
-o-transform: rotateZ(0deg);
|
206 |
+
-ms-transform: rotateZ(0deg);
|
207 |
+
transform: rotateZ(0deg);
|
208 |
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
|
209 |
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
210 |
+
-moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
211 |
+
-ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
212 |
+
-o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
213 |
+
transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
214 |
+
}
|
215 |
+
|
216 |
+
.tooltipster-fall {
|
217 |
+
top: 0;
|
218 |
+
-webkit-transition-property: top;
|
219 |
+
-moz-transition-property: top;
|
220 |
+
-o-transition-property: top;
|
221 |
+
-ms-transition-property: top;
|
222 |
+
transition-property: top;
|
223 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
224 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
225 |
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
226 |
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
227 |
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
228 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
229 |
+
}
|
230 |
+
.tooltipster-fall-show {
|
231 |
+
}
|
232 |
+
.tooltipster-fall.tooltipster-dying {
|
233 |
+
-webkit-transition-property: all;
|
234 |
+
-moz-transition-property: all;
|
235 |
+
-o-transition-property: all;
|
236 |
+
-ms-transition-property: all;
|
237 |
+
transition-property: all;
|
238 |
+
top: 0px !important;
|
239 |
+
opacity: 0;
|
240 |
+
}
|
241 |
+
|
242 |
+
.tooltipster-slide {
|
243 |
+
left: -40px;
|
244 |
+
-webkit-transition-property: left;
|
245 |
+
-moz-transition-property: left;
|
246 |
+
-o-transition-property: left;
|
247 |
+
-ms-transition-property: left;
|
248 |
+
transition-property: left;
|
249 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
250 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
251 |
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
252 |
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
253 |
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
254 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
255 |
+
}
|
256 |
+
.tooltipster-slide.tooltipster-slide-show {
|
257 |
+
}
|
258 |
+
.tooltipster-slide.tooltipster-dying {
|
259 |
+
-webkit-transition-property: all;
|
260 |
+
-moz-transition-property: all;
|
261 |
+
-o-transition-property: all;
|
262 |
+
-ms-transition-property: all;
|
263 |
+
transition-property: all;
|
264 |
+
left: 0px !important;
|
265 |
+
opacity: 0;
|
266 |
+
}
|
267 |
+
|
268 |
+
|
269 |
+
/* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */
|
270 |
+
.tooltipster-content-changing {
|
271 |
+
opacity: 0.5;
|
272 |
+
-webkit-transform: scale(1.1, 1.1);
|
273 |
+
-moz-transform: scale(1.1, 1.1);
|
274 |
+
-o-transform: scale(1.1, 1.1);
|
275 |
+
-ms-transform: scale(1.1, 1.1);
|
276 |
+
transform: scale(1.1, 1.1);
|
277 |
+
}
|
admin/img/add-ons/comments-add-on.jpg
ADDED
Binary file
|
admin/js/admin.js
CHANGED
@@ -5,6 +5,56 @@ jQuery(document).ready(function($) {
|
|
5 |
|
6 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
$('.alm-template-listing li a').click(function(e){
|
9 |
e.preventDefault();
|
10 |
var el = $(this),
|
@@ -27,12 +77,14 @@ jQuery(document).ready(function($) {
|
|
27 |
|
28 |
|
29 |
|
|
|
30 |
/*
|
31 |
* Mailchimp Signup
|
32 |
* From the setting screen
|
33 |
*
|
34 |
* @since 2.7.2
|
35 |
*/
|
|
|
36 |
$('form#alm-mc-embedded').submit(function() {
|
37 |
var el = $('#alm-mailing-list'),
|
38 |
email = $('input#mc_email', el).val(),
|
@@ -139,7 +191,7 @@ jQuery(document).ready(function($) {
|
|
139 |
*
|
140 |
* @since 2.8.3
|
141 |
*/
|
142 |
-
|
143 |
var almActivating = false;
|
144 |
$(document).on('click', '.license-btn', function(e){
|
145 |
e.preventDefault();
|
@@ -279,11 +331,9 @@ jQuery(document).ready(function($) {
|
|
279 |
$(document).on('click', '.alm-settings-nav li a', function(e){
|
280 |
e.preventDefault();
|
281 |
var el = $(this).parent(),
|
282 |
-
index = el.index();
|
283 |
-
|
284 |
-
|
285 |
$('html, body').animate({
|
286 |
-
scrollTop: $("#alm_OptionsForm
|
287 |
}, 500);
|
288 |
|
289 |
|
5 |
|
6 |
|
7 |
|
8 |
+
/*
|
9 |
+
* Tooltipster
|
10 |
+
* http://iamceege.github.io/tooltipster/
|
11 |
+
*
|
12 |
+
* @since 2.8.4
|
13 |
+
*/
|
14 |
+
|
15 |
+
$('.tooltip').tooltipster({
|
16 |
+
delay: 100,
|
17 |
+
speed: 175,
|
18 |
+
maxWidth: 400
|
19 |
+
});
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
/*
|
25 |
+
* Button preview pane
|
26 |
+
* Found on Settings and Shortcode Builder
|
27 |
+
*
|
28 |
+
* @since 2.8.4
|
29 |
+
*/
|
30 |
+
|
31 |
+
$("select#alm_settings_btn_color").change(function() {
|
32 |
+
var color = jQuery(this).val();
|
33 |
+
// Remove other colors
|
34 |
+
$('.ajax-load-more-wrap.core.preview-pane').removeClass('none');
|
35 |
+
$('.ajax-load-more-wrap.core').removeClass('default');
|
36 |
+
$('.ajax-load-more-wrap.core').removeClass('grey');
|
37 |
+
$('.ajax-load-more-wrap.core').removeClass('purple');
|
38 |
+
$('.ajax-load-more-wrap.core').removeClass('green');
|
39 |
+
$('.ajax-load-more-wrap.core').removeClass('red');
|
40 |
+
$('.ajax-load-more-wrap.core').removeClass('blue');
|
41 |
+
$('.ajax-load-more-wrap.core').removeClass('white');
|
42 |
+
$('.ajax-load-more-wrap.core').removeClass('infinite');
|
43 |
+
$('.ajax-load-more-wrap.core').removeClass('skype');
|
44 |
+
$('.ajax-load-more-wrap.core').removeClass('ring');
|
45 |
+
$('.ajax-load-more-wrap.core').removeClass('fading-blocks');
|
46 |
+
$('.ajax-load-more-wrap.core').removeClass('fading-circles');
|
47 |
+
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
48 |
+
$('.ajax-load-more-wrap.core').addClass(color);
|
49 |
+
|
50 |
+
});
|
51 |
+
$("select#alm_settings_btn_color").click(function(e){
|
52 |
+
e.preventDefault();
|
53 |
+
});
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
$('.alm-template-listing li a').click(function(e){
|
59 |
e.preventDefault();
|
60 |
var el = $(this),
|
77 |
|
78 |
|
79 |
|
80 |
+
|
81 |
/*
|
82 |
* Mailchimp Signup
|
83 |
* From the setting screen
|
84 |
*
|
85 |
* @since 2.7.2
|
86 |
*/
|
87 |
+
|
88 |
$('form#alm-mc-embedded').submit(function() {
|
89 |
var el = $('#alm-mailing-list'),
|
90 |
email = $('input#mc_email', el).val(),
|
191 |
*
|
192 |
* @since 2.8.3
|
193 |
*/
|
194 |
+
|
195 |
var almActivating = false;
|
196 |
$(document).on('click', '.license-btn', function(e){
|
197 |
e.preventDefault();
|
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 |
|
admin/js/libs/jquery.tooltipster.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
/* Tooltipster v3.3.0 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i<v.length;i++){if(typeof t[v[i]+r]=="string"){return true}}return false}var r="tooltipster",i={animation:"fade",arrow:true,arrowColor:"",autoClose:true,content:null,contentAsHTML:false,contentCloning:true,debug:true,delay:200,minWidth:0,maxWidth:null,functionInit:function(e,t){},functionBefore:function(e,t){t()},functionReady:function(e,t){},functionAfter:function(e){},hideOnClick:false,icon:"(?)",iconCloning:true,iconDesktop:false,iconTouch:false,iconTheme:"tooltipster-icon",interactive:false,interactiveTolerance:350,multiple:false,offsetX:0,offsetY:0,onlyOne:false,position:"top",positionTracker:false,positionTrackerCallback:function(e){if(this.option("trigger")=="hover"&&this.option("autoClose")){this.hide()}},restoration:"current",speed:350,timer:0,theme:"tooltipster-default",touchDevices:true,trigger:"hover",updateAnimation:true};s.prototype={_init:function(){var t=this;if(n.querySelector){var r=null;if(t.$el.data("tooltipster-initialTitle")===undefined){r=t.$el.attr("title");if(r===undefined)r=null;t.$el.data("tooltipster-initialTitle",r)}if(t.options.content!==null){t._content_set(t.options.content)}else{t._content_set(r)}var i=t.options.functionInit.call(t.$el,t.$el,t.Content);if(typeof i!=="undefined")t._content_set(i);t.$el.removeAttr("title").addClass("tooltipstered");if(!u&&t.options.iconDesktop||u&&t.options.iconTouch){if(typeof t.options.icon==="string"){t.$elProxy=e('<span class="'+t.options.iconTheme+'"></span>');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('<div class="tooltipster-base '+r.options.theme+'" style="'+f+" "+c+" "+h+" "+a+'"><div class="tooltipster-content"></div></div>');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}if(r.options.hideOnClick){r.$elProxy.on("click."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition();t.options.positionTrackerCallback.call(t,t.$el)}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;k<d.length;k++){var L=parseInt(d[k]);if(C=="even"){if(L>T){T=L;if(k===0){S=T}}if(L<S){S=L}C="odd"}else{if(L>N){N=L;if(k==1){x=N}}if(L<x){x=L}C="even"}}s.dimension.height=N-x;s.dimension.width=T-S;s.offset.top=p+x;s.offset.left=h+S}else{s.dimension.height=c.outerHeight(false);s.dimension.width=c.outerWidth(false);s.offset.top=p;s.offset.left=h}}var A=0,O=0,M=0,_=parseInt(n.options.offsetY),D=parseInt(n.options.offsetX),P=n.options.position;function H(){var n=e(t).scrollLeft();if(A-n<0){r=A-n;A=n}if(A+o-n>i){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X='<span class="tooltipster-arrow-border" style="'+V+" "+J+';"></span>'}n.$tooltip.find(".tooltipster-arrow").remove();var K='<div class="'+R+' tooltipster-arrow" style="'+r+'">'+X+'<span style="border-color:'+U+';"></span></div>';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0]){t.$elProxy.remove()}t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=null;if(t.options.restoration==="previous"){r=t.$el.data("tooltipster-initialTitle")}else if(t.options.restoration==="current"){r=typeof t.Content==="string"?t.Content:e("<div></div>").append(t.Content).html()}if(r){t.$el.attr("title",r)}t.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document);
|
admin/shortcode-builder/js/shortcode-builder.js
CHANGED
@@ -21,10 +21,10 @@ jQuery(document).ready(function($) {
|
|
21 |
|
22 |
// multiple
|
23 |
$('.ajax-load-more .categories select.multiple').select2({
|
24 |
-
placeholder : 'Select Categories',
|
25 |
});
|
26 |
$('.ajax-load-more .tags select.multiple').select2({
|
27 |
-
placeholder : 'Select Tags'
|
28 |
});
|
29 |
};
|
30 |
_alm.select2();
|
@@ -123,6 +123,51 @@ jQuery(document).ready(function($) {
|
|
123 |
}
|
124 |
|
125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
// ---------------------------
|
127 |
// - PAGING
|
128 |
// ---------------------------
|
@@ -174,12 +219,16 @@ jQuery(document).ready(function($) {
|
|
174 |
var previous = $('.previous-post input[name=prev-post]:checked').val();
|
175 |
if(previous !== 'false' && previous != undefined){
|
176 |
|
177 |
-
var prev_post_id = $('#prev_post_id').val()
|
|
|
178 |
$('.prev_post_id').slideDown(100, 'alm_easeInOutQuad');
|
179 |
|
180 |
output += ' previous_post="'+previous+'"';
|
181 |
output += ' previous_post_id="\'.'+prev_post_id+'.\'"';
|
182 |
|
|
|
|
|
|
|
183 |
}else{
|
184 |
$('.prev_post_id').slideUp(100, 'alm_easeInOutQuad');
|
185 |
}
|
@@ -217,21 +266,26 @@ jQuery(document).ready(function($) {
|
|
217 |
// - Post Types
|
218 |
// ---------------------------
|
219 |
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
if(
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
|
|
|
|
|
|
230 |
}
|
231 |
-
}
|
232 |
-
|
233 |
-
|
234 |
-
|
|
|
|
|
235 |
|
236 |
// ---------------------------
|
237 |
// - Post Format
|
@@ -567,10 +621,16 @@ jQuery(document).ready(function($) {
|
|
567 |
// - Button Label
|
568 |
// ---------------------------
|
569 |
|
570 |
-
var
|
571 |
-
|
572 |
-
|
573 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
574 |
|
575 |
|
576 |
// ---------------------------
|
@@ -627,6 +687,10 @@ jQuery(document).ready(function($) {
|
|
627 |
$('select#repeater-select').select2('val','default');
|
628 |
}
|
629 |
}
|
|
|
|
|
|
|
|
|
630 |
|
631 |
// If post type is not selected, select 'post'.
|
632 |
if(!$('.post_types input[type=checkbox]:checked').length > 0){
|
21 |
|
22 |
// multiple
|
23 |
$('.ajax-load-more .categories select.multiple').select2({
|
24 |
+
placeholder : '-- Select Categories --',
|
25 |
});
|
26 |
$('.ajax-load-more .tags select.multiple').select2({
|
27 |
+
placeholder : '-- Select Tags --'
|
28 |
});
|
29 |
};
|
30 |
_alm.select2();
|
123 |
}
|
124 |
|
125 |
|
126 |
+
// ---------------------------
|
127 |
+
// - Comments
|
128 |
+
// ---------------------------
|
129 |
+
|
130 |
+
var comments = $('#alm-comments input[name=comments]:checked').val();
|
131 |
+
if(comments === undefined){
|
132 |
+
comments = false;
|
133 |
+
}
|
134 |
+
|
135 |
+
if(comments === 'true'){
|
136 |
+
var comments_post_id = $('#comments_post_id').val(),
|
137 |
+
comments_per_page = $('#comments-per-page').val(),
|
138 |
+
comments_type = $('#comments_type').val(),
|
139 |
+
comments_template = $('#comments_template').val(),
|
140 |
+
comments_callback = $('#comments_callback').val().trim(),
|
141 |
+
comments_style = $('#alm-comments input[name=alm_comment_style]:checked').val();
|
142 |
+
|
143 |
+
if(comments_callback !== ''){
|
144 |
+
$('#comments_template').select2('val','none');
|
145 |
+
}
|
146 |
+
|
147 |
+
output += ' comments="'+comments+'"';
|
148 |
+
output += ' comments_post_id="\'.'+comments_post_id+'.\'"';
|
149 |
+
|
150 |
+
if(comments_type !== 'comment')
|
151 |
+
output += ' comments_type="'+comments_type+'"';
|
152 |
+
|
153 |
+
if(comments_per_page !== '5')
|
154 |
+
output += ' comments_per_page="'+comments_per_page+'"';
|
155 |
+
|
156 |
+
if(comments_style !== 'ol')
|
157 |
+
output += ' comments_style="'+comments_style+'"';
|
158 |
+
|
159 |
+
if(comments_template !== 'none')
|
160 |
+
output += ' comments_template="'+comments_template+'"';
|
161 |
+
|
162 |
+
if(comments_callback !== '')
|
163 |
+
output += ' comments_callback="'+comments_callback+'"';
|
164 |
+
|
165 |
+
$('.comments_extras').slideDown(100, 'alm_easeInOutQuad');
|
166 |
+
}else{
|
167 |
+
$('.comments_extras').slideUp(100, 'alm_easeInOutQuad');
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
// ---------------------------
|
172 |
// - PAGING
|
173 |
// ---------------------------
|
219 |
var previous = $('.previous-post input[name=prev-post]:checked').val();
|
220 |
if(previous !== 'false' && previous != undefined){
|
221 |
|
222 |
+
var prev_post_id = $('#prev_post_id').val(),
|
223 |
+
previous_post_taxonomy = $('#pp-taxonomy-select').val();
|
224 |
$('.prev_post_id').slideDown(100, 'alm_easeInOutQuad');
|
225 |
|
226 |
output += ' previous_post="'+previous+'"';
|
227 |
output += ' previous_post_id="\'.'+prev_post_id+'.\'"';
|
228 |
|
229 |
+
if(previous_post_taxonomy !== '' )
|
230 |
+
output += ' previous_post_taxonomy="'+previous_post_taxonomy+'"';
|
231 |
+
|
232 |
}else{
|
233 |
$('.prev_post_id').slideUp(100, 'alm_easeInOutQuad');
|
234 |
}
|
266 |
// - Post Types
|
267 |
// ---------------------------
|
268 |
|
269 |
+
if(comments === 'false' || comments === false || comments === undefined){ // Hide post_types if comments is active
|
270 |
+
|
271 |
+
var post_type_count = 0;
|
272 |
+
$('.post_types input[type=checkbox]').each(function(e){
|
273 |
+
if($(this).is(":checked")) {
|
274 |
+
post_type_count++;
|
275 |
+
if(post_type_count>1){
|
276 |
+
output += ', ' + $(this).data('type');
|
277 |
+
}else{
|
278 |
+
if($(this).hasClass('changed')){
|
279 |
+
output += ' post_type="'+$(this).data('type')+'';
|
280 |
+
}
|
281 |
+
}
|
282 |
}
|
283 |
+
});
|
284 |
+
if(post_type_count>0){
|
285 |
+
output += '"';
|
286 |
+
}
|
287 |
+
|
288 |
+
}
|
289 |
|
290 |
// ---------------------------
|
291 |
// - Post Format
|
621 |
// - Button Label
|
622 |
// ---------------------------
|
623 |
|
624 |
+
var button_label = $('.btn-label input#button-label').val().trim(),
|
625 |
+
button_loading_label = $('.btn-label input#button-loading-label').val().trim();
|
626 |
+
|
627 |
+
if(button_label !== '' && button_label !== 'Older Posts')
|
628 |
+
output += ' button_label="'+button_label+'"';
|
629 |
+
|
630 |
+
if(button_loading_label !== '')
|
631 |
+
output += ' button_loading_label="'+button_loading_label+'"';
|
632 |
+
|
633 |
+
|
634 |
|
635 |
|
636 |
// ---------------------------
|
687 |
$('select#repeater-select').select2('val','default');
|
688 |
}
|
689 |
}
|
690 |
+
|
691 |
+
if(el.attr('id') === 'comments_template'){
|
692 |
+
$('#comments_callback').val('');
|
693 |
+
}
|
694 |
|
695 |
// If post type is not selected, select 'post'.
|
696 |
if(!$('.post_types input[type=checkbox]:checked').length > 0){
|
admin/shortcode-builder/shortcode-builder.php
CHANGED
@@ -9,7 +9,6 @@
|
|
9 |
?>
|
10 |
|
11 |
|
12 |
-
|
13 |
<?php if(has_action('alm_cache_installed')){ ?>
|
14 |
<!-- CACHE -->
|
15 |
<div class="row input cache add-on" id="alm-cache">
|
@@ -53,6 +52,163 @@
|
|
53 |
</div>
|
54 |
<?php } ?>
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
<?php if(has_action('alm_paging_installed')){ ?>
|
57 |
<!-- PAGING -->
|
58 |
<div class="row input paging add-on" id="alm-paging">
|
@@ -190,7 +346,7 @@
|
|
190 |
<input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
|
191 |
<label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
|
192 |
</li>
|
193 |
-
</ul>
|
194 |
</div>
|
195 |
</div>
|
196 |
<div class="clear"></div>
|
@@ -199,13 +355,43 @@
|
|
199 |
<hr>
|
200 |
<div class="section-title">
|
201 |
<h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
|
202 |
-
<p><?php _e('The
|
203 |
</div>
|
204 |
<div class="wrap">
|
205 |
<div class="inner">
|
206 |
<input type="text" value="get_the_ID()" id="prev_post_id" class="alm_element disabled-input" disabled="disabled">
|
207 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
</div>
|
|
|
209 |
<p class="warning-callout">
|
210 |
<?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. » <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
|
211 |
</p>
|
@@ -453,7 +639,7 @@
|
|
453 |
'public' => true,
|
454 |
'_builtin' => false
|
455 |
);
|
456 |
-
$tax_output = 'objects';
|
457 |
$taxonomies = get_taxonomies( $tax_args, $tax_output );
|
458 |
if ( $taxonomies ) {
|
459 |
echo '<div class="row taxonomy" id="alm-taxonomy">';
|
@@ -705,7 +891,7 @@
|
|
705 |
<h3 class="heading"><?php _e('Offset', 'ajax-load-more'); ?></h3>
|
706 |
<div class="expand-wrap">
|
707 |
<div class="section-title">
|
708 |
-
<p><?php _e('Offset the initial
|
709 |
</div>
|
710 |
<div class="wrap">
|
711 |
<div class="inner">
|
@@ -781,8 +967,8 @@
|
|
781 |
<div class="clear"></div>
|
782 |
<hr>
|
783 |
<div class="section-title">
|
784 |
-
<h4><?php _e('Scroll Distance', 'ajax-load-more');
|
785 |
-
<p><?php _e('The distance from the bottom of the screen to trigger
|
786 |
</div>
|
787 |
<div class="wrap">
|
788 |
<div class="inner">
|
@@ -794,7 +980,7 @@
|
|
794 |
<div class="clear"></div>
|
795 |
<hr>
|
796 |
<div class="section-title">
|
797 |
-
<h4><?php _e('Maximum Pages', 'ajax-load-more');
|
798 |
<p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
|
799 |
</div>
|
800 |
<div class="wrap">
|
@@ -859,7 +1045,9 @@
|
|
859 |
<h3 class="heading"><?php _e('Images Loaded', 'ajax-load-more'); ?></h3>
|
860 |
<div class="expand-wrap">
|
861 |
<div class="section-title">
|
862 |
-
<p><?php _e('Wait for all images to load before displaying ajax loaded content
|
|
|
|
|
863 |
</div>
|
864 |
<div class="wrap">
|
865 |
<div class="inner">
|
@@ -895,16 +1083,33 @@
|
|
895 |
|
896 |
<!-- Button Text -->
|
897 |
<div class="row input btn-label" id="alm-btn-label">
|
898 |
-
<h3 class="heading"><?php _e('Button
|
|
|
899 |
<div class="expand-wrap">
|
|
|
900 |
<div class="section-title">
|
901 |
-
|
|
|
902 |
</div>
|
903 |
<div class="wrap">
|
904 |
<div class="inner">
|
905 |
<input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Older Posts', 'ajax-load-more'); ?>">
|
906 |
</div>
|
907 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
908 |
</div>
|
909 |
</div>
|
910 |
|
@@ -914,7 +1119,7 @@
|
|
914 |
<div class="expand-wrap">
|
915 |
|
916 |
<div class="section-title">
|
917 |
-
<h4><?php _e('Container Type', 'ajax-load-more');
|
918 |
<p><?php _e('Override the global Container Type that was set on <a href="admin.php?page=ajax-load-more">ALM Settings page</a>.', 'ajax-load-more'); ?></p>
|
919 |
</div>
|
920 |
<div class="wrap">
|
@@ -934,7 +1139,7 @@
|
|
934 |
<div class="clear"></div>
|
935 |
<hr/>
|
936 |
<div class="section-title">
|
937 |
-
<h4><?php _e('Container Classes', 'ajax-load-more');
|
938 |
<p><?php _e('Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. portfolio-listing large-12 etc', 'ajax-load-more'); ?></p>
|
939 |
</div>
|
940 |
<div class="wrap">
|
9 |
?>
|
10 |
|
11 |
|
|
|
12 |
<?php if(has_action('alm_cache_installed')){ ?>
|
13 |
<!-- CACHE -->
|
14 |
<div class="row input cache add-on" id="alm-cache">
|
52 |
</div>
|
53 |
<?php } ?>
|
54 |
|
55 |
+
|
56 |
+
<?php if(has_action('alm_comments_installed')){ ?>
|
57 |
+
<!-- COMMENTS -->
|
58 |
+
<div class="row input comments add-on" id="alm-comments">
|
59 |
+
<h3 class="heading"><?php _e('Comments', 'ajax-load-more'); ?></h3>
|
60 |
+
<div class="expand-wrap">
|
61 |
+
<div class="section-title">
|
62 |
+
<h4><?php _e('Comments', 'ajax-load-more'); ?></h4>
|
63 |
+
<p><?php _e('Enable Ajax Load More to display blog comments.', 'ajax-load-more'); ?></p>
|
64 |
+
</div>
|
65 |
+
<div class="wrap">
|
66 |
+
<div class="inner">
|
67 |
+
<ul>
|
68 |
+
<li>
|
69 |
+
<input class="alm_element" type="radio" name="comments" value="true" id="comments-true" >
|
70 |
+
<label for="comments-true"><?php _e('True', 'ajax-load-more'); ?></label>
|
71 |
+
</li>
|
72 |
+
<li>
|
73 |
+
<input class="alm_element" type="radio" name="comments" value="false" id="comments-false" checked="checked">
|
74 |
+
<label for="comments-false"><?php _e('False', 'ajax-load-more'); ?></label>
|
75 |
+
</li>
|
76 |
+
</ul>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<div class="clear"></div>
|
80 |
+
<div class="comments_extras">
|
81 |
+
|
82 |
+
|
83 |
+
<div class="clear"></div>
|
84 |
+
<hr>
|
85 |
+
<div class="section-title">
|
86 |
+
<h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
|
87 |
+
<p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
|
88 |
+
</div>
|
89 |
+
<div class="wrap">
|
90 |
+
<div class="inner">
|
91 |
+
<input type="text" value="get_the_ID()" id="comments_post_id" class="alm_element disabled-input" disabled="disabled">
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
|
96 |
+
<div class="clear"></div>
|
97 |
+
<hr>
|
98 |
+
<div class="section-title">
|
99 |
+
<h4><?php _e('Comments Per Page', 'ajax-load-more'); ?></h4>
|
100 |
+
<p><?php _e('The number of top level items to show for each page of comments.', 'ajax-load-more'); ?></p>
|
101 |
+
</div>
|
102 |
+
<div class="wrap">
|
103 |
+
<div class="inner">
|
104 |
+
<input type="number" class="alm_element numbers-only" name="comments-per-page" id="comments-per-page" step="1" min="1" value="5">
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
<div class="section-title full">
|
108 |
+
<p><?php _e('<strong>Note</strong>: The amount selected does NOT include comment replies.', 'ajax-load-more'); ?></p>
|
109 |
+
</div>
|
110 |
+
|
111 |
+
<div class="clear"></div>
|
112 |
+
<hr>
|
113 |
+
<div class="section-title">
|
114 |
+
<h4><?php _e('Comment Type', 'ajax-load-more'); ?></h4>
|
115 |
+
<p><?php _e('The type of comment(s) to display.', 'ajax-load-more'); ?></p>
|
116 |
+
</div>
|
117 |
+
<div class="wrap">
|
118 |
+
<div class="inner">
|
119 |
+
<select class="alm_element comments_type" id="comments_type">
|
120 |
+
<option value="comment" selected="selected"><?php _e('Comment', 'ajax-load-more'); ?></option>
|
121 |
+
<option value="all"><?php _e('All', 'ajax-load-more'); ?></option>
|
122 |
+
<option value="trackback"><?php _e('Trackback', 'ajax-load-more'); ?></option>
|
123 |
+
<option value="pingback"><?php _e('Pingback', 'ajax-load-more'); ?></option>
|
124 |
+
<option value="pings"><?php _e('Pings', 'ajax-load-more'); ?></option>
|
125 |
+
</select>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
|
130 |
+
<div class="clear"></div>
|
131 |
+
<hr>
|
132 |
+
<div class="section-title">
|
133 |
+
<h4><?php _e('Comment Style', 'ajax-load-more'); ?></h4>
|
134 |
+
<p><?php _e('Select the HTML container style for your comments.', 'ajax-load-more'); ?></p>
|
135 |
+
</div>
|
136 |
+
<div class="wrap">
|
137 |
+
<div class="inner">
|
138 |
+
<ul class="comment_container_type">
|
139 |
+
<li>
|
140 |
+
<input type="radio" id="comment-type-ol" value="ol" name="alm_comment_style" class="alm_element" checked="checked">
|
141 |
+
<label for="comment-type-ol"><ol> </ol></label>
|
142 |
+
</li>
|
143 |
+
<li>
|
144 |
+
<input type="radio" id="comment-type-ul" value="ul" name="alm_comment_style" class="alm_element">
|
145 |
+
<label for="comment-type-ul"><ul> </ul></label>
|
146 |
+
</li>
|
147 |
+
<li>
|
148 |
+
<input type="radio" id="comment-type-div" value="div" name="alm_comment_style" class="alm_element">
|
149 |
+
<label for="comment-type-div"><div> </div></label>
|
150 |
+
</li>
|
151 |
+
</ul>
|
152 |
+
</div>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
|
156 |
+
<div class="clear"></div>
|
157 |
+
<hr>
|
158 |
+
|
159 |
+
<div class="section-title">
|
160 |
+
<h4><?php _e('Comment Template', 'ajax-load-more'); ?></h4>
|
161 |
+
<p><?php _e('Select a repeater template that will display comment data.', 'ajax-load-more'); ?></p>
|
162 |
+
</div>
|
163 |
+
|
164 |
+
<div class="wrap">
|
165 |
+
<div class="inner">
|
166 |
+
<select class="alm_element comments_template" id="comments_template">
|
167 |
+
<option value="none" selected="selected"><?php _e('None', 'ajax-load-more'); ?></option>
|
168 |
+
<option name="default" id="chk-default" value="default"><?php _e('Default', 'ajax-load-more'); ?></option>
|
169 |
+
<?php if (has_action('alm_get_custom_repeaters')) {
|
170 |
+
do_action('alm_get_custom_repeaters');
|
171 |
+
}
|
172 |
+
if (has_action('alm_get_unlimited_repeaters')) {
|
173 |
+
do_action('alm_get_unlimited_repeaters');
|
174 |
+
}
|
175 |
+
?>
|
176 |
+
</select>
|
177 |
+
</div>
|
178 |
+
</div>
|
179 |
+
<div class="section-title full">
|
180 |
+
<p><?php _e('<strong>Note</strong>: <span>None</span> will use the default WordPress comment layout.', 'ajax-load-more'); ?></p>
|
181 |
+
</div>
|
182 |
+
<div class="spacer"></div>
|
183 |
+
<div class="clear"></div>
|
184 |
+
<div class="select-theme-repeater">
|
185 |
+
<span class="or">or</span>
|
186 |
+
<hr/>
|
187 |
+
<div class="spacer"></div>
|
188 |
+
<div class="section-title">
|
189 |
+
<h4><?php _e('Callback Function', 'ajax-load-more'); ?></h4>
|
190 |
+
<p><?php _e('A custom <a href="https://codex.wordpress.org/Function_Reference/wp_list_comments#Arguments" target="_blank">callback</a> function that will display each comment.', 'ajax-load-more'); ?></p>
|
191 |
+
</div>
|
192 |
+
<div class="wrap">
|
193 |
+
<div class="inner">
|
194 |
+
<input type="text" value="" placeholder="function_name" id="comments_callback" class="alm_element">
|
195 |
+
</div>
|
196 |
+
</div>
|
197 |
+
<div class="section-title full">
|
198 |
+
<p><?php _e('<strong>Note</strong>: The majority of premium themes have a custom callback function for displaying comments. Please see comments.php or functions.php within your theme directory to locate the callback function for your theme.', 'ajax-load-more'); ?></p>
|
199 |
+
</div>
|
200 |
+
</div>
|
201 |
+
|
202 |
+
<p class="warning-callout">
|
203 |
+
<?php _e('You must add the comments shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. » <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
|
204 |
+
</p>
|
205 |
+
|
206 |
+
</div>
|
207 |
+
</div>
|
208 |
+
</div>
|
209 |
+
<?php } ?>
|
210 |
+
|
211 |
+
|
212 |
<?php if(has_action('alm_paging_installed')){ ?>
|
213 |
<!-- PAGING -->
|
214 |
<div class="row input paging add-on" id="alm-paging">
|
346 |
<input class="alm_element" type="radio" name="prev-post" value="false" id="prev-post-false" checked="checked">
|
347 |
<label for="prev-post-false"><?php _e('False', 'ajax-load-more'); ?></label>
|
348 |
</li>
|
349 |
+
</ul>
|
350 |
</div>
|
351 |
</div>
|
352 |
<div class="clear"></div>
|
355 |
<hr>
|
356 |
<div class="section-title">
|
357 |
<h4><?php _e('Post ID', 'ajax-load-more'); ?></h4>
|
358 |
+
<p><?php _e('The ID of the current single post.', 'ajax-load-more'); ?></p>
|
359 |
</div>
|
360 |
<div class="wrap">
|
361 |
<div class="inner">
|
362 |
<input type="text" value="get_the_ID()" id="prev_post_id" class="alm_element disabled-input" disabled="disabled">
|
363 |
</div>
|
364 |
+
</div>
|
365 |
+
|
366 |
+
<div class="clear"></div>
|
367 |
+
<hr>
|
368 |
+
<div class="section-title">
|
369 |
+
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy will be returned','ajax-load-more'); ?>"></a></h4>
|
370 |
+
<p><?php _e('Query previous posts from the same taxonomy.', 'ajax-load-more'); ?></p>
|
371 |
+
</div>
|
372 |
+
<div class="wrap">
|
373 |
+
<div class="inner">
|
374 |
+
<?php
|
375 |
+
// Taxonomies
|
376 |
+
$pp_tax_args = array(
|
377 |
+
'public' => true,
|
378 |
+
'_builtin' => false
|
379 |
+
);
|
380 |
+
$pp_tax_output = 'objects';
|
381 |
+
$pp_taxonomies = get_taxonomies( $pp_tax_args, $pp_tax_output );
|
382 |
+
if ( $pp_taxonomies ) {
|
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 |
+
foreach( $pp_taxonomies as $pp_taxonomy ){
|
388 |
+
echo '<option name="pp-'.$pp_taxonomy->query_var.'" id="pp-'.$pp_taxonomy->query_var.'" value="'.$pp_taxonomy->query_var.'">'.$pp_taxonomy->label.'</option>';
|
389 |
+
}
|
390 |
+
echo '</select>';
|
391 |
+
} ?>
|
392 |
+
</div>
|
393 |
</div>
|
394 |
+
|
395 |
<p class="warning-callout">
|
396 |
<?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. » <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
|
397 |
</p>
|
639 |
'public' => true,
|
640 |
'_builtin' => false
|
641 |
);
|
642 |
+
$tax_output = 'objects';
|
643 |
$taxonomies = get_taxonomies( $tax_args, $tax_output );
|
644 |
if ( $taxonomies ) {
|
645 |
echo '<div class="row taxonomy" id="alm-taxonomy">';
|
891 |
<h3 class="heading"><?php _e('Offset', 'ajax-load-more'); ?></h3>
|
892 |
<div class="expand-wrap">
|
893 |
<div class="section-title">
|
894 |
+
<p><?php _e('Offset the initial query by <em>\'n\'</em> number of posts', 'ajax-load-more'); ?>.</p>
|
895 |
</div>
|
896 |
<div class="wrap">
|
897 |
<div class="inner">
|
967 |
<div class="clear"></div>
|
968 |
<hr>
|
969 |
<div class="section-title">
|
970 |
+
<h4><?php _e('Scroll Distance', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Distance is based on the position of the loading button from the bottom of the screen','ajax-load-more'); ?>"></a></h4>
|
971 |
+
<p><?php _e('The distance from the bottom of the screen to trigger loading of posts. (Default = 150)', 'ajax-load-more'); ?></p>
|
972 |
</div>
|
973 |
<div class="wrap">
|
974 |
<div class="inner">
|
980 |
<div class="clear"></div>
|
981 |
<hr>
|
982 |
<div class="section-title">
|
983 |
+
<h4><?php _e('Maximum Pages', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('If using an Infinite Scroll button style you should set this to 0','ajax-load-more'); ?>"></a></h4>
|
984 |
<p><?php _e('Maximum number of pages to load while scrolling. (0 = unlimited)', 'ajax-load-more'); ?></p>
|
985 |
</div>
|
986 |
<div class="wrap">
|
1045 |
<h3 class="heading"><?php _e('Images Loaded', 'ajax-load-more'); ?></h3>
|
1046 |
<div class="expand-wrap">
|
1047 |
<div class="section-title">
|
1048 |
+
<p><?php _e('Wait for all images to load before displaying ajax loaded content', 'ajax-load-more'); ?>.
|
1049 |
+
<a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Background images are currently not supported','ajax-load-more'); ?>"></a>
|
1050 |
+
</p>
|
1051 |
</div>
|
1052 |
<div class="wrap">
|
1053 |
<div class="inner">
|
1083 |
|
1084 |
<!-- Button Text -->
|
1085 |
<div class="row input btn-label" id="alm-btn-label">
|
1086 |
+
<h3 class="heading"><?php _e('Button Labels', 'ajax-load-more'); ?></h3>
|
1087 |
+
|
1088 |
<div class="expand-wrap">
|
1089 |
+
|
1090 |
<div class="section-title">
|
1091 |
+
<h4><?php _e('Button Label', 'ajax-load-more'); ?></h4>
|
1092 |
+
<p><?php _e('Customize the text of the <em>Load More</em> button.', 'ajax-load-more'); ?></p>
|
1093 |
</div>
|
1094 |
<div class="wrap">
|
1095 |
<div class="inner">
|
1096 |
<input class="alm_element" name="button-label" type="text" id="button-label" value="<?php _e('Older Posts', 'ajax-load-more'); ?>">
|
1097 |
</div>
|
1098 |
</div>
|
1099 |
+
|
1100 |
+
<div class="clear"></div>
|
1101 |
+
<hr/>
|
1102 |
+
|
1103 |
+
<div class="section-title">
|
1104 |
+
<h4><?php _e('Button Loading Label', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Leave field empty to not update text while loading content','ajax-load-more'); ?>"></a></h4>
|
1105 |
+
<p><?php _e('Update the text of the <em>Load More</em> button while content is loading.', 'ajax-load-more'); ?></p>
|
1106 |
+
</div>
|
1107 |
+
<div class="wrap">
|
1108 |
+
<div class="inner">
|
1109 |
+
<input class="alm_element" name="button-loading-label" type="text" id="button-loading-label" value="" placeholder="<?php _e('Loading Posts...', 'ajax-load-more'); ?>">
|
1110 |
+
</div>
|
1111 |
+
</div>
|
1112 |
+
|
1113 |
</div>
|
1114 |
</div>
|
1115 |
|
1119 |
<div class="expand-wrap">
|
1120 |
|
1121 |
<div class="section-title">
|
1122 |
+
<h4><?php _e('Container Type', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define a global container type on the Ajax Load More settings screen','ajax-load-more'); ?>"></a></h4>
|
1123 |
<p><?php _e('Override the global Container Type that was set on <a href="admin.php?page=ajax-load-more">ALM Settings page</a>.', 'ajax-load-more'); ?></p>
|
1124 |
</div>
|
1125 |
<div class="wrap">
|
1139 |
<div class="clear"></div>
|
1140 |
<hr/>
|
1141 |
<div class="section-title">
|
1142 |
+
<h4><?php _e('Container Classes', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('You can define global container classes on the Ajax Load More settings screen','ajax-load-more'); ?>"></a></h4>
|
1143 |
<p><?php _e('Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. portfolio-listing large-12 etc', 'ajax-load-more'); ?></p>
|
1144 |
</div>
|
1145 |
<div class="wrap">
|
admin/views/add-ons.php
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
<div class="wrap">
|
3 |
<div class="header-wrap">
|
4 |
<h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong></h1>
|
5 |
-
<p><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more');
|
6 |
</div>
|
7 |
<div class="cnkt-main full">
|
8 |
|
9 |
<!-- Cache -->
|
10 |
-
<div class="group">
|
11 |
<div class="row no-brd">
|
12 |
<?php
|
13 |
$cache_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Cache'; ?>
|
@@ -33,8 +33,35 @@
|
|
33 |
<!-- End Cache -->
|
34 |
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
<!-- Custom Repeaters -->
|
37 |
-
<div class="group">
|
38 |
<div class="row no-brd">
|
39 |
<?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'; ?>
|
40 |
<a href="<?php echo $cr_url; ?>">
|
@@ -62,7 +89,7 @@
|
|
62 |
|
63 |
|
64 |
<!-- Paging -->
|
65 |
-
<div class="group">
|
66 |
<div class="row no-brd">
|
67 |
<?php
|
68 |
$paging_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Paging';
|
@@ -89,7 +116,7 @@
|
|
89 |
|
90 |
|
91 |
<!-- Preloaded -->
|
92 |
-
<div class="group">
|
93 |
<div class="row no-brd">
|
94 |
<?php
|
95 |
$preload_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Preloaded';
|
@@ -115,7 +142,7 @@
|
|
115 |
|
116 |
|
117 |
<!-- Previous Post -->
|
118 |
-
<div class="group">
|
119 |
<div class="row no-brd">
|
120 |
<?php
|
121 |
$prev_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Previous Post';
|
@@ -141,7 +168,7 @@
|
|
141 |
|
142 |
|
143 |
<!-- SEO -->
|
144 |
-
<div class="group">
|
145 |
<div class="row no-brd">
|
146 |
<?php
|
147 |
$seo_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=SEO';
|
@@ -169,7 +196,7 @@
|
|
169 |
|
170 |
|
171 |
<!-- Theme Repeaters -->
|
172 |
-
<div class="group">
|
173 |
<div class="row no-brd">
|
174 |
<?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'; ?>
|
175 |
<a href="<?php echo $themer_url; ?>">
|
2 |
<div class="wrap">
|
3 |
<div class="header-wrap">
|
4 |
<h1><?php echo ALM_TITLE; ?>: <strong><?php _e('Add-ons', 'ajax-load-more'); ?></strong></h1>
|
5 |
+
<p><?php _e('Add-ons are available to extend and enhance the core functionality of Ajax Load More', 'ajax-load-more'); ?>.</p>
|
6 |
</div>
|
7 |
<div class="cnkt-main full">
|
8 |
|
9 |
<!-- Cache -->
|
10 |
+
<div class="group<?php if (has_action('alm_cache_installed')){echo ' installed'; } ?>">
|
11 |
<div class="row no-brd">
|
12 |
<?php
|
13 |
$cache_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Cache'; ?>
|
33 |
<!-- End Cache -->
|
34 |
|
35 |
|
36 |
+
<!-- Comments -->
|
37 |
+
<div class="group<?php if (has_action('alm_comments_installed')){echo ' installed'; } ?>">
|
38 |
+
<div class="row no-brd">
|
39 |
+
<?php
|
40 |
+
$comments_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Comments'; ?>
|
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>
|
48 |
+
<?php
|
49 |
+
if (has_action('alm_comments_installed')){
|
50 |
+
echo '<span class="cnkt-button installed"><i class="fa fa-check-square"></i> Installed</span> ';
|
51 |
+
}else{
|
52 |
+
echo '<span class="cnkt-button"><i class="fa fa-download"></i> Purchase & Install</span>';
|
53 |
+
}
|
54 |
+
?>
|
55 |
+
</div>
|
56 |
+
</a>
|
57 |
+
</div>
|
58 |
+
|
59 |
+
</div>
|
60 |
+
<!-- End Cache -->
|
61 |
+
|
62 |
+
|
63 |
<!-- Custom Repeaters -->
|
64 |
+
<div class="group<?php if (has_action('alm_unlimited_installed')){echo ' installed'; } ?>">
|
65 |
<div class="row no-brd">
|
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; ?>">
|
89 |
|
90 |
|
91 |
<!-- Paging -->
|
92 |
+
<div class="group<?php if (has_action('alm_paging_installed')){echo ' installed'; } ?>">
|
93 |
<div class="row no-brd">
|
94 |
<?php
|
95 |
$paging_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/paging/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Paging';
|
116 |
|
117 |
|
118 |
<!-- Preloaded -->
|
119 |
+
<div class="group<?php if (has_action('alm_preload_installed')){echo ' installed'; } ?>">
|
120 |
<div class="row no-brd">
|
121 |
<?php
|
122 |
$preload_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/preloaded/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Preloaded';
|
142 |
|
143 |
|
144 |
<!-- Previous Post -->
|
145 |
+
<div class="group<?php if (has_action('alm_prev_post_installed')){echo ' installed'; } ?>">
|
146 |
<div class="row no-brd">
|
147 |
<?php
|
148 |
$prev_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=Previous Post';
|
168 |
|
169 |
|
170 |
<!-- SEO -->
|
171 |
+
<div class="group<?php if (has_action('alm_seo_installed')){echo ' installed'; } ?>">
|
172 |
<div class="row no-brd">
|
173 |
<?php
|
174 |
$seo_url = 'https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Add-ons&utm_campaign=SEO';
|
196 |
|
197 |
|
198 |
<!-- Theme Repeaters -->
|
199 |
+
<div class="group<?php if (has_action('alm_theme_repeaters_installed')){echo ' installed'; } ?>">
|
200 |
<div class="row no-brd">
|
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; ?>">
|
admin/views/licenses.php
CHANGED
@@ -12,6 +12,7 @@
|
|
12 |
|
13 |
<?php
|
14 |
// alm_cache_installed
|
|
|
15 |
// alm_unlimited_installed
|
16 |
// alm_layouts_installed
|
17 |
// alm_preload_installed
|
@@ -23,7 +24,7 @@
|
|
23 |
|
24 |
<?php
|
25 |
// Check if any add ons are installed.
|
26 |
-
if(has_action('alm_cache_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')) : ?>
|
27 |
|
28 |
|
29 |
<?php
|
@@ -78,6 +79,60 @@
|
|
78 |
<?php
|
79 |
}
|
80 |
// End CACHE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
?>
|
82 |
|
83 |
|
12 |
|
13 |
<?php
|
14 |
// alm_cache_installed
|
15 |
+
// alm_comments_installed
|
16 |
// alm_unlimited_installed
|
17 |
// alm_layouts_installed
|
18 |
// alm_preload_installed
|
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
|
79 |
<?php
|
80 |
}
|
81 |
// End CACHE
|
82 |
+
?>
|
83 |
+
|
84 |
+
<?php
|
85 |
+
if (has_action('alm_comments_installed')){
|
86 |
+
// Comments
|
87 |
+
$alm_comments_license = get_option( 'alm_comments_license_key' );
|
88 |
+
$alm_comments_status = get_option( 'alm_comments_license_status' );
|
89 |
+
?>
|
90 |
+
<div class="license" id="license-comments">
|
91 |
+
<div class="license-title">
|
92 |
+
<div class="status <?php if($alm_comments_status == 'valid'){echo 'valid';}else{echo 'invalid';} ?> "></div>
|
93 |
+
<h2><?php _e('Comments', 'ajax-load-more'); ?></h2>
|
94 |
+
</div>
|
95 |
+
<div class="license-wrap">
|
96 |
+
<form method="post" action="options.php">
|
97 |
+
|
98 |
+
<?php settings_fields('alm_comments_license'); ?>
|
99 |
+
<label class="description" for="alm_comments_license_key"><?php _e('Enter License Key', 'ajax-load-more'); ?></label>
|
100 |
+
<div class="license-key-field">
|
101 |
+
<input id="alm_comments_license_key" name="alm_comments_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $alm_comments_license ); ?>" placeholder="<?php _e('Enter License Key', 'ajax-load-more'); ?>" />
|
102 |
+
<?php if( $alm_comments_status !== false && $alm_comments_status == 'valid' ) { ?>
|
103 |
+
<span class="status active">
|
104 |
+
<?php _e('Active', 'ajax-load-more'); ?>
|
105 |
+
</span>
|
106 |
+
<?php } else { ?>
|
107 |
+
<span class="status inactive">
|
108 |
+
<?php _e('Inactive', 'ajax-load-more'); ?>
|
109 |
+
</span>
|
110 |
+
<?php } ?>
|
111 |
+
</div>
|
112 |
+
|
113 |
+
<?php wp_nonce_field( 'alm_comments_license_nonce', 'alm_comments_license_nonce' ); ?>
|
114 |
+
<div class="license-btn-wrap"
|
115 |
+
data-name="<?php echo ALM_COMMENTS_ITEM_NAME; ?>"
|
116 |
+
data-url="<?php echo ALM_STORE_URL; ?>"
|
117 |
+
data-option-status="alm_comments_license_status"
|
118 |
+
data-option-key="alm_comments_license_key"
|
119 |
+
data-upgrade-url="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/">
|
120 |
+
<button type="button" class="activate license-btn <?php if($alm_comments_status === 'valid'){ echo 'hide'; } ?> button-primary" data-type="activate">
|
121 |
+
<?php _e('Activate License', 'ajax-load-more'); ?>
|
122 |
+
</button>
|
123 |
+
|
124 |
+
<button type="button" class="deactivate license-btn <?php if($alm_comments_status !== 'valid'){ echo 'hide'; } ?> button-secondary" data-type="deactivate">
|
125 |
+
<?php _e('Deactivate License', 'ajax-load-more'); ?>
|
126 |
+
</button>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
</form>
|
130 |
+
</div>
|
131 |
+
<div class="loading"></div>
|
132 |
+
</div>
|
133 |
+
<?php
|
134 |
+
}
|
135 |
+
// End Comments
|
136 |
?>
|
137 |
|
138 |
|
admin/views/settings.php
CHANGED
@@ -43,16 +43,16 @@
|
|
43 |
$options = get_option( '_alm_settings' ); ?>
|
44 |
<div class="row no-brd alm-save-settings">
|
45 |
<?php submit_button('Save Settings'); ?>
|
46 |
-
<div class="
|
47 |
</div>
|
48 |
</form>
|
49 |
<script type="text/javascript">
|
50 |
jQuery(document).ready(function() {
|
51 |
jQuery('#alm_OptionsForm').submit(function() {
|
52 |
-
jQuery('.alm-save-settings .
|
53 |
jQuery(this).ajaxSubmit({
|
54 |
success: function(){
|
55 |
-
jQuery('.alm-save-settings .
|
56 |
window.location.reload();
|
57 |
});
|
58 |
},
|
43 |
$options = get_option( '_alm_settings' ); ?>
|
44 |
<div class="row no-brd alm-save-settings">
|
45 |
<?php submit_button('Save Settings'); ?>
|
46 |
+
<div class="spinner"></div>
|
47 |
</div>
|
48 |
</form>
|
49 |
<script type="text/javascript">
|
50 |
jQuery(document).ready(function() {
|
51 |
jQuery('#alm_OptionsForm').submit(function() {
|
52 |
+
jQuery('.alm-save-settings .spinner').fadeIn();
|
53 |
jQuery(this).ajaxSubmit({
|
54 |
success: function(){
|
55 |
+
jQuery('.alm-save-settings .spinner').fadeOut(250, function(){
|
56 |
window.location.reload();
|
57 |
});
|
58 |
},
|
ajax-load-more.php
CHANGED
@@ -7,19 +7,21 @@ Text Domain: ajax-load-more
|
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: http://connekthq.com
|
10 |
-
Version: 2.8.
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
-
define('ALM_VERSION', '2.8.
|
17 |
-
define('ALM_RELEASE', '
|
18 |
-
|
19 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
20 |
|
21 |
if (!defined('ALM_CACHE_ITEM_NAME'))
|
22 |
define('ALM_CACHE_ITEM_NAME', '4878' );
|
|
|
|
|
|
|
23 |
|
24 |
if (!defined('ALM_UNLIMITED_ITEM_NAME'))
|
25 |
define('ALM_UNLIMITED_ITEM_NAME', '3118' );
|
@@ -260,8 +262,16 @@ if( !class_exists('AjaxLoadMore') ):
|
|
260 |
$options = get_option( 'alm_settings' ); // Get Ajax Load More Settingss
|
261 |
|
262 |
extract(shortcode_atts(array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
'previous_post' => false,
|
264 |
'previous_post_id' => 'null',
|
|
|
265 |
'cache' => 'false',
|
266 |
'cache_id' => '',
|
267 |
'paging' => 'false',
|
@@ -308,7 +318,8 @@ if( !class_exists('AjaxLoadMore') ):
|
|
308 |
'destroy_after' => '',
|
309 |
'transition' => 'slide',
|
310 |
'images_loaded' => 'false',
|
311 |
-
'button_label' => __('Older Posts', 'ajax-load-more'),
|
|
|
312 |
'container_type' => '',
|
313 |
'css_classes' => '',
|
314 |
), $atts));
|
@@ -346,6 +357,10 @@ if( !class_exists('AjaxLoadMore') ):
|
|
346 |
$posts_per_page = 1;
|
347 |
$container_element = 'div';
|
348 |
}
|
|
|
|
|
|
|
|
|
349 |
|
350 |
|
351 |
// Get extra classnames
|
@@ -408,9 +423,20 @@ if( !class_exists('AjaxLoadMore') ):
|
|
408 |
$cache = false;
|
409 |
}
|
410 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
|
|
|
412 |
// Preloaded Add-on
|
413 |
-
//
|
414 |
if(has_action('alm_preload_installed') && $preloaded === 'true'){
|
415 |
|
416 |
$preload_offset = $offset;
|
@@ -503,21 +529,55 @@ if( !class_exists('AjaxLoadMore') ):
|
|
503 |
$ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
|
504 |
}
|
505 |
// End Preload Posts
|
506 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
|
508 |
-
$ajaxloadmore .= '<'.$container_element.' class="
|
509 |
|
510 |
|
511 |
// Cache Add-on
|
512 |
if(has_action('alm_cache_installed') && $cache === 'true'){
|
513 |
-
$cache_return = apply_filters(
|
|
|
|
|
|
|
|
|
|
|
514 |
$ajaxloadmore .= $cache_return;
|
515 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
516 |
|
517 |
|
518 |
// Paging Add-on
|
519 |
if(has_action('alm_paging_installed') && $paging === 'true'){
|
520 |
-
$paging_return = apply_filters(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
$ajaxloadmore .= $paging_return;
|
522 |
}
|
523 |
|
@@ -538,13 +598,20 @@ if( !class_exists('AjaxLoadMore') ):
|
|
538 |
|
539 |
// Previous Post Post Add-on
|
540 |
if(has_action('alm_prev_post_installed') && $previous_post){
|
541 |
-
$prev_post_return = apply_filters(
|
|
|
|
|
|
|
|
|
|
|
542 |
$ajaxloadmore .= $prev_post_return;
|
543 |
}
|
544 |
|
545 |
|
546 |
$ajaxloadmore .= ' data-repeater="'.$repeater.'"';
|
547 |
-
if($theme_repeater != 'null')
|
|
|
|
|
548 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
549 |
$ajaxloadmore .= ' data-post-format="'.$post_format.'"';
|
550 |
$ajaxloadmore .= ' data-category="'.$category.'"';
|
@@ -579,6 +646,9 @@ if( !class_exists('AjaxLoadMore') ):
|
|
579 |
$ajaxloadmore .= ' data-pause-override="'.$pause_override.'"';
|
580 |
$ajaxloadmore .= ' data-pause="'.$pause.'"';
|
581 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
|
|
|
|
|
|
582 |
$ajaxloadmore .= ' data-button-class="'.$button_classname.'"';
|
583 |
$ajaxloadmore .= ' data-destroy-after="'.$destroy_after.'"';
|
584 |
$ajaxloadmore .= ' data-transition="'.$transition.'"';
|
@@ -640,7 +710,8 @@ if( !class_exists('AjaxLoadMore') ):
|
|
640 |
if (! wp_verify_nonce( $nonce, 'ajax_load_more_nonce' )) // Check our nonce, if they don't match then bounce!
|
641 |
die('Error, could not verify WP nonce.');
|
642 |
}
|
643 |
-
}
|
|
|
644 |
|
645 |
$queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
|
646 |
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: http://connekthq.com
|
10 |
+
Version: 2.8.4
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
+
define('ALM_VERSION', '2.8.4');
|
17 |
+
define('ALM_RELEASE', 'December 4, 2015');
|
|
|
18 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
19 |
|
20 |
if (!defined('ALM_CACHE_ITEM_NAME'))
|
21 |
define('ALM_CACHE_ITEM_NAME', '4878' );
|
22 |
+
|
23 |
+
if (!defined('ALM_COMMENTS_ITEM_NAME'))
|
24 |
+
define('ALM_COMMENTS_ITEM_NAME', '12172' );
|
25 |
|
26 |
if (!defined('ALM_UNLIMITED_ITEM_NAME'))
|
27 |
define('ALM_UNLIMITED_ITEM_NAME', '3118' );
|
262 |
$options = get_option( 'alm_settings' ); // Get Ajax Load More Settingss
|
263 |
|
264 |
extract(shortcode_atts(array(
|
265 |
+
'comments' => false,
|
266 |
+
'comments_per_page' => '5',
|
267 |
+
'comments_type' => 'comment',
|
268 |
+
'comments_style' => 'ol',
|
269 |
+
'comments_template' => 'none',
|
270 |
+
'comments_callback' => '',
|
271 |
+
'comments_post_id' => 'null',
|
272 |
'previous_post' => false,
|
273 |
'previous_post_id' => 'null',
|
274 |
+
'previous_post_taxonomy' => '',
|
275 |
'cache' => 'false',
|
276 |
'cache_id' => '',
|
277 |
'paging' => 'false',
|
318 |
'destroy_after' => '',
|
319 |
'transition' => 'slide',
|
320 |
'images_loaded' => 'false',
|
321 |
+
'button_label' => __('Older Posts', 'ajax-load-more'),
|
322 |
+
'button_loading_label' => '',
|
323 |
'container_type' => '',
|
324 |
'css_classes' => '',
|
325 |
), $atts));
|
357 |
$posts_per_page = 1;
|
358 |
$container_element = 'div';
|
359 |
}
|
360 |
+
// Comments
|
361 |
+
if($comments === 'true'){
|
362 |
+
$container_element = $comments_style;
|
363 |
+
}
|
364 |
|
365 |
|
366 |
// Get extra classnames
|
423 |
$cache = false;
|
424 |
}
|
425 |
|
426 |
+
// Comments
|
427 |
+
// - Set other add-on params to false
|
428 |
+
if($comments){
|
429 |
+
$previous_post = false;
|
430 |
+
$preloaded = false;
|
431 |
+
$seo = false;
|
432 |
+
$paging = false;
|
433 |
+
$cache = false;
|
434 |
+
}
|
435 |
+
|
436 |
|
437 |
+
// ********************************
|
438 |
// Preloaded Add-on
|
439 |
+
// Retreive preloaded posts and append to ajax load more object
|
440 |
if(has_action('alm_preload_installed') && $preloaded === 'true'){
|
441 |
|
442 |
$preload_offset = $offset;
|
529 |
$ajaxloadmore .= $preloaded_output; // Add $preloaded_output data to $ajaxloadmore
|
530 |
}
|
531 |
// End Preload Posts
|
532 |
+
// ********************************
|
533 |
+
|
534 |
+
$listing_class = 'alm-listing';
|
535 |
+
|
536 |
+
// If comments
|
537 |
+
if($comments === 'true'){
|
538 |
+
$listing_class = 'commentlist alm-comments';
|
539 |
+
}
|
540 |
|
541 |
+
$ajaxloadmore .= '<'.$container_element.' class="'.$listing_class.' alm-ajax'. $paging_container_class .' '. $classname . ' '. $css_classes .'"'; // Build ALM container
|
542 |
|
543 |
|
544 |
// Cache Add-on
|
545 |
if(has_action('alm_cache_installed') && $cache === 'true'){
|
546 |
+
$cache_return = apply_filters(
|
547 |
+
'alm_cache_shortcode',
|
548 |
+
$cache,
|
549 |
+
$cache_id,
|
550 |
+
$options
|
551 |
+
);
|
552 |
$ajaxloadmore .= $cache_return;
|
553 |
}
|
554 |
+
|
555 |
+
// Comments Add-on
|
556 |
+
if(has_action('alm_comments_installed') && $comments === 'true'){
|
557 |
+
$comments_return = apply_filters(
|
558 |
+
'alm_comments_shortcode',
|
559 |
+
$comments,
|
560 |
+
$comments_per_page,
|
561 |
+
$comments_type,
|
562 |
+
$comments_style,
|
563 |
+
$comments_template,
|
564 |
+
$comments_callback,
|
565 |
+
$comments_post_id
|
566 |
+
);
|
567 |
+
$ajaxloadmore .= $comments_return;
|
568 |
+
}
|
569 |
|
570 |
|
571 |
// Paging Add-on
|
572 |
if(has_action('alm_paging_installed') && $paging === 'true'){
|
573 |
+
$paging_return = apply_filters(
|
574 |
+
'alm_paging_shortcode',
|
575 |
+
$paging,
|
576 |
+
$paging_controls,
|
577 |
+
$paging_show_at_most,
|
578 |
+
$paging_classes,
|
579 |
+
$options
|
580 |
+
);
|
581 |
$ajaxloadmore .= $paging_return;
|
582 |
}
|
583 |
|
598 |
|
599 |
// Previous Post Post Add-on
|
600 |
if(has_action('alm_prev_post_installed') && $previous_post){
|
601 |
+
$prev_post_return = apply_filters(
|
602 |
+
'alm_prev_post_shortcode',
|
603 |
+
$previous_post_id,
|
604 |
+
$previous_post_taxonomy,
|
605 |
+
$options
|
606 |
+
);
|
607 |
$ajaxloadmore .= $prev_post_return;
|
608 |
}
|
609 |
|
610 |
|
611 |
$ajaxloadmore .= ' data-repeater="'.$repeater.'"';
|
612 |
+
if($theme_repeater != 'null'){
|
613 |
+
$ajaxloadmore .= ' data-theme-repeater="'.$theme_repeater.'"';
|
614 |
+
}
|
615 |
$ajaxloadmore .= ' data-post-type="'.$post_type.'"';
|
616 |
$ajaxloadmore .= ' data-post-format="'.$post_format.'"';
|
617 |
$ajaxloadmore .= ' data-category="'.$category.'"';
|
646 |
$ajaxloadmore .= ' data-pause-override="'.$pause_override.'"';
|
647 |
$ajaxloadmore .= ' data-pause="'.$pause.'"';
|
648 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
649 |
+
if(!empty($button_loading_label)){
|
650 |
+
$ajaxloadmore .= ' data-button-loading-label="'.$button_loading_label.'"';
|
651 |
+
}
|
652 |
$ajaxloadmore .= ' data-button-class="'.$button_classname.'"';
|
653 |
$ajaxloadmore .= ' data-destroy-after="'.$destroy_after.'"';
|
654 |
$ajaxloadmore .= ' data-transition="'.$transition.'"';
|
710 |
if (! wp_verify_nonce( $nonce, 'ajax_load_more_nonce' )) // Check our nonce, if they don't match then bounce!
|
711 |
die('Error, could not verify WP nonce.');
|
712 |
}
|
713 |
+
}
|
714 |
+
|
715 |
|
716 |
$queryType = (isset($_GET['query_type'])) ? $_GET['query_type'] : 'standard'; // 'standard' or 'totalposts'; totalposts returns $alm_found_posts
|
717 |
|
core/css/ajax-load-more.css
CHANGED
@@ -27,9 +27,9 @@ button.alm-load-more-btn{
|
|
27 |
padding:0 20px;
|
28 |
display: inline-block;
|
29 |
position: relative;
|
30 |
-
-webkit-transition: padding 0.25s ease-in-out;
|
31 |
-
-moz-transition: padding 0.25s ease-in-out;
|
32 |
-
transition: padding 0.25s ease-in-out;
|
33 |
text-align: center;
|
34 |
text-decoration: none;
|
35 |
-webkit-appearance: none;
|
@@ -43,7 +43,7 @@ button.alm-load-more-btn{
|
|
43 |
cursor: pointer;
|
44 |
}
|
45 |
button.alm-load-more-btn:hover{
|
46 |
-
background-color: #
|
47 |
color: #fff;
|
48 |
text-decoration: none;
|
49 |
}
|
@@ -85,12 +85,13 @@ button.alm-load-more-btn{
|
|
85 |
margin: 6px;
|
86 |
-webkit-border-radius:3px;
|
87 |
-moz-border-radius:3px;
|
88 |
-
border-radius:
|
89 |
display: inline-block;
|
90 |
z-index: 0;
|
91 |
content: '';
|
92 |
position: absolute;
|
93 |
left: 0;
|
|
|
94 |
overflow: hidden;
|
95 |
-webkit-transition: width 0.5s ease-in-out;
|
96 |
-moz-transition: width 0.5s ease-in-out;
|
@@ -106,20 +107,20 @@ button.alm-load-more-btn{
|
|
106 |
|
107 |
/* Blue */
|
108 |
.ajax-load-more-wrap.blue button.alm-load-more-btn{
|
109 |
-
background-color: #
|
110 |
}
|
111 |
.ajax-load-more-wrap.blue button.alm-load-more-btn:hover,
|
112 |
.ajax-load-more-wrap.blue button.alm-load-more-btn.done{
|
113 |
-
background-color: #
|
114 |
}
|
115 |
|
116 |
/* green */
|
117 |
.ajax-load-more-wrap.green button.alm-load-more-btn{
|
118 |
-
background-color: #
|
119 |
}
|
120 |
.ajax-load-more-wrap.green button.alm-load-more-btn:hover,
|
121 |
.ajax-load-more-wrap.green button.alm-load-more-btn.done{
|
122 |
-
background-color: #
|
123 |
}
|
124 |
|
125 |
/* red */
|
@@ -133,20 +134,20 @@ button.alm-load-more-btn{
|
|
133 |
|
134 |
/* purple */
|
135 |
.ajax-load-more-wrap.purple button.alm-load-more-btn{
|
136 |
-
background-color: #
|
137 |
}
|
138 |
.ajax-load-more-wrap.purple button.alm-load-more-btn:hover,
|
139 |
.ajax-load-more-wrap.purple button.alm-load-more-btn.done{
|
140 |
-
background-color: #
|
141 |
}
|
142 |
|
143 |
/* grey */
|
144 |
.ajax-load-more-wrap.grey button.alm-load-more-btn{
|
145 |
-
background-color: #
|
146 |
}
|
147 |
.ajax-load-more-wrap.grey button.alm-load-more-btn:hover,
|
148 |
.ajax-load-more-wrap.grey button.alm-load-more-btn.done{
|
149 |
-
background-color: #
|
150 |
}
|
151 |
|
152 |
/* white */
|
@@ -164,6 +165,60 @@ button.alm-load-more-btn{
|
|
164 |
border-color: #fff;
|
165 |
}
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
|
169 |
/*
|
@@ -183,10 +238,10 @@ button.alm-load-more-btn{
|
|
183 |
position: relative;
|
184 |
list-style: none;
|
185 |
}
|
186 |
-
.alm-listing li.no-img{
|
187 |
-
|
188 |
-
|
189 |
-
}
|
190 |
.alm-listing li p{
|
191 |
margin: 0;
|
192 |
}
|
@@ -200,7 +255,4 @@ button.alm-load-more-btn{
|
|
200 |
-webkit-border-radius:3px;
|
201 |
-moz-border-radius:3px;
|
202 |
border-radius:3px;
|
203 |
-
}
|
204 |
-
|
205 |
-
|
206 |
-
|
27 |
padding:0 20px;
|
28 |
display: inline-block;
|
29 |
position: relative;
|
30 |
+
-webkit-transition: padding 0.25s ease-in-out, width 0.25s ease-in-out;
|
31 |
+
-moz-transition: padding 0.25s ease-in-out, width 0.25s ease-in-out;
|
32 |
+
transition: padding 0.25s ease-in-out, width 0.25s ease-in-out;
|
33 |
text-align: center;
|
34 |
text-decoration: none;
|
35 |
-webkit-appearance: none;
|
43 |
cursor: pointer;
|
44 |
}
|
45 |
button.alm-load-more-btn:hover{
|
46 |
+
background-color: #e06464;
|
47 |
color: #fff;
|
48 |
text-decoration: none;
|
49 |
}
|
85 |
margin: 6px;
|
86 |
-webkit-border-radius:3px;
|
87 |
-moz-border-radius:3px;
|
88 |
+
border-radius:2px;
|
89 |
display: inline-block;
|
90 |
z-index: 0;
|
91 |
content: '';
|
92 |
position: absolute;
|
93 |
left: 0;
|
94 |
+
top: 0;
|
95 |
overflow: hidden;
|
96 |
-webkit-transition: width 0.5s ease-in-out;
|
97 |
-moz-transition: width 0.5s ease-in-out;
|
107 |
|
108 |
/* Blue */
|
109 |
.ajax-load-more-wrap.blue button.alm-load-more-btn{
|
110 |
+
background-color: #0081bf;
|
111 |
}
|
112 |
.ajax-load-more-wrap.blue button.alm-load-more-btn:hover,
|
113 |
.ajax-load-more-wrap.blue button.alm-load-more-btn.done{
|
114 |
+
background-color: #0073aa;
|
115 |
}
|
116 |
|
117 |
/* green */
|
118 |
.ajax-load-more-wrap.green button.alm-load-more-btn{
|
119 |
+
background-color: #6fca68;
|
120 |
}
|
121 |
.ajax-load-more-wrap.green button.alm-load-more-btn:hover,
|
122 |
.ajax-load-more-wrap.green button.alm-load-more-btn.done{
|
123 |
+
background-color: #64b95e;
|
124 |
}
|
125 |
|
126 |
/* red */
|
134 |
|
135 |
/* purple */
|
136 |
.ajax-load-more-wrap.purple button.alm-load-more-btn{
|
137 |
+
background-color: #a86bb9;
|
138 |
}
|
139 |
.ajax-load-more-wrap.purple button.alm-load-more-btn:hover,
|
140 |
.ajax-load-more-wrap.purple button.alm-load-more-btn.done{
|
141 |
+
background-color: #9963a8;
|
142 |
}
|
143 |
|
144 |
/* grey */
|
145 |
.ajax-load-more-wrap.grey button.alm-load-more-btn{
|
146 |
+
background-color: #888;
|
147 |
}
|
148 |
.ajax-load-more-wrap.grey button.alm-load-more-btn:hover,
|
149 |
.ajax-load-more-wrap.grey button.alm-load-more-btn.done{
|
150 |
+
background-color: #777;
|
151 |
}
|
152 |
|
153 |
/* white */
|
165 |
border-color: #fff;
|
166 |
}
|
167 |
|
168 |
+
/* Infinite */
|
169 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn {
|
170 |
+
width: 100%;
|
171 |
+
background-color: transparent !important;
|
172 |
+
overflow: hidden;
|
173 |
+
text-indent: -9999px;
|
174 |
+
cursor: default !important;
|
175 |
+
}
|
176 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn:before {
|
177 |
+
display: none !important;
|
178 |
+
}
|
179 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn.done {
|
180 |
+
opacity: 0;
|
181 |
+
filter: alpha(opacity=0);
|
182 |
+
}
|
183 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn:active{
|
184 |
+
-webkit-box-shadow: none;
|
185 |
+
-moz-box-shadow: none;
|
186 |
+
box-shadow: none;
|
187 |
+
}
|
188 |
+
|
189 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn {
|
190 |
+
background-color: transparent;
|
191 |
+
background-position: center center;
|
192 |
+
background-repeat: no-repeat;
|
193 |
+
background-image: url("../../core/img/spinner.gif");
|
194 |
+
border: none !important;
|
195 |
+
opacity: 0;
|
196 |
+
filter: alpha(opacity=0);
|
197 |
+
}
|
198 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn {
|
199 |
+
-webkit-transition: opacity 0.25s ease;
|
200 |
+
-moz-transition: opacity 0.25s ease;
|
201 |
+
transition: opacity 0.25s ease;
|
202 |
+
}
|
203 |
+
.ajax-load-more-wrap.infinite button.alm-load-more-btn.loading {
|
204 |
+
opacity: 1;
|
205 |
+
filter: alpha(opacity=100);
|
206 |
+
}
|
207 |
+
.ajax-load-more-wrap.infinite.skype button.alm-load-more-btn {
|
208 |
+
background-image: url("../../core/img/spinner-skype.gif");
|
209 |
+
}
|
210 |
+
.ajax-load-more-wrap.infinite.ring button.alm-load-more-btn {
|
211 |
+
background-image: url("../../core/img/spinner-ring.gif");
|
212 |
+
}
|
213 |
+
.ajax-load-more-wrap.infinite.fading-blocks button.alm-load-more-btn {
|
214 |
+
background-image: url("../../core/img/loader-fading-blocks.gif");
|
215 |
+
}
|
216 |
+
.ajax-load-more-wrap.infinite.fading-circles button.alm-load-more-btn {
|
217 |
+
background-image: url("../../core/img/loader-fading-circles.gif");
|
218 |
+
}
|
219 |
+
.ajax-load-more-wrap.infinite.chasing-arrows button.alm-load-more-btn {
|
220 |
+
background-image: url("../../core/img/spinner-chasing-arrows.gif");
|
221 |
+
}
|
222 |
|
223 |
|
224 |
/*
|
238 |
position: relative;
|
239 |
list-style: none;
|
240 |
}
|
241 |
+
.alm-listing li.no-img{
|
242 |
+
padding: 0;
|
243 |
+
}
|
244 |
+
.alm-listing li a{}
|
245 |
.alm-listing li p{
|
246 |
margin: 0;
|
247 |
}
|
255 |
-webkit-border-radius:3px;
|
256 |
-moz-border-radius:3px;
|
257 |
border-radius:3px;
|
258 |
+
}
|
|
|
|
|
|
core/img/loader-fading-blocks.gif
ADDED
Binary file
|
core/img/loader-fading-circles.gif
ADDED
Binary file
|
core/img/spinner-chasing-arrows.gif
ADDED
Binary file
|
core/img/spinner-ring.gif
ADDED
Binary file
|
core/img/spinner-skype.gif
ADDED
Binary file
|
core/img/spinner.gif
ADDED
Binary file
|
core/js/ajax-load-more.js
CHANGED
@@ -37,11 +37,10 @@
|
|
37 |
alm.el = el;
|
38 |
alm.container = el;
|
39 |
alm.container.addClass('alm-'+e).attr('data-id', e); // Add unique classname and data id
|
40 |
-
alm.content = $('.alm-
|
41 |
alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
|
42 |
alm.canonical_url = alm.el.attr('data-canonical-url');
|
43 |
alm.prefix = 'alm-';
|
44 |
-
|
45 |
alm.cache = alm.content.attr('data-cache'); // cache (true/false)
|
46 |
alm.cache_id = alm.content.attr('data-cache-id'); // cache value
|
47 |
alm.cache_path = alm.content.attr('data-cache-path'); // cache path
|
@@ -61,7 +60,21 @@
|
|
61 |
alm.posts_per_page = alm.content.attr('data-posts-per-page');
|
62 |
|
63 |
alm.previous_post = alm.content.attr('data-previous-post'); // Next Post add-on
|
64 |
-
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
alm.seo = alm.content.attr('data-seo'); // true | false
|
67 |
|
@@ -106,6 +119,11 @@
|
|
106 |
}
|
107 |
/* /end Cache */
|
108 |
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
/* Preloaded */
|
111 |
/* Check preloaded posts to ensure posts_per_page > alm.total_posts - if posts_per_page <= total_posts disable ajax load more */
|
@@ -169,6 +187,9 @@
|
|
169 |
}
|
170 |
if (alm.previous_post_id === undefined){
|
171 |
alm.previous_post_id = '';
|
|
|
|
|
|
|
172 |
}
|
173 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
174 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
@@ -247,12 +268,19 @@
|
|
247 |
if (alm.destroy_after !== undefined) {}
|
248 |
|
249 |
|
250 |
-
/* Button
|
251 |
if (alm.content.attr('data-button-label') === undefined){
|
252 |
alm.button_label = 'Older Posts';
|
253 |
}else{
|
254 |
alm.button_label = alm.content.attr('data-button-label');
|
255 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
|
257 |
/* Button Class */
|
258 |
if (alm.content.attr('data-button-class') === undefined){
|
@@ -302,6 +330,9 @@
|
|
302 |
if(!alm.disable_ajax){ // Check for ajax blocker
|
303 |
if(!alm.paging){
|
304 |
alm.button.addClass('loading');
|
|
|
|
|
|
|
305 |
}
|
306 |
alm.loading = true;
|
307 |
|
@@ -345,18 +376,41 @@
|
|
345 |
|
346 |
if(alm.previous_post){
|
347 |
alm.previous_post_id = alm.content.attr('data-previous-post-id');
|
|
|
348 |
}
|
349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
$.ajax({
|
351 |
type: "GET",
|
352 |
url: alm_localize.ajaxurl,
|
353 |
data: {
|
354 |
-
action:
|
355 |
query_type: queryType,
|
356 |
nonce: alm_localize.alm_nonce,
|
357 |
cache_id: alm.cache_id,
|
358 |
repeater: alm.repeater,
|
359 |
theme_repeater: alm.theme_repeater,
|
|
|
360 |
post_type: alm.post_type,
|
361 |
post_format: alm.content.attr('data-post-format'),
|
362 |
category: alm.content.attr('data-category'),
|
@@ -390,6 +444,7 @@
|
|
390 |
seo_start_page: alm.start_page,
|
391 |
previous_post: alm.previous_post,
|
392 |
previous_post_id: alm.previous_post_id,
|
|
|
393 |
lang: alm.lang
|
394 |
},
|
395 |
dataType: "html",
|
@@ -431,9 +486,9 @@
|
|
431 |
|
432 |
alm.AjaxLoadMore.success = function (data) {
|
433 |
|
434 |
-
if(alm.previous_post){
|
435 |
-
alm.AjaxLoadMore.getPreviousPost();
|
436 |
-
}
|
437 |
|
438 |
alm.data = $(data); // Convert data to an object
|
439 |
if (alm.init) {
|
@@ -449,7 +504,9 @@
|
|
449 |
alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');
|
450 |
$('.alm-paging-content', alm.el).append(alm.data).hide();
|
451 |
alm.content.append(alm.el);
|
452 |
-
alm.content.parent().removeClass('loading'); // Remove loading class from main container
|
|
|
|
|
453 |
$('.alm-paging-content', alm.el).fadeIn( alm.speed, 'alm_easeInOutQuad', function(){
|
454 |
var paddingT = parseInt(alm.content.css('padding-top')),
|
455 |
paddingB = parseInt(alm.content.css('padding-bottom'));
|
@@ -497,6 +554,7 @@
|
|
497 |
alm.loading = false;
|
498 |
if(!alm.paging){
|
499 |
alm.button.delay(alm.speed).removeClass('loading');
|
|
|
500 |
}
|
501 |
if (alm.data.length < alm.posts_per_page) {
|
502 |
alm.finished = true;
|
@@ -511,6 +569,7 @@
|
|
511 |
alm.loading = false;
|
512 |
if(!alm.paging){
|
513 |
alm.button.delay(alm.speed).removeClass('loading');
|
|
|
514 |
}
|
515 |
if (alm.data.length < alm.posts_per_page) {
|
516 |
alm.finished = true;
|
@@ -537,6 +596,7 @@
|
|
537 |
alm.loading = false;
|
538 |
if(!alm.paging){
|
539 |
alm.button.delay(alm.speed).removeClass('loading');
|
|
|
540 |
}
|
541 |
if (alm.data.length < alm.posts_per_page) {
|
542 |
alm.finished = true;
|
@@ -553,6 +613,7 @@
|
|
553 |
alm.loading = false;
|
554 |
if(!alm.paging){
|
555 |
alm.button.delay(alm.speed).removeClass('loading');
|
|
|
556 |
}
|
557 |
if (alm.data.length < alm.posts_per_page) {
|
558 |
alm.finished = true;
|
@@ -569,6 +630,7 @@
|
|
569 |
alm.loading = false;
|
570 |
if(!alm.paging){
|
571 |
alm.button.delay(alm.speed).removeClass('loading');
|
|
|
572 |
}
|
573 |
if (alm.data.length < alm.posts_per_page) {
|
574 |
alm.finished = true;
|
@@ -637,6 +699,7 @@
|
|
637 |
|
638 |
if(!alm.paging){
|
639 |
alm.button.delay(alm.speed).removeClass('loading').addClass('done');
|
|
|
640 |
}
|
641 |
alm.loading = false;
|
642 |
alm.finished = true;
|
@@ -676,7 +739,8 @@
|
|
676 |
url: alm_localize.ajaxurl,
|
677 |
data: {
|
678 |
action: 'alm_query_previous_post',
|
679 |
-
id: alm.previous_post_id
|
|
|
680 |
},
|
681 |
success: function (data) {
|
682 |
if(data.has_previous_post){
|
@@ -705,6 +769,19 @@
|
|
705 |
|
706 |
|
707 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
/* alm.AjaxLoadMore.error()
|
709 |
*
|
710 |
* Error function after failed data
|
@@ -715,6 +792,7 @@
|
|
715 |
alm.loading = false;
|
716 |
if(!alm.paging){
|
717 |
alm.button.removeClass('loading');
|
|
|
718 |
}
|
719 |
console.log(errorThrown);
|
720 |
};
|
37 |
alm.el = el;
|
38 |
alm.container = el;
|
39 |
alm.container.addClass('alm-'+e).attr('data-id', e); // Add unique classname and data id
|
40 |
+
alm.content = $('.alm-ajax', alm.container);
|
41 |
alm.content_preloaded = $('.alm-listing.alm-preloaded', alm.container);
|
42 |
alm.canonical_url = alm.el.attr('data-canonical-url');
|
43 |
alm.prefix = 'alm-';
|
|
|
44 |
alm.cache = alm.content.attr('data-cache'); // cache (true/false)
|
45 |
alm.cache_id = alm.content.attr('data-cache-id'); // cache value
|
46 |
alm.cache_path = alm.content.attr('data-cache-path'); // cache path
|
60 |
alm.posts_per_page = alm.content.attr('data-posts-per-page');
|
61 |
|
62 |
alm.previous_post = alm.content.attr('data-previous-post'); // Next Post add-on
|
63 |
+
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
64 |
+
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
|
65 |
+
|
66 |
+
alm.comments = alm.content.attr('data-comments'); // true | false
|
67 |
+
// if comments, then set alm.content to comments wrap
|
68 |
+
if(alm.comments === 'true'){
|
69 |
+
alm.content = $('.alm-comments', alm.container);
|
70 |
+
}
|
71 |
+
alm.comments_array = '';
|
72 |
+
alm.comments_post_id = alm.content.attr('data-comments_post_id'); // current post id
|
73 |
+
alm.comments_per_page = alm.content.attr('data-comments_per_page');
|
74 |
+
alm.comments_type = alm.content.attr('data-comments_type');
|
75 |
+
alm.comments_style = alm.content.attr('data-comments_style');
|
76 |
+
alm.comments_template = alm.content.attr('data-comments_template');
|
77 |
+
alm.comments_callback = alm.content.attr('data-comments_callback');
|
78 |
|
79 |
alm.seo = alm.content.attr('data-seo'); // true | false
|
80 |
|
119 |
}
|
120 |
/* /end Cache */
|
121 |
|
122 |
+
/* Comments */
|
123 |
+
if (alm.comments_per_page === undefined){
|
124 |
+
alm.comments_per_page = '5';
|
125 |
+
}
|
126 |
+
/* /end Comments
|
127 |
|
128 |
/* Preloaded */
|
129 |
/* Check preloaded posts to ensure posts_per_page > alm.total_posts - if posts_per_page <= total_posts disable ajax load more */
|
187 |
}
|
188 |
if (alm.previous_post_id === undefined){
|
189 |
alm.previous_post_id = '';
|
190 |
+
}
|
191 |
+
if (alm.previous_post_taxonomy === undefined){
|
192 |
+
alm.previous_post_taxonomy = '';
|
193 |
}
|
194 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
195 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
268 |
if (alm.destroy_after !== undefined) {}
|
269 |
|
270 |
|
271 |
+
/* Button Labels */
|
272 |
if (alm.content.attr('data-button-label') === undefined){
|
273 |
alm.button_label = 'Older Posts';
|
274 |
}else{
|
275 |
alm.button_label = alm.content.attr('data-button-label');
|
276 |
+
}
|
277 |
+
|
278 |
+
|
279 |
+
alm.button_loading_label = alm.content.attr('data-button-loading-label');
|
280 |
+
if (alm.button_loading_label === undefined){
|
281 |
+
alm.button_loading_label = false;
|
282 |
+
}
|
283 |
+
|
284 |
|
285 |
/* Button Class */
|
286 |
if (alm.content.attr('data-button-class') === undefined){
|
330 |
if(!alm.disable_ajax){ // Check for ajax blocker
|
331 |
if(!alm.paging){
|
332 |
alm.button.addClass('loading');
|
333 |
+
if(alm.button_loading_label !== false){
|
334 |
+
alm.button.text(alm.button_loading_label);
|
335 |
+
}
|
336 |
}
|
337 |
alm.loading = true;
|
338 |
|
376 |
|
377 |
if(alm.previous_post){
|
378 |
alm.previous_post_id = alm.content.attr('data-previous-post-id');
|
379 |
+
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy');
|
380 |
}
|
381 |
|
382 |
+
var action = 'alm_query_posts';
|
383 |
+
|
384 |
+
// If this is a comment query
|
385 |
+
|
386 |
+
if(alm.comments === 'true'){
|
387 |
+
action = 'alm_comments_query';
|
388 |
+
alm.posts_per_page = alm.comments_per_page;
|
389 |
+
|
390 |
+
alm.comments_array = {
|
391 |
+
'comments': 'true',
|
392 |
+
'post_id': alm.comments_post_id,
|
393 |
+
'per_page': alm.comments_per_page,
|
394 |
+
'type': alm.comments_type,
|
395 |
+
'style': alm.comments_style,
|
396 |
+
'template': alm.comments_template,
|
397 |
+
'callback': alm.comments_callback,
|
398 |
+
};
|
399 |
+
|
400 |
+
}
|
401 |
+
|
402 |
+
|
403 |
$.ajax({
|
404 |
type: "GET",
|
405 |
url: alm_localize.ajaxurl,
|
406 |
data: {
|
407 |
+
action: action,
|
408 |
query_type: queryType,
|
409 |
nonce: alm_localize.alm_nonce,
|
410 |
cache_id: alm.cache_id,
|
411 |
repeater: alm.repeater,
|
412 |
theme_repeater: alm.theme_repeater,
|
413 |
+
comments: alm.comments_array,
|
414 |
post_type: alm.post_type,
|
415 |
post_format: alm.content.attr('data-post-format'),
|
416 |
category: alm.content.attr('data-category'),
|
444 |
seo_start_page: alm.start_page,
|
445 |
previous_post: alm.previous_post,
|
446 |
previous_post_id: alm.previous_post_id,
|
447 |
+
previous_post_taxonomy: alm.previous_post_taxonomy,
|
448 |
lang: alm.lang
|
449 |
},
|
450 |
dataType: "html",
|
486 |
|
487 |
alm.AjaxLoadMore.success = function (data) {
|
488 |
|
489 |
+
if(alm.previous_post){ // Get previous page data
|
490 |
+
alm.AjaxLoadMore.getPreviousPost();
|
491 |
+
}
|
492 |
|
493 |
alm.data = $(data); // Convert data to an object
|
494 |
if (alm.init) {
|
504 |
alm.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>');
|
505 |
$('.alm-paging-content', alm.el).append(alm.data).hide();
|
506 |
alm.content.append(alm.el);
|
507 |
+
alm.content.parent().removeClass('loading'); // Remove loading class from main container
|
508 |
+
alm.resetBtnText();
|
509 |
+
|
510 |
$('.alm-paging-content', alm.el).fadeIn( alm.speed, 'alm_easeInOutQuad', function(){
|
511 |
var paddingT = parseInt(alm.content.css('padding-top')),
|
512 |
paddingB = parseInt(alm.content.css('padding-bottom'));
|
554 |
alm.loading = false;
|
555 |
if(!alm.paging){
|
556 |
alm.button.delay(alm.speed).removeClass('loading');
|
557 |
+
alm.resetBtnText();
|
558 |
}
|
559 |
if (alm.data.length < alm.posts_per_page) {
|
560 |
alm.finished = true;
|
569 |
alm.loading = false;
|
570 |
if(!alm.paging){
|
571 |
alm.button.delay(alm.speed).removeClass('loading');
|
572 |
+
alm.resetBtnText();
|
573 |
}
|
574 |
if (alm.data.length < alm.posts_per_page) {
|
575 |
alm.finished = true;
|
596 |
alm.loading = false;
|
597 |
if(!alm.paging){
|
598 |
alm.button.delay(alm.speed).removeClass('loading');
|
599 |
+
alm.resetBtnText();
|
600 |
}
|
601 |
if (alm.data.length < alm.posts_per_page) {
|
602 |
alm.finished = true;
|
613 |
alm.loading = false;
|
614 |
if(!alm.paging){
|
615 |
alm.button.delay(alm.speed).removeClass('loading');
|
616 |
+
alm.resetBtnText();
|
617 |
}
|
618 |
if (alm.data.length < alm.posts_per_page) {
|
619 |
alm.finished = true;
|
630 |
alm.loading = false;
|
631 |
if(!alm.paging){
|
632 |
alm.button.delay(alm.speed).removeClass('loading');
|
633 |
+
alm.resetBtnText();
|
634 |
}
|
635 |
if (alm.data.length < alm.posts_per_page) {
|
636 |
alm.finished = true;
|
699 |
|
700 |
if(!alm.paging){
|
701 |
alm.button.delay(alm.speed).removeClass('loading').addClass('done');
|
702 |
+
alm.resetBtnText();
|
703 |
}
|
704 |
alm.loading = false;
|
705 |
alm.finished = true;
|
739 |
url: alm_localize.ajaxurl,
|
740 |
data: {
|
741 |
action: 'alm_query_previous_post',
|
742 |
+
id: alm.previous_post_id,
|
743 |
+
taxonomy: alm.previous_post_taxonomy
|
744 |
},
|
745 |
success: function (data) {
|
746 |
if(data.has_previous_post){
|
769 |
|
770 |
|
771 |
|
772 |
+
/* alm.resetBtnText()
|
773 |
+
*
|
774 |
+
* Resets the loading button text after loading has completed
|
775 |
+
* @since 2.8.4
|
776 |
+
*/
|
777 |
+
alm.resetBtnText = function(){
|
778 |
+
if(alm.button_loading_label !== false){ // Reset button text
|
779 |
+
alm.button.text(alm.button_label);
|
780 |
+
}
|
781 |
+
};
|
782 |
+
|
783 |
+
|
784 |
+
|
785 |
/* alm.AjaxLoadMore.error()
|
786 |
*
|
787 |
* Error function after failed data
|
792 |
alm.loading = false;
|
793 |
if(!alm.paging){
|
794 |
alm.button.removeClass('loading');
|
795 |
+
alm.resetBtnText();
|
796 |
}
|
797 |
console.log(errorThrown);
|
798 |
};
|
core/js/ajax-load-more.min.js
CHANGED
@@ -12,11 +12,13 @@
|
|
12 |
*/
|
13 |
|
14 |
(function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
|
15 |
-
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-
|
|
|
16 |
if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
|
17 |
if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
|
18 |
if(alm.cache===undefined){alm.cache=false;}
|
19 |
if(alm.cache_logged_in===undefined){alm.cache_logged_in=false;}
|
|
|
20 |
if(alm.preloaded==='true'){alm.preload_wrap=alm.content.prev('.alm-preloaded');alm.total_posts=parseInt(alm.preload_wrap.attr('data-total-posts'));if(alm.preloaded_amount===undefined){alm.preloaded_amount=false;}
|
21 |
if(alm.total_posts<=alm.preloaded_amount){alm.disable_ajax=true;}}else{alm.preloaded='false';}
|
22 |
if(alm.seo===undefined){alm.seo=false;}
|
@@ -25,6 +27,7 @@ alm.permalink=alm.content.attr('data-seo-permalink');alm.pageview=alm.content.at
|
|
25 |
if(alm.paging){alm.posts_per_page=alm.orginal_posts_per_page;}}else{alm.start_page=1;}
|
26 |
if(alm.previous_post==='true'){alm.previous_post=true;alm.previous_post_permalink='';alm.previous_post_title='';}else{alm.previous_post=false;}
|
27 |
if(alm.previous_post_id===undefined){alm.previous_post_id='';}
|
|
|
28 |
alm.previous_post_title_template=alm.content.attr('data-previous-post-title-template');alm.siteTitle=alm.content.attr('data-previous-post-site-title');alm.siteTagline=alm.content.attr('data-previous-post-site-tagline');alm.previous_post_pageview=alm.content.attr('data-previous-post-pageview');alm.previous_post_scroll=alm.content.attr('data-previous-post-scroll');alm.previous_post_scroll_speed=alm.content.attr('data-previous-post-scroll-speed');alm.previous_post_scroll_top=alm.content.attr('data-previous-post-scrolltop');if(alm.content.attr('data-offset')===undefined){alm.offset=0;}else{alm.offset=alm.content.attr('data-offset');}
|
29 |
if(alm.pause===undefined||(alm.seo&&alm.start_page>1)){alm.pause=false;}
|
30 |
if(alm.preloaded==='true'&&alm.seo&&alm.start_page>0){alm.pause=false;}
|
@@ -37,35 +40,37 @@ if(alm.transition===undefined){alm.transition='slide';}else if(alm.transition===
|
|
37 |
if(alm.images_loaded===undefined){alm.images_loaded='false';}
|
38 |
if(alm.destroy_after!==undefined){}
|
39 |
if(alm.content.attr('data-button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.attr('data-button-label');}
|
|
|
40 |
if(alm.content.attr('data-button-class')===undefined){alm.button_class='';}else{alm.button_class=' '+alm.content.attr('data-button-class');}
|
41 |
if(alm.content.attr('data-scroll')===undefined){alm.scroll=true;}else if(alm.content.attr('data-scroll')==='false'){alm.scroll=false;}else{alm.scroll=true;}
|
42 |
alm.post_type=alm.content.attr('data-post-type');alm.post_type=alm.post_type.split(",");alm.container.append('<div class="'+alm.prefix+'btn-wrap"/>');alm.btnWrap=$('.'+alm.prefix+'btn-wrap',alm.container);if(alm.paging){alm.content.parent().addClass('loading');}else{$('.'+alm.prefix+'btn-wrap',alm.container).append('<button id="load-more" class="'+alm.prefix+'load-more-btn more'+alm.button_class+'">'+alm.button_label+'</button>');alm.button=$('.alm-load-more-btn',alm.container);}
|
43 |
-
alm.AjaxLoadMore.loadPosts=function(){if(!alm.disable_ajax){if(!alm.paging){alm.button.addClass('loading');}
|
44 |
-
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');}
|
45 |
-
|
|
|
46 |
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');}
|
47 |
alm.AjaxLoadMore.success=function(data){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
|
48 |
-
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-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);}});}}
|
49 |
if(alm.data.length===0){if($.isFunction($.fn.almEmpty)){$.fn.almEmpty(alm);}}
|
50 |
if(alm.isPaged){alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.page=alm.start_page-1;}}
|
51 |
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"/>');}
|
52 |
-
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');}
|
53 |
-
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');}
|
54 |
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();}
|
55 |
-
alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');}
|
56 |
-
if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}}else{if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');}
|
57 |
-
if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');}
|
58 |
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);}});}}
|
59 |
if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
|
60 |
if(alm.data.length<alm.posts_per_page){if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}}
|
61 |
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);}
|
62 |
-
if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');}
|
63 |
alm.loading=false;alm.finished=true;}
|
64 |
if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
|
65 |
if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
|
66 |
-
alm.init=false;};alm.fetchingPreviousPost=false;alm.AjaxLoadMore.getPreviousPost=function(){alm.fetchingPreviousPost=true;$.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:{action:'alm_query_previous_post',id:alm.previous_post_id},success:function(data){if(data.has_previous_post){alm.content.attr('data-previous-post-id',data.prev_id);alm.previous_post_permalink=data.prev_permalink;alm.previous_post_title=data.prev_title;}else{if(!data.has_previous_post){alm.finished=true;alm.button.addClass('done');}}
|
67 |
if($.isFunction($.fn.almSetPreviousPost)){$.fn.almSetPreviousPost(alm,data.current_id,data.permalink,data.title);}
|
68 |
-
alm.fetchingPreviousPost=false;},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);alm.fetchingPreviousPost=false;}});};alm.AjaxLoadMore.error=function(jqXHR,textStatus,errorThrown){alm.loading=false;if(!alm.paging){alm.button.removeClass('loading');}
|
69 |
console.log(errorThrown);};if(!alm.paging&&!alm.fetchingPreviousPost){alm.button.on('click',function(){if(alm.pause==='true'){alm.pause=false;alm.pause_override=false;alm.AjaxLoadMore.loadPosts();}
|
70 |
if(!alm.loading&&!alm.finished&&!$(this).hasClass('done')){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}});}
|
71 |
if(alm.paging){alm.window.resize(function(){if($.isFunction($.fn.almOnWindowResize)){setTimeout(function(){$.fn.almOnWindowResize(alm);},250);}});}
|
12 |
*/
|
13 |
|
14 |
(function($){"use strict";$.ajaxloadmore=function(el,e){if(alm_localize.scrolltop==='true'){$(window).scrollTop(0);}
|
15 |
+
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.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);}
|
16 |
+
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;}
|
17 |
if(alm.preloaded==='true'){alm.pause=true;}}else{alm.paging=false;}
|
18 |
if(alm.paging_controls==='true'){alm.paging_controls=true;}else{alm.paging_controls=false;}
|
19 |
if(alm.cache===undefined){alm.cache=false;}
|
20 |
if(alm.cache_logged_in===undefined){alm.cache_logged_in=false;}
|
21 |
+
if(alm.comments_per_page===undefined){alm.comments_per_page='5';}
|
22 |
if(alm.preloaded==='true'){alm.preload_wrap=alm.content.prev('.alm-preloaded');alm.total_posts=parseInt(alm.preload_wrap.attr('data-total-posts'));if(alm.preloaded_amount===undefined){alm.preloaded_amount=false;}
|
23 |
if(alm.total_posts<=alm.preloaded_amount){alm.disable_ajax=true;}}else{alm.preloaded='false';}
|
24 |
if(alm.seo===undefined){alm.seo=false;}
|
27 |
if(alm.paging){alm.posts_per_page=alm.orginal_posts_per_page;}}else{alm.start_page=1;}
|
28 |
if(alm.previous_post==='true'){alm.previous_post=true;alm.previous_post_permalink='';alm.previous_post_title='';}else{alm.previous_post=false;}
|
29 |
if(alm.previous_post_id===undefined){alm.previous_post_id='';}
|
30 |
+
if(alm.previous_post_taxonomy===undefined){alm.previous_post_taxonomy='';}
|
31 |
alm.previous_post_title_template=alm.content.attr('data-previous-post-title-template');alm.siteTitle=alm.content.attr('data-previous-post-site-title');alm.siteTagline=alm.content.attr('data-previous-post-site-tagline');alm.previous_post_pageview=alm.content.attr('data-previous-post-pageview');alm.previous_post_scroll=alm.content.attr('data-previous-post-scroll');alm.previous_post_scroll_speed=alm.content.attr('data-previous-post-scroll-speed');alm.previous_post_scroll_top=alm.content.attr('data-previous-post-scrolltop');if(alm.content.attr('data-offset')===undefined){alm.offset=0;}else{alm.offset=alm.content.attr('data-offset');}
|
32 |
if(alm.pause===undefined||(alm.seo&&alm.start_page>1)){alm.pause=false;}
|
33 |
if(alm.preloaded==='true'&&alm.seo&&alm.start_page>0){alm.pause=false;}
|
40 |
if(alm.images_loaded===undefined){alm.images_loaded='false';}
|
41 |
if(alm.destroy_after!==undefined){}
|
42 |
if(alm.content.attr('data-button-label')===undefined){alm.button_label='Older Posts';}else{alm.button_label=alm.content.attr('data-button-label');}
|
43 |
+
alm.button_loading_label=alm.content.attr('data-button-loading-label');if(alm.button_loading_label===undefined){alm.button_loading_label=false;}
|
44 |
if(alm.content.attr('data-button-class')===undefined){alm.button_class='';}else{alm.button_class=' '+alm.content.attr('data-button-class');}
|
45 |
if(alm.content.attr('data-scroll')===undefined){alm.scroll=true;}else if(alm.content.attr('data-scroll')==='false'){alm.scroll=false;}else{alm.scroll=true;}
|
46 |
alm.post_type=alm.content.attr('data-post-type');alm.post_type=alm.post_type.split(",");alm.container.append('<div class="'+alm.prefix+'btn-wrap"/>');alm.btnWrap=$('.'+alm.prefix+'btn-wrap',alm.container);if(alm.paging){alm.content.parent().addClass('loading');}else{$('.'+alm.prefix+'btn-wrap',alm.container).append('<button id="load-more" class="'+alm.prefix+'load-more-btn more'+alm.button_class+'">'+alm.button_label+'</button>');alm.button=$('.alm-load-more-btn',alm.container);}
|
47 |
+
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);}}
|
48 |
+
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');}
|
49 |
+
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,};}
|
50 |
+
$.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'),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'),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},dataType:"html",beforeSend:function(){if(alm.page!=1&&!alm.paging){alm.button.addClass('loading');}},success:function(data){if(queryType==='standard'){alm.AjaxLoadMore.success(data);}
|
51 |
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');}
|
52 |
alm.AjaxLoadMore.success=function(data){if(alm.previous_post){alm.AjaxLoadMore.getPreviousPost();}
|
53 |
+
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);}});}}
|
54 |
if(alm.data.length===0){if($.isFunction($.fn.almEmpty)){$.fn.almEmpty(alm);}}
|
55 |
if(alm.isPaged){alm.posts_per_page=alm.content.attr('data-posts-per-page');alm.page=alm.start_page-1;}}
|
56 |
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"/>');}
|
57 |
+
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();}
|
58 |
+
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();}
|
59 |
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();}
|
60 |
+
alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
|
61 |
+
if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}}else{if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
|
62 |
+
if(alm.data.length<alm.posts_per_page){alm.finished=true;if(!alm.paging){alm.button.addClass('done');}}});});}else{alm.el.slideDown(alm.speed,'alm_easeInOutQuad',function(){alm.loading=false;if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading');alm.resetBtnText();}
|
63 |
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);}});}}
|
64 |
if($.isFunction($.fn.almComplete)){if(alm.images_loaded==='true'){alm.el.almWaitForImages().done(function(){$.fn.almComplete(alm);});}else{$.fn.almComplete(alm);}}
|
65 |
if(alm.data.length<alm.posts_per_page){if($.isFunction($.fn.almDone)){$.fn.almDone(alm);}}
|
66 |
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);}
|
67 |
+
if(!alm.paging){alm.button.delay(alm.speed).removeClass('loading').addClass('done');alm.resetBtnText();}
|
68 |
alm.loading=false;alm.finished=true;}
|
69 |
if(alm.destroy_after!==undefined&&alm.destroy_after!==''){var currentPage=alm.page+1;if(alm.preload){currentPage++;}
|
70 |
if(currentPage==alm.destroy_after){alm.disable_ajax=true;if(!alm.paging){alm.button.delay(alm.speed).fadeOut(alm.speed);}}}
|
71 |
+
alm.init=false;};alm.fetchingPreviousPost=false;alm.AjaxLoadMore.getPreviousPost=function(){alm.fetchingPreviousPost=true;$.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:{action:'alm_query_previous_post',id:alm.previous_post_id,taxonomy:alm.previous_post_taxonomy},success:function(data){if(data.has_previous_post){alm.content.attr('data-previous-post-id',data.prev_id);alm.previous_post_permalink=data.prev_permalink;alm.previous_post_title=data.prev_title;}else{if(!data.has_previous_post){alm.finished=true;alm.button.addClass('done');}}
|
72 |
if($.isFunction($.fn.almSetPreviousPost)){$.fn.almSetPreviousPost(alm,data.current_id,data.permalink,data.title);}
|
73 |
+
alm.fetchingPreviousPost=false;},error:function(jqXHR,textStatus,errorThrown){alm.AjaxLoadMore.error(jqXHR,textStatus,errorThrown);alm.fetchingPreviousPost=false;}});};alm.resetBtnText=function(){if(alm.button_loading_label!==false){alm.button.text(alm.button_label);}};alm.AjaxLoadMore.error=function(jqXHR,textStatus,errorThrown){alm.loading=false;if(!alm.paging){alm.button.removeClass('loading');alm.resetBtnText();}
|
74 |
console.log(errorThrown);};if(!alm.paging&&!alm.fetchingPreviousPost){alm.button.on('click',function(){if(alm.pause==='true'){alm.pause=false;alm.pause_override=false;alm.AjaxLoadMore.loadPosts();}
|
75 |
if(!alm.loading&&!alm.finished&&!$(this).hasClass('done')){alm.loading=true;alm.page++;alm.AjaxLoadMore.loadPosts();}});}
|
76 |
if(alm.paging){alm.window.resize(function(){if($.isFunction($.fn.almOnWindowResize)){setTimeout(function(){$.fn.almOnWindowResize(alm);},250);}});}
|
lang/ajax-load-more.pot
CHANGED
@@ -1,36 +1,38 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ajax Load More\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_CA\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.6.
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../admin/admin.php:112 ../admin/admin.php:
|
19 |
-
#: ../admin/admin.php:
|
20 |
msgid "You don't belong here."
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../admin/admin.php:155 ../admin/views/licenses.php:
|
24 |
-
#: ../admin/views/licenses.php:104 ../admin/views/licenses.php:
|
25 |
-
#: ../admin/views/licenses.php:
|
26 |
-
#: ../admin/views/licenses.php:322 ../admin/views/licenses.php:
|
|
|
27 |
msgid "Active"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: ../admin/admin.php:156 ../admin/views/licenses.php:
|
31 |
-
#: ../admin/views/licenses.php:108 ../admin/views/licenses.php:
|
32 |
-
#: ../admin/views/licenses.php:
|
33 |
-
#: ../admin/views/licenses.php:326 ../admin/views/licenses.php:
|
|
|
34 |
msgid "Inactive"
|
35 |
msgstr ""
|
36 |
|
@@ -48,127 +50,131 @@ msgid ""
|
|
48 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: ../admin/admin.php:
|
52 |
msgid "[Ajax Load More] Unable to open repeater template - "
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: ../admin/admin.php:
|
56 |
msgid "[Ajax Load More] Error saving repeater template - "
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: ../admin/admin.php:
|
60 |
msgid "Error Writing File"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../admin/admin.php:
|
|
|
64 |
msgid "Container Type"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../admin/admin.php:
|
|
|
68 |
msgid "Container Classes"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: ../admin/admin.php:
|
72 |
msgid "Disable CSS"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../admin/admin.php:
|
76 |
-
msgid "Button
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../admin/admin.php:
|
80 |
msgid "Button Classes"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../admin/admin.php:
|
84 |
msgid "Ajax Security"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../admin/admin.php:
|
88 |
msgid "Top of Page"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../admin/admin.php:
|
92 |
msgid "Dynamic Content"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../admin/admin.php:
|
96 |
msgid "Editor Button"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../admin/admin.php:
|
100 |
msgid "Error Notices"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../admin/admin.php:
|
104 |
msgid ""
|
105 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: ../admin/admin.php:
|
109 |
msgid "The following settings affect the WordPress admin area only."
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: ../admin/admin.php:
|
113 |
msgid "I want to use my own CSS styles."
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: ../admin/admin.php:
|
117 |
msgid "View Ajax Load More CSS"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: ../admin/admin.php:
|
121 |
msgid "Hide shortcode button in WYSIWYG editor."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: ../admin/admin.php:
|
125 |
msgid ""
|
126 |
"Display error messaging regarding repeater template updates in the browser "
|
127 |
"console."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: ../admin/admin.php:
|
131 |
msgid ""
|
132 |
"Disable dynamic population of categories, tags and authors in the Shortcode "
|
133 |
"Builder.<span style=\"display:block\">Recommended if you have an "
|
134 |
"extraordinary number of categories, tags and/or authors."
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: ../admin/admin.php:
|
138 |
msgid "Ajax Posts Here"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: ../admin/admin.php:
|
142 |
msgid "You can modify the container type when building a shortcode."
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: ../admin/admin.php:
|
146 |
msgid ""
|
147 |
"Add classes to Ajax Load More container - classes are applied globally and "
|
148 |
"will appear with every instance of Ajax Load More. <span style=\"display:"
|
149 |
"block\">You can also add classes when building a shortcode.</span>"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../admin/admin.php:
|
153 |
-
msgid "
|
|
|
|
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: ../admin/admin.php:
|
157 |
msgid "Preview"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../admin/admin.php:
|
161 |
msgid "Add classes to your <strong>Load More</strong> button"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../admin/admin.php:
|
165 |
msgid ""
|
166 |
"On initial page load, move the user's browser window to the top of the "
|
167 |
"screen.<span style=\"display:block\">This <u>may</u> help prevent the "
|
168 |
"loading of unnecessary posts.</span>"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: ../admin/admin.php:
|
172 |
msgid ""
|
173 |
"Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
|
174 |
"\"_blank\">WP nonce</a> verification to help protect URLs against certain "
|
@@ -201,6 +207,7 @@ msgid "Apply Layout"
|
|
201 |
msgstr ""
|
202 |
|
203 |
#: ../admin/includes/components/layout-list.php:9
|
|
|
204 |
msgid "Default"
|
205 |
msgstr ""
|
206 |
|
@@ -420,131 +427,270 @@ msgstr ""
|
|
420 |
msgid "Expand All"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
424 |
-
#: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:
|
425 |
#: ../admin/views/settings.php:22
|
426 |
msgid "Cache"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
430 |
msgid "Enable Caching"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
434 |
msgid "Turn on content caching."
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
438 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
439 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
440 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
441 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
442 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
443 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
444 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
445 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
446 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
447 |
msgid "True"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
451 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
452 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
453 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
454 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
455 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
456 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
457 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
458 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
459 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
460 |
msgid "False"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
464 |
msgid "Cache ID"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
468 |
msgid ""
|
469 |
"You <u>must</u> generate a unique ID for this cached query - this unique ID "
|
470 |
"will be used as a content identifier."
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
474 |
msgid "Generate New ID"
|
475 |
msgstr ""
|
476 |
|
477 |
#: ../admin/shortcode-builder/shortcode-builder.php:59
|
478 |
-
#: ../admin/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
#: ../admin/views/settings.php:26
|
480 |
msgid "Paging"
|
481 |
msgstr ""
|
482 |
|
483 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
484 |
msgid "Replace infinite scrolling with a paged ajax navigation system."
|
485 |
msgstr ""
|
486 |
|
487 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
488 |
msgid "Paging Controls"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
492 |
msgid "Show («)previous and next(») buttons."
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
496 |
msgid "Paging Navigation Classes"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
500 |
msgid "Add custom CSS classes to the paging navigation menu."
|
501 |
msgstr ""
|
502 |
|
503 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
504 |
msgid "Show at Most"
|
505 |
msgstr ""
|
506 |
|
507 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
508 |
msgid ""
|
509 |
"The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
513 |
-
#: ../admin/views/add-ons.php:
|
514 |
msgid "Preloaded"
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
518 |
msgid "Preload posts prior to making Ajax requests."
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
522 |
msgid "Preload Amount"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
526 |
msgid "Enter the number of posts to preload."
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
530 |
-
#: ../admin/views/add-ons.php:
|
531 |
#: ../admin/views/settings.php:28
|
532 |
msgid "Previous Post"
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
536 |
msgid "Enable the infinite scrolling of single posts."
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
540 |
-
|
|
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
544 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
msgid ""
|
549 |
"You must add the Previous Post shortcode directly to your single template "
|
550 |
"file using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
@@ -553,369 +699,394 @@ msgid ""
|
|
553 |
"target=\"_blank\">View documentation</a>"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
557 |
msgid "SEO (Search Engine Optimization)"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
561 |
msgid ""
|
562 |
"Enable address bar URL rewrites as users page through ajax loaded content."
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
566 |
msgid "Template"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
570 |
msgid "Repeater Template"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
574 |
msgid ""
|
575 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
576 |
"\"_parent\">repeater template</a> you would like to use."
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
580 |
msgid "Post Types"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
584 |
msgid "Select Post Types to query."
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
588 |
msgid "Post Format"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
592 |
msgid ""
|
593 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
594 |
"\">Post Format</a> to query."
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
598 |
msgid "Select Post Format"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
602 |
msgid "Standard"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
606 |
-
msgid "Category"
|
607 |
-
msgstr ""
|
608 |
-
|
609 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:346
|
610 |
msgid ""
|
611 |
"A comma separated list of categories to include by slug. (design, research "
|
612 |
"etc...)"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
616 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
617 |
msgid "view example"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
621 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
622 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
623 |
msgid "Exclude"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
627 |
msgid ""
|
628 |
"A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
632 |
-
|
633 |
-
msgstr ""
|
634 |
-
|
635 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:405
|
636 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:627
|
637 |
msgid "Include"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
641 |
msgid ""
|
642 |
"A comma separated list of tags to include by slug. (toronto, canada etc...)"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
646 |
msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
650 |
-
msgid "Taxonomy"
|
651 |
-
msgstr ""
|
652 |
-
|
653 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:463
|
654 |
msgid "Select your custom taxonomy then select the terms and operator."
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
658 |
-
msgid "Select Taxonomy"
|
659 |
-
msgstr ""
|
660 |
-
|
661 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:479
|
662 |
msgid "Taxonomy Terms:"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
666 |
msgid "Taxonomy Operator:"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
670 |
msgid "Date"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
674 |
msgid ""
|
675 |
"Enter a year, month(number) and day to query by date archive.<br/>» <a "
|
676 |
"href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
680 |
msgid "Year:"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
684 |
msgid "Month:"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
688 |
msgid "Day:"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
692 |
msgid "Custom Fields (Meta_Query)"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
696 |
msgid ""
|
697 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
698 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
699 |
"and operator."
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
703 |
msgid "Relation:"
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
707 |
msgid "Add Another"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
711 |
msgid "Author"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
715 |
msgid "Select an Author to query(by ID)."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
719 |
msgid "Select Author"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
723 |
msgid "Search Term"
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
727 |
msgid "Enter a search term to query."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
731 |
msgid "Enter search term"
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
735 |
msgid "Custom Arguments"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
739 |
msgid ""
|
740 |
"A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
|
741 |
"tag_slug__and:design,development; event_display:upcoming. Default"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
745 |
msgid "event_display:upcoming"
|
746 |
msgstr ""
|
747 |
|
748 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
749 |
msgid "Post Parameters"
|
750 |
msgstr ""
|
751 |
|
752 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
753 |
msgid "A comma separated list of post ID's to query."
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
757 |
msgid "225, 340, 818, etc..."
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
761 |
msgid "A comma separated list of post ID's to exclude from query."
|
762 |
msgstr ""
|
763 |
|
764 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
765 |
msgid "Post Status"
|
766 |
msgstr ""
|
767 |
|
768 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
769 |
msgid "Select status of the post."
|
770 |
msgstr ""
|
771 |
|
772 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
773 |
msgid "Published"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
777 |
msgid "Ordering"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
781 |
msgid "Sort posts by Order and Orderby parameters."
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
785 |
msgid "Order"
|
786 |
msgstr ""
|
787 |
|
788 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
789 |
msgid "Order By"
|
790 |
msgstr ""
|
791 |
|
792 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
793 |
msgid "Offset"
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
797 |
-
msgid "Offset the initial
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
801 |
msgid "Posts Per Page"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
805 |
msgid "Select the number of posts to load with each request."
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
809 |
msgid "Pause"
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
813 |
msgid ""
|
814 |
"Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
818 |
msgid "Scrolling"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
822 |
msgid "Enable Scrolling"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
826 |
msgid "Load more posts as the user scrolls the page."
|
827 |
msgstr ""
|
828 |
|
829 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
830 |
msgid "Scroll Distance"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
834 |
msgid ""
|
835 |
-
"
|
836 |
-
"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
840 |
msgid "Maximum Pages"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
844 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
848 |
msgid "Pause Override"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
852 |
msgid ""
|
853 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
854 |
"posts on scroll."
|
855 |
msgstr ""
|
856 |
|
857 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
858 |
msgid "Transition"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
862 |
msgid "Select a loading transition."
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
866 |
msgid "Slide"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
870 |
msgid "Fade"
|
871 |
msgstr ""
|
872 |
|
873 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
874 |
-
msgid "
|
875 |
msgstr ""
|
876 |
|
877 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
878 |
-
msgid "
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
882 |
-
msgid "
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
886 |
msgid "Destroy After"
|
887 |
msgstr ""
|
888 |
|
889 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
890 |
msgid ""
|
891 |
"Remove ajax load more functionality after '<em>n</em>' number of pages have "
|
892 |
"been loaded."
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
896 |
msgid "Button Label"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
900 |
-
msgid "Customize the <em>Load More</em> button
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
904 |
-
#: ../ajax-load-more.php:
|
905 |
msgid "Older Posts"
|
906 |
msgstr ""
|
907 |
|
908 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
909 |
msgid "Container Options"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
913 |
msgid ""
|
914 |
"Override the global Container Type that was set on <a href=\"admin.php?"
|
915 |
"page=ajax-load-more\">ALM Settings page</a>."
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
919 |
msgid ""
|
920 |
"Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
|
921 |
"portfolio-listing large-12 etc"
|
@@ -941,92 +1112,102 @@ msgid ""
|
|
941 |
"delivers those static files to your visitors."
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: ../admin/views/add-ons.php:
|
945 |
-
msgid "
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: ../admin/views/add-ons.php:
|
949 |
-
msgid "
|
|
|
|
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: ../admin/views/add-ons.php:
|
953 |
-
msgid ""
|
954 |
-
"Create, delete and modify repeater templates as you need them with "
|
955 |
-
"absolutely zero restrictions."
|
956 |
msgstr ""
|
957 |
|
958 |
#: ../admin/views/add-ons.php:71
|
959 |
-
msgid "
|
960 |
msgstr ""
|
961 |
|
962 |
#: ../admin/views/add-ons.php:72
|
963 |
-
msgid "
|
964 |
-
|
965 |
-
|
966 |
-
#: ../admin/views/add-ons.php:73
|
967 |
-
msgid "Boost the look of your theme with a library of mobile ready layouts."
|
968 |
msgstr ""
|
969 |
|
970 |
-
#: ../admin/views/add-ons.php:
|
971 |
msgid "Extend Ajax Load More with a numbered navigation."
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: ../admin/views/add-ons.php:
|
975 |
msgid ""
|
976 |
"The Paging add-on will transform the default infinite scroll functionality "
|
977 |
"into a robust ajax powered navigation system."
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: ../admin/views/add-ons.php:
|
981 |
msgid "Load an initial set of posts before making Ajax requests to the server."
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: ../admin/views/add-ons.php:
|
985 |
msgid ""
|
986 |
"The Preloaded add-on will display content quicker and allow caching of the "
|
987 |
"initial query which can reduce stress on your server."
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: ../admin/views/add-ons.php:
|
991 |
msgid "An extension to enable infinite scrolling of single posts."
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: ../admin/views/add-ons.php:
|
995 |
msgid ""
|
996 |
"The Previous Post add-on will load single posts as you scroll and update the "
|
997 |
"browser URL to the current post."
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: ../admin/views/add-ons.php:
|
1001 |
msgid "Search Engine Optimization"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: ../admin/views/add-ons.php:
|
1005 |
msgid "Generate unique paging URLs with every Ajax Load More query."
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: ../admin/views/add-ons.php:
|
1009 |
msgid ""
|
1010 |
"The SEO add-on will optimize your ajax loaded content for search engines by "
|
1011 |
"generating unique URLs with every query.</p>"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: ../admin/views/add-ons.php:
|
1015 |
#: ../admin/views/settings.php:32
|
1016 |
msgid "Theme Repeaters"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: ../admin/views/add-ons.php:
|
1020 |
msgid "Manage repeater templates within your current theme directory."
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: ../admin/views/add-ons.php:
|
1024 |
msgid ""
|
1025 |
"The Theme Repeater add-on will allow you load, edit and maintain templates "
|
1026 |
"from your current theme directory.</p>"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
-
#: ../admin/views/add-ons.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1030 |
msgid ""
|
1031 |
"All add-ons are installed as stand alone plugins and with a valid license "
|
1032 |
"key will receive plugin update notifications directly within the <a href="
|
@@ -1114,60 +1295,61 @@ msgid ""
|
|
1114 |
"href=\"plugins.php\">WP Plugins dashboard</a>."
|
1115 |
msgstr ""
|
1116 |
|
1117 |
-
#: ../admin/views/licenses.php:
|
1118 |
#: ../admin/views/licenses.php:99 ../admin/views/licenses.php:101
|
1119 |
-
#: ../admin/views/licenses.php:
|
1120 |
-
#: ../admin/views/licenses.php:
|
1121 |
-
#: ../admin/views/licenses.php:
|
1122 |
#: ../admin/views/licenses.php:317 ../admin/views/licenses.php:319
|
1123 |
-
#: ../admin/views/licenses.php:
|
|
|
1124 |
msgid "Enter License Key"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
-
#: ../admin/views/licenses.php:
|
1128 |
-
#: ../admin/views/licenses.php:
|
1129 |
-
#: ../admin/views/licenses.php:
|
1130 |
-
#: ../admin/views/licenses.php:
|
1131 |
msgid "Activate License"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: ../admin/views/licenses.php:
|
1135 |
-
#: ../admin/views/licenses.php:
|
1136 |
-
#: ../admin/views/licenses.php:
|
1137 |
-
#: ../admin/views/licenses.php:
|
1138 |
msgid "Deactivate License"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: ../admin/views/licenses.php:
|
1142 |
msgid "You do not have any Ajax Load More add-ons installed"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
-
#: ../admin/views/licenses.php:
|
1146 |
msgid "Browse Add-ons"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: ../admin/views/licenses.php:
|
1150 |
msgid "About Licenses"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: ../admin/views/licenses.php:
|
1154 |
msgid "Add-on licenses will enable updates directly in your WP dashboard."
|
1155 |
msgstr ""
|
1156 |
|
1157 |
-
#: ../admin/views/licenses.php:
|
1158 |
msgid ""
|
1159 |
"License keys are found in the purchase receipt email that was sent "
|
1160 |
"immediately after your successful purchase."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
-
#: ../admin/views/licenses.php:
|
1164 |
msgid ""
|
1165 |
"If you cannot locate your key please use the <a href=\"https://connekthq.com/"
|
1166 |
"contact/\">contact form</a> on our website and reference the email address "
|
1167 |
"used when you completed the purchase."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: ../admin/views/licenses.php:
|
1171 |
msgid "Legacy Users"
|
1172 |
msgstr ""
|
1173 |
|
@@ -1291,7 +1473,7 @@ msgstr ""
|
|
1291 |
msgid "Clear all Shortcode Builder settings"
|
1292 |
msgstr ""
|
1293 |
|
1294 |
-
#: ../ajax-load-more.php:
|
1295 |
msgid "Settings"
|
1296 |
msgstr ""
|
1297 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ajax Load More\n"
|
4 |
+
"POT-Creation-Date: 2015-12-04 12:45-0500\n"
|
5 |
+
"PO-Revision-Date: 2015-12-04 12:45-0500\n"
|
6 |
"Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_CA\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.7\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../admin/admin.php:112 ../admin/admin.php:651 ../admin/admin.php:695
|
19 |
+
#: ../admin/admin.php:741
|
20 |
msgid "You don't belong here."
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: ../admin/admin.php:155 ../admin/views/licenses.php:50
|
24 |
+
#: ../admin/views/licenses.php:104 ../admin/views/licenses.php:159
|
25 |
+
#: ../admin/views/licenses.php:215 ../admin/views/licenses.php:269
|
26 |
+
#: ../admin/views/licenses.php:322 ../admin/views/licenses.php:377
|
27 |
+
#: ../admin/views/licenses.php:434
|
28 |
msgid "Active"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: ../admin/admin.php:156 ../admin/views/licenses.php:54
|
32 |
+
#: ../admin/views/licenses.php:108 ../admin/views/licenses.php:163
|
33 |
+
#: ../admin/views/licenses.php:219 ../admin/views/licenses.php:273
|
34 |
+
#: ../admin/views/licenses.php:326 ../admin/views/licenses.php:381
|
35 |
+
#: ../admin/views/licenses.php:438
|
36 |
msgid "Inactive"
|
37 |
msgstr ""
|
38 |
|
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:803
|
66 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1122
|
67 |
msgid "Container Type"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: ../admin/admin.php:811
|
71 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1142
|
72 |
msgid "Container Classes"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../admin/admin.php:819
|
76 |
msgid "Disable CSS"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../admin/admin.php:827
|
80 |
+
msgid "Button/Loading Style"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../admin/admin.php:835
|
84 |
msgid "Button Classes"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../admin/admin.php:843
|
88 |
msgid "Ajax Security"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../admin/admin.php:851
|
92 |
msgid "Top of Page"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../admin/admin.php:859
|
96 |
msgid "Dynamic Content"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../admin/admin.php:867
|
100 |
msgid "Editor Button"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../admin/admin.php:875
|
104 |
msgid "Error Notices"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../admin/admin.php:940
|
108 |
msgid ""
|
109 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: ../admin/admin.php:953
|
113 |
msgid "The following settings affect the WordPress admin area only."
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: ../admin/admin.php:984
|
117 |
msgid "I want to use my own CSS styles."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: ../admin/admin.php:984
|
121 |
msgid "View Ajax Load More CSS"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: ../admin/admin.php:1004
|
125 |
msgid "Hide shortcode button in WYSIWYG editor."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: ../admin/admin.php:1025
|
129 |
msgid ""
|
130 |
"Display error messaging regarding repeater template updates in the browser "
|
131 |
"console."
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: ../admin/admin.php:1046
|
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:1067 ../admin/admin.php:1070
|
142 |
msgid "Ajax Posts Here"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: ../admin/admin.php:1072
|
146 |
msgid "You can modify the container type when building a shortcode."
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: ../admin/admin.php:1089
|
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:1151
|
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:1174
|
163 |
msgid "Preview"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: ../admin/admin.php:1193
|
167 |
msgid "Add classes to your <strong>Load More</strong> button"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: ../admin/admin.php:1236
|
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:1257
|
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 "
|
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 |
|
427 |
msgid "Expand All"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:15
|
431 |
+
#: ../admin/views/add-ons.php:18 ../admin/views/licenses.php:39
|
432 |
#: ../admin/views/settings.php:22
|
433 |
msgid "Cache"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:18
|
437 |
msgid "Enable Caching"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:19
|
441 |
msgid "Turn on content caching."
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:26
|
445 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:70
|
446 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:225
|
447 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:248
|
448 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:302
|
449 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:343
|
450 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:417
|
451 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:931
|
452 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:956
|
453 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1003
|
454 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1057
|
455 |
msgid "True"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:30
|
459 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:74
|
460 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:229
|
461 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:252
|
462 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:306
|
463 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:347
|
464 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:421
|
465 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:935
|
466 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:960
|
467 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1007
|
468 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1061
|
469 |
msgid "False"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:40
|
473 |
msgid "Cache ID"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:41
|
477 |
msgid ""
|
478 |
"You <u>must</u> generate a unique ID for this cached query - this unique ID "
|
479 |
"will be used as a content identifier."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:47
|
483 |
msgid "Generate New ID"
|
484 |
msgstr ""
|
485 |
|
486 |
#: ../admin/shortcode-builder/shortcode-builder.php:59
|
487 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:62
|
488 |
+
#: ../admin/views/add-ons.php:45 ../admin/views/licenses.php:93
|
489 |
+
msgid "Comments"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:63
|
493 |
+
msgid "Enable Ajax Load More to display blog comments."
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:86
|
497 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:357
|
498 |
+
msgid "Post ID"
|
499 |
+
msgstr ""
|
500 |
+
|
501 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:87
|
502 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:358
|
503 |
+
msgid "The ID of the current single post."
|
504 |
+
msgstr ""
|
505 |
+
|
506 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:99
|
507 |
+
msgid "Comments Per Page"
|
508 |
+
msgstr ""
|
509 |
+
|
510 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:100
|
511 |
+
msgid "The number of top level items to show for each page of comments."
|
512 |
+
msgstr ""
|
513 |
+
|
514 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:108
|
515 |
+
msgid ""
|
516 |
+
"<strong>Note</strong>: The amount selected does NOT include comment replies."
|
517 |
+
msgstr ""
|
518 |
+
|
519 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:114
|
520 |
+
msgid "Comment Type"
|
521 |
+
msgstr ""
|
522 |
+
|
523 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:115
|
524 |
+
msgid "The type of comment(s) to display."
|
525 |
+
msgstr ""
|
526 |
+
|
527 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:120
|
528 |
+
msgid "Comment"
|
529 |
+
msgstr ""
|
530 |
+
|
531 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:121
|
532 |
+
msgid "All"
|
533 |
+
msgstr ""
|
534 |
+
|
535 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:122
|
536 |
+
msgid "Trackback"
|
537 |
+
msgstr ""
|
538 |
+
|
539 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:123
|
540 |
+
msgid "Pingback"
|
541 |
+
msgstr ""
|
542 |
+
|
543 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:124
|
544 |
+
msgid "Pings"
|
545 |
+
msgstr ""
|
546 |
+
|
547 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:133
|
548 |
+
msgid "Comment Style"
|
549 |
+
msgstr ""
|
550 |
+
|
551 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:134
|
552 |
+
msgid "Select the HTML container style for your comments."
|
553 |
+
msgstr ""
|
554 |
+
|
555 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:160
|
556 |
+
msgid "Comment Template"
|
557 |
+
msgstr ""
|
558 |
+
|
559 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:161
|
560 |
+
msgid "Select a repeater template that will display comment data."
|
561 |
+
msgstr ""
|
562 |
+
|
563 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:167
|
564 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1035
|
565 |
+
msgid "None"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:180
|
569 |
+
msgid ""
|
570 |
+
"<strong>Note</strong>: <span>None</span> will use the default WordPress "
|
571 |
+
"comment layout."
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:189
|
575 |
+
msgid "Callback Function"
|
576 |
+
msgstr ""
|
577 |
+
|
578 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:190
|
579 |
+
msgid ""
|
580 |
+
"A custom <a href=\"https://codex.wordpress.org/Function_Reference/"
|
581 |
+
"wp_list_comments#Arguments\" target=\"_blank\">callback</a> function that "
|
582 |
+
"will display each comment."
|
583 |
+
msgstr ""
|
584 |
+
|
585 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:198
|
586 |
+
msgid ""
|
587 |
+
"<strong>Note</strong>: The majority of premium themes have a custom callback "
|
588 |
+
"function for displaying comments. Please see comments.php or functions.php "
|
589 |
+
"within your theme directory to locate the callback function for your theme."
|
590 |
+
msgstr ""
|
591 |
+
|
592 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:203
|
593 |
+
msgid ""
|
594 |
+
"You must add the comments shortcode directly to your single template file "
|
595 |
+
"using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
596 |
+
"do_shortcode/\" target=\"_blank\">do_shortcode</a> method. » <a href="
|
597 |
+
"\"https://connekthq.com/plugins/ajax-load-more/add-ons/comments/\" target="
|
598 |
+
"\"_blank\">View documentation</a>"
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:215
|
602 |
+
#: ../admin/views/add-ons.php:100 ../admin/views/licenses.php:204
|
603 |
#: ../admin/views/settings.php:26
|
604 |
msgid "Paging"
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:218
|
608 |
msgid "Replace infinite scrolling with a paged ajax navigation system."
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:240
|
612 |
msgid "Paging Controls"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:241
|
616 |
msgid "Show («)previous and next(») buttons."
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:261
|
620 |
msgid "Paging Navigation Classes"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:262
|
624 |
msgid "Add custom CSS classes to the paging navigation menu."
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:273
|
628 |
msgid "Show at Most"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:274
|
632 |
msgid ""
|
633 |
"The maximum amount of page menu items to show at a time. <br/.>0 = no maximum"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:292
|
637 |
+
#: ../admin/views/add-ons.php:127 ../admin/views/licenses.php:258
|
638 |
msgid "Preloaded"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:295
|
642 |
msgid "Preload posts prior to making Ajax requests."
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:316
|
646 |
msgid "Preload Amount"
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:317
|
650 |
msgid "Enter the number of posts to preload."
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:333
|
654 |
+
#: ../admin/views/add-ons.php:153 ../admin/views/licenses.php:311
|
655 |
#: ../admin/views/settings.php:28
|
656 |
msgid "Previous Post"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:336
|
660 |
msgid "Enable the infinite scrolling of single posts."
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:369
|
664 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:646
|
665 |
+
msgid "Taxonomy"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:369
|
669 |
+
msgid ""
|
670 |
+
"Selecting a taxonomy means only previous posts from the same taxonomy will "
|
671 |
+
"be returned"
|
672 |
+
msgstr ""
|
673 |
+
|
674 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:370
|
675 |
+
msgid "Query previous posts from the same taxonomy."
|
676 |
+
msgstr ""
|
677 |
+
|
678 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:384
|
679 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:656
|
680 |
+
msgid "Select Taxonomy"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:385
|
684 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:528
|
685 |
+
msgid "Category"
|
686 |
+
msgstr ""
|
687 |
+
|
688 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:386
|
689 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:588
|
690 |
+
msgid "Tag"
|
691 |
+
msgstr ""
|
692 |
+
|
693 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:396
|
694 |
msgid ""
|
695 |
"You must add the Previous Post shortcode directly to your single template "
|
696 |
"file using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
699 |
"target=\"_blank\">View documentation</a>"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:407
|
703 |
msgid "SEO (Search Engine Optimization)"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:410
|
707 |
msgid ""
|
708 |
"Enable address bar URL rewrites as users page through ajax loaded content."
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:434
|
712 |
msgid "Template"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:438
|
716 |
msgid "Repeater Template"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:440
|
720 |
msgid ""
|
721 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
722 |
"\"_parent\">repeater template</a> you would like to use."
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:477
|
726 |
msgid "Post Types"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:480
|
730 |
msgid "Select Post Types to query."
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:501
|
734 |
msgid "Post Format"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:504
|
738 |
msgid ""
|
739 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
740 |
"\">Post Format</a> to query."
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:507
|
744 |
msgid "Select Post Format"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:508
|
748 |
msgid "Standard"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:532
|
|
|
|
|
|
|
|
|
752 |
msgid ""
|
753 |
"A comma separated list of categories to include by slug. (design, research "
|
754 |
"etc...)"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:534
|
758 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:825
|
759 |
msgid "view example"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:556
|
763 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:613
|
764 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:824
|
765 |
msgid "Exclude"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:557
|
769 |
msgid ""
|
770 |
"A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:591
|
774 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:813
|
|
|
|
|
|
|
|
|
775 |
msgid "Include"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:592
|
779 |
msgid ""
|
780 |
"A comma separated list of tags to include by slug. (toronto, canada etc...)"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:614
|
784 |
msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:649
|
|
|
|
|
|
|
|
|
788 |
msgid "Select your custom taxonomy then select the terms and operator."
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:665
|
|
|
|
|
|
|
|
|
792 |
msgid "Taxonomy Terms:"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:670
|
796 |
msgid "Taxonomy Operator:"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:686
|
800 |
msgid "Date"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:689
|
804 |
msgid ""
|
805 |
"Enter a year, month(number) and day to query by date archive.<br/>» <a "
|
806 |
"href=\"admin.php?page=ajax-load-more-examples#example-date\">view example</a>"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:695
|
810 |
msgid "Year:"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:699
|
814 |
msgid "Month:"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:703
|
818 |
msgid "Day:"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:714
|
822 |
msgid "Custom Fields (Meta_Query)"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:717
|
826 |
msgid ""
|
827 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
828 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
829 |
"and operator."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:727
|
833 |
msgid "Relation:"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:740
|
837 |
msgid "Add Another"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:756
|
841 |
msgid "Author"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:759
|
845 |
msgid "Select an Author to query(by ID)."
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:764
|
849 |
msgid "Select Author"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:780
|
853 |
msgid "Search Term"
|
854 |
msgstr ""
|
855 |
|
856 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:783
|
857 |
msgid "Enter a search term to query."
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:787
|
861 |
msgid "Enter search term"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:795
|
865 |
msgid "Custom Arguments"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:798
|
869 |
msgid ""
|
870 |
"A semicolon separated list of custom value:pair arguments.<br/><br/>e.g. "
|
871 |
"tag_slug__and:design,development; event_display:upcoming. Default"
|
872 |
msgstr ""
|
873 |
|
874 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:802
|
875 |
msgid "event_display:upcoming"
|
876 |
msgstr ""
|
877 |
|
878 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:810
|
879 |
msgid "Post Parameters"
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:814
|
883 |
msgid "A comma separated list of post ID's to query."
|
884 |
msgstr ""
|
885 |
|
886 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:818
|
887 |
msgid "225, 340, 818, etc..."
|
888 |
msgstr ""
|
889 |
|
890 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:825
|
891 |
msgid "A comma separated list of post ID's to exclude from query."
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:837
|
895 |
msgid "Post Status"
|
896 |
msgstr ""
|
897 |
|
898 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:840
|
899 |
msgid "Select status of the post."
|
900 |
msgstr ""
|
901 |
|
902 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:845
|
903 |
msgid "Published"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:859
|
907 |
msgid "Ordering"
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:862
|
911 |
msgid "Sort posts by Order and Orderby parameters."
|
912 |
msgstr ""
|
913 |
|
914 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:866
|
915 |
msgid "Order"
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:873
|
919 |
msgid "Order By"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:891
|
923 |
msgid "Offset"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:894
|
927 |
+
msgid "Offset the initial query by <em>'n'</em> number of posts"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:906
|
931 |
msgid "Posts Per Page"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:909
|
935 |
msgid "Select the number of posts to load with each request."
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:921
|
939 |
msgid "Pause"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:924
|
943 |
msgid ""
|
944 |
"Do <u>NOT</u> load any posts until user the clicks <em>Load More</em> button."
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:945
|
948 |
msgid "Scrolling"
|
949 |
msgstr ""
|
950 |
|
951 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:948
|
952 |
msgid "Enable Scrolling"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:949
|
956 |
msgid "Load more posts as the user scrolls the page."
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:970
|
960 |
msgid "Scroll Distance"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:970
|
964 |
msgid ""
|
965 |
+
"Distance is based on the position of the loading button from the bottom of "
|
966 |
+
"the screen"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:971
|
970 |
+
msgid ""
|
971 |
+
"The distance from the bottom of the screen to trigger loading of posts. "
|
972 |
+
"(Default = 150)"
|
973 |
+
msgstr ""
|
974 |
+
|
975 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:983
|
976 |
msgid "Maximum Pages"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:983
|
980 |
+
msgid "If using an Infinite Scroll button style you should set this to 0"
|
981 |
+
msgstr ""
|
982 |
+
|
983 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:984
|
984 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:996
|
988 |
msgid "Pause Override"
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:997
|
992 |
msgid ""
|
993 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
994 |
"posts on scroll."
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1017
|
998 |
msgid "Transition"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1020
|
1002 |
msgid "Select a loading transition."
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1027
|
1006 |
msgid "Slide"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1031
|
1010 |
msgid "Fade"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1045
|
1014 |
+
msgid "Images Loaded"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1048
|
1018 |
+
msgid "Wait for all images to load before displaying ajax loaded content"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1049
|
1022 |
+
msgid "Background images are currently not supported"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1071
|
1026 |
msgid "Destroy After"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1074
|
1030 |
msgid ""
|
1031 |
"Remove ajax load more functionality after '<em>n</em>' number of pages have "
|
1032 |
"been loaded."
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1086
|
1036 |
+
msgid "Button Labels"
|
1037 |
+
msgstr ""
|
1038 |
+
|
1039 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1091
|
1040 |
msgid "Button Label"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1092
|
1044 |
+
msgid "Customize the text of the <em>Load More</em> button."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1096
|
1048 |
+
#: ../ajax-load-more.php:321
|
1049 |
msgid "Older Posts"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1104
|
1053 |
+
msgid "Button Loading Label"
|
1054 |
+
msgstr ""
|
1055 |
+
|
1056 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1104
|
1057 |
+
msgid "Leave field empty to not update text while loading content"
|
1058 |
+
msgstr ""
|
1059 |
+
|
1060 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1105
|
1061 |
+
msgid ""
|
1062 |
+
"Update the text of the <em>Load More</em> button while content is loading."
|
1063 |
+
msgstr ""
|
1064 |
+
|
1065 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1109
|
1066 |
+
msgid "Loading Posts..."
|
1067 |
+
msgstr ""
|
1068 |
+
|
1069 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1118
|
1070 |
msgid "Container Options"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1122
|
1074 |
+
msgid ""
|
1075 |
+
"You can define a global container type on the Ajax Load More settings screen"
|
1076 |
+
msgstr ""
|
1077 |
+
|
1078 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1123
|
1079 |
msgid ""
|
1080 |
"Override the global Container Type that was set on <a href=\"admin.php?"
|
1081 |
"page=ajax-load-more\">ALM Settings page</a>."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1142
|
1085 |
+
msgid ""
|
1086 |
+
"You can define global container classes on the Ajax Load More settings screen"
|
1087 |
+
msgstr ""
|
1088 |
+
|
1089 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1143
|
1090 |
msgid ""
|
1091 |
"Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
|
1092 |
"portfolio-listing large-12 etc"
|
1112 |
"delivers those static files to your visitors."
|
1113 |
msgstr ""
|
1114 |
|
1115 |
+
#: ../admin/views/add-ons.php:46
|
1116 |
+
msgid "Load blog comments on demand with Ajax Load More."
|
1117 |
msgstr ""
|
1118 |
|
1119 |
+
#: ../admin/views/add-ons.php:47
|
1120 |
+
msgid ""
|
1121 |
+
"The Comments add-on will display your blog comments with Ajax Load More's "
|
1122 |
+
"infinite scroll functionality."
|
1123 |
msgstr ""
|
1124 |
|
1125 |
+
#: ../admin/views/add-ons.php:70 ../admin/views/licenses.php:148
|
1126 |
+
msgid "Custom Repeaters"
|
|
|
|
|
1127 |
msgstr ""
|
1128 |
|
1129 |
#: ../admin/views/add-ons.php:71
|
1130 |
+
msgid "Extend Ajax Load More with unlimited repeater templates."
|
1131 |
msgstr ""
|
1132 |
|
1133 |
#: ../admin/views/add-ons.php:72
|
1134 |
+
msgid ""
|
1135 |
+
"Create, delete and modify repeater templates as you need them with "
|
1136 |
+
"absolutely zero restrictions."
|
|
|
|
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: ../admin/views/add-ons.php:101
|
1140 |
msgid "Extend Ajax Load More with a numbered navigation."
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: ../admin/views/add-ons.php:102
|
1144 |
msgid ""
|
1145 |
"The Paging add-on will transform the default infinite scroll functionality "
|
1146 |
"into a robust ajax powered navigation system."
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: ../admin/views/add-ons.php:128
|
1150 |
msgid "Load an initial set of posts before making Ajax requests to the server."
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: ../admin/views/add-ons.php:129
|
1154 |
msgid ""
|
1155 |
"The Preloaded add-on will display content quicker and allow caching of the "
|
1156 |
"initial query which can reduce stress on your server."
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: ../admin/views/add-ons.php:154
|
1160 |
msgid "An extension to enable infinite scrolling of single posts."
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: ../admin/views/add-ons.php:155
|
1164 |
msgid ""
|
1165 |
"The Previous Post add-on will load single posts as you scroll and update the "
|
1166 |
"browser URL to the current post."
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: ../admin/views/add-ons.php:179 ../admin/views/licenses.php:366
|
1170 |
msgid "Search Engine Optimization"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: ../admin/views/add-ons.php:180
|
1174 |
msgid "Generate unique paging URLs with every Ajax Load More query."
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: ../admin/views/add-ons.php:181
|
1178 |
msgid ""
|
1179 |
"The SEO add-on will optimize your ajax loaded content for search engines by "
|
1180 |
"generating unique URLs with every query.</p>"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: ../admin/views/add-ons.php:205 ../admin/views/licenses.php:423
|
1184 |
#: ../admin/views/settings.php:32
|
1185 |
msgid "Theme Repeaters"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: ../admin/views/add-ons.php:206
|
1189 |
msgid "Manage repeater templates within your current theme directory."
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: ../admin/views/add-ons.php:207
|
1193 |
msgid ""
|
1194 |
"The Theme Repeater add-on will allow you load, edit and maintain templates "
|
1195 |
"from your current theme directory.</p>"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: ../admin/views/add-ons.php:233
|
1199 |
+
msgid "Layouts"
|
1200 |
+
msgstr ""
|
1201 |
+
|
1202 |
+
#: ../admin/views/add-ons.php:234
|
1203 |
+
msgid "Extend Ajax Load More with predefined responsive layouts."
|
1204 |
+
msgstr ""
|
1205 |
+
|
1206 |
+
#: ../admin/views/add-ons.php:235
|
1207 |
+
msgid "Boost the look of your theme with a library of mobile ready layouts."
|
1208 |
+
msgstr ""
|
1209 |
+
|
1210 |
+
#: ../admin/views/add-ons.php:252
|
1211 |
msgid ""
|
1212 |
"All add-ons are installed as stand alone plugins and with a valid license "
|
1213 |
"key will receive plugin update notifications directly within the <a href="
|
1295 |
"href=\"plugins.php\">WP Plugins dashboard</a>."
|
1296 |
msgstr ""
|
1297 |
|
1298 |
+
#: ../admin/views/licenses.php:45 ../admin/views/licenses.php:47
|
1299 |
#: ../admin/views/licenses.php:99 ../admin/views/licenses.php:101
|
1300 |
+
#: ../admin/views/licenses.php:154 ../admin/views/licenses.php:156
|
1301 |
+
#: ../admin/views/licenses.php:210 ../admin/views/licenses.php:212
|
1302 |
+
#: ../admin/views/licenses.php:264 ../admin/views/licenses.php:266
|
1303 |
#: ../admin/views/licenses.php:317 ../admin/views/licenses.php:319
|
1304 |
+
#: ../admin/views/licenses.php:372 ../admin/views/licenses.php:374
|
1305 |
+
#: ../admin/views/licenses.php:429 ../admin/views/licenses.php:431
|
1306 |
msgid "Enter License Key"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
+
#: ../admin/views/licenses.php:67 ../admin/views/licenses.php:121
|
1310 |
+
#: ../admin/views/licenses.php:176 ../admin/views/licenses.php:232
|
1311 |
+
#: ../admin/views/licenses.php:285 ../admin/views/licenses.php:339
|
1312 |
+
#: ../admin/views/licenses.php:394 ../admin/views/licenses.php:452
|
1313 |
msgid "Activate License"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: ../admin/views/licenses.php:71 ../admin/views/licenses.php:125
|
1317 |
+
#: ../admin/views/licenses.php:180 ../admin/views/licenses.php:236
|
1318 |
+
#: ../admin/views/licenses.php:289 ../admin/views/licenses.php:343
|
1319 |
+
#: ../admin/views/licenses.php:398 ../admin/views/licenses.php:456
|
1320 |
msgid "Deactivate License"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: ../admin/views/licenses.php:474
|
1324 |
msgid "You do not have any Ajax Load More add-ons installed"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
+
#: ../admin/views/licenses.php:474
|
1328 |
msgid "Browse Add-ons"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: ../admin/views/licenses.php:485
|
1332 |
msgid "About Licenses"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: ../admin/views/licenses.php:488
|
1336 |
msgid "Add-on licenses will enable updates directly in your WP dashboard."
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: ../admin/views/licenses.php:489
|
1340 |
msgid ""
|
1341 |
"License keys are found in the purchase receipt email that was sent "
|
1342 |
"immediately after your successful purchase."
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#: ../admin/views/licenses.php:490
|
1346 |
msgid ""
|
1347 |
"If you cannot locate your key please use the <a href=\"https://connekthq.com/"
|
1348 |
"contact/\">contact form</a> on our website and reference the email address "
|
1349 |
"used when you completed the purchase."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: ../admin/views/licenses.php:495
|
1353 |
msgid "Legacy Users"
|
1354 |
msgstr ""
|
1355 |
|
1473 |
msgid "Clear all Shortcode Builder settings"
|
1474 |
msgstr ""
|
1475 |
|
1476 |
+
#: ../ajax-load-more.php:182
|
1477 |
msgid "Settings"
|
1478 |
msgstr ""
|
1479 |
|