WordPress Infinite Scroll – Ajax Load More - Version 2.13.0

Version Description

  • November 6, 2016 =

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

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

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

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

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

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

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

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

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

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

Download this release

Release Info

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

Code changes from version 2.12.0 to 2.13.0

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dcooney
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce
5
  Requires at least: 3.6
6
- Tested up to: 4.6
7
- Stable tag: 2.12.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -70,14 +70,14 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
70
  * **meta_compare** - Operator to compare meta_key and meta_value against. Default = ‘IN’
71
  * **meta_type** - Custom field type. Default = ‘CHAR’
72
  * **meta_relation** - Used with multiple custom field entries (AND/OR). Default = ‘AND’
73
- * **author** - Query by author id. Default = null
74
  * **post__in** - Comma separated list of post ID’s to include in query. Default = null
75
  * **post__not_in** - Comma separated list of post ID’s to exclude from query. Default = null
76
  * **search** - Query search term (‘s’). Default = null
77
  * **custom_args** - A semicolon separated list of value:pair arguments. e.g. tag_slug__and:design,development; event_display:upcoming. Default = null
78
  * **post_status** - Select status of the post. Default = 'publish'
79
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
80
- * **orderby** - Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
81
  * **offset** - Offset the initial query (number). Default = ’0′
82
  * **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
83
  * **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
@@ -94,6 +94,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
94
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
95
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
96
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
 
97
  ***
98
 
99
  = Example Shortcode =
@@ -215,6 +216,11 @@ The following [functions](https://connekthq.com/plugins/ajax-load-more/docs/call
215
 
216
  ***
217
 
 
 
 
 
 
218
  = Variables =
219
 
220
  Ajax Load More passes the following PHP [variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/) to each repeater template - these template variables can help you style and transform your repeater templates.
@@ -231,9 +237,9 @@ Ajax Load More passes the following PHP [variables](https://connekthq.com/plugin
231
  * Firefox (Mac, PC)
232
  * Chrome (Mac, PC, iOS, Android)
233
  * Safari (Mac, iOS)
 
 
234
  * IE8+
235
- * Android (Native)
236
- * BB10 (Native)
237
 
238
  ***
239
 
@@ -323,6 +329,20 @@ How to install Ajax Load More.
323
 
324
  == Changelog ==
325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  = 2.12.0 - September 5, 2016 =
327
  * NEW - Completed integration of new Call to Actions add-on.
328
  * NEW - Added $.fn.almTriggerClick() public function that will easily allow users to trigger Ajax Load More from any object on the screen.
3
  Donate link: https://connekthq.com/donate/
4
  Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, pagination, ajax pagination, ajax, ajax posts, ajax load posts, search, tags, category, post types, taxonomy, meta_query, woocommerce
5
  Requires at least: 3.6
6
+ Tested up to: 4.7
7
+ Stable tag: 2.13.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
70
  * **meta_compare** - Operator to compare meta_key and meta_value against. Default = ‘IN’
71
  * **meta_type** - Custom field type. Default = ‘CHAR’
72
  * **meta_relation** - Used with multiple custom field entries (AND/OR). Default = ‘AND’
73
+ * **author** - Comma separated list of authors by id. Default = null
74
  * **post__in** - Comma separated list of post ID’s to include in query. Default = null
75
  * **post__not_in** - Comma separated list of post ID’s to exclude from query. Default = null
76
  * **search** - Query search term (‘s’). Default = null
77
  * **custom_args** - A semicolon separated list of value:pair arguments. e.g. tag_slug__and:design,development; event_display:upcoming. Default = null
78
  * **post_status** - Select status of the post. Default = 'publish'
79
  * **order** - Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
80
+ * **orderby** - Order posts by date, title, name, menu order, author, post ID or comment count. Default = ‘date’
81
  * **offset** - Offset the initial query (number). Default = ’0′
82
  * **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
83
  * **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
94
  * **button_loading_label** - Update the text of the Load More button while content is loading. Default = null
95
  * **container_type** - Override the global Container Type that was set on ALM Settings page. Default = null
96
  * **css_classes** - Add custom CSS classes to the Ajax Load More container. Default = null
97
+ * **id** - A unique ID for the Ajax Load More instance.
98
  ***
99
 
100
  = Example Shortcode =
216
 
217
  ***
218
 
219
+ = Filter Hooks =
220
+
221
+ Ajax Load More has a variety of [filters](https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/) in place that enable users to hook into Ajax Load More to insert or modify data.
222
+
223
+
224
  = Variables =
225
 
226
  Ajax Load More passes the following PHP [variables](https://connekthq.com/plugins/ajax-load-more/docs/variables/) to each repeater template - these template variables can help you style and transform your repeater templates.
237
  * Firefox (Mac, PC)
238
  * Chrome (Mac, PC, iOS, Android)
239
  * Safari (Mac, iOS)
240
+ * Opera
241
+ * Android
242
  * IE8+
 
 
243
 
244
  ***
245
 
329
 
330
  == Changelog ==
331
 
332
+ = 2.13.0 - November 6, 2016 =
333
+
334
+ * NEW - ID shortcode parameter. Assigning a unique ID to an Ajax Load More instance will allow for filters to be run more easily.
335
+ * NEW - Added a new filter alm_query_args_[id] that let's users create custom filters based on the ID of the Ajax Load More instance. Users can easily target a specific instance of Ajax Load More to modify query $args. See https://connekthq.com/plugins/ajax-load-more/docs/filter-hooks/#alm_query_args
336
+ * NEW - Added a debug filter to view the return contents of the Ajax Load More query in the browser console (add_filter( 'alm_debug', '__return_true' )).
337
+ * FIX - Issue with cta_position parameter for Call to Actions add-on in shortcode builder.
338
+ * UPDATE - Updated Shortcode Builder UI to add groupings for parameter types [Add-ons, Display Settings, Query Parameters].
339
+ * UPDATE - Removed limit of 3 Taxonomy queries. Tax queries now support an unlimited amount however the Shortcode Builder is still capped at 3.
340
+ * UPDATE - Adjusted max_pages shortcode parameter to default to 0.
341
+ * UPDATE - Reworked alm_get_page_slug ()function to get current page slug.
342
+ * UPDATE - Remove support for author slugs in favor of multiple author support and selection from the Shortcode Builder
343
+ * UPDATE - Various UI/UX updates, new logos added to admin panel.
344
+
345
+
346
  = 2.12.0 - September 5, 2016 =
347
  * NEW - Completed integration of new Call to Actions add-on.
348
  * NEW - Added $.fn.almTriggerClick() public function that will easily allow users to trigger Ajax Load More from any object on the screen.
admin/admin-functions.php CHANGED
@@ -17,4 +17,21 @@ function alm_is_admin_screen(){
17
  return $return;
18
  }
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
17
  return $return;
18
  }
19
 
20
+
21
+
22
+ /*
23
+ * alm_has_addon
24
+ * Does user have an add-on installed and activated
25
+ *
26
+ * @return boolean
27
+ * @since 2.13.0
28
+ */
29
+
30
+ function alm_has_addon(){
31
+ if(has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_layouts_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) {
32
+ return true;
33
+ } else {
34
+ return false;
35
+ }
36
+ }
37
 
admin/admin.php CHANGED
@@ -156,7 +156,12 @@ function alm_admin_vars() { ?>
156
  'inactive' => __('Inactive', 'ajax-load-more'),
157
  'applying_layout' => __('Applying layout', 'ajax-load-more'),
158
  'template_updated' => __('Template Updated', 'ajax-load-more'),
159
- 'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' )
 
 
 
 
 
160
  )); ?>
161
  /* ]]> */
162
  </script>
@@ -193,11 +198,12 @@ function alm_core_update() {
193
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
194
  if ( $alm_installed_ver != ALM_VERSION ) {
195
 
196
- // Delete our ALM transients
197
- delete_transient( 'alm_dismiss_sharing' );
198
 
199
  // Update repeaters
200
  alm_run_update();
 
201
  }
202
  }
203
 
@@ -298,7 +304,7 @@ function alm_update_template_files(){
298
  add_action( 'admin_menu', 'alm_admin_menu' );
299
  function alm_admin_menu() {
300
  $icon = 'dashicons-plus-alt';
301
- $icon = ALM_ADMIN_URL . "/img/alm-logo-16x16.png";
302
 
303
  $alm_page = add_menu_page(
304
  'Ajax Load More',
@@ -431,7 +437,7 @@ function alm_enqueue_admin_scripts(){
431
  wp_enqueue_style( 'alm-select2', ALM_ADMIN_URL. 'css/select2.css');
432
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
433
  wp_enqueue_style( 'alm-core', ALM_URL. '/core/css/ajax-load-more.css');
434
- wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');
435
 
436
  //Load CodeMirror Syntax Highlighting if on Repater Template page
437
  $screen = get_current_screen();
@@ -819,8 +825,8 @@ function alm_dismiss_sharing(){
819
  if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
820
  die('Error - unable to verify nonce, please try again.');
821
 
822
- set_transient( 'alm_dismiss_sharing', 'true', 365 * DAY_IN_SECONDS );
823
- echo 'Success';
824
 
825
  die();
826
  }
@@ -841,7 +847,7 @@ function alm_filter_admin_footer_text( $text ) {
841
  return;
842
  }
843
 
844
- echo 'Ajax Load More is made with <span style="color: #e25555;">♥</span> by <a href="https://connekthq.com" target="_blank" style="font-weight: 500;">Connekt</a> | <a href="https://connekthq.com/plugins/ajax-load-more/support/" target="_blank" style="font-weight: 500;">Get Support</a>';
845
  }
846
 
847
 
156
  'inactive' => __('Inactive', 'ajax-load-more'),
157
  'applying_layout' => __('Applying layout', 'ajax-load-more'),
158
  'template_updated' => __('Template Updated', 'ajax-load-more'),
159
+ 'alm_admin_nonce' => wp_create_nonce( 'alm_repeater_nonce' ),
160
+ 'select_authors' => __('Select Author(s)', 'ajax-load-more'),
161
+ 'select_cats' => __('Select Categories', 'ajax-load-more'),
162
+ 'select_tags' => __('Select Tags', 'ajax-load-more'),
163
+ 'jump_to_option' => __('Jump to Option', 'ajax-load-more'),
164
+ 'jump_to_template' => __('Jump to Template', 'ajax-load-more')
165
  )); ?>
166
  /* ]]> */
167
  </script>
198
  $alm_installed_ver = get_option( "alm_version" ); // Get value from WP Option tbl
199
  if ( $alm_installed_ver != ALM_VERSION ) {
200
 
201
+ // Delete ALM transients
202
+ delete_transient('alm_dismiss_sharing');
203
 
204
  // Update repeaters
205
  alm_run_update();
206
+
207
  }
208
  }
209
 
304
  add_action( 'admin_menu', 'alm_admin_menu' );
305
  function alm_admin_menu() {
306
  $icon = 'dashicons-plus-alt';
307
+ $icon = ALM_ADMIN_URL . "/img/alm-logo-16x16.svg";
308
 
309
  $alm_page = add_menu_page(
310
  'Ajax Load More',
437
  wp_enqueue_style( 'alm-select2', ALM_ADMIN_URL. 'css/select2.css');
438
  wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
439
  wp_enqueue_style( 'alm-core', ALM_URL. '/core/css/ajax-load-more.css');
440
+ wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css');
441
 
442
  //Load CodeMirror Syntax Highlighting if on Repater Template page
443
  $screen = get_current_screen();
825
  if (! wp_verify_nonce( $nonce, 'alm_repeater_nonce' ))
826
  die('Error - unable to verify nonce, please try again.');
827
 
828
+ set_transient( 'alm_dismiss_sharing', 'true', YEAR_IN_SECONDS );
829
+ echo 'ALM sharing dismissed successfully.';
830
 
831
  die();
832
  }
847
  return;
848
  }
849
 
850
+ echo 'Ajax Load More is made with <span style="color: #e25555;">♥</span> by <a href="https://connekthq.com" target="_blank" style="font-weight: 500;">Connekt</a> | <a href="https://wordpress.org/support/plugin/ajax-load-more/reviews/" target="_blank" style="font-weight: 500;">Leave a Review</a> | <a href="https://connekthq.com/plugins/ajax-load-more/support/" target="_blank" style="font-weight: 500;">Get Support</a>';
851
  }
852
 
853
 
admin/css/admin.css CHANGED
@@ -1,4 +1,3 @@
1
- @import url(//fonts.googleapis.com/css?family=Open+Sans:400,700,600);
2
 
3
  /* Custom buttom/loading styles */
4
  .select2-results .select2-result.alm-color .select2-result-label{
@@ -87,7 +86,6 @@
87
  font-size: 14px;
88
  color:#666;
89
  position: relative;
90
- font-family: 'Open Sans', sans-serif;
91
  max-width: 1250px;
92
  }
93
  #alm-help.ajax-load-more{
@@ -138,15 +136,15 @@
138
  color: #999;
139
  padding: 0 0 0 12px;
140
  border-left: 5px solid #ff5a58;
141
- margin: 0 0 30px;
142
- font-size: 13px;
143
  }
144
  .ajax-load-more code{
145
  background: #fcf3d0;
146
  }
147
  .ajax-load-more p{
148
  display: block;
149
- color:#666;
150
  width: 100%;
151
  display: block;
152
  clear: both;
@@ -199,7 +197,8 @@ a.layout-hover{
199
  }
200
 
201
  .ajax-load-more h1{
202
- font-weight: 400;
 
203
  }
204
  .ajax-load-more h1,
205
  .ajax-load-more h3,
@@ -227,7 +226,7 @@ a.layout-hover{
227
  /* Expand Collapse Headings */
228
  .ajax-load-more h3.heading{
229
  font-weight: 700;
230
- padding: 10px 10px 10px 35px !important;
231
  line-height: normal !important;
232
  margin: 0 !important;
233
  color: #555;
@@ -252,8 +251,8 @@ a.layout-hover{
252
  color: #ccc;
253
  font-size: 18px;
254
  position: absolute;
255
- left: 10px;
256
- top: 13px;
257
  height: 20px;
258
  width: 20px;
259
  }
@@ -274,7 +273,7 @@ a.layout-hover{
274
  /* Expand/Collapse all rows */
275
  .ajax-load-more .toggle-all{
276
  position: absolute;
277
- top:-13px;
278
  right: 20px;
279
  width: auto;
280
  display: inline-block;
@@ -282,10 +281,10 @@ a.layout-hover{
282
  text-transform: uppercase;
283
  border-radius: 3px;
284
  padding: 0 12px 0 10px;
285
- height: 25px;
286
- line-height: 24px;
287
  background: #fff;
288
- border:1px solid #ccc;
289
  color: #777;
290
  cursor: pointer;
291
  z-index: 2;
@@ -325,7 +324,7 @@ a.layout-hover{
325
  font-size: 10px;
326
  position: absolute;
327
  left: 0;
328
- top: -4px;
329
  }
330
  .ajax-load-more .toggle-all.closed .inner-wrap:before{
331
  content:'\f067';
@@ -462,9 +461,9 @@ a.layout-hover{
462
  position: absolute;
463
  right: 0;
464
  top: 0;
465
- width: 23px;
466
- height: 23px;
467
- line-height: 22px;
468
  text-align: center;
469
  font-weight: 700;
470
  font-size: 20px;
@@ -677,7 +676,7 @@ a.layout-hover{
677
  .ajax-load-more input.disabled-input{
678
  opacity: 0.5;
679
  filter: alpha(opacity=50);
680
- cursor: default;
681
  background: #f7f7f7 !important;
682
  border-color: #ccc !important;
683
  box-shadow: none !important;
@@ -710,7 +709,7 @@ a.layout-hover{
710
 
711
  .ajax-load-more .row{
712
  padding: 0 !important;
713
- margin: 15px 0 0;
714
  height: auto;
715
  width: 100%;
716
  display: block;
@@ -732,11 +731,17 @@ a.layout-hover{
732
  .admin.ajax-load-more .row{
733
  border-color: #efefef;
734
  }
 
 
 
 
 
 
 
735
  .admin.ajax-load-more .row:first-of-type{
736
  margin: 0;
737
  padding-top: 0;
738
- }
739
-
740
  .ajax-load-more .intro{
741
  height: auto;
742
  width: 100%;
@@ -755,32 +760,32 @@ a.layout-hover{
755
  float: right;
756
  width: 30%;
757
  }
 
 
 
 
 
 
758
  .pop-up-jump .intro-wrap{
759
  position: relative;
760
  float: left;
761
  width: 65%;
762
  padding-right: 5%;
 
 
 
763
  }
764
-
765
- .admin.ajax-load-more .jump-menu{
766
- display: none;
767
- }
768
 
769
  /* Table of Contents */
770
  .table-of-contents{}
771
-
772
  .table-of-contents.attached{
773
  position: fixed;
774
  width: auto;
775
  top: 70px;
776
  }
777
-
778
  .table-of-contents .select2-container{
779
  width: 100%;
780
  }
781
-
782
-
783
-
784
  .table-of-contents ul{
785
  margin: 0 !important;
786
  }
@@ -790,8 +795,7 @@ a.layout-hover{
790
  vertical-align: top;
791
  padding: 0;
792
  margin: 5px 5px 5px 0;
793
- }
794
-
795
 
796
 
797
  .ajax-load-more .expand-wrap{
@@ -817,16 +821,20 @@ a.layout-hover{
817
  width: 100%;
818
  float: none;
819
  }
 
 
 
 
820
  .ajax-load-more .section-title p{
821
- font-size: 13px !important;
822
- /* padding-left: 21px !important; */
823
  color: #999;
824
  }
825
  .ajax-load-more .section-title p .fa.tooltip,
826
  .form-table label .fa.tooltip{
827
  margin: 0 2px;
828
  display: inline-block;
829
- font-size: 16px;
830
  opacity: 0.9;
831
  top: 0;
832
  }
@@ -851,7 +859,6 @@ a.layout-hover{
851
  color: #666;
852
  }
853
  .ajax-load-more .section-title h4{
854
- /* padding-left: 21px !important; */
855
  margin: 0 0 10px;
856
  }
857
 
@@ -867,7 +874,7 @@ a.layout-hover{
867
  .ajax-load-more label.template-title{
868
  padding: 10px 0;
869
  margin: 0;
870
- font-size: 13px;
871
  color: #888;
872
  }
873
 
@@ -1023,9 +1030,8 @@ a.layout-hover{
1023
  background: #fff !important;
1024
  color: #ca5252 !important;
1025
  border: none;
1026
- font-size: 13px !important;
1027
  font-weight: 600;
1028
- font-family: 'Open Sans', sans-serif;
1029
  padding: 8px 13px;
1030
  display: inline-block;
1031
  text-align: center;
@@ -1105,7 +1111,7 @@ a.layout-hover{
1105
  .form-table .template-tags li{
1106
  margin: 0 0 8px;
1107
  padding:0;
1108
- font-size: 13px;
1109
  }
1110
  .form-table .template-tags li{
1111
  margin: 2px 0;
@@ -1207,7 +1213,8 @@ a.layout-hover{
1207
 
1208
  .header-wrap{
1209
  background: url(../img/alm-logo-48x48.png) no-repeat left 12px;
1210
- padding-left: 62px;
 
1211
  min-height: 48px;
1212
  overflow: hidden;
1213
  padding-top: 11px;
@@ -1215,19 +1222,26 @@ a.layout-hover{
1215
  .ajax-load-more .header-wrap h1{
1216
  padding-top: 0;
1217
  }
1218
- .ajax-load-more .header-wrap h1 + p{
1219
- margin-top: -3px;
1220
- opacity: 0.8;
 
 
 
 
 
1221
  }
1222
 
1223
  .ajax-load-more h1 span{
1224
  color: #999;
 
1225
  background: #fff;
1226
- padding: 0 5px;
1227
  border-radius: 2px;
1228
- font-size: 0.9em;
1229
  position: relative;
1230
- top: -1px;
 
1231
  }
1232
  .ajax-load-more h2.addon-title{
1233
  font-size: 19px !important;
@@ -1257,14 +1271,17 @@ a.layout-hover{
1257
  }
1258
  .ajax-load-more h3.add-on-title,
1259
  .ajax-load-more .cnkt-sidebar h3{
1260
- padding: 0 0 10px;
1261
  margin: 0 0 20px;
1262
  border-bottom: 1px solid #efefef;
1263
  }
1264
  .ajax-load-more p.desc,
1265
  .ajax-load-more p.writeable-title{
1266
- font-size: 12px !important;
1267
- padding: 0 0 5px 28px;
 
 
 
1268
  }
1269
  .ajax-load-more p.writeable-title{
1270
  position: relative;
@@ -1276,13 +1293,14 @@ a.layout-hover{
1276
  }
1277
 
1278
  .ajax-load-more p.back2top{
1279
- font-size: 12px;
1280
  margin:0;
1281
- padding: 5px 2px 5px 0;
1282
- text-align: right;
1283
  }
1284
  .ajax-load-more p.back2top a{
1285
  text-decoration: none;
 
1286
  }
1287
 
1288
  .saved-response,
@@ -1362,7 +1380,7 @@ table.highlight{
1362
 
1363
  /* Columns */
1364
  .ajax-load-more .cnkt-main{
1365
- width: 67%;
1366
  float: left;
1367
  margin-top: 10px;
1368
  background: none !important;
@@ -1379,13 +1397,15 @@ table.highlight{
1379
  .ajax-load-more .cnkt-main .group,
1380
  .ajax-load-more .cnkt-sidebar .cta,
1381
  .call-out.light{
1382
- border: 1px solid #ccc;
1383
  -webkit-border-radius: 3px;
1384
  -moz-border-radius: 3px;
1385
  border-radius: 3px;
 
1386
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1387
  -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1388
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
 
1389
  }
1390
  .ajax-load-more .cnkt-main.full{
1391
  width: 100%;
@@ -1410,8 +1430,9 @@ table.highlight{
1410
  top: 0;
1411
  text-decoration: none;
1412
  width: 40px;
1413
- height: 40px;
1414
- line-height: 40px;
 
1415
  text-align: center;
1416
  background: #f7f7f7;
1417
  color: #777;
@@ -1483,7 +1504,8 @@ table.highlight{
1483
  padding: 8px 14px;
1484
  }
1485
  .ajax-load-more .cnkt-main .group.installed{
1486
- opacity: 0.7;
 
1487
  }
1488
  .ajax-load-more .cnkt-main .group.installed p:before{
1489
  display: none !important;
@@ -1506,17 +1528,18 @@ table.highlight{
1506
  color: #444 !important;
1507
  }
1508
 
 
1509
  /* Add-on Callout! */
1510
  .call-out{
1511
  background: #5acfb2;
1512
- padding: 13px 100px 13px 12px;
1513
  border-radius: 3px;
1514
  margin: 0;
1515
  width: 100%;
1516
  display: block;
1517
  color: #fff;
1518
- font-size: 13px;
1519
- font-weight: 600;
1520
  position: relative;
1521
  }
1522
  .call-out.light{
@@ -1534,8 +1557,7 @@ table.highlight{
1534
  }
1535
  .call-out.light p a:hover{
1536
  text-decoration: underline;
1537
- }
1538
-
1539
  #alm-builder .call-out,
1540
  .forceColors .call-out{ /* Shortcode builder */
1541
  width: 90%;
@@ -1543,21 +1565,22 @@ table.highlight{
1543
  margin: 10px;
1544
  }
1545
  .call-out .cnkt-button{
1546
- padding: 5px 8px;
1547
  display: inline-block;
1548
  background: #fff;
1549
  border: 1px solid #5da592;
1550
  border-radius: 3px;
1551
  position: absolute;
1552
- right: 7px;
1553
- top:7px;
1554
  color: #387061 !important;
1555
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
 
1556
  }
1557
  .call-out a{
1558
  color: #387061 !important;
1559
  text-decoration: none;
1560
- font-weight: 600;
1561
  }
1562
  .call-out a:hover{
1563
  color: #222 !important;
@@ -1573,7 +1596,7 @@ table.highlight{
1573
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1574
  text-decoration: none !important;
1575
  color: #fff !important;
1576
- font-size: 13px;
1577
  font-weight: 600;
1578
  }
1579
  a.cnkt-button:hover,
@@ -1666,7 +1689,7 @@ table.highlight{
1666
  .license p,
1667
  .license label{
1668
  font-size: 400;
1669
- font-size: 13px;
1670
  }
1671
  .license .cnkt-button{
1672
  position: absolute;
@@ -1720,7 +1743,7 @@ table.highlight{
1720
  .license-btn-wrap .msg{
1721
  display: block;
1722
  padding: 10px 0 0;
1723
- font-size: 13px;
1724
  line-height: 18px;
1725
  }
1726
  .license-btn-wrap .msg strong{
@@ -1782,7 +1805,7 @@ table.highlight{
1782
 
1783
  .ajax-load-more .alm-nav{
1784
  font-size: 600;
1785
- font-size: 13px;
1786
  margin: 0 !important;
1787
  padding: 5px 0 5px;
1788
  }
@@ -1808,7 +1831,7 @@ table.highlight{
1808
  * @since 1.0
1809
  */
1810
  .ajax-load-more .cnkt-sidebar{
1811
- width: 30%;
1812
  float: right;
1813
  margin-top: 10px;
1814
  }
@@ -1848,9 +1871,9 @@ table.highlight{
1848
  margin-bottom: 5px;
1849
  }
1850
  .ajax-load-more .cnkt-sidebar p{
1851
- line-height: 20px;
1852
  margin: 0 0 5px;
1853
- font-size: 13px;
1854
  }
1855
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1856
  margin: 5px 0;
@@ -1858,11 +1881,12 @@ table.highlight{
1858
  overflow: hidden;
1859
  }
1860
  .ajax-load-more .cnkt-sidebar ul{
 
1861
  margin: 0 0 10px;
1862
  overflow: hidden;
1863
  }
1864
  .ajax-load-more .cnkt-sidebar li{
1865
- font-size: 13px;
1866
  margin: 0 0 10px;
1867
  line-height: 1.4;
1868
  }
@@ -1917,7 +1941,7 @@ table.highlight{
1917
 
1918
  .ajax-load-more .cnkt-sidebar a.visit{
1919
  background: #FF5A58;
1920
- padding: 12px 20px 16px;
1921
  position: absolute;
1922
  bottom: 0;
1923
  left: 0;
@@ -1926,13 +1950,16 @@ table.highlight{
1926
  color: #fff !important;
1927
  z-index: 2;
1928
  text-decoration: none;
 
1929
  }
1930
  .ajax-load-more .cnkt-sidebar a.visit i{
1931
  font-size: 24px;
1932
  opacity: 0.7;
1933
  margin: 0 5px 0 0;
1934
- position: relative;
1935
- top:3px;
 
 
1936
  }
1937
  .ajax-load-more .cnkt-sidebar a.visit:hover{
1938
  background: #ec4745;
@@ -1942,6 +1969,31 @@ table.highlight{
1942
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
1943
  }
1944
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1945
 
1946
 
1947
  /*
@@ -2019,7 +2071,8 @@ table.highlight{
2019
  color: #009999 !important;
2020
  }
2021
 
2022
-
 
2023
 
2024
  /*
2025
  * Delete Template (Unlimited Repeaters
@@ -2105,7 +2158,7 @@ table.highlight{
2105
  border-radius: 2px;
2106
  background: none;
2107
  color: #c94141;
2108
- font-size: 13px;
2109
  text-decoration: none;
2110
  display: block;
2111
  padding: 5px 10px;
@@ -2199,8 +2252,6 @@ table.highlight{
2199
  .alm-add-template a:active i{
2200
  color: #fff;
2201
  }
2202
-
2203
-
2204
  .spacer{
2205
  height:10px;
2206
  clear:both;
@@ -2215,7 +2266,7 @@ table.highlight{
2215
  */
2216
 
2217
 
2218
- .generate-cache-id{
2219
  margin: 10px 0 0 !important;
2220
  font-size: 12px !important;
2221
  }
@@ -2293,7 +2344,7 @@ table.highlight{
2293
  position: absolute;
2294
  right:8px;
2295
  top:7px;
2296
- font-size: 13px;
2297
  text-decoration: none;
2298
  padding: 5px 10px;
2299
  border: 1px solid #efefef;
@@ -2331,7 +2382,7 @@ table.highlight{
2331
  vertical-align: top;
2332
  overflow: hidden;
2333
  width: 47%;
2334
- font-size: 13px;
2335
  background: transparent url(../img/directory-list.gif) no-repeat left center;
2336
  }
2337
  .alm-dir-listing.theme-repeaters ul li{
@@ -2360,7 +2411,7 @@ table.highlight{
2360
  }
2361
 
2362
  .cache-page-title{
2363
- font-size: 13px;
2364
  display: block;
2365
  width: 100%;
2366
  padding: 0 0 10px 12px;
@@ -2489,41 +2540,41 @@ p.cache-stats{
2489
  .ajax-load-more .form-table input[type=checkbox] + label,
2490
  .shortcode-builder input[type=radio] + label,
2491
  .ajax-load-more .form-table input[type=radio] + label{
2492
- background: #fff url(../img/bkg-chkbox_off.png) no-repeat left top;
2493
  height: auto;
2494
  min-height: 20px;
2495
  width: 100%;
2496
  display:inline-block;
2497
  padding: 1px 0 0 30px;
2498
  margin: 0 0 5px;
2499
- font-size: 13px;
2500
  line-height: 1.42;
2501
  cursor: pointer !important;
2502
  }
2503
  .shortcode-builder input[type=radio] + label,
2504
  .ajax-load-more .form-table input[type=radio] + label{
2505
- background: #fff url(../img/bkg-radio_off.png) no-repeat left top;
2506
  }
2507
 
2508
  .shortcode-builder input[type=checkbox]:hover + label,
2509
  .ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
2510
- background-image: url(../img/bkg-chkbox_on.png);
2511
  }
2512
 
2513
  .shortcode-builder input[type=radio]:hover + label,
2514
  .ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
2515
- background-image: url(../img/bkg-radio_on.png);
2516
  }
2517
 
2518
  .shortcode-builder input[type=checkbox]:checked + label,
2519
  .ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
2520
- background-image: url(../img/bkg-chkbox_selected.png);
2521
  color: #000;
2522
  }
2523
 
2524
  .shortcode-builder input[type=radio]:checked + label,
2525
  .ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
2526
- background-image: url(../img/bkg-radio_selected.png);
2527
  color: #000;
2528
  }
2529
 
@@ -2533,7 +2584,47 @@ p.cache-stats{
2533
  .ajax-load-more .form-table input[type=radio] + label:hover{
2534
  color: #000;
2535
  }
 
2536
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2537
 
2538
  /*
2539
  * Repeater Template options dropdown
@@ -2550,31 +2641,33 @@ p.cache-stats{
2550
 
2551
  .alm-drop-btn.alm-repeater-options{
2552
  position: absolute;
2553
- top: -38px;
2554
- right: 6px;
2555
  z-index:99;
2556
  }
2557
- .alm-repeater-options a.target,
2558
- .alm-drop-btn.alm-layout-selection a.target{
 
2559
  color: #999;
2560
  text-decoration: none !important;
2561
- padding: 5px 11px;
2562
  border: 1px solid #e7e7e7;
2563
  -webkit-border-radius: 3px;
2564
  -moz-border-radius: 3px;
2565
  border-radius: 3px;
2566
  font-size: 13px;
 
2567
  display: block;
2568
  -webkit-box-shadow: 0 0 0 1px #fff;
2569
  -moz-box-shadow: 0 0 0 1px #fff;
2570
  box-shadow: 0 0 0 1px #fff;
2571
  }
2572
- .alm-repeater-options a i.fa-cog{
2573
  color: #999;
2574
  font-size: 16px;
2575
- position: relative;
2576
- top:1px;
2577
- left: -2px;
2578
  }
2579
  .alm-repeater-options a.target:hover{
2580
  background-color: #fff;
@@ -2616,8 +2709,8 @@ p.cache-stats{
2616
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
2617
  opacity: 0.8;
2618
  }
2619
- .alm-drop-btn.alm-layout-selection a i{
2620
- margin: 1px 2px 0 0;
2621
  }
2622
 
2623
  .alm-drop-btn.alm-layout-selection li.type{
@@ -2701,7 +2794,7 @@ p.cache-stats{
2701
  background-color: #5acfb2;
2702
  border: none;
2703
  color: #fff;
2704
- font-weight: 600;
2705
  text-overflow: inherit;
2706
  height: auto;
2707
  white-space: normal;
@@ -2800,9 +2893,6 @@ p.cache-stats{
2800
  position: relative;
2801
  width: auto;
2802
  }
2803
- .alm-drop-btn a.target{
2804
- font-weight: 600;
2805
- }
2806
  .alm-dropdown{
2807
  display: none;
2808
  position: absolute;
@@ -2873,7 +2963,7 @@ p.cache-stats{
2873
  padding: 0;
2874
  line-height: 1.2;
2875
  border-top: 1px solid #efefef;
2876
- font-weight: 600;
2877
  }
2878
  .alm-dropdown ul li:first-child{
2879
  border: none;
@@ -3085,9 +3175,6 @@ p.cache-stats{
3085
  border: 1px dashed #ccc;
3086
  background: #f7f7f7;
3087
  padding: 20px;
3088
- }
3089
- .share-alm{
3090
- /* display: none !important; */
3091
  }
3092
  .share-alm .dotted{
3093
  border: none;
@@ -3219,8 +3306,6 @@ ul.share li.facebook a:hover{
3219
 
3220
 
3221
 
3222
-
3223
-
3224
  /*
3225
  * Local templates Add-on
3226
  *
 
1
 
2
  /* Custom buttom/loading styles */
3
  .select2-results .select2-result.alm-color .select2-result-label{
86
  font-size: 14px;
87
  color:#666;
88
  position: relative;
 
89
  max-width: 1250px;
90
  }
91
  #alm-help.ajax-load-more{
136
  color: #999;
137
  padding: 0 0 0 12px;
138
  border-left: 5px solid #ff5a58;
139
+ margin: 0 0 24px;
140
+ font-size: 14px;
141
  }
142
  .ajax-load-more code{
143
  background: #fcf3d0;
144
  }
145
  .ajax-load-more p{
146
  display: block;
147
+ color:#777;
148
  width: 100%;
149
  display: block;
150
  clear: both;
197
  }
198
 
199
  .ajax-load-more h1{
200
+ font-weight: 600;
201
+ line-height: 28px;
202
  }
203
  .ajax-load-more h1,
204
  .ajax-load-more h3,
226
  /* Expand Collapse Headings */
227
  .ajax-load-more h3.heading{
228
  font-weight: 700;
229
+ padding: 15px 10px 15px 40px !important;
230
  line-height: normal !important;
231
  margin: 0 !important;
232
  color: #555;
251
  color: #ccc;
252
  font-size: 18px;
253
  position: absolute;
254
+ left: 13px;
255
+ top: 17px;
256
  height: 20px;
257
  width: 20px;
258
  }
273
  /* Expand/Collapse all rows */
274
  .ajax-load-more .toggle-all{
275
  position: absolute;
276
+ top: -16px;
277
  right: 20px;
278
  width: auto;
279
  display: inline-block;
281
  text-transform: uppercase;
282
  border-radius: 3px;
283
  padding: 0 12px 0 10px;
284
+ height: 31px;
285
+ line-height: 30px;
286
  background: #fff;
287
+ border:1px solid #e7e7e7;
288
  color: #777;
289
  cursor: pointer;
290
  z-index: 2;
324
  font-size: 10px;
325
  position: absolute;
326
  left: 0;
327
+ top: -5px;
328
  }
329
  .ajax-load-more .toggle-all.closed .inner-wrap:before{
330
  content:'\f067';
461
  position: absolute;
462
  right: 0;
463
  top: 0;
464
+ width: 30px;
465
+ height: 30px;
466
+ line-height: 28px;
467
  text-align: center;
468
  font-weight: 700;
469
  font-size: 20px;
676
  .ajax-load-more input.disabled-input{
677
  opacity: 0.5;
678
  filter: alpha(opacity=50);
679
+ cursor: not-allowed;
680
  background: #f7f7f7 !important;
681
  border-color: #ccc !important;
682
  box-shadow: none !important;
709
 
710
  .ajax-load-more .row{
711
  padding: 0 !important;
712
+ margin: 10px 0 0;
713
  height: auto;
714
  width: 100%;
715
  display: block;
731
  .admin.ajax-load-more .row{
732
  border-color: #efefef;
733
  }
734
+ .admin.ajax-load-more .repeaters .row:hover,
735
+ .admin.ajax-load-more.shortcode-builder .row:hover{
736
+ border-color: #d9d9d9;
737
+ -webkit-box-shadow: 0 0 0 3px #f7f7f7;
738
+ -moz-box-shadow: 0 0 0 3px #f7f7f7;
739
+ box-shadow: 0 0 0 3px #f7f7f7;
740
+ }
741
  .admin.ajax-load-more .row:first-of-type{
742
  margin: 0;
743
  padding-top: 0;
744
+ }
 
745
  .ajax-load-more .intro{
746
  height: auto;
747
  width: 100%;
760
  float: right;
761
  width: 30%;
762
  }
763
+ .pop-up-jump .jump-menu-wrap .select2-container{
764
+ width: 100% !important;
765
+ margin-bottom: 15px;
766
+ position: relative;
767
+ top: -5px;
768
+ }
769
  .pop-up-jump .intro-wrap{
770
  position: relative;
771
  float: left;
772
  width: 65%;
773
  padding-right: 5%;
774
+ }
775
+ .admin.ajax-load-more .jump-menu{
776
+ display: none;
777
  }
 
 
 
 
778
 
779
  /* Table of Contents */
780
  .table-of-contents{}
 
781
  .table-of-contents.attached{
782
  position: fixed;
783
  width: auto;
784
  top: 70px;
785
  }
 
786
  .table-of-contents .select2-container{
787
  width: 100%;
788
  }
 
 
 
789
  .table-of-contents ul{
790
  margin: 0 !important;
791
  }
795
  vertical-align: top;
796
  padding: 0;
797
  margin: 5px 5px 5px 0;
798
+ }
 
799
 
800
 
801
  .ajax-load-more .expand-wrap{
821
  width: 100%;
822
  float: none;
823
  }
824
+ .ajax-load-more .section-title h4{
825
+ font-size: 15px;
826
+ margin-bottom: 13px;
827
+ }
828
  .ajax-load-more .section-title p{
829
+ font-size: 13px;
830
+ line-height: 20px;
831
  color: #999;
832
  }
833
  .ajax-load-more .section-title p .fa.tooltip,
834
  .form-table label .fa.tooltip{
835
  margin: 0 2px;
836
  display: inline-block;
837
+ font-size: 15px;
838
  opacity: 0.9;
839
  top: 0;
840
  }
859
  color: #666;
860
  }
861
  .ajax-load-more .section-title h4{
 
862
  margin: 0 0 10px;
863
  }
864
 
874
  .ajax-load-more label.template-title{
875
  padding: 10px 0;
876
  margin: 0;
877
+ font-size: 14px;
878
  color: #888;
879
  }
880
 
1030
  background: #fff !important;
1031
  color: #ca5252 !important;
1032
  border: none;
1033
+ font-size: 14px !important;
1034
  font-weight: 600;
 
1035
  padding: 8px 13px;
1036
  display: inline-block;
1037
  text-align: center;
1111
  .form-table .template-tags li{
1112
  margin: 0 0 8px;
1113
  padding:0;
1114
+ font-size: 14px;
1115
  }
1116
  .form-table .template-tags li{
1117
  margin: 2px 0;
1213
 
1214
  .header-wrap{
1215
  background: url(../img/alm-logo-48x48.png) no-repeat left 12px;
1216
+ background: url(../img/alm-logo-48x48.svg) no-repeat left 12px;
1217
+ padding-left: 60px;
1218
  min-height: 48px;
1219
  overflow: hidden;
1220
  padding-top: 11px;
1222
  .ajax-load-more .header-wrap h1{
1223
  padding-top: 0;
1224
  }
1225
+ .ajax-load-more .header-wrap h1 em{
1226
+ display: block;
1227
+ position: relative;
1228
+ margin-top: -4px;
1229
+ font-size: 14px;
1230
+ opacity: 0.7;
1231
+ font-style: normal;
1232
+ font-weight: 400;
1233
  }
1234
 
1235
  .ajax-load-more h1 span{
1236
  color: #999;
1237
+ font-weight: 300;
1238
  background: #fff;
1239
+ padding: 5px 6px;
1240
  border-radius: 2px;
1241
+ font-size: 0.8em;
1242
  position: relative;
1243
+ top: -2px;
1244
+ left: 5px;
1245
  }
1246
  .ajax-load-more h2.addon-title{
1247
  font-size: 19px !important;
1271
  }
1272
  .ajax-load-more h3.add-on-title,
1273
  .ajax-load-more .cnkt-sidebar h3{
1274
+ padding: 0 0 10px;
1275
  margin: 0 0 20px;
1276
  border-bottom: 1px solid #efefef;
1277
  }
1278
  .ajax-load-more p.desc,
1279
  .ajax-load-more p.writeable-title{
1280
+ padding: 0 0 2px 28px;
1281
+ }
1282
+ .ajax-load-more p.desc{
1283
+ opacity: 0.85;
1284
+ font-size: 13px !important;
1285
  }
1286
  .ajax-load-more p.writeable-title{
1287
  position: relative;
1293
  }
1294
 
1295
  .ajax-load-more p.back2top{
1296
+ font-size: 14px;
1297
  margin:0;
1298
+ padding: 0;
1299
+ text-align: center;
1300
  }
1301
  .ajax-load-more p.back2top a{
1302
  text-decoration: none;
1303
+ display: block;
1304
  }
1305
 
1306
  .saved-response,
1380
 
1381
  /* Columns */
1382
  .ajax-load-more .cnkt-main{
1383
+ width: 69%;
1384
  float: left;
1385
  margin-top: 10px;
1386
  background: none !important;
1397
  .ajax-load-more .cnkt-main .group,
1398
  .ajax-load-more .cnkt-sidebar .cta,
1399
  .call-out.light{
1400
+ border: 1px solid #e7e7e7;
1401
  -webkit-border-radius: 3px;
1402
  -moz-border-radius: 3px;
1403
  border-radius: 3px;
1404
+ /*
1405
  -webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1406
  -moz-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1407
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
1408
+ */
1409
  }
1410
  .ajax-load-more .cnkt-main.full{
1411
  width: 100%;
1430
  top: 0;
1431
  text-decoration: none;
1432
  width: 40px;
1433
+ height: auto;
1434
+ line-height: 1;
1435
+ padding: 10px;
1436
  text-align: center;
1437
  background: #f7f7f7;
1438
  color: #777;
1504
  padding: 8px 14px;
1505
  }
1506
  .ajax-load-more .cnkt-main .group.installed{
1507
+ opacity: 0.85;
1508
+ filter: grayscale(0.85);
1509
  }
1510
  .ajax-load-more .cnkt-main .group.installed p:before{
1511
  display: none !important;
1528
  color: #444 !important;
1529
  }
1530
 
1531
+
1532
  /* Add-on Callout! */
1533
  .call-out{
1534
  background: #5acfb2;
1535
+ padding: 18px 100px 18px 18px;
1536
  border-radius: 3px;
1537
  margin: 0;
1538
  width: 100%;
1539
  display: block;
1540
  color: #fff;
1541
+ font-size: 14px;
1542
+ font-weight: 400;
1543
  position: relative;
1544
  }
1545
  .call-out.light{
1557
  }
1558
  .call-out.light p a:hover{
1559
  text-decoration: underline;
1560
+ }
 
1561
  #alm-builder .call-out,
1562
  .forceColors .call-out{ /* Shortcode builder */
1563
  width: 90%;
1565
  margin: 10px;
1566
  }
1567
  .call-out .cnkt-button{
1568
+ padding: 6px 8px;
1569
  display: inline-block;
1570
  background: #fff;
1571
  border: 1px solid #5da592;
1572
  border-radius: 3px;
1573
  position: absolute;
1574
+ right: 11px;
1575
+ top: 11px;
1576
  color: #387061 !important;
1577
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1578
+ font-size: 13px;
1579
  }
1580
  .call-out a{
1581
  color: #387061 !important;
1582
  text-decoration: none;
1583
+ font-weight: 500;
1584
  }
1585
  .call-out a:hover{
1586
  color: #222 !important;
1596
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
1597
  text-decoration: none !important;
1598
  color: #fff !important;
1599
+ font-size: 14px;
1600
  font-weight: 600;
1601
  }
1602
  a.cnkt-button:hover,
1689
  .license p,
1690
  .license label{
1691
  font-size: 400;
1692
+ font-size: 14px;
1693
  }
1694
  .license .cnkt-button{
1695
  position: absolute;
1743
  .license-btn-wrap .msg{
1744
  display: block;
1745
  padding: 10px 0 0;
1746
+ font-size: 14px;
1747
  line-height: 18px;
1748
  }
1749
  .license-btn-wrap .msg strong{
1805
 
1806
  .ajax-load-more .alm-nav{
1807
  font-size: 600;
1808
+ font-size: 14px;
1809
  margin: 0 !important;
1810
  padding: 5px 0 5px;
1811
  }
1831
  * @since 1.0
1832
  */
1833
  .ajax-load-more .cnkt-sidebar{
1834
+ width: 29.5%;
1835
  float: right;
1836
  margin-top: 10px;
1837
  }
1871
  margin-bottom: 5px;
1872
  }
1873
  .ajax-load-more .cnkt-sidebar p{
1874
+ line-height: 22px;
1875
  margin: 0 0 5px;
1876
+ font-size: 14px;
1877
  }
1878
  .ajax-load-more .cnkt-sidebar .cta.dyk p{
1879
  margin: 5px 0;
1881
  overflow: hidden;
1882
  }
1883
  .ajax-load-more .cnkt-sidebar ul{
1884
+ padding: 5px 0 0;
1885
  margin: 0 0 10px;
1886
  overflow: hidden;
1887
  }
1888
  .ajax-load-more .cnkt-sidebar li{
1889
+ font-size: 14px;
1890
  margin: 0 0 10px;
1891
  line-height: 1.4;
1892
  }
1941
 
1942
  .ajax-load-more .cnkt-sidebar a.visit{
1943
  background: #FF5A58;
1944
+ padding: 20px 20px 20px 50px;
1945
  position: absolute;
1946
  bottom: 0;
1947
  left: 0;
1950
  color: #fff !important;
1951
  z-index: 2;
1952
  text-decoration: none;
1953
+ line-height: 1;
1954
  }
1955
  .ajax-load-more .cnkt-sidebar a.visit i{
1956
  font-size: 24px;
1957
  opacity: 0.7;
1958
  margin: 0 5px 0 0;
1959
+ position: absolute;
1960
+ top: 14px;
1961
+ left: 19px;
1962
+ display: inline-block;
1963
  }
1964
  .ajax-load-more .cnkt-sidebar a.visit:hover{
1965
  background: #ec4745;
1969
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
1970
  }
1971
 
1972
+ .ajax-load-more .cnkt-sidebar .project-listing {
1973
+ padding: 0;
1974
+ }
1975
+ .ajax-load-more .cnkt-sidebar .project-listing li{
1976
+ margin: 10px 0;
1977
+ font-size: 13px;
1978
+ min-height: 48px;
1979
+ padding-left: 53px;
1980
+ position: relative;
1981
+ }
1982
+ .ajax-load-more .cnkt-sidebar .project-listing li:first-of-type{
1983
+ margin: 0;
1984
+ }
1985
+ .ajax-load-more .cnkt-sidebar .project-listing img {
1986
+ height: 40px;
1987
+ left: 0;
1988
+ position: absolute;
1989
+ top: 2px;
1990
+ width: 40px;
1991
+ }
1992
+ .ajax-load-more .cnkt-sidebar .project-listing li strong{
1993
+ font-size: 14px;
1994
+ display: block;
1995
+ }
1996
+
1997
 
1998
 
1999
  /*
2071
  color: #009999 !important;
2072
  }
2073
 
2074
+
2075
+
2076
 
2077
  /*
2078
  * Delete Template (Unlimited Repeaters
2158
  border-radius: 2px;
2159
  background: none;
2160
  color: #c94141;
2161
+ font-size: 14px;
2162
  text-decoration: none;
2163
  display: block;
2164
  padding: 5px 10px;
2252
  .alm-add-template a:active i{
2253
  color: #fff;
2254
  }
 
 
2255
  .spacer{
2256
  height:10px;
2257
  clear:both;
2266
  */
2267
 
2268
 
2269
+ .generate-id{
2270
  margin: 10px 0 0 !important;
2271
  font-size: 12px !important;
2272
  }
2344
  position: absolute;
2345
  right:8px;
2346
  top:7px;
2347
+ font-size: 14px;
2348
  text-decoration: none;
2349
  padding: 5px 10px;
2350
  border: 1px solid #efefef;
2382
  vertical-align: top;
2383
  overflow: hidden;
2384
  width: 47%;
2385
+ font-size: 14px;
2386
  background: transparent url(../img/directory-list.gif) no-repeat left center;
2387
  }
2388
  .alm-dir-listing.theme-repeaters ul li{
2411
  }
2412
 
2413
  .cache-page-title{
2414
+ font-size: 14px;
2415
  display: block;
2416
  width: 100%;
2417
  padding: 0 0 10px 12px;
2540
  .ajax-load-more .form-table input[type=checkbox] + label,
2541
  .shortcode-builder input[type=radio] + label,
2542
  .ajax-load-more .form-table input[type=radio] + label{
2543
+ background: #fff url('../img/bkg-chkbox_off.png') no-repeat left 1px;
2544
  height: auto;
2545
  min-height: 20px;
2546
  width: 100%;
2547
  display:inline-block;
2548
  padding: 1px 0 0 30px;
2549
  margin: 0 0 5px;
2550
+ font-size: 14px;
2551
  line-height: 1.42;
2552
  cursor: pointer !important;
2553
  }
2554
  .shortcode-builder input[type=radio] + label,
2555
  .ajax-load-more .form-table input[type=radio] + label{
2556
+ background: #fff url('../img/bkg-radio_off.png') no-repeat left 1px;
2557
  }
2558
 
2559
  .shortcode-builder input[type=checkbox]:hover + label,
2560
  .ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
2561
+ background-image: url('../img/bkg-chkbox_on.png');
2562
  }
2563
 
2564
  .shortcode-builder input[type=radio]:hover + label,
2565
  .ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
2566
+ background-image: url('../img/bkg-radio_on.png');
2567
  }
2568
 
2569
  .shortcode-builder input[type=checkbox]:checked + label,
2570
  .ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
2571
+ background-image: url('../img/bkg-chkbox_selected.png');
2572
  color: #000;
2573
  }
2574
 
2575
  .shortcode-builder input[type=radio]:checked + label,
2576
  .ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
2577
+ background-image: url('../img/bkg-radio_selected.png');
2578
  color: #000;
2579
  }
2580
 
2584
  .ajax-load-more .form-table input[type=radio] + label:hover{
2585
  color: #000;
2586
  }
2587
+
2588
 
2589
+ /*
2590
+ * Shortcode Builder
2591
+ *
2592
+ * @since 2.13.0
2593
+ */
2594
+ #alm-shortcode-builder-form{
2595
+ position: relative;
2596
+ }
2597
+ #alm-shortcode-builder-form .shortcode-parameter-wrap{
2598
+ padding: 0 20px 20px;
2599
+ display: block;
2600
+ background: #fff;
2601
+ border: 1px solid #e7e7e7;
2602
+ -webkit-border-radius: 3px;
2603
+ -moz-border-radius: 3px;
2604
+ border-radius: 3px;
2605
+ margin-bottom: 20px;
2606
+ }
2607
+ #alm-shortcode-builder-form .shortcode-parameter-wrap h2{
2608
+ padding: 20px 22px;
2609
+ margin: 0 -20px 20px;
2610
+ display: block;
2611
+ font-size: 22px;
2612
+ width: calc(100% + 40px);
2613
+ border-bottom: 1px solid #efefef;
2614
+ background-color: #f7f7f7;
2615
+ -webkit-border-radius: 2px 2px 0 0;
2616
+ -moz-border-radius: 2px 2px 0 0;
2617
+ border-radius: 2px 2px 0 0;
2618
+ color: #23282d;
2619
+ }
2620
+ .forceColors #alm-shortcode-builder-form .shortcode-parameter-wrap h2{
2621
+ padding: 12px 22px;
2622
+ font-size: 20px;
2623
+ }
2624
+ #alm-shortcode-builder-form .shortcode-parameter-wrap:first-of-type{
2625
+ margin-top: 0;
2626
+ }
2627
+
2628
 
2629
  /*
2630
  * Repeater Template options dropdown
2641
 
2642
  .alm-drop-btn.alm-repeater-options{
2643
  position: absolute;
2644
+ top: -43px;
2645
+ right: 11px;
2646
  z-index:99;
2647
  }
2648
+ .alm-drop-btn a.target{
2649
+ font-weight: 500;
2650
+ position: relative;
2651
  color: #999;
2652
  text-decoration: none !important;
2653
+ padding: 8px 12px 8px 32px;
2654
  border: 1px solid #e7e7e7;
2655
  -webkit-border-radius: 3px;
2656
  -moz-border-radius: 3px;
2657
  border-radius: 3px;
2658
  font-size: 13px;
2659
+ line-height: 1.25;
2660
  display: block;
2661
  -webkit-box-shadow: 0 0 0 1px #fff;
2662
  -moz-box-shadow: 0 0 0 1px #fff;
2663
  box-shadow: 0 0 0 1px #fff;
2664
  }
2665
+ .alm-drop-btn a.target > i{
2666
  color: #999;
2667
  font-size: 16px;
2668
+ position: absolute;
2669
+ top:9px;
2670
+ left: 10px;
2671
  }
2672
  .alm-repeater-options a.target:hover{
2673
  background-color: #fff;
2709
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
2710
  opacity: 0.8;
2711
  }
2712
+ .alm-drop-btn.alm-layout-selection > a > i{
2713
+ left: 12px;
2714
  }
2715
 
2716
  .alm-drop-btn.alm-layout-selection li.type{
2794
  background-color: #5acfb2;
2795
  border: none;
2796
  color: #fff;
2797
+ font-weight: 300;
2798
  text-overflow: inherit;
2799
  height: auto;
2800
  white-space: normal;
2893
  position: relative;
2894
  width: auto;
2895
  }
 
 
 
2896
  .alm-dropdown{
2897
  display: none;
2898
  position: absolute;
2963
  padding: 0;
2964
  line-height: 1.2;
2965
  border-top: 1px solid #efefef;
2966
+ font-weight: 400;
2967
  }
2968
  .alm-dropdown ul li:first-child{
2969
  border: none;
3175
  border: 1px dashed #ccc;
3176
  background: #f7f7f7;
3177
  padding: 20px;
 
 
 
3178
  }
3179
  .share-alm .dotted{
3180
  border: none;
3306
 
3307
 
3308
 
 
 
3309
  /*
3310
  * Local templates Add-on
3311
  *
admin/css/select2.css CHANGED
@@ -239,7 +239,7 @@
239
 
240
  .select2-results li.select2-result-with-children > .select2-result-label {
241
  font-weight: 600;
242
- font-size: 15px;
243
  cursor: default;
244
  color: #222;
245
  }
239
 
240
  .select2-results li.select2-result-with-children > .select2-result-label {
241
  font-weight: 600;
242
+ font-size: 14px;
243
  cursor: default;
244
  color: #222;
245
  }
admin/css/tooltipster/tooltipster.css CHANGED
@@ -10,8 +10,7 @@
10
 
11
  /* Use this next selector to style things like font-size and line-height: */
12
  .tooltipster-default .tooltipster-content {
13
- font-family: 'Open Sans', sans-serif;
14
- font-size: 13px;
15
  line-height: 20px;
16
  padding: 12px 16px;
17
  overflow: hidden;
10
 
11
  /* Use this next selector to style things like font-size and line-height: */
12
  .tooltipster-default .tooltipster-content {
13
+ font-size: 12px;
 
14
  line-height: 20px;
15
  padding: 12px 16px;
16
  overflow: hidden;
admin/editor/editor-build.php CHANGED
@@ -35,27 +35,32 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
35
  <?php $is_modal = true; ?>
36
  </head>
37
  <body id="alm-builder">
38
- <div id="alm-container" class="ajax-load-more shortcode-builder wp-core-ui">
39
- <div class="pop-up-jump">
40
- <div class="jump-menu-wrap">
41
- <select class="jump-menu">
42
- <option value="null" selected="selected">-- <?php _e('Jump to Option', 'ajax-load-more'); ?> --</option>
43
- </select>
44
- </div>
45
- <div class="intro-wrap">
46
- <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the parameters below:', 'ajax-load-more'); ?></p>
47
- </div>
48
- </div>
49
- <div class="clear"></div>
50
- <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
51
-
52
- <div class="output-wrap">
53
- <a href="javascript:AjaxLoadMoreModal.insert(AjaxLoadMoreModal.local_ed)" id="insert" class="insert_alm"><i class="fa fa-chevron-circle-right"></i> <?php _e('Insert Shortcode', 'ajax-load-more'); ?></a>
54
- <div class="shortcode-display">
55
- <div id="shortcode_output"></div>
56
- <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
57
- </div>
58
- </div
 
 
 
 
 
59
  </div>
60
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/select2.min.js"></script>
61
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
35
  <?php $is_modal = true; ?>
36
  </head>
37
  <body id="alm-builder">
38
+ <div id="alm-container" class="ajax-load-more shortcode-builder wp-core-ui">
39
+ <div id="alm-shortcode-builder-form">
40
+
41
+ <div class="pop-up-jump">
42
+ <div class="jump-menu-wrap">
43
+ <select class="jump-menu">
44
+ <option value="null" selected="selected">-- <?php _e('Jump to Option', 'ajax-load-more'); ?> --</option>
45
+ </select>
46
+ </div>
47
+ <div class="intro-wrap">
48
+ <p class="intro"><?php _e('Create your own Ajax Load More shortcode by adjusting the parameters below:', 'ajax-load-more'); ?></p>
49
+ </div>
50
+ </div>
51
+ <div class="clear"></div>
52
+
53
+ <?php include (ALM_PATH . '/admin/shortcode-builder/shortcode-builder.php'); ?>
54
+
55
+ <div class="output-wrap">
56
+ <a href="javascript:AjaxLoadMoreModal.insert(AjaxLoadMoreModal.local_ed)" id="insert" class="insert_alm"><i class="fa fa-chevron-circle-right"></i> <?php _e('Insert Shortcode', 'ajax-load-more'); ?></a>
57
+ <div class="shortcode-display">
58
+ <div id="shortcode_output"></div>
59
+ <span class="copy"><?php _e('Copy', 'ajax-load-more'); ?></span>
60
+ </div>
61
+ </div>
62
+
63
+ </div>
64
  </div>
65
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/select2.min.js"></script>
66
  <script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
admin/editor/js/editor-btn.js CHANGED
@@ -23,7 +23,7 @@
23
  title: 'Insert Ajax load More',
24
  cmd: 'alm_mcebutton',
25
  classes: 'widget btn ajax-load-more-btn',
26
- image: url + '/../../img/add.png'
27
  });
28
 
29
  }
23
  title: 'Insert Ajax load More',
24
  cmd: 'alm_mcebutton',
25
  classes: 'widget btn ajax-load-more-btn',
26
+ image: url + '/../../img/alm-logo-16x16.svg'
27
  });
28
 
29
  }
admin/img/alm-logo-16x16.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px"
4
+ height="16px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
5
+ <g id="bkg">
6
+ <path fill="#E44846" d="M44,48H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h40c2.2,0,4,1.8,4,4v40C48,46.2,46.2,48,44,48z"/>
7
+ </g>
8
+ <g id="Layer_2">
9
+ <g>
10
+ <path fill="#EDCACA" d="M18.9,27.7L18,30.5c-0.1,0.3-0.2,0.6-0.3,0.9c-0.1,0.3-0.1,0.7-0.1,0.9c0,0.2,0,0.4,0.1,0.5
11
+ c0.1,0.2,0.2,0.3,0.3,0.4c0.1,0.1,0.3,0.2,0.5,0.2c0.2,0.1,0.4,0.1,0.5,0.1h1.3v1.7h-8.3v-1.7h0.4c0.3,0,0.5,0,0.8-0.1
12
+ s0.5-0.2,0.7-0.4s0.4-0.4,0.6-0.7c0.2-0.3,0.4-0.7,0.6-1.2L22,12.4h4.4L33,31.2c0.2,0.4,0.3,0.8,0.5,1.1s0.4,0.5,0.6,0.7
13
+ s0.4,0.3,0.6,0.4c0.2,0.1,0.5,0.1,0.7,0.1H36v1.7H25.5v-1.7h1.2c0.2,0,0.3,0,0.5-0.1c0.2,0,0.3-0.1,0.4-0.2
14
+ c0.1-0.1,0.2-0.2,0.3-0.4c0.1-0.2,0.1-0.3,0.1-0.6c0-0.3,0-0.5-0.1-0.7c-0.1-0.2-0.1-0.4-0.2-0.6l-1.1-3.2H18.9z M24.4,20.5
15
+ c-0.1-0.4-0.2-0.7-0.4-1.1c-0.1-0.4-0.2-0.8-0.4-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1,0.3-0.2,0.7-0.3,1.1
16
+ c-0.1,0.4-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2l-1.9,5.4h6.5L24.4,20.5z"/>
17
+ </g>
18
+ </g>
19
+ </svg>
admin/img/alm-logo-48x48.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="48px"
4
+ height="48px" viewBox="0 0 48 48" enable-background="new 0 0 48 48" xml:space="preserve">
5
+ <g id="bkg">
6
+ <path fill="#E44846" d="M44,48H4c-2.2,0-4-1.8-4-4V4c0-2.2,1.8-4,4-4h40c2.2,0,4,1.8,4,4v40C48,46.2,46.2,48,44,48z"/>
7
+ </g>
8
+ <g id="Layer_2">
9
+ <g>
10
+ <path fill="#EDCACA" d="M18.9,27.7L18,30.5c-0.1,0.3-0.2,0.6-0.3,0.9c-0.1,0.3-0.1,0.7-0.1,0.9c0,0.2,0,0.4,0.1,0.5
11
+ c0.1,0.2,0.2,0.3,0.3,0.4c0.1,0.1,0.3,0.2,0.5,0.2c0.2,0.1,0.4,0.1,0.5,0.1h1.3v1.7h-8.3v-1.7h0.4c0.3,0,0.5,0,0.8-0.1
12
+ s0.5-0.2,0.7-0.4s0.4-0.4,0.6-0.7c0.2-0.3,0.4-0.7,0.6-1.2L22,12.4h4.4L33,31.2c0.2,0.4,0.3,0.8,0.5,1.1s0.4,0.5,0.6,0.7
13
+ s0.4,0.3,0.6,0.4c0.2,0.1,0.5,0.1,0.7,0.1H36v1.7H25.5v-1.7h1.2c0.2,0,0.3,0,0.5-0.1c0.2,0,0.3-0.1,0.4-0.2
14
+ c0.1-0.1,0.2-0.2,0.3-0.4c0.1-0.2,0.1-0.3,0.1-0.6c0-0.3,0-0.5-0.1-0.7c-0.1-0.2-0.1-0.4-0.2-0.6l-1.1-3.2H18.9z M24.4,20.5
15
+ c-0.1-0.4-0.2-0.7-0.4-1.1c-0.1-0.4-0.2-0.8-0.4-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1-0.4-0.2-0.8-0.3-1.2c-0.1,0.3-0.2,0.7-0.3,1.1
16
+ c-0.1,0.4-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2s-0.3,0.8-0.4,1.2l-1.9,5.4h6.5L24.4,20.5z"/>
17
+ </g>
18
+ </g>
19
+ </svg>
admin/img/logos/eq-48x48.png ADDED
Binary file
admin/img/logos/instant-images-48x48.png ADDED
Binary file
admin/img/logos/velocity-48x48.png ADDED
Binary file
admin/includes/components/layout-list.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="clear"></div>
2
  <div class="alm-drop-btn alm-layout-selection">
3
- <a href="javascript:void(0);" class="target"><i class="fa fa-chevron-circle-down"></i> <?php _e('Apply Layout', 'ajax-load-more'); ?></a>
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
1
  <div class="clear"></div>
2
  <div class="alm-drop-btn alm-layout-selection">
3
+ <a href="javascript:void(0);" class="target"><i class="fa fa-caret-down"></i> <?php _e('Apply Layout', 'ajax-load-more'); ?></a>
4
  <div class="alm-dropdown">
5
  <div class="alm-drop-inner">
6
  <ul>
admin/includes/cta/about.php CHANGED
@@ -1,10 +1,23 @@
1
- <div class="cta">
2
  <h3>Other Projects</h3>
3
- <ul>
4
- <li><strong><a target="blank" href="https://connekthq.com/plugins/easy-query/">Easy Query</a></strong><br>A simple solution to build and display WordPress queries without touching a single line of code.</li>
5
- <li><strong><a target="blank" href="https://connekthq.com/plugins/velocity/">Velocity</a></strong><br>Improve website performance by lazy loading and customizing your embedded media with Velocity.</li>
6
- <li><strong><a target="blank" href="https://connekthq.com/plugins/unsplash-wp/">Unsplash WP</a></strong><br>The fastest way to upload high quality stock photos from unsplash.com directly to your media library.</li>
7
- <li><strong><a target="blank" href="https://connekthq.com">Connekt Media</a></strong><br>Handcrafted digital products.</li>
8
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  </div>
10
 
1
+ <div class="cta padding-bottom">
2
  <h3>Other Projects</h3>
3
+ <ul class="project-listing">
4
+ <li>
5
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/eq-48x48.png" alt="">
6
+ <strong><a target="blank" href="https://connekthq.com/plugins/easy-query/">Easy Query</a></strong>
7
+ A simple solution to build and display WordPress queries without touching a single line of code.
8
+ </li>
9
+ <li>
10
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/instant-images-48x48.png" alt="">
11
+ <strong><a target="blank" href="https://connekthq.com/plugins/instant-images/">Instant Images</a></strong>
12
+ Upload quality, high resolution photos directly to your media library without leaving WordPress.
13
+ </li>
14
+ <li>
15
+ <img src="<?php echo ALM_ADMIN_URL; ?>img/logos/velocity-48x48.png" alt="">
16
+ <strong><a target="blank" href="https://connekthq.com/plugins/velocity/">Velocity</a></strong>
17
+ Improve website performance by lazy loading and customizing your embedded media with Velocity.
18
+ </li>
19
+ </ul>
20
+ <a href="https://connekthq.com" class="visit" target="_blank"><i class="fa fa-chevron-circle-right"></i> Connekt Media</a>
21
+
22
  </div>
23
 
admin/includes/cta/add-ons.php CHANGED
@@ -1,6 +1,6 @@
1
- <div class="cta padding-bottom cta-add-on">
2
  <h3>Add-ons</h3>
3
- <p>Ajax Load More offers a variety of unique add-ons that will extend and enhance the core functionality of the plugin.</p>
4
  <ul>
5
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Cache">Cache</a></li>
6
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Call to Actions">Call to Actions</a></li>
@@ -14,5 +14,4 @@
14
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
15
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
16
  </ul>
17
- <a href="admin.php?page=ajax-load-more-add-ons" class="visit"><i class="fa fa-chevron-circle-right"></i> View All Add-Ons</a>
18
  </div>
1
+ <div class="cta cta-add-on">
2
  <h3>Add-ons</h3>
3
+ <p>Ajax Load More offers a variety of unique <a href="admin.php?page=ajax-load-more-add-ons">add-ons</a> that will extend and enhance the core functionality of the plugin.</p>
4
  <ul>
5
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Cache">Cache</a></li>
6
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/call-to-actions/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Call to Actions">Call to Actions</a></li>
14
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/search-engine-optimization/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=SEO">Search Engine Optimization</a></li>
15
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/add-ons/theme-repeaters/?utm_source=WP%20Admin&utm_medium=ALM%20Settings&utm_campaign=Theme Repeaters">Theme Repeaters</a></li>
16
  </ul>
 
17
  </div>
admin/includes/cta/dyk.php CHANGED
@@ -1,5 +1,5 @@
1
  <div class="cta dyk">
2
- <h3><?php _e('Did you know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
  $random = rand(1, 4);
5
  ?>
@@ -12,22 +12,22 @@
12
  <?php if($random == 2){ ?>
13
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg"><br/>
14
  <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
15
- <p>The <a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Cache</a> add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.</p>
16
- <p><a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Learn More &raquo;</a></p>
17
  <?php } ?>
18
 
19
  <?php if($random == 3){ ?>
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg"><br/>
21
  <p class="addon-intro">You can lazy load your single posts with Ajax Load More!</p>
22
- <p>The <a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Previous Post</a> add-on will load single posts as you scroll and update the browser URL to the current post.</p>
23
- <p><a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Learn More &raquo;</a></p>
24
  <?php } ?>
25
 
26
  <?php if($random == 4){ ?>
27
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg"><br/>
28
  <p class="addon-intro">You can lazy load your comments with Ajax Load More!</p>
29
- <p>The <a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=COmments">Comments</a> add-on will load and display blog comments using the core Ajax Load More infinite scroll functionality.</p>
30
- <p><a target="blank" style="font-weight: 700;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=COmments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
33
  </div>
1
  <div class="cta dyk">
2
+ <h3><?php _e('Did You Know?', 'ajax-load-more'); ?></h3>
3
  <?php
4
  $random = rand(1, 4);
5
  ?>
12
  <?php if($random == 2){ ?>
13
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/cache-add-on.jpg"><br/>
14
  <p class="addon-intro">You can cache your server requests with Ajax Load More!</p>
15
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Cache</a> add-on creates static HTML files of Ajax Load More requests then delivers those static files to your visitors.</p>
16
+ <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/cache/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Cache">Learn More &raquo;</a></p>
17
  <?php } ?>
18
 
19
  <?php if($random == 3){ ?>
20
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/prev-post-add-on.jpg"><br/>
21
  <p class="addon-intro">You can lazy load your single posts with Ajax Load More!</p>
22
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Previous Post</a> add-on will load single posts as you scroll and update the browser URL to the current post.</p>
23
+ <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=PreviousPost">Learn More &raquo;</a></p>
24
  <?php } ?>
25
 
26
  <?php if($random == 4){ ?>
27
  <img src="<?php echo ALM_ADMIN_URL; ?>img/add-ons/comments-add-on.jpg"><br/>
28
  <p class="addon-intro">You can lazy load your comments with Ajax Load More!</p>
29
+ <p>The <a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Comments</a> add-on will load and display blog comments using the core Ajax Load More infinite scroll functionality.</p>
30
+ <p><a target="blank" style="font-weight: 600;" href="https://connekthq.com/plugins/ajax-load-more/add-ons/comments/?utm_source=WP%20Admin&utm_medium=ALM%20DYK&utm_campaign=Comments">Learn More &raquo;</a></p>
31
  <?php } ?>
32
 
33
  </div>
admin/includes/cta/resources.php CHANGED
@@ -3,9 +3,9 @@
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
 
6
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
7
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
8
- <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
9
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
10
  </ul>
11
  <a href="https://wordpress.org/plugins/ajax-load-more/" target="blank" class="visit"><i class="fa fa-wordpress"></i> <?php _e('WordPress Repository', 'ajax-load-more'); ?></a>
3
  <ul>
4
  <li><a target="blank" href="https://connekthq.com/plugins/ajax-load-more/"><i class="fa fa-mouse-pointer"></i> <?php _e('Ajax Load More Demo Site', 'ajax-load-more'); ?></a></li>
5
  <li><a target="blank" href="http://wordpress.org/support/plugin/ajax-load-more"><i class="fa fa-question-circle"></i> <?php _e('Plugin Support and Issues', 'ajax-load-more'); ?></a></li>
6
+ <li><a target="blank" href="http://twitter.com/ajaxloadmore"><i class="fa fa-twitter"></i> <?php _e('Twitter', 'ajax-load-more'); ?></a></li>
7
  <li><a target="blank" href="https://wordpress.org/support/view/plugin-reviews/ajax-load-more"><i class="fa fa-star"></i> <?php _e('Reviews', 'ajax-load-more'); ?></a></li>
8
  <li><a target="blank" href="http://facebook.com/ajaxloadmore"><i class="fa fa-facebook"></i> <?php _e('Facebook', 'ajax-load-more'); ?></a></li>
 
9
  <li><a target="blank" href="https://github.com/dcooney/wordpress-ajax-load-more"><i class="fa fa-github"></i> <?php _e('Github', 'ajax-load-more'); ?></a></li>
10
  </ul>
11
  <a href="https://wordpress.org/plugins/ajax-load-more/" target="blank" class="visit"><i class="fa fa-wordpress"></i> <?php _e('WordPress Repository', 'ajax-load-more'); ?></a>
admin/shortcode-builder/js/shortcode-builder.js CHANGED
@@ -21,13 +21,13 @@ jQuery(document).ready(function($) {
21
 
22
  // multiple
23
  $('.ajax-load-more .categories select.multiple').select2({
24
- placeholder : '-- Select Categories --',
25
  });
26
  $('.ajax-load-more .tags select.multiple').select2({
27
- placeholder : '-- Select Tags --'
28
  });
29
- $('.ajax-load-more .alternate_template_wrap select.multiple').select2({
30
- placeholder : '-- Select Sequence --'
31
  });
32
  };
33
  _alm.select2();
@@ -41,7 +41,8 @@ jQuery(document).ready(function($) {
41
 
42
  // multiple
43
  $('.ajax-load-more .categories select.multiple').select2();
44
- $('.ajax-load-more .tags select.multiple').select2();
 
45
  };
46
 
47
 
@@ -153,7 +154,36 @@ jQuery(document).ready(function($) {
153
  */
154
 
155
  _alm.buildShortcode = function(){
156
- output = '[ajax_load_more';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
  // ---------------------------
159
  // - Cache
@@ -190,7 +220,7 @@ jQuery(document).ready(function($) {
190
  // Standard repeater
191
  if(cta_repeater != '' && cta_repeater != undefined && cta_position != '' && cta_position != null){
192
  output += ' cta="'+cta+'"';
193
- output += ' cta_position="'+cta_before_after+':'+cta_position;
194
  output += ' cta_repeater="'+cta_repeater+'"';
195
  }
196
  // Theme repeater
@@ -368,7 +398,7 @@ jQuery(document).ready(function($) {
368
 
369
 
370
  // ---------------------------
371
- // - Repeater
372
  // ---------------------------
373
 
374
  var repeater = $('#alm-repeaters select[name=repeater-select]').val(),
@@ -380,7 +410,7 @@ jQuery(document).ready(function($) {
380
  if(repeater != '' && repeater != undefined && repeater != 'default'){
381
  output += ' repeater="'+repeater+'"';
382
  }
383
- }
384
 
385
 
386
  // ---------------------------
@@ -405,8 +435,17 @@ jQuery(document).ready(function($) {
405
  if(post_type_count>0){
406
  output += '"';
407
  }
408
- }
 
 
 
 
 
409
 
 
 
 
 
410
 
411
  // ---------------------------
412
  // - Post Format
@@ -677,7 +716,7 @@ jQuery(document).ready(function($) {
677
  // ---------------------------
678
 
679
  var author = $('.authors #author-select').val();
680
- if(author !== '' && author !== undefined)
681
  output += ' author="'+author+'"';
682
 
683
 
@@ -716,16 +755,6 @@ jQuery(document).ready(function($) {
716
  output += ' search="'+search+'"';
717
 
718
 
719
- // ---------------------------
720
- // - Custom Arguments
721
- // ---------------------------
722
-
723
- var custom_args = $('.custom-arguments input').val();
724
- custom_args = $.trim(custom_args);
725
- if(custom_args !== '')
726
- output += ' custom_args="'+custom_args+'"';
727
-
728
-
729
  // ---------------------------
730
  // - Ordering
731
  // ---------------------------
@@ -755,14 +784,15 @@ jQuery(document).ready(function($) {
755
 
756
 
757
  // ---------------------------
758
- // - Posts Per Page
759
  // ---------------------------
760
 
761
- var posts_per_page = $('.posts_per_page input').val();
762
- if(posts_per_page > 0 && posts_per_page != 5)
763
- output += ' posts_per_page="'+posts_per_page+'"';
764
-
765
 
 
766
  // ---------------------------
767
  // - Pause Loading
768
  // ---------------------------
@@ -771,8 +801,7 @@ jQuery(document).ready(function($) {
771
  if(pause_load === 't'){
772
  output += ' pause="true"';
773
  }
774
-
775
-
776
 
777
  // ---------------------------
778
  // - Scrolling
@@ -791,7 +820,7 @@ jQuery(document).ready(function($) {
791
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
792
 
793
  var max_pages = $('.max_pages input').val();
794
- if(max_pages != 5)
795
  output += ' max_pages="'+$('.max_pages input').val()+'"';
796
 
797
  var pause_override = $('.pause_override input[name=pause_override]:checked').val();
@@ -828,7 +857,7 @@ jQuery(document).ready(function($) {
828
 
829
 
830
  // ---------------------------
831
- // - disbale after
832
  // ---------------------------
833
 
834
  var destroy_after = $('.destroy-after input[name=destroy-after]').val();
@@ -847,27 +876,7 @@ jQuery(document).ready(function($) {
847
  output += ' button_label="'+button_label+'"';
848
 
849
  if(button_loading_label !== '')
850
- output += ' button_loading_label="'+button_loading_label+'"';
851
-
852
-
853
-
854
- // ---------------------------
855
- // - Container Type
856
- // ---------------------------
857
-
858
- var container_type = $('.container_type input[name=alm_container_type]:checked').val();
859
- if(container_type)
860
- output += ' container_type="'+container_type+'"';
861
-
862
-
863
- // ---------------------------
864
- // - Container Classes
865
- // ---------------------------
866
-
867
- var container_classes = $('.alm-classes input#container-classes').val();
868
- container_classes = $.trim(container_classes);
869
- if(container_classes !== '' && $('.alm-classes input#container-classes').hasClass('changed'))
870
- output += ' css_classes="'+container_classes+'"';
871
 
872
 
873
  output += ']'; //Close shortcode
@@ -880,6 +889,8 @@ jQuery(document).ready(function($) {
880
  }
881
 
882
 
 
 
883
  /*
884
  * On change events
885
  *
@@ -904,19 +915,7 @@ jQuery(document).ready(function($) {
904
  if($('.select-theme-repeater select[name=theme-repeater-select]').val() !== 'null' && $('.select-theme-repeater select[name=theme-repeater-select]').val() !== ''){
905
  $('.repeater select[name=repeater-select]').select2('val','default');
906
  }
907
- }
908
-
909
-
910
- // reset alternate repeater templates
911
- if(el.attr('name') === 'alternate-repeater-select'){
912
- $('#alm-alternate select[name=theme-repeater-select]').select2('val','');
913
- }
914
- if(el.attr('name') === 'theme-repeater-select'){
915
- if($('#alm-alternate select[name=theme-repeater-select]').val() !== 'null' && $('#alm-alternate select[name=theme-repeater-select]').val() !== ''){
916
- $('select[name=alternate-repeater-select]').select2('val','');
917
- }
918
- }
919
-
920
 
921
  if(el.attr('id') === 'comments_template'){
922
  $('#comments_callback').val('');
@@ -955,28 +954,63 @@ jQuery(document).ready(function($) {
955
 
956
 
957
 
 
958
  /*
959
- * Jump to section, Table of contents
960
  *
961
  * @since 2.0.0
962
- * Updated v2.4
963
  */
964
 
965
- var jumpOptions = '';
966
- var toc = '';
967
- $('.row').each(function(){
968
- if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
969
- var id = $(this).attr('id');
970
- var title = $(this).find('h3.heading').text();
971
- jumpOptions += '<option value="'+id+'">'+title+'</option>';
972
- }
973
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
974
 
975
 
976
 
977
  /* Jump Menu */
978
 
979
- $('select.jump-menu').append(jumpOptions);
980
  $('select.jump-menu').change(function() {
981
  var pos = $(this).val();
982
  if(pos !== 'null'){
@@ -988,10 +1022,16 @@ jQuery(document).ready(function($) {
988
 
989
 
990
 
 
991
  /* Table of Contents */
992
 
993
- $('.table-of-contents .toc').append('<option value="#">-- Jump to Option --</option>');
994
- $('.table-of-contents .toc').append(jumpOptions).select2();
 
 
 
 
 
995
 
996
  $('.table-of-contents .toc').change(function() {
997
  var pos = $(this).val();
@@ -1129,21 +1169,24 @@ jQuery(document).ready(function($) {
1129
  * @since 2.6.0
1130
  */
1131
 
1132
- _alm.generateUniqueID = function(length) {
1133
  var id = Math.floor(Math.pow(10, length-1) + Math.random() * 9 * Math.pow(10, length-1));
1134
- $('#cache-id').val(id);
 
1135
  }
1136
 
1137
 
1138
 
1139
  /*
1140
- * Generate Unique Cache ID Click
1141
  *
1142
  * @since 2.6.0
1143
  */
1144
 
1145
- $(document).on('click', '.generate-cache-id', function(){
1146
- _alm.generateUniqueID(10);
 
 
1147
  });
1148
 
1149
 
21
 
22
  // multiple
23
  $('.ajax-load-more .categories select.multiple').select2({
24
+ placeholder : '-- '+ alm_admin_localize.select_cats +' --',
25
  });
26
  $('.ajax-load-more .tags select.multiple').select2({
27
+ placeholder : '-- '+ alm_admin_localize.select_tags +' --'
28
  });
29
+ $('.ajax-load-more .authors select.multiple').select2({
30
+ placeholder : '-- '+ alm_admin_localize.select_authors +' --'
31
  });
32
  };
33
  _alm.select2();
41
 
42
  // multiple
43
  $('.ajax-load-more .categories select.multiple').select2();
44
+ $('.ajax-load-more .tags select.multiple').select2();
45
+ $('.ajax-load-more .authors select.multiple').select2();
46
  };
47
 
48
 
154
  */
155
 
156
  _alm.buildShortcode = function(){
157
+ output = '[ajax_load_more';
158
+
159
+
160
+ // ---------------------------
161
+ // - ID
162
+ // ---------------------------
163
+
164
+ var unique_id = $('input#unique-id').val();
165
+ if(unique_id)
166
+ output += ' id="'+unique_id+'"';
167
+
168
+
169
+ // ---------------------------
170
+ // - Container Type
171
+ // ---------------------------
172
+
173
+ var container_type = $('.container_type input[name=alm_container_type]:checked').val();
174
+ if(container_type)
175
+ output += ' container_type="'+container_type+'"';
176
+
177
+
178
+ // ---------------------------
179
+ // - Container Classes
180
+ // ---------------------------
181
+
182
+ var container_classes = $('.alm-instance-options input#container-classes').val();
183
+ container_classes = $.trim(container_classes);
184
+ if(container_classes !== '' && $('.alm-instance-options input#container-classes').hasClass('changed'))
185
+ output += ' css_classes="'+container_classes+'"';
186
+
187
 
188
  // ---------------------------
189
  // - Cache
220
  // Standard repeater
221
  if(cta_repeater != '' && cta_repeater != undefined && cta_position != '' && cta_position != null){
222
  output += ' cta="'+cta+'"';
223
+ output += ' cta_position="'+cta_before_after+':'+cta_position+'"';
224
  output += ' cta_repeater="'+cta_repeater+'"';
225
  }
226
  // Theme repeater
398
 
399
 
400
  // ---------------------------
401
+ // - Repeater Templates
402
  // ---------------------------
403
 
404
  var repeater = $('#alm-repeaters select[name=repeater-select]').val(),
410
  if(repeater != '' && repeater != undefined && repeater != 'default'){
411
  output += ' repeater="'+repeater+'"';
412
  }
413
+ }
414
 
415
 
416
  // ---------------------------
435
  if(post_type_count>0){
436
  output += '"';
437
  }
438
+ }
439
+
440
+
441
+ // ---------------------------
442
+ // - Posts Per Page
443
+ // ---------------------------
444
 
445
+ var posts_per_page = $('.posts_per_page input').val();
446
+ if(posts_per_page > 0 && posts_per_page != 5)
447
+ output += ' posts_per_page="'+posts_per_page+'"';
448
+
449
 
450
  // ---------------------------
451
  // - Post Format
716
  // ---------------------------
717
 
718
  var author = $('.authors #author-select').val();
719
+ if(author !== '' && author !== undefined && author !== null)
720
  output += ' author="'+author+'"';
721
 
722
 
755
  output += ' search="'+search+'"';
756
 
757
 
 
 
 
 
 
 
 
 
 
 
758
  // ---------------------------
759
  // - Ordering
760
  // ---------------------------
784
 
785
 
786
  // ---------------------------
787
+ // - Custom Arguments
788
  // ---------------------------
789
 
790
+ var custom_args = $('.custom-arguments input').val();
791
+ custom_args = $.trim(custom_args);
792
+ if(custom_args !== '')
793
+ output += ' custom_args="'+custom_args+'"';
794
 
795
+
796
  // ---------------------------
797
  // - Pause Loading
798
  // ---------------------------
801
  if(pause_load === 't'){
802
  output += ' pause="true"';
803
  }
804
+
 
805
 
806
  // ---------------------------
807
  // - Scrolling
820
  output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
821
 
822
  var max_pages = $('.max_pages input').val();
823
+ if(max_pages != 0)
824
  output += ' max_pages="'+$('.max_pages input').val()+'"';
825
 
826
  var pause_override = $('.pause_override input[name=pause_override]:checked').val();
857
 
858
 
859
  // ---------------------------
860
+ // - Disable After
861
  // ---------------------------
862
 
863
  var destroy_after = $('.destroy-after input[name=destroy-after]').val();
876
  output += ' button_label="'+button_label+'"';
877
 
878
  if(button_loading_label !== '')
879
+ output += ' button_loading_label="'+button_loading_label+'"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
880
 
881
 
882
  output += ']'; //Close shortcode
889
  }
890
 
891
 
892
+
893
+
894
  /*
895
  * On change events
896
  *
915
  if($('.select-theme-repeater select[name=theme-repeater-select]').val() !== 'null' && $('.select-theme-repeater select[name=theme-repeater-select]').val() !== ''){
916
  $('.repeater select[name=repeater-select]').select2('val','default');
917
  }
918
+ }
 
 
 
 
 
 
 
 
 
 
 
 
919
 
920
  if(el.attr('id') === 'comments_template'){
921
  $('#comments_callback').val('');
954
 
955
 
956
 
957
+
958
  /*
959
+ * Jump to section, Table of contents [Repeater Templates, Shortcode Builder]
960
  *
961
  * @since 2.0.0
962
+ * Updated v2.13.0
963
  */
964
 
965
+ var jumpMenuOptions = '';
966
+ function almBuildJumpMenu(type){
967
+
968
+ if(type === 'repeaters'){
969
+ $('.row').each(function(){
970
+ if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
971
+ var id = $(this).attr('id'),
972
+ title = $(this).find('h3.heading').text();
973
+ jumpMenuOptions += '<option value="'+id+'">'+title+'</option>';
974
+ }
975
+ });
976
+ }
977
+
978
+ if(type === 'shortcode'){
979
+ $('.shortcode-parameter-wrap').each(function(){
980
+ var el = $(this),
981
+ opttitle = el.find('h2').text();
982
+ jumpMenuOptions += '<optgroup label="'+opttitle+'">';
983
+ $('.row', el).each(function(){
984
+ if(!$(this).hasClass('no-brd')){ // Special case for back 2 top on shortcode builder landing
985
+ var id = $(this).attr('id'),
986
+ title = $(this).find('h3.heading').text();
987
+ jumpMenuOptions += '<option value="'+id+'">'+title+'</option>';
988
+ }
989
+ });
990
+ jumpMenuOptions += '</optgroup>';
991
+ });
992
+ }
993
+ }
994
+ if($('.shortcode-builder .shortcode-parameter-wrap').length){
995
+ almBuildJumpMenu('shortcode'); // shortcode builder
996
+ }
997
+ if($('#alm-repeaters .repeaters').length){
998
+ if($('#unlmited-container').length){
999
+ $('#unlmited-container .row').each(function(){
1000
+ var el = $(this),
1001
+ id = el.find('.wrap').data('name');
1002
+ el.attr('id', 'alm_'+id);
1003
+ });
1004
+ }
1005
+ almBuildJumpMenu('repeaters'); // repeater templates
1006
+ }
1007
+
1008
 
1009
 
1010
 
1011
  /* Jump Menu */
1012
 
1013
+ $('select.jump-menu').append(jumpMenuOptions);
1014
  $('select.jump-menu').change(function() {
1015
  var pos = $(this).val();
1016
  if(pos !== 'null'){
1022
 
1023
 
1024
 
1025
+
1026
  /* Table of Contents */
1027
 
1028
+ if($('.table-of-contents').hasClass('repeaters-toc')){
1029
+ $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_template +' --</option>');
1030
+ } else {
1031
+ $('.table-of-contents .toc').append('<option value="#">-- '+ alm_admin_localize.jump_to_option +' --</option>');
1032
+ }
1033
+
1034
+ $('.table-of-contents .toc').append(jumpMenuOptions).select2();
1035
 
1036
  $('.table-of-contents .toc').change(function() {
1037
  var pos = $(this).val();
1169
  * @since 2.6.0
1170
  */
1171
 
1172
+ _alm.generateUniqueID = function(length, el) {
1173
  var id = Math.floor(Math.pow(10, length-1) + Math.random() * 9 * Math.pow(10, length-1));
1174
+ $(el).val(id);
1175
+ //_alm.buildShortcode();
1176
  }
1177
 
1178
 
1179
 
1180
  /*
1181
+ * Generate Unique/Cache ID
1182
  *
1183
  * @since 2.6.0
1184
  */
1185
 
1186
+ $(document).on('click', '.generate-id a', function(){
1187
+ var id = $(this).data('id'),
1188
+ el = $('#'+id);
1189
+ _alm.generateUniqueID(10, el);
1190
  });
1191
 
1192
 
admin/shortcode-builder/shortcode-builder.php CHANGED
@@ -9,655 +9,664 @@
9
  ?>
10
 
11
 
12
- <?php if(has_action('alm_cache_installed')){ ?>
13
- <!-- CACHE -->
14
- <div class="row input cache add-on" id="alm-cache">
15
- <h3 class="heading"><?php _e('Cache', 'ajax-load-more'); ?></h3>
16
- <div class="expand-wrap">
17
- <div class="section-title">
18
- <p><?php _e('Turn on content caching.', 'ajax-load-more'); ?></p>
19
- </div>
20
- <div class="wrap">
21
- <div class="inner">
22
- <ul>
23
- <li>
24
- <input class="alm_element" type="radio" name="cache" value="true" id="cache-true" >
25
- <label for="cache-true"><?php _e('True', 'ajax-load-more'); ?></label>
26
- </li>
27
- <li>
28
- <input class="alm_element" type="radio" name="cache" value="false" id="cache-false" checked="checked">
29
- <label for="cache-false"><?php _e('False', 'ajax-load-more'); ?></label>
30
- </li>
31
- </ul>
32
- </div>
33
- </div>
34
- <div class="clear"></div>
35
- <div class="cache_id">
36
- <div class="clear"></div>
37
- <hr>
38
- <div class="section-title">
39
- <h4><?php _e('Cache ID', 'ajax-load-more'); ?></h4>
40
- <p><?php _e('You <u>must</u> generate a unique ID for this cached query - this unique ID will be used as a content identifier.', 'ajax-load-more'); ?></p>
41
- </div>
42
- <div class="wrap">
43
- <div class="inner">
44
- <input type="text" class="alm_element disabled" name="cache-id" id="cache-id" disabled="disabled">
45
- <div class="clear"></div>
46
- <p class="generate-cache-id"><a href="javascript:void(0);"><i class="fa fa-random"></i> <?php _e('Generate New ID', 'ajax-load-more'); ?></a></p>
47
- </div>
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- <?php } ?>
53
-
54
-
55
- <?php if(has_action('alm_cta_installed')){ ?>
56
- <!-- Call to Actions -->
57
- <div class="row cta add-on" id="alm-cta">
58
- <h3 class="heading"><?php _e('Call to Actions', 'ajax-load-more'); ?></h3>
59
- <div class="expand-wrap">
60
-
61
- <div class="section-title">
62
- <p><?php _e('Insert call to action block.', 'ajax-load-more'); ?></p>
63
- </div>
64
- <div class="wrap">
65
- <div class="inner">
66
- <ul>
67
- <li>
68
- <input class="alm_element" type="radio" name="cta" value="true" id="cta-true" >
69
- <label for="cta-true"><?php _e('True', 'ajax-load-more'); ?></label>
70
- </li>
71
- <li>
72
- <input class="alm_element" type="radio" name="cta" value="false" id="cta-false" checked="checked">
73
- <label for="cta-false"><?php _e('False', 'ajax-load-more'); ?></label>
74
- </li>
75
- </ul>
76
- </div>
77
- </div>
78
- <div class="clear"></div>
79
-